!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}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=49)}([function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,c=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(l," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,c,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i
* Copyright OpenJS Foundation and other contributors
* Released under MIT license
* Based on Underscore.js 1.8.3
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var i="Expected a function",a="__lodash_placeholder__",c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",u="[object Array]",s="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",m="[object GeneratorFunction]",h="[object Map]",v="[object Number]",g="[object Object]",b="[object RegExp]",y="[object Set]",w="[object String]",_="[object Symbol]",k="[object WeakMap]",x="[object ArrayBuffer]",E="[object DataView]",S="[object Float32Array]",P="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",B="[object Int32Array]",T="[object Uint8Array]",A="[object Uint16Array]",j="[object Uint32Array]",C=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,D=RegExp(F.source),z=RegExp(L.source),W=/<%-([\s\S]+?)%>/g,M=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(G.source),H=/^\s+/,K=/\s/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,ce=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,se=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\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",me="[\\ud800-\\udfff]",he="["+de+"]",ve="["+pe+"]",ge="\\d+",be="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",we="[^\\ud800-\\udfff"+de+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_e="\\ud83c[\\udffb-\\udfff]",ke="[^\\ud800-\\udfff]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ee="[\\ud800-\\udbff][\\udc00-\\udfff]",Se="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="(?:"+ye+"|"+we+")",Re="(?:"+Se+"|"+we+")",Ie="(?:"+ve+"|"+_e+")"+"?",Be="[\\ufe0e\\ufe0f]?"+Ie+("(?:\\u200d(?:"+[ke,xe,Ee].join("|")+")[\\ufe0e\\ufe0f]?"+Ie+")*"),Te="(?:"+[be,xe,Ee].join("|")+")"+Be,Ae="(?:"+[ke+ve+"?",ve,xe,Ee,me].join("|")+")",je=RegExp("['’]","g"),Ce=RegExp(ve,"g"),Oe=RegExp(_e+"(?="+_e+")|"+Ae+Be,"g"),Ne=RegExp([Se+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,Se,"$"].join("|")+")",Re+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,Se+Pe,"$"].join("|")+")",Se+"?"+Pe+"+(?:['’](?: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_])",ge,Te].join("|"),"g"),Fe=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\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 ]/,De=["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,We={};We[S]=We[P]=We[R]=We[I]=We[B]=We[T]=We["[object Uint8ClampedArray]"]=We[A]=We[j]=!0,We[l]=We[u]=We[x]=We[s]=We[E]=We[f]=We[p]=We[d]=We[h]=We[v]=We[g]=We[b]=We[y]=We[w]=We[k]=!1;var Me={};Me[l]=Me[u]=Me[x]=Me[E]=Me[s]=Me[f]=Me[S]=Me[P]=Me[R]=Me[I]=Me[B]=Me[h]=Me[v]=Me[g]=Me[b]=Me[y]=Me[w]=Me[_]=Me[T]=Me["[object Uint8ClampedArray]"]=Me[A]=Me[j]=!0,Me[p]=Me[d]=Me[k]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ue=parseFloat,$e=parseInt,qe="object"==typeof e&&e&&e.Object===Object&&e,Ge="object"==typeof self&&self&&self.Object===Object&&self,Ye=qe||Ge||Function("return this")(),He=t&&!t.nodeType&&t,Ke=He&&"object"==typeof r&&r&&!r.nodeType&&r,Ze=Ke&&Ke.exports===He,Xe=Ze&&qe.process,Je=function(){try{var e=Ke&&Ke.require&&Ke.require("util").types;return e||Xe&&Xe.binding&&Xe.binding("util")}catch(e){}}(),Qe=Je&&Je.isArrayBuffer,et=Je&&Je.isDate,tt=Je&&Je.isMap,nt=Je&&Je.isRegExp,rt=Je&&Je.isSet,ot=Je&&Je.isTypedArray;function it(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 at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function Nt(e,t){for(var n=e.length;n--&&_t(t,e[n],0)>-1;);return n}function Ft(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=Pt({"À":"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"}),Dt=Pt({"&":"&","<":"<",">":">",'"':""","'":"'"});function zt(e){return"\\"+Ve[e]}function Wt(e){return Fe.test(e)}function Mt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Vt(e,t){return function(n){return e(t(n))}}function Ut(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var Zt=function e(t){var n,r=(t=null==t?Ye:Zt.defaults(Ye.Object(),t,Zt.pick(Ye,De))).Array,o=t.Date,K=t.Error,pe=t.Function,de=t.Math,me=t.Object,he=t.RegExp,ve=t.String,ge=t.TypeError,be=r.prototype,ye=pe.prototype,we=me.prototype,_e=t["__core-js_shared__"],ke=ye.toString,xe=we.hasOwnProperty,Ee=0,Se=(n=/[^.]+$/.exec(_e&&_e.keys&&_e.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Pe=we.toString,Re=ke.call(me),Ie=Ye._,Be=he("^"+ke.call(xe).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Te=Ze?t.Buffer:void 0,Ae=t.Symbol,Oe=t.Uint8Array,Fe=Te?Te.allocUnsafe:void 0,Ve=Vt(me.getPrototypeOf,me),qe=me.create,Ge=we.propertyIsEnumerable,He=be.splice,Ke=Ae?Ae.isConcatSpreadable:void 0,Xe=Ae?Ae.iterator:void 0,Je=Ae?Ae.toStringTag:void 0,bt=function(){try{var e=ti(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Pt=t.clearTimeout!==Ye.clearTimeout&&t.clearTimeout,Xt=o&&o.now!==Ye.Date.now&&o.now,Jt=t.setTimeout!==Ye.setTimeout&&t.setTimeout,Qt=de.ceil,en=de.floor,tn=me.getOwnPropertySymbols,nn=Te?Te.isBuffer:void 0,rn=t.isFinite,on=be.join,an=Vt(me.keys,me),cn=de.max,ln=de.min,un=o.now,sn=t.parseInt,fn=de.random,pn=be.reverse,dn=ti(t,"DataView"),mn=ti(t,"Map"),hn=ti(t,"Promise"),vn=ti(t,"Set"),gn=ti(t,"WeakMap"),bn=ti(me,"create"),yn=gn&&new gn,wn={},_n=Ii(dn),kn=Ii(mn),xn=Ii(hn),En=Ii(vn),Sn=Ii(gn),Pn=Ae?Ae.prototype:void 0,Rn=Pn?Pn.valueOf:void 0,In=Pn?Pn.toString:void 0;function Bn(e){if(qa(e)&&!Oa(e)&&!(e instanceof Cn)){if(e instanceof jn)return e;if(xe.call(e,"__wrapped__"))return Bi(e)}return new jn(e)}var Tn=function(){function e(){}return function(t){if(!$a(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Cn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function On(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Xn(e,t,n,r,o,i){var a,c=1&t,u=2&t,p=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!$a(e))return e;var k=Oa(e);if(k){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&xe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return yo(e,a)}else{var C=oi(e),O=C==d||C==m;if(Da(e))return po(e,c);if(C==g||C==l||O&&!o){if(a=u||O?{}:ai(e),!c)return u?function(e,t){return wo(e,ri(e),t)}(e,function(e,t){return e&&wo(t,kc(t),e)}(a,e)):function(e,t){return wo(e,ni(e),t)}(e,Yn(a,e))}else{if(!Me[C])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case x:return mo(e);case s:case f:return new r(+e);case E:return function(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case S:case P:case R:case I:case B:case T:case"[object Uint8ClampedArray]":case A:case j:return ho(e,n);case h:return new r;case v:case w:return new r(e);case b:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case _:return o=e,Rn?me(Rn.call(o)):{}}var o}(e,C,c)}}i||(i=new Dn);var N=i.get(e);if(N)return N;i.set(e,a),Za(e)?e.forEach((function(r){a.add(Xn(r,t,n,r,e,i))})):Ga(e)&&e.forEach((function(r,o){a.set(o,Xn(r,t,n,o,e,i))}));var F=k?void 0:(p?u?Ho:Yo:u?kc:_c)(e);return ct(F||e,(function(r,o){F&&(r=e[o=r]),$n(a,o,Xn(r,t,n,o,e,i))})),a}function Jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(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(i);return _i((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,i=ft,a=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=dt(t,At(n))),r?(i=pt,a=!1):t.length>=200&&(i=Ct,a=!1,t=new Ln(t));e:for(;++o-1},Nn.prototype.set=function(e,t){var n=this.__data__,r=qn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new On,map:new(mn||Nn),string:new On}},Fn.prototype.delete=function(e){var t=Qo(this,e).delete(e);return this.size-=t?1:0,t},Fn.prototype.get=function(e){return Qo(this,e).get(e)},Fn.prototype.has=function(e){return Qo(this,e).has(e)},Fn.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)},Dn.prototype.clear=function(){this.__data__=new Nn,this.size=0},Dn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Dn.prototype.get=function(e){return this.__data__.get(e)},Dn.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Nn){var r=n.__data__;if(!mn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fn(r)}return n.set(e,t),this.size=n.size,this};var tr=xo(ur),nr=xo(sr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function or(e,t,n){for(var r=-1,o=e.length;++r0&&n(c)?t>1?ar(c,t-1,n,r,o):mt(o,c):r||(o[o.length]=c)}return o}var cr=Eo(),lr=Eo(!0);function ur(e,t){return e&&cr(e,t,_c)}function sr(e,t){return e&&lr(e,t,_c)}function fr(e,t){return st(t,(function(t){return Ma(e[t])}))}function pr(e,t){for(var n=0,r=(t=lo(t,e)).length;null!=e&&nt}function vr(e,t){return null!=e&&xe.call(e,t)}function gr(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var o=n?pt:ft,i=e[0].length,a=e.length,c=a,l=r(a),u=1/0,s=[];c--;){var f=e[c];c&&t&&(f=dt(f,At(t))),u=ln(f.length,u),l[c]=!n&&(t||i>=120&&f.length>=120)?new Ln(c&&f):void 0}f=e[0];var p=-1,d=l[0];e:for(;++p=c)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)}))}function Or(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)c!==e&&He.call(c,l,1),He.call(e,l,1);return e}function Fr(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;li(o)?He.call(e,o,1):eo(e,o)}}return e}function Lr(e,t){return e+en(fn()*(t-e+1))}function Dr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function zr(e,t){return ki(vi(e,t,Yc),e+"")}function Wr(e){return Wn(Tc(e))}function Mr(e,t){var n=Tc(e);return Si(n,Zn(t,0,n.length))}function Vr(e,t,n,r){if(!$a(e))return e;for(var o=-1,i=(t=lo(t,e)).length,a=i-1,c=e;null!=c&&++oi?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>>1,a=e[i];null!==a&&!Ja(a)&&(n?a<=t:a=200){var u=t?null:zo(e);if(u)return $t(u);a=!1,o=Ct,l=new Ln}else l=t?[]:c;e:for(;++r=r?e:Gr(e,t,n)}var fo=Pt||function(e){return Ye.clearTimeout(e)};function po(e,t){if(t)return e.slice();var n=e.length,r=Fe?Fe(n):new e.constructor(n);return e.copy(r),r}function mo(e){var t=new e.constructor(e.byteLength);return new Oe(t).set(new Oe(e)),t}function ho(e,t){var n=t?mo(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=Ja(e),a=void 0!==t,c=null===t,l=t==t,u=Ja(t);if(!c&&!u&&!i&&e>t||i&&a&&l&&!c&&!u||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e1?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&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=me(t);++r-1?o[i?t[a]:a]:void 0}}function Bo(e){return Go((function(t){var n=t.length,r=n,o=jn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(i);if(o&&!c&&"wrapper"==Zo(a))var c=new jn([],!0)}for(r=c?r:n;++r1&&y.reverse(),f&&uc))return!1;var u=i.get(e),s=i.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,d=2&n?new Ln:void 0;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return ct(c,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(J):[]}(r),n)))}function Ei(e){var t=0,n=0;return function(){var r=un(),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;++n1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Ki(e,n)}));function na(e){var t=Bn(e);return t.__chain__=!0,t}function ra(e,t){return t(e)}var oa=Go((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Kn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Cn&&li(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ra,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 ia=_o((function(e,t,n){xe.call(e,n)?++e[n]:Hn(e,n,1)}));var aa=Io(Ci),ca=Io(Oi);function la(e,t){return(Oa(e)?ct:tr)(e,Jo(t,3))}function ua(e,t){return(Oa(e)?lt:nr)(e,Jo(t,3))}var sa=_o((function(e,t,n){xe.call(e,n)?e[n].push(t):Hn(e,n,[t])}));var fa=zr((function(e,t,n){var o=-1,i="function"==typeof t,a=Fa(e)?r(e.length):[];return tr(e,(function(e){a[++o]=i?it(t,e,n):yr(e,t,n)})),a})),pa=_o((function(e,t,n){Hn(e,n,t)}));function da(e,t){return(Oa(e)?dt:Ir)(e,Jo(t,3))}var ma=_o((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ha=zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ui(e,t[0],t[1])?t=[]:n>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Cr(e,ar(t,1),[])})),va=Xt||function(){return Ye.Date.now()};function ga(e,t,n){return t=n?void 0:t,Mo(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(i);return e=oc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ya=zr((function(e,t,n){var r=1;if(n.length){var o=Ut(n,Xo(ya));r|=32}return Mo(e,r,t,n,o)})),wa=zr((function(e,t,n){var r=3;if(n.length){var o=Ut(n,Xo(wa));r|=32}return Mo(t,r,e,n,o)}));function _a(e,t,n){var r,o,a,c,l,u,s=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new ge(i);function m(t){var n=r,i=o;return r=o=void 0,s=t,c=e.apply(i,n)}function h(e){return s=e,l=_i(g,t),f?m(e):c}function v(e){var n=e-u;return void 0===u||n>=t||n<0||p&&e-s>=a}function g(){var e=va();if(v(e))return b(e);l=_i(g,function(e){var n=t-(e-u);return p?ln(n,a-(e-s)):n}(e))}function b(e){return l=void 0,d&&r?m(e):(r=o=void 0,c)}function y(){var e=va(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===l)return h(u);if(p)return fo(l),l=_i(g,t),m(u)}return void 0===l&&(l=_i(g,t)),c}return t=ac(t)||0,$a(n)&&(f=!!n.leading,a=(p="maxWait"in n)?cn(ac(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==l&&fo(l),s=0,r=u=o=l=void 0},y.flush=function(){return void 0===l?c:b(va())},y}var ka=zr((function(e,t){return Qn(e,1,t)})),xa=zr((function(e,t,n){return Qn(e,ac(t)||0,n)}));function Ea(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(i);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(Ea.Cache||Fn),n}function Sa(e){if("function"!=typeof e)throw new ge(i);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)}}Ea.Cache=Fn;var Pa=uo((function(e,t){var n=(t=1==t.length&&Oa(t[0])?dt(t[0],At(Jo())):dt(ar(t,1),At(Jo()))).length;return zr((function(r){for(var o=-1,i=ln(r.length,n);++o=t})),Ca=wr(function(){return arguments}())?wr:function(e){return qa(e)&&xe.call(e,"callee")&&!Ge.call(e,"callee")},Oa=r.isArray,Na=Qe?At(Qe):function(e){return qa(e)&&mr(e)==x};function Fa(e){return null!=e&&Ua(e.length)&&!Ma(e)}function La(e){return qa(e)&&Fa(e)}var Da=nn||al,za=et?At(et):function(e){return qa(e)&&mr(e)==f};function Wa(e){if(!qa(e))return!1;var t=mr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ha(e)}function Ma(e){if(!$a(e))return!1;var t=mr(e);return t==d||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Va(e){return"number"==typeof e&&e==oc(e)}function Ua(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function $a(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qa(e){return null!=e&&"object"==typeof e}var Ga=tt?At(tt):function(e){return qa(e)&&oi(e)==h};function Ya(e){return"number"==typeof e||qa(e)&&mr(e)==v}function Ha(e){if(!qa(e)||mr(e)!=g)return!1;var t=Ve(e);if(null===t)return!0;var n=xe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ke.call(n)==Re}var Ka=nt?At(nt):function(e){return qa(e)&&mr(e)==b};var Za=rt?At(rt):function(e){return qa(e)&&oi(e)==y};function Xa(e){return"string"==typeof e||!Oa(e)&&qa(e)&&mr(e)==w}function Ja(e){return"symbol"==typeof e||qa(e)&&mr(e)==_}var Qa=ot?At(ot):function(e){return qa(e)&&Ua(e.length)&&!!We[mr(e)]};var ec=Fo(Rr),tc=Fo((function(e,t){return e<=t}));function nc(e){if(!e)return[];if(Fa(e))return Xa(e)?Yt(e):yo(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=oi(e);return(t==h?Mt:t==y?$t:Tc)(e)}function rc(e){return e?(e=ac(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function oc(e){var t=rc(e),n=t%1;return t==t?n?t-n:t:0}function ic(e){return e?Zn(oc(e),0,4294967295):0}function ac(e){if("number"==typeof e)return e;if(Ja(e))return NaN;if($a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Tt(e);var n=ie.test(e);return n||ce.test(e)?$e(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function cc(e){return wo(e,kc(e))}function lc(e){return null==e?"":Jr(e)}var uc=ko((function(e,t){if(di(t)||Fa(t))wo(t,_c(t),e);else for(var n in t)xe.call(t,n)&&$n(e,n,t[n])})),sc=ko((function(e,t){wo(t,kc(t),e)})),fc=ko((function(e,t,n,r){wo(t,kc(t),e,r)})),pc=ko((function(e,t,n,r){wo(t,_c(t),e,r)})),dc=Go(Kn);var mc=zr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ui(t[0],t[1],o)&&(r=1);++n1),t})),wo(e,Ho(e),n),r&&(n=Xn(n,7,$o));for(var o=t.length;o--;)eo(n,t[o]);return n}));var Pc=Go((function(e,t){return null==e?{}:function(e,t){return Or(e,t,(function(t,n){return gc(e,n)}))}(e,t)}));function Rc(e,t){if(null==e)return{};var n=dt(Ho(e),(function(e){return[e]}));return t=Jo(t),Or(e,n,(function(e,n){return t(e,n[0])}))}var Ic=Wo(_c),Bc=Wo(kc);function Tc(e){return null==e?[]:jt(e,_c(e))}var Ac=Po((function(e,t,n){return t=t.toLowerCase(),e+(n?jc(t):t)}));function jc(e){return Wc(lc(e).toLowerCase())}function Cc(e){return(e=lc(e))&&e.replace(ue,Lt).replace(Ce,"")}var Oc=Po((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Nc=Po((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Fc=So("toLowerCase");var Lc=Po((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Dc=Po((function(e,t,n){return e+(n?" ":"")+Wc(t)}));var zc=Po((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Wc=So("toUpperCase");function Mc(e,t,n){return e=lc(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(Q)||[]}(e):e.match(t)||[]}var Vc=zr((function(e,t){try{return it(e,void 0,t)}catch(e){return Wa(e)?e:new K(e)}})),Uc=Go((function(e,t){return ct(t,(function(t){t=Ri(t),Hn(e,t,ya(e[t],e))})),e}));function $c(e){return function(){return e}}var qc=Bo(),Gc=Bo(!0);function Yc(e){return e}function Hc(e){return Er("function"==typeof e?e:Xn(e,1))}var Kc=zr((function(e,t){return function(n){return yr(n,e,t)}})),Zc=zr((function(e,t){return function(n){return yr(e,n,t)}}));function Xc(e,t,n){var r=_c(t),o=fr(t,r);null!=n||$a(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=fr(t,_c(t)));var i=!($a(n)&&"chain"in n&&!n.chain),a=Ma(e);return ct(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__=yo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,mt([this.value()],arguments))})})),e}function Jc(){}var Qc=Co(dt),el=Co(ut),tl=Co(gt);function nl(e){return si(e)?St(Ri(e)):function(e){return function(t){return pr(t,e)}}(e)}var rl=No(),ol=No(!0);function il(){return[]}function al(){return!1}var cl=jo((function(e,t){return e+t}),0),ll=Do("ceil"),ul=jo((function(e,t){return e/t}),1),sl=Do("floor");var fl,pl=jo((function(e,t){return e*t}),1),dl=Do("round"),ml=jo((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new ge(i);return e=oc(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=ga,Bn.assign=uc,Bn.assignIn=sc,Bn.assignInWith=fc,Bn.assignWith=pc,Bn.at=dc,Bn.before=ba,Bn.bind=ya,Bn.bindAll=Uc,Bn.bindKey=wa,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Oa(e)?e:[e]},Bn.chain=na,Bn.chunk=function(e,t,n){t=(n?ui(e,t,n):void 0===t)?1:cn(oc(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,c=r(Qt(o/t));io?0:o+n),(r=void 0===r||r>o?o:oc(r))<0&&(r+=o),r=n>r?0:ic(r);n>>0)?(e=lc(e))&&("string"==typeof t||null!=t&&!Ka(t))&&!(t=Jr(t))&&Wt(e)?so(Yt(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new ge(i);return t=null==t?0:cn(oc(t),0),zr((function(n){var r=n[t],o=so(n,0,t);return r&&mt(o,r),it(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?Gr(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?Gr(e,0,(t=n||void 0===t?1:oc(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?no(e,Jo(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ge(i);return $a(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),_a(e,t,{leading:r,maxWait:t,trailing:o})},Bn.thru=ra,Bn.toArray=nc,Bn.toPairs=Ic,Bn.toPairsIn=Bc,Bn.toPath=function(e){return Oa(e)?dt(e,Ri):Ja(e)?[e]:yo(Pi(lc(e)))},Bn.toPlainObject=cc,Bn.transform=function(e,t,n){var r=Oa(e),o=r||Da(e)||Qa(e);if(t=Jo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:$a(e)&&Ma(i)?Tn(Ve(e)):{}}return(o?ct:ur)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return ga(e,1)},Bn.union=qi,Bn.unionBy=Gi,Bn.unionWith=Yi,Bn.uniq=function(e){return e&&e.length?Qr(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?Qr(e,Jo(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},Bn.unset=function(e,t){return null==e||eo(e,t)},Bn.unzip=Hi,Bn.unzipWith=Ki,Bn.update=function(e,t,n){return null==e?e:to(e,t,co(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,co(n),r)},Bn.values=Tc,Bn.valuesIn=function(e){return null==e?[]:jt(e,kc(e))},Bn.without=Zi,Bn.words=Mc,Bn.wrap=function(e,t){return Ra(co(t),e)},Bn.xor=Xi,Bn.xorBy=Ji,Bn.xorWith=Qi,Bn.zip=ea,Bn.zipObject=function(e,t){return io(e||[],t||[],$n)},Bn.zipObjectDeep=function(e,t){return io(e||[],t||[],Vr)},Bn.zipWith=ta,Bn.entries=Ic,Bn.entriesIn=Bc,Bn.extend=sc,Bn.extendWith=fc,Xc(Bn,Bn),Bn.add=cl,Bn.attempt=Vc,Bn.camelCase=Ac,Bn.capitalize=jc,Bn.ceil=ll,Bn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=ac(n))==n?n:0),void 0!==t&&(t=(t=ac(t))==t?t:0),Zn(ac(e),t,n)},Bn.clone=function(e){return Xn(e,4)},Bn.cloneDeep=function(e){return Xn(e,5)},Bn.cloneDeepWith=function(e,t){return Xn(e,5,t="function"==typeof t?t:void 0)},Bn.cloneWith=function(e,t){return Xn(e,4,t="function"==typeof t?t:void 0)},Bn.conformsTo=function(e,t){return null==t||Jn(e,t,_c(t))},Bn.deburr=Cc,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=ul,Bn.endsWith=function(e,t,n){e=lc(e),t=Jr(t);var r=e.length,o=n=void 0===n?r:Zn(oc(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Bn.eq=Ta,Bn.escape=function(e){return(e=lc(e))&&z.test(e)?e.replace(L,Dt):e},Bn.escapeRegExp=function(e){return(e=lc(e))&&Y.test(e)?e.replace(G,"\\$&"):e},Bn.every=function(e,t,n){var r=Oa(e)?ut:rr;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Bn.find=aa,Bn.findIndex=Ci,Bn.findKey=function(e,t){return yt(e,Jo(t,3),ur)},Bn.findLast=ca,Bn.findLastIndex=Oi,Bn.findLastKey=function(e,t){return yt(e,Jo(t,3),sr)},Bn.floor=sl,Bn.forEach=la,Bn.forEachRight=ua,Bn.forIn=function(e,t){return null==e?e:cr(e,Jo(t,3),kc)},Bn.forInRight=function(e,t){return null==e?e:lr(e,Jo(t,3),kc)},Bn.forOwn=function(e,t){return e&&ur(e,Jo(t,3))},Bn.forOwnRight=function(e,t){return e&&sr(e,Jo(t,3))},Bn.get=vc,Bn.gt=Aa,Bn.gte=ja,Bn.has=function(e,t){return null!=e&&ii(e,t,vr)},Bn.hasIn=gc,Bn.head=Fi,Bn.identity=Yc,Bn.includes=function(e,t,n,r){e=Fa(e)?e:Tc(e),n=n&&!r?oc(n):0;var o=e.length;return n<0&&(n=cn(o+n,0)),Xa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&_t(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),_t(e,t,o)},Bn.inRange=function(e,t,n){return t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n){return e>=ln(t,n)&&e=-9007199254740991&&e<=9007199254740991},Bn.isSet=Za,Bn.isString=Xa,Bn.isSymbol=Ja,Bn.isTypedArray=Qa,Bn.isUndefined=function(e){return void 0===e},Bn.isWeakMap=function(e){return qa(e)&&oi(e)==k},Bn.isWeakSet=function(e){return qa(e)&&"[object WeakSet]"==mr(e)},Bn.join=function(e,t){return null==e?"":on.call(e,t)},Bn.kebabCase=Oc,Bn.last=Wi,Bn.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=oc(n))<0?cn(r+o,0):ln(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):wt(e,xt,o,!0)},Bn.lowerCase=Nc,Bn.lowerFirst=Fc,Bn.lt=ec,Bn.lte=tc,Bn.max=function(e){return e&&e.length?or(e,Yc,hr):void 0},Bn.maxBy=function(e,t){return e&&e.length?or(e,Jo(t,2),hr):void 0},Bn.mean=function(e){return Et(e,Yc)},Bn.meanBy=function(e,t){return Et(e,Jo(t,2))},Bn.min=function(e){return e&&e.length?or(e,Yc,Rr):void 0},Bn.minBy=function(e,t){return e&&e.length?or(e,Jo(t,2),Rr):void 0},Bn.stubArray=il,Bn.stubFalse=al,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=pl,Bn.nth=function(e,t){return e&&e.length?jr(e,oc(t)):void 0},Bn.noConflict=function(){return Ye._===this&&(Ye._=Ie),this},Bn.noop=Jc,Bn.now=va,Bn.pad=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Oo(en(o),n)+e+Oo(Qt(o),n)},Bn.padEnd=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=fn();return ln(e+o*(t-e+Ue("1e-"+((o+"").length-1))),t)}return Lr(e,t)},Bn.reduce=function(e,t,n){var r=Oa(e)?ht:Rt,o=arguments.length<3;return r(e,Jo(t,4),n,o,tr)},Bn.reduceRight=function(e,t,n){var r=Oa(e)?vt:Rt,o=arguments.length<3;return r(e,Jo(t,4),n,o,nr)},Bn.repeat=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:oc(t),Dr(lc(e),t)},Bn.replace=function(){var e=arguments,t=lc(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,o=(t=lo(t,e)).length;for(o||(o=1,e=void 0);++r9007199254740991)return[];var n=4294967295,r=ln(e,4294967295);e-=4294967295;for(var o=Bt(r,t=Jo(t));++n=i)return e;var c=n-Gt(r);if(c<1)return r;var l=a?so(a,0,c).join(""):e.slice(0,c);if(void 0===o)return l+r;if(a&&(c+=l.length-c),Ka(o)){if(e.slice(c).search(o)){var u,s=l;for(o.global||(o=he(o.source,lc(re.exec(o))+"g")),o.lastIndex=0;u=o.exec(s);)var f=u.index;l=l.slice(0,void 0===f?c:f)}}else if(e.indexOf(Jr(o),c)!=c){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},Bn.unescape=function(e){return(e=lc(e))&&D.test(e)?e.replace(F,Kt):e},Bn.uniqueId=function(e){var t=++Ee;return lc(e)+t},Bn.upperCase=zc,Bn.upperFirst=Wc,Bn.each=la,Bn.eachRight=ua,Bn.first=Fi,Xc(Bn,(fl={},ur(Bn,(function(e,t){xe.call(Bn.prototype,t)||(fl[t]=e)})),fl),{chain:!1}),Bn.VERSION="4.17.21",ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),ct(["drop","take"],(function(e,t){Cn.prototype[e]=function(n){n=void 0===n?1:cn(oc(n),0);var r=this.__filtered__&&!t?new Cn(this):this.clone();return r.__filtered__?r.__takeCount__=ln(n,r.__takeCount__):r.__views__.push({size:ln(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Cn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Cn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Cn.prototype[e]=function(){return this[n](1).value()[0]}})),ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Cn.prototype[e]=function(){return this.__filtered__?new Cn(this):this[n](1)}})),Cn.prototype.compact=function(){return this.filter(Yc)},Cn.prototype.find=function(e){return this.filter(e).head()},Cn.prototype.findLast=function(e){return this.reverse().find(e)},Cn.prototype.invokeMap=zr((function(e,t){return"function"==typeof e?new Cn(this):this.map((function(n){return yr(n,e,t)}))})),Cn.prototype.reject=function(e){return this.filter(Sa(Jo(e)))},Cn.prototype.slice=function(e,t){e=oc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Cn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=oc(t))<0?n.dropRight(-t):n.take(t-e)),n)},Cn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Cn.prototype.toArray=function(){return this.take(4294967295)},ur(Cn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Bn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Bn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,c=t instanceof Cn,l=a[0],u=c||Oa(t),s=function(e){var t=o.apply(Bn,mt([e],a));return r&&f?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,d=i&&!f,m=c&&!p;if(!i&&u){t=m?t:new Cn(this);var h=e.apply(t,a);return h.__actions__.push({func:ra,args:[s],thisArg:void 0}),new jn(h,f)}return d&&m?e.apply(this,a):(h=this.thru(s),d?r?h.value()[0]:h.value():h)})})),ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=be[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Oa(o)?o:[],e)}return this[n]((function(n){return t.apply(Oa(n)?n:[],e)}))}})),ur(Cn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";xe.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[To(void 0,2).name]=[{name:"wrapper",func:void 0}],Cn.prototype.clone=function(){var e=new Cn(this.__wrapped__);return e.__actions__=yo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yo(this.__views__),e},Cn.prototype.reverse=function(){if(this.__filtered__){var e=new Cn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Cn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Oa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof An;){var r=Bi(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},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Cn){var t=e;return this.__actions__.length&&(t=new Cn(this)),(t=t.reverse()).__actions__.push({func:ra,args:[$i],thisArg:void 0}),new jn(t,this.__chain__)}return this.thru($i)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Xe&&(Bn.prototype[Xe]=function(){return this}),Bn}();Ye._=Zt,void 0===(o=function(){return Zt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(7),n(8)(e))},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return c(u(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function c(e,t){var n,r,a,c,l,u,s,f,p,d=1,m=e.length,h="";for(r=0;r=0),c.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,c.width?parseInt(c.width):0);break;case"e":n=c.precision?parseFloat(n).toExponential(c.precision):parseFloat(n).toExponential();break;case"f":n=c.precision?parseFloat(n).toFixed(c.precision):parseFloat(n);break;case"g":n=c.precision?String(Number(n.toPrecision(c.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=c.precision?n.substring(0,c.precision):n;break;case"t":n=String(!!n),n=c.precision?n.substring(0,c.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=c.precision?n.substring(0,c.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=c.precision?n.substring(0,c.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(c.type)?h+=n:(!o.number.test(c.type)||f&&!c.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),u=c.pad_char?"0"===c.pad_char?"0":c.pad_char.charAt(1):" ",s=c.width-(p+n).length,l=c.width&&s>0?u.repeat(s):"",h+=c.align?p+n+l:"0"===u?p+l+n:l+p+n)}return h}var l=Object.create(null);function u(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],c=t[2],u=[];if(null===(u=o.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(c=c.substring(u[0].length));)if(null!==(u=o.key_access.exec(c)))a.push(u[1]);else{if(null===(u=o.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,a,c=n,l=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(a=0;a.inner{position:relative}@media screen and (max-width: 782px){#ast-block-templates-modal{padding:0 20px}}.ast-block-templates-grid-blocks .button-actions.import-action-start{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .importing .inner .button-actions,.ast-block-templates-grid-blocks .inner:hover .button-actions{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .button-actions{opacity:0;visibility:hidden;margin:0 auto}.ast-block-templates-grid-blocks .thumbnail{cursor:pointer;position:relative;text-align:center;overflow:hidden}.ast-block-templates-grid-blocks .heading-wrap .title{margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-grid .item.importing .inner img,.ast-block-templates-grid-blocks .ast-block-templates-grid .item .inner:hover img{filter:blur(1px)}.ast-block-templates-grid-blocks .ast-block-templates-grid .item.importing .inner .heading-wrap,.ast-block-templates-grid-blocks .ast-block-templates-grid .item .inner:hover .heading-wrap{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .ast-block-templates-grid .item .heading-wrap{padding:5px 0;flex-direction:row;align-items:center;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;visibility:hidden;transition:transform .5s}@media only screen and (min-width: 768px){.ast-block-templates-grid-blocks .ast-block-templates-grid .item{width:33.33%}}.ast-block-templates-grid-pages{padding:35px 25px 0 25px}.ast-block-templates-grid-pages .heading-wrap{cursor:pointer}.ast-block-templates-grid-pages,.ast-block-templates-grid-blocks{display:none}.ast-block-templates-grid-pages.active,.ast-block-templates-grid-blocks.active{display:block}@media only screen and (min-width: 768px){.ast-block-templates-single-site-preview .ast-block-templates-grid .item,.ast-block-templates-grid-pages .ast-block-templates-grid .item{width:25%}}.ast-block-templates-grid .item{margin:0 3% 3.6% 0;border:none;position:relative;margin:0 4% 4% 0;position:relative;width:30.6%;box-sizing:border-box;align-content:flex-start}.ast-block-templates-grid .item.importing .inner,.ast-block-templates-grid .item:hover .inner{box-shadow:0 6px 14px 0 rgba(0,0,0,.12)}.ast-block-templates-grid .item .inner{margin:0;background:#fff;box-shadow:0 4px 10px 0 rgba(0,0,0,.07);position:relative;border-radius:3px;overflow:hidden;transition:all .4s;padding:5px}.ast-block-templates-grid .item .screenshot{background-position:center top;background-size:100%;background-repeat:no-repeat;border-top-left-radius:2px;border-top-right-radius:2px;overflow:hidden;background-color:#e5e5e5;position:relative;display:block}.ast-block-templates-grid .item .screenshot:after{content:"";display:block;padding-top:118%}.ast-block-templates-grid .item .heading-wrap{display:flex;justify-content:space-between;line-height:1;padding:12px 15px;font-weight:normal;border:none;border-bottom-left-radius:2px;border-bottom-right-radius:2px;flex-direction:column}.ast-block-templates-grid .item .heading-wrap .ast-template-import-block-button{padding:6px 14px;min-height:auto;line-height:normal;border-radius:2px}.ast-block-templates-grid .item.importing .preview,.ast-block-templates-grid .item .inner:hover .preview{opacity:1;visibility:visible}.ast-block-templates-grid .item .preview{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0;visibility:hidden;float:none;transition:all .3s;background:rgba(0,0,0,.5)}.ast-block-templates-grid .item .preview .preview-inner{position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);font-size:20px;color:#d5dadf}.ast-block-templates-grid .item .import{cursor:pointer;position:relative}.ast-block-templates-grid .item .import .components-spinner{position:absolute;left:-25px;margin:0;top:-2px}.ast-block-templates-grid .item .import .dashicons{height:auto;width:auto;font-size:initial;padding-right:3px}.ast-block-templates-grid-pages .ast-block-templates-grid .item .preview{background:unset}.image-loading{animation-duration:2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:image-placeholder;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #fafafa 8%, #f4f4f4 38%, #fafafa 54%);position:relative}@keyframes image-placeholder{0%{background-position:-150px 0}100%{background-position:150px 0}}.ast-block-templates-grid{display:flex;flex-wrap:wrap}@media only screen and (min-width: 768px){.ast-block-templates-grid{margin:0}.ast-block-templates-grid .item{width:25%;padding:1.4%;margin:0;box-shadow:none}}.blocks-color{width:100%}.block-color-item{padding:6px 18px;display:inline-block;border:1px solid #c8cfd6;cursor:pointer;text-transform:capitalize}.block-color-item:first-child{border-top-left-radius:3px;border-bottom-left-radius:3px}.block-color-item:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}.block-color-item.active,.block-color-item:hover{background:#2271b1;border-color:#2271b1;color:#fff}.block-color-item:nth-child(2){border-right:none;border-left:none}.block-color-list{display:inline-flex}#ast-block-templates-modal-wrap{opacity:0;visibility:hidden;position:fixed;height:100%;width:100%;bottom:0;left:0;background-color:rgba(0,0,0,.8);z-index:99999999;user-select:none}#ast-block-templates-modal-wrap .ast-block-templates-grid>.components-spinner{margin:8em auto auto}#ast-block-templates-modal-wrap.open{opacity:1;visibility:visible}#ast-block-templates-modal-wrap .filter-wrap{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px 0;padding-left:12.55px}#ast-block-templates-modal-wrap .filter-wrap select{margin-right:10px;position:relative;background-size:12px 12px;height:28px;color:#6d7882;border-radius:3px;border-color:#d5dadf;font-size:12px;padding:0 20px 0 10px;appearance:none;-webkit-appearance:none;-moz-appearance:none}#ast-block-templates-modal-wrap .loading{position:relative;background-color:#e2e2e2}#ast-block-templates-modal-wrap .loading:after{display:block;content:"";position:absolute;width:100%;height:100%;-webkit-transform:translateX(-100%);transform:translateX(-100%);background:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent));background:linear-gradient(90deg, #ffffff1c, rgba(255, 255, 255, 0.2), #ffffff2b);-webkit-animation:loading 1.5s infinite;animation:loading 1.5s infinite}@-webkit-keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}#ast-block-templates-modal{width:100%;max-width:100%;box-shadow:none;border-radius:0;height:100%;margin:0}.st-block-category{display:flex;align-items:center;justify-content:space-between;cursor:pointer;margin-bottom:12px;color:#6d7882}.st-block-category:hover,.st-block-category.active{color:#2271b1}#ast-block-templates-modal .ast-block-templates-grid-blocks{display:flex;align-items:flex-start}#ast-block-templates-modal .ast-block-templates-grid-blocks .filter-wrap{align-items:flex-start;width:250px;padding:10px 30px 30px 30px;position:fixed;overflow-y:auto;height:calc( 100vh - 55px);background-color:rgba(255,255,255,.5);flex-grow:0;overflow-y:auto;box-shadow:2px 8px 23px 3px rgba(0,0,0,.05);z-index:2}#ast-block-templates-modal .ast-block-templates-pattern-grid{width:calc( 100% - 250px );margin-left:auto;padding:3em}#ast-block-templates-modal .ast-block-templates-pattern-grid .notice{margin-bottom:1.5em}#ast-block-templates-modal .blocks-color{margin-bottom:40px}#ast-block-templates-modal .filters{margin-top:2em;width:100%}#ast-block-templates-modal .filters h3{color:#1e1e1e;font-size:14px;margin-bottom:20px;margin-top:0}',""]),t.default=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},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){var r=n(1),o=n(10);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.ast-block-templates-tooltip{width:105px;font-size:12px;position:absolute;bottom:-33px;background:#fff;box-shadow:0 3px 10px rgba(25,30,35,.12);padding:4px;border-radius:2px;display:none;z-index:999}.ast-block-templates-tooltip:before{border:5px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;top:-5px;left:45%;left:calc(50% - 5px);border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:0px}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(12);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-sync{position:relative;padding:0 18px;cursor:pointer;color:#6d7882;display:flex;justify-content:center;align-items:center}.ast-block-templates-sync:hover .ast-block-templates-icon{color:#6d7882}.ast-block-templates-sync .ast-block-templates-icon{font-size:16px;color:#a4afb7}.ast-block-templates-sync .ast-block-templates-tooltip{text-align:center;width:100px}.ast-block-templates-sync:hover .ast-block-templates-tooltip{display:block}.ast-block-templates-sync__title{position:absolute;bottom:-15px;left:-139px;background:#fff;width:200px;border-radius:0px;padding:3px 8px;text-align:left;border:1px solid #e6e9ec;opacity:0;visibility:hidden}.ast-block-templates-sync--processing .ast-block-templates-icon{animation:rotation 2s infinite linear}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(14);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".logo-wrap{align-self:center;margin-left:18px;width:250px}.logo-wrap .logo{display:flex;align-items:center;cursor:pointer}.logo-wrap .logo-text{margin-left:8px;font-weight:500;font-size:15px;line-height:18px;color:rgba(30,30,30,.9)}.logo-wrap img{height:34px;width:34px}.logo-wrap.white-label{width:auto}.logo-wrap.white-label .logo{width:auto;height:auto;padding:0 10px;font-weight:bold}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(16);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-layout-wrap{width:268px;display:flex;align-items:center}.back-to-layout{padding:0 15px 0 0;text-align:center;cursor:pointer;display:flex;align-items:center;opacity:0;visibility:hidden;position:relative;margin-left:18px;color:#a4afb7}.back-to-layout .ast-block-templates-back-heading{font-size:14px}.back-to-layout:hover{color:#6d7882}.back-to-layout.show{opacity:1;visibility:visible}.back-to-layout .ast-block-templates-icon{font-size:24px}.back-to-layout:hover .ast-block-templates-tooltip{display:block;left:-6px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(18);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.header-menu{display:flex;flex:1;align-items:center;justify-content:center;padding-right:175px}.uag-block-templates-lightbox .header-menu{padding-right:180px}.header-menu-item{line-height:1em;width:108px;padding:18px 0;display:inline-block;text-align:center;font-weight:600;color:#444;font-size:13px;border-bottom:3px solid transparent;cursor:pointer}.header-menu-item:hover{color:#0073aa}.header-menu-item.active{border-color:#0073aa;background-image:linear-gradient(to bottom, #f1f3f5, #fff);color:#0073aa}.header-menu-item .dashicons{width:auto;height:auto;font-size:initial;margin-right:8px}.header-menu-item .ast-block-templates-icon{margin-right:10px;font-size:16px}.header{display:flex;background-color:#fff;align-items:stretch;position:relative;z-index:3;box-shadow:0 4px 10px rgba(0,0,0,.05);border-radius:3px 3px 0 0;height:55px}.header h2{padding:10px 15px}.header .close{padding:0 14px;cursor:pointer;color:#a4afb7;line-height:normal;display:flex;justify-content:center;align-items:center}.header .close:before{content:"";position:absolute;height:18px;width:18px;border-left:1px solid #a4afb7;margin-right:35px}.header .close:hover{color:#6d7882}.header .close .dashicons{line-height:normal;height:auto;width:auto;vertical-align:middle;font-size:24px}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(20);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header .search-form{position:absolute;right:122px;top:9px}.header .search-form input::-webkit-input-placeholder{color:#a4afb7}.header .search-form input::-webkit-search-cancel-button{margin-top:-5px}.header .search-form .button{border:none;padding:0px 5px;line-height:0;background:0 0;position:absolute;right:15px;bottom:0;color:#a4afb7;top:0}.header .search-form .button:focus,.header .search-form .button:hover{background:transparent;box-shadow:none}.header .search-form.have-input input:focus+.button,.header .search-form.have-input input:hover+.button{opacity:0;visibility:hidden}.header .search-form input{border-left:none;border-right:none;border-top:none;border-bottom:1px solid #f1f3f5;font-weight:300;width:350px;opacity:1;background:#fff;border-radius:3px;font-size:13px;padding:5px 20px 5px 15px;border:1px solid #d2d7db;box-shadow:none}.header .search-form input:hover{border-color:#a4afb7}.header .search-form input:focus{outline:none;box-shadow:none;border-color:#a4afb7}.header .search-form svg{fill:#a9a9a9;width:18px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(22);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-block-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-block-button .components-spinner,.ast-template-import-block-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-block-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-block-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(24);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".no-search-result{padding:7em 0;text-align:center;color:#6d7882;flex:1;right:0;top:0em !important}.no-search-result h3{margin-bottom:1.2em;font-size:1.3rem;font-weight:normal;color:#666;margin-top:0}.no-search-result p{font-size:13px;margin:0}.no-search-result-description a{text-decoration:none}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(26);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-templates{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#fafafa;border-color:#999;color:#23282d;margin-top:25px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(28);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content .ast-block-templates-notice-message{margin:.5em 0;padding:2px}.ast-block-templates-content .ast-block-templates-notice{position:relative;margin:25px 50px;margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-notice{margin:0 1.4%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(30);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-page-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-page-button .components-spinner,.ast-template-import-page-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-page-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-page-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(32);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-popup-wrap{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(49,49,49,.5);z-index:9}.ast-block-templates-popup-wrap.hide{display:none;opacity:0}.ast-block-templates-popup{background:#f2f2f2;margin:0 auto;width:660px;max-height:420px;transform:translate(-50%, -40%);box-sizing:border-box;position:fixed;background-color:#f1f3f5;z-index:100059;text-align:left;top:40%;left:50%;box-shadow:0 3px 6px rgba(0,0,0,.3);border-radius:2px}.ast-block-templates-popup-header{background:#fff;margin-top:0;box-shadow:0 0 8px rgba(0,0,0,.1);margin-bottom:.5em;display:flex;justify-content:space-between}.ast-block-templates-popup-footer{padding:1em 1em 1em 2em;z-index:30;box-sizing:border-box;border-top:1px solid #dcdcdc}.ast-block-templates-popup-footer .button{margin-right:10px}.ast-block-templates-popup-content{display:block;padding:1em 1em 1em 2em;background:#f1f3f5;min-height:200px;overflow:auto;position:relative}.ast-block-templates-popup-heading{font-size:1.3em;margin:0;font-weight:600;padding:1em 1em 1em 2em}.ast-block-templates-popup-close-icon{width:53px;cursor:pointer;border-left:1px solid #eee;color:#aaa;display:flex;align-items:center;justify-content:center;padding:1em 1em 1em 1em}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(34);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-single-site-preview .ast-block-templates-grid .item{width:47%;padding:0;margin:0 6% 6% 0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item:nth-child(even){margin-right:0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .heading-wrap{padding:8px 14px}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .title{font-weight:500;font-size:13px;background:#fff}.ast-block-templates-single-site-preview .ast-block-templates-grid .item.active .inner{border-color:#5b9dd9;border-radius:2px}.ast-block-templates-single-site-preview{display:flex;position:fixed;left:30px;right:30px;height:80vh;padding-top:40px;margin:0 auto}.ast-block-templates-single-page-preview{width:65%;flex:1;margin-bottom:3em}.ast-block-templates-single-page-preview img{width:100%;transition:all .4s}.ast-block-templates-single-page-preview .screenshot{margin-right:4em;max-height:calc(100vh - 220px);overflow-y:auto;border-radius:2px;box-shadow:0 0 16px 0 rgba(0,0,0,.12);height:100vh}.ast-block-templates-grid-preview{width:35%}.ast-block-templates-grid-preview .ast-block-templates-grid{overflow-y:auto;max-height:calc(100vh - 220px);padding-right:30px;margin-right:-35px;margin-left:0}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner{border:1px solid #e2e2e2}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner:hover{box-shadow:0 3px 12px rgba(0,0,0,.14)}.ast-block-templates-grid-preview .ast-block-templates-grid .item .screenshot:after{padding-top:114%}.ast-block-templates-pages-title{color:#9e9e9e;text-decoration:none;font-weight:500;position:relative;font-size:13px;margin:0 0 32px 0}.ast-block-templates-site-title-wrap{display:flex;align-items:center;margin:0 0 32px 0}.ast-block-templates-site-title{font-size:22px;margin:0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(36);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{max-height:calc(100vh - 210px);overflow-y:auto;box-shadow:0 0 16px 0 rgba(0,0,0,.12);margin:1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(38);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{text-align:center}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(40);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content{height:calc( 100vh - 55px );overflow-y:auto;color:#444}.ast-block-templates-content img{max-width:100%;vertical-align:middle}.ast-block-templates-content .title{margin:0;font-size:14px;color:#444;margin-bottom:5px}.ast-block-templates-content .title b{font-weight:900}.ast-block-templates-content .sub-title{font-weight:300;font-size:13px}#ast-block-templates-modal ::-webkit-scrollbar,.ast-block-templates-full-preview::-webkit-scrollbar,.ast-block-templates-content::-webkit-scrollbar,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar{width:5px;background-color:#f1f1f1}#ast-block-templates-modal ::-webkit-scrollbar-thumb,.ast-block-templates-full-preview::-webkit-scrollbar-thumb,.ast-block-templates-content::-webkit-scrollbar-thumb,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-thumb,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}#ast-block-templates-modal ::-webkit-scrollbar-track,.ast-block-templates-full-preview::-webkit-scrollbar-track,.ast-block-templates-content::-webkit-scrollbar-track,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-track,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(42);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".footer{background:#fff;border-top:1px solid #ebebeb;display:flex;padding:0 30px;position:absolute;bottom:0;right:0;left:0;justify-content:center;box-shadow:0 -2px 8px rgba(0,0,0,.05)}.footer .dashicons{vertical-align:middle;font-size:initial}.footer .left,.footer .right{display:flex;justify-content:center;align-items:center}.footer .button{margin:10px 5px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(44);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){var r=n(1),o=n(46);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.used-blocks-info{width:250px;position:absolute;bottom:60px;background:#fff;box-shadow:0 -3px 10px rgba(25,30,35,.12);padding:15px 18px;border-radius:2px;right:38px;display:none}.used-blocks-info.show{display:block}.used-blocks-info:after{border:8px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;bottom:-8px;left:40%;border-top-style:solid;border-left-color:transparent;border-right-color:transparent;border-bottom:none;margin-left:0px}.used-blocks-info h3{margin:15px 0 8px 0;font-size:14px;font-weight:500;border-bottom:1px solid #e4e7ea;padding-bottom:8px}.used-blocks-info h3:first-child{margin-top:0}.used-blocks-info ol{margin-left:15px}.used-blocks-info ol li:last-child{margin-bottom:0}.footer .used-blocks-icon{border-left:1px solid #e6e9ec;border-right:1px solid #e6e9ec;margin-right:20px;padding:25px;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:20px;color:#555d66}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(48);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){"use strict";n.r(t);n(5);var r=n(2),o=n.n(r),i=function(e,t,n,o){var i=AstBlockTemplatesVars.allBlocks,a=[];e&&(a=i.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var c=[];return n&&(c=i.filter((function(e){var t=Object.values(e.tag);if(t.length){for(var r in t)if(t[r].toLowerCase().includes(n.toLowerCase()))return!0;return!1}return!0}))),(e||n)&&(i=Object(r.unionBy)(a,c,"ID")),t&&(i=i.filter((function(e){return parseInt(t)===parseInt(e.category)}))),o&&(i=i.filter((function(e){return o===e.filter}))),i},a=function(e){var t=[];for(var n in AstBlockTemplatesVars.allSites){var o=AstBlockTemplatesVars.allSites[n],i=o.pages||{};if(Object.values(i).length)for(var a in i)i[a]["site-ID"]=o.ID,i[a]["site-title"]=o.title,t.push(i[a])}var c=[];e&&(c=t.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var l=[];e&&(l=t.filter((function(t){return t["site-title"].toLowerCase().includes(e.toLowerCase())})));var u=[];return e&&(u=t.filter((function(t){if("tag"in t){var n=Object.values(t.tag)||[];if(n.length)for(var r in n)if(n[r].toLowerCase().includes(e.toLowerCase()))return!0;return!1}return!0}))),e&&(t=Object(r.unionBy)(c,u,l,"ID")),t};function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;if("SET_DISPLAY_DYNAMIC_POPUP"===t.type)return l(l({},e),{},{displayDynamicPopup:t.displayDynamicPopup});if("SET_STATE"===t.type)return l(l({},e),t.state);if("FULL_WIDTH_PAGE_PREVIEW"===t.type)return l(l({},e),{},{fullWidthPagePreview:t.fullWidthPagePreview});if("FULL_WIDTH_BLOCK_PREVIEW"===t.type)return l(l({},e),{},{fullWidthBlockPreview:t.fullWidthBlockPreview});if("SET_IMPORT_ITEM_INFO"===t.type)return l(l({},e),{},{importItemInfo:t.importItemInfo});if("SET_NOTICE"===t.type)return l(l({},e),{},{notice:t.notice});if("SET_SEARCH_PAGE_PREVIEW"===t.type){var n=[],r=t.item["site-ID"]||"";return r&&(n=e.allSites.filter((function(e){return r===e.ID})))&&(n=n[0]),l(l({},e),{},{sitePreview:n,pagePreview:t.item})}if("SET_CURRENT_SCREEN"===t.type){var o="all-sites-grid"===t.currentScreen||"all-blocks-grid"===t.currentScree?"":e.currentScreen;return l(l({},e),{},{currentScreen:t.currentScreen,previousScreen:o})}return"SET_PREVIOUS_SCREEN"===t.type?l(l({},e),{},{previousScreen:t.previousScreen}):"TOGGLE_POPUP"===t.type?l(l({},s),{},{togglePopup:!e.togglePopup}):"SET_SITE_PREVIEW"===t.type?l(l({},e),{},{sitePreview:t.sitePreview}):"SET_PAGE_PREVIEW"===t.type?l(l({},e),{},{pagePreview:t.pagePreview}):"SET_FULL_PREVIEW"===t.type?l(l({},e),{},{fullWidthPreview:t.fullWidthPreview}):"SET_FILTER_BLOCKS_BY_CATEGORY"===t.type?l(l({},e),{},{allBlocks:i("",t.filterBlocksByCategory,"",e.filterBlocksByColor),filterBlocksBySearchTerm:"",filterBlocksByCategory:t.filterBlocksByCategory}):"SET_FILTER_BLOCKS_BY_COLOR"===t.type?l(l({},e),{},{allBlocks:i("",e.filterBlocksByCategory,"",t.filterBlocksByColor),filterBlocksBySearchTerm:"",filterBlocksByColor:t.filterBlocksByColor}):"SET_FILTER_BLOCKS_BY_SEARCH_TERM"===t.type?l(l({},e),{},{allBlocks:i(t.filterBlocksBySearchTerm,"",t.filterBlocksBySearchTerm,""),filterBlocksByColor:"",filterBlocksByCategory:"",filterBlocksBySearchTerm:t.filterBlocksBySearchTerm}):"SET_FILTER_PAGES_BY_SEARCH_TERM"===t.type?t.filterPagesBySearchTerm.length?l(l({},e),{},{allPages:a(t.filterPagesBySearchTerm),filterPagesBySearchTerm:t.filterPagesBySearchTerm}):l(l({},e),{},{allPages:[],filterPagesBySearchTerm:t.filterPagesBySearchTerm}):"SET_ALL_PAGES"===t.type?l(l({},e),{},{allPages:t.allPages}):e};function p(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?t-1:0),r=1;r":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},g=["(","?"],b={")":["("],":":["?","?:"]},y=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var R={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function I(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(y);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(b[n]){if(b[n][0]===o){n=b[n][1]||n;break}}else if(g.indexOf(o)>=0||v[o]3&&void 0!==arguments[3]?arguments[3]:10,a=e[t];if(F(n)&&N(r))if("function"==typeof o)if("number"==typeof i){var c={callback:o,priority:i,namespace:r};if(a[n]){var l,u=a[n].handlers;for(l=u.length;l>0&&!(i>=u[l-1].priority);l--);l===u.length?u[l]=c:u.splice(l,0,c),a.__current.forEach((function(e){e.name===n&&e.currentIndex>=l&&e.currentIndex++}))}else a[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,i)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,o){var i=e[t];if(F(r)&&(n||N(o))){if(!i[r])return 0;var a=0;if(n)a=i[r].handlers.length,i[r]={runs:i[r].runs,handlers:[]};else for(var c=i[r].handlers,l=function(e){c[e].namespace===o&&(c.splice(e,1),a++,i.__current.forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},u=c.length-1;u>=0;u--)l(u);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),a}}};var z=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var W=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,c=new Array(a>1?a-1:0),l=1;l1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=j(j(j({},C),r.data[t]),e),r.data[t][""]=j(j({},C[""]),r.data[t][""])},c=function(e,t){a(e,t),i()},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},s=function(e,t,r){var o=l(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+u(r),o,e,t,r)):o};if(e&&c(e,t),n){var f=function(e){O.test(e)&&i()};n.addAction("hookAdded","core/i18n",f),n.addAction("hookRemoved","core/i18n",f)}return{getLocaleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},setLocaleData:c,resetLocaleData:function(e,t){r.data={},r.pluralForms={},c(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=l(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+u(t),r,e,t)):r},_x:s,_n:function(e,t,r,o){var i=l(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+u(o),i,e,t,r,o)):i},_nx:function(e,t,r,o,i){var a=l(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+u(i),a,e,t,r,o,i)):a},isRTL:function(){return"rtl"===s("ltr","text direction")},hasTranslation:function(e,t,o){var i,a,c=t?t+""+e:e,l=!(null===(i=r.data)||void 0===i||null===(a=i[null!=o?o:"default"])||void 0===a||!a[c]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,o),l=n.applyFilters("i18n.has_translation_"+u(o),l,e,t,o)),l}}}(void 0,void 0,q)),Y=(G.getLocaleData.bind(G),G.setLocaleData.bind(G),G.resetLocaleData.bind(G),G.subscribe.bind(G),G.__.bind(G)),H=(G._x.bind(G),G._n.bind(G),G._nx.bind(G),G.isRTL.bind(G),G.hasTranslation.bind(G),wp.element),K=H.createPortal,Z=H.memo,X=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(Z((function(e){var t=e.onSetTogglePopup;return K(React.createElement("button",{onClick:t,id:"ast-block-templates-button",className:"button button-primary"},AstBlockTemplatesVars.display_button_logo&&""===AstBlockTemplatesVars.white_label_name?React.createElement("img",{src:AstBlockTemplatesVars.button_logo,className:"logo ".concat(AstBlockTemplatesVars.button_class)}):"",AstBlockTemplatesVars.white_label_name?AstBlockTemplatesVars.white_label_name:AstBlockTemplatesVars.button_text),document.getElementById("ast-block-templates-button-wrap"))}))),J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#9E9E9E";e&&console.log("%c ".concat(e," "),"color: ".concat(n,"; font-weight: lighter;"),t)},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return J(e,t,"#F20404")},ee=(n(9),function(e){var t=e.message;return React.createElement("div",{className:"ast-block-templates-tooltip"},t)});n(11);function te(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ne(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){te(i,r,o,a,c,"next",e)}function c(e){te(i,r,o,a,c,"throw",e)}a(void 0)}))}}function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:'"';return"".concat(n(e),":").concat(t[0]).concat(e).concat(t[t.length-1])},o=0;return function e(n){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.has(n))return t.get(n);if(o+=i,"string"==typeof n)return"s:".concat(r(n),";");if("number"==typeof n)return"".concat(Math.round(n)===n?"i":"d",":").concat((""+n).toUpperCase().replace(/(-?\d)E/,"$1.0E"),";");if("boolean"==typeof n)return"b:".concat(+n,";");var a=Array.isArray(n)||n.constructor===Object;if(t.set(n,"".concat("rR"[+a],":").concat(o,";")),"function"==typeof n.serialize)return"C:".concat(r(n.constructor.name),":").concat(r(n.serialize(),"{}"));var c=Object.entries(n).filter((function(e){var t=tt(e,2);t[0];return"function"!=typeof t[1]}));return(a?"a":"O:".concat(r(n.constructor.name)))+":".concat(c.length,":{").concat(c.map((function(t){var n=tt(t,2),r=n[0],o=n[1];return e(a&&/^\d{1,16}$/.test(r)?+r:r,!1)+e(o)})).join(""),"}")}(e)},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stdClass=nt.stdClass;var n=0,r=[null],o={INF:1/0,"-INF":-1/0,NAN:NaN},i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;throw new Error("Error at ".concat(r,": ").concat(t,"\n").concat(e,"\n").concat(" ".repeat(r),"^"))},a=function(t,r){return t===e.slice(n,n+=t.length)?r:i("Expected '".concat(t,"'"),n-t.length)};function c(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:";";a(":");var c=t.exec(e.slice(n));return c||i("Exected ".concat(r,", but got '").concat(e.slice(n).match(/^[:;{}]|[^:;{}]*/)[0],"'")),n+=c[0].length,a(o,c[0])}function l(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n;t>0;){var c=e.charCodeAt(n++);t-=c<128?1:c<2048||c>>11==27?2:3}return t?i("Invalid string length",o-2):a(r,e.slice(o,n))}var u=function(e){return e?t[e]?Object.create(t[e].prototype):new(et({},e,(function(){}))[e]):{}},s=function(){return c(/^[01]/,"a '0' or '1'",";")},f=function(){return+c(/^-?\d+/,"an integer",";")},p=function(e){return+c(/^\d+/,"an unsigned integer",e)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l(p(':"'),'"'+e)};function m(){var e=c(/^-?(\d+(\.\d+)?(E[+-]\d+)?|INF)|NAN/,"a decimal number",";");return e in o?o[e]:+e}function h(){var t=e[n++];return"s"===t?d(";"):"i"===t?p(";"):i("Expected 's' or 'i' as type for a key, but got ${str[offset-1]}",n-1)}function v(e){for(var t=0,n=p(":{");te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=e.replace("&","&")).replace("&","&"),(e=o()(e)).__wrapped__};function yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wt(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n',document.body.appendChild(e),wp.element.render(React.createElement(So,null),document.getElementById("ast-block-templates-modal"))}()}),500)}))}document.addEventListener("load",Po),document.addEventListener("DOMContentLoaded",Po)}]);