!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get: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=147)}([function(t,e,n){var r=n(2),o=n(21),i=n(12),a=n(13),c=n(18),u=function(t,e,n){var l,s,f,p,h=t&u.F,v=t&u.G,d=t&u.S,g=t&u.P,m=t&u.B,y=v?r:d?r[e]||(r[e]={}):(r[e]||{}).prototype,b=v?o:o[e]||(o[e]={}),w=b.prototype||(b.prototype={});for(l in v&&(n=e),n)f=((s=!h&&y&&void 0!==y[l])?y:n)[l],p=m&&s?c(f,r):g&&"function"==typeof f?c(Function.call,f):f,y&&a(y,l,f,t&u.U),b[l]!=f&&i(b,l,p),g&&w[l]!=f&&(w[l]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(52)("wks"),o=n(33),i=n(2).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),o=n(95),i=n(22),a=Object.defineProperty;e.f=n(6)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(24),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(23);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(7),o=n(32);t.exports=n(6)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),o=n(12),i=n(11),a=n(33)("src"),c=Function.toString,u=(""+c).split("toString");n(21).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var l="function"==typeof n;l&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(l&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},function(t,e,n){var r=n(0),o=n(3),i=n(23),a=/"/g,c=function(t,e,n,r){var o=String(i(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+String(r).replace(a,""")+'"'),c+">"+o+""};t.exports=function(t,e){var n={};n[t]=e(c),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(48),o=n(23);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(49),o=n(32),i=n(15),a=n(22),c=n(11),u=n(95),l=Object.getOwnPropertyDescriptor;e.f=n(6)?l:function(t,e){if(t=i(t),e=a(e,!0),u)try{return l(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(11),o=n(9),i=n(69)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(10);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(0),o=n(21),i=n(3);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(18),o=n(48),i=n(9),a=n(8),c=n(86);t.exports=function(t,e){var n=1==t,u=2==t,l=3==t,s=4==t,f=6==t,p=5==t||f,h=e||c;return function(e,c,v){for(var d,g,m=i(e),y=o(m),b=r(c,v,3),w=a(y.length),x=0,k=n?h(e,w):u?h(e,0):void 0;w>x;x++)if((p||x in y)&&(g=b(d=y[x],x,m),t))if(n)k[x]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return x;case 2:k.push(d)}else if(s)return!1;return f?-1:l||s?s:k}}},function(t,e){t.exports=React},function(t,e,n){"use strict";if(n(6)){var r=n(34),o=n(2),i=n(3),a=n(0),c=n(62),u=n(92),l=n(18),s=n(40),f=n(32),p=n(12),h=n(42),v=n(24),d=n(8),g=n(121),m=n(36),y=n(22),b=n(11),w=n(50),x=n(4),k=n(9),E=n(83),S=n(37),A=n(17),O=n(38).f,_=n(85),P=n(33),M=n(5),j=n(26),C=n(53),I=n(60),T=n(88),L=n(45),B=n(57),R=n(39),z=n(87),F=n(111),N=n(7),V=n(16),D=N.f,U=V.f,W=o.RangeError,G=o.TypeError,H=o.Uint8Array,K=Array.prototype,Y=u.ArrayBuffer,q=u.DataView,Q=j(0),X=j(2),J=j(3),Z=j(4),$=j(5),tt=j(6),et=C(!0),nt=C(!1),rt=T.values,ot=T.keys,it=T.entries,at=K.lastIndexOf,ct=K.reduce,ut=K.reduceRight,lt=K.join,st=K.sort,ft=K.slice,pt=K.toString,ht=K.toLocaleString,vt=M("iterator"),dt=M("toStringTag"),gt=P("typed_constructor"),mt=P("def_constructor"),yt=c.CONSTR,bt=c.TYPED,wt=c.VIEW,xt=j(1,function(t,e){return Ot(I(t,t[mt]),e)}),kt=i(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),Et=!!H&&!!H.prototype.set&&i(function(){new H(1).set({})}),St=function(t,e){var n=v(t);if(n<0||n%e)throw W("Wrong offset!");return n},At=function(t){if(x(t)&&bt in t)return t;throw G(t+" is not a typed array!")},Ot=function(t,e){if(!(x(t)&> in t))throw G("It is not a typed array constructor!");return new t(e)},_t=function(t,e){return Pt(I(t,t[mt]),e)},Pt=function(t,e){for(var n=0,r=e.length,o=Ot(t,r);r>n;)o[n]=e[n++];return o},Mt=function(t,e,n){D(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,o,i,a,c=k(t),u=arguments.length,s=u>1?arguments[1]:void 0,f=void 0!==s,p=_(c);if(void 0!=p&&!E(p)){for(a=p.call(c),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);c=r}for(f&&u>2&&(s=l(s,arguments[2],2)),e=0,n=d(c.length),o=Ot(this,n);n>e;e++)o[e]=f?s(c[e],e):c[e];return o},Ct=function(){for(var t=0,e=arguments.length,n=Ot(this,e);e>t;)n[t]=arguments[t++];return n},It=!!H&&i(function(){ht.call(new H(1))}),Tt=function(){return ht.apply(It?ft.call(At(this)):At(this),arguments)},Lt={copyWithin:function(t,e){return F.call(At(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(At(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return z.apply(At(this),arguments)},filter:function(t){return _t(this,X(At(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return $(At(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(At(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(At(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(At(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(At(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return lt.apply(At(this),arguments)},lastIndexOf:function(t){return at.apply(At(this),arguments)},map:function(t){return xt(At(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(At(this),arguments)},reduceRight:function(t){return ut.apply(At(this),arguments)},reverse:function(){for(var t,e=At(this).length,n=Math.floor(e/2),r=0;r1?arguments[1]:void 0)},sort:function(t){return st.call(At(this),t)},subarray:function(t,e){var n=At(this),r=n.length,o=m(t,r);return new(I(n,n[mt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,d((void 0===e?r:m(e,r))-o))}},Bt=function(t,e){return _t(this,ft.call(At(this),t,e))},Rt=function(t){At(this);var e=St(arguments[1],1),n=this.length,r=k(t),o=d(r.length),i=0;if(o+e>n)throw W("Wrong length!");for(;i255?255:255&r),o.v[h](n*e+o.o,r,kt)}(this,n,t)},enumerable:!0})};b?(v=n(function(t,n,r,o){s(t,v,l,"_d");var i,a,c,u,f=0,h=0;if(x(n)){if(!(n instanceof Y||"ArrayBuffer"==(u=w(n))||"SharedArrayBuffer"==u))return bt in n?Pt(v,n):jt.call(v,n);i=n,h=St(r,e);var m=n.byteLength;if(void 0===o){if(m%e)throw W("Wrong length!");if((a=m-h)<0)throw W("Wrong length!")}else if((a=d(o)*e)+h>m)throw W("Wrong length!");c=a/e}else c=g(n),i=new Y(a=c*e);for(p(t,"_d",{b:i,o:h,l:a,e:c,v:new q(i)});fdocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(97),o=n(70).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(2),o=n(7),i=n(6),a=n(5)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(18),o=n(109),i=n(83),a=n(1),c=n(8),u=n(85),l={},s={};(e=t.exports=function(t,e,n,f,p){var h,v,d,g,m=p?function(){return t}:u(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=c(t.length);h>b;b++)if((g=e?y(a(v=t[b])[0],v[1]):y(t[b]))===l||g===s)return g}else for(d=m.call(t);!(v=d.next()).done;)if((g=o(d,y,v.value,e))===l||g===s)return g}).BREAK=l,e.RETURN=s},function(t,e,n){var r=n(13);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(7).f,o=n(11),i=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),o=n(23),i=n(3),a=n(73),c="["+a+"]",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),s=function(t,e,n){var o={},c=i(function(){return!!a[t]()||"​…"!="​…"[t]()}),u=o[t]=c?e(f):a[t];n&&(o[n]=u),r(r.P+r.F*c,"String",o)},f=s.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=s},function(t,e){t.exports={}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(19);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(19),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ !function(){"use strict";var n=function(){function t(){}function e(t,e){for(var n=e.length,r=0;rs;)if((c=u[s++])!=c)return!0}else for(;l>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(19);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(4),o=n(19),i=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(12),o=n(13),i=n(3),a=n(23),c=n(5);t.exports=function(t,e,n){var u=c(t),l=n(a,u,""[t]),s=l[0],f=l[1];i(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,s),r(RegExp.prototype,u,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){var r=n(1),o=n(10),i=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(13),a=n(42),c=n(30),u=n(41),l=n(40),s=n(4),f=n(3),p=n(57),h=n(43),v=n(74);t.exports=function(t,e,n,d,g,m){var y=r[t],b=y,w=g?"set":"add",x=b&&b.prototype,k={},E=function(t){var e=x[t];i(x,t,"delete"==t?function(t){return!(m&&!s(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!s(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!s(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(m||x.forEach&&!f(function(){(new b).entries().next()}))){var S=new b,A=S[w](m?{}:-0,1)!=S,O=f(function(){S.has(1)}),_=p(function(t){new b(t)}),P=!m&&f(function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)});_||((b=e(function(e,n){l(e,b,t);var r=v(new y,e,b);return void 0!=n&&u(n,g,r[w],r),r})).prototype=x,x.constructor=b),(O||P)&&(E("delete"),E("has"),g&&E("get")),(P||A)&&E(w),m&&x.clear&&delete x.clear}else b=d.getConstructor(e,t,g,w),a(b.prototype,n),c.NEED=!0;return h(b,t),k[t]=b,o(o.G+o.W+o.F*(b!=y),k),m||d.setStrong(b,t,g),b}},function(t,e,n){for(var r,o=n(2),i=n(12),a=n(33),c=a("typed_array"),u=a("view"),l=!(!o.ArrayBuffer||!o.DataView),s=l,f=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=o[p[f++]])?(i(r.prototype,c,!0),i(r.prototype,u,!0)):s=!1;t.exports={ABV:l,CONSTR:s,TYPED:c,VIEW:u}},function(t,e,n){"use strict";t.exports=n(34)||!n(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e,n){"use strict";var r=n(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){"use strict";var r=n(0),o=n(10),i=n(18),a=n(41);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,c,u=arguments[1];return o(this),(e=void 0!==u)&&o(u),void 0==t?new this:(n=[],e?(r=0,c=i(u,arguments[2],2),a(t,!1,function(t){n.push(c(t,r++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,e,n){"use strict";function r(t,e,n,r){var o,i=0;return"boolean"!=typeof e&&(r=n,n=e,e=void 0),function(){var a=this,c=Number(new Date)-i,u=arguments;function l(){i=Number(new Date),n.apply(a,u)}r&&!o&&l(),o&&clearTimeout(o),void 0===r&&c>t?l():!0!==e&&(o=setTimeout(r?function(){o=void 0}:l,void 0===r?t-c:t))}}n.d(e,"a",function(){return r})},function(t,e,n){var r=n(4),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(2),o=n(21),i=n(34),a=n(96),c=n(7).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(52)("keys"),o=n(33);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),o=n(1),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(18)(Function.call,n(16).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var r=n(4),o=n(72).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){"use strict";var r=n(24),o=n(23);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(24),o=n(23);t.exports=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),l=c.length;return u<0||u>=l?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===l||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(34),o=n(0),i=n(13),a=n(12),c=n(11),u=n(45),l=n(80),s=n(43),f=n(17),p=n(5)("iterator"),h=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,d,g,m,y){l(n,e,d);var b,w,x,k=function(t){if(!h&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",S="values"==g,A=!1,O=t.prototype,_=O[p]||O["@@iterator"]||g&&O[g],P=!h&&_||k(g),M=g?S?k("entries"):P:void 0,j="Array"==e&&O.entries||_;if(j&&(x=f(j.call(new t)))!==Object.prototype&&x.next&&(s(x,E,!0),r||c(x,p)||a(x,p,v)),S&&_&&"values"!==_.name&&(A=!0,P=function(){return _.call(this)}),r&&!y||!h&&!A&&O[p]||a(O,p,P),u[e]=P,u[E]=v,g)if(b={values:S?P:k("values"),keys:m?P:k("keys"),entries:M},y)for(w in b)w in O||i(O,w,b[w]);else o(o.P+o.F*(h||A),e,b);return b}},function(t,e,n){"use strict";var r=n(37),o=n(32),i=n(43),a={};n(12)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(56),o=n(23);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(45),o=n(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(7),o=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(50),o=n(5)("iterator"),i=n(45);t.exports=n(21).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(258);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(9),o=n(36),i=n(8);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:o(u,n);l>c;)e[c++]=t;return e}},function(t,e,n){"use strict";var r=n(31),o=n(112),i=n(45),a=n(15);t.exports=n(79)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r,o,i,a=n(18),c=n(102),u=n(71),l=n(67),s=n(2),f=s.process,p=s.setImmediate,h=s.clearImmediate,v=s.MessageChannel,d=s.Dispatch,g=0,m={},y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){y.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++g]=function(){c("function"==typeof t?t:Function(t),e)},r(g),g},h=function(t){delete m[t]},"process"==n(19)(f)?r=function(t){f.nextTick(a(y,t,1))}:d&&d.now?r=function(t){d.now(a(y,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:p,clear:h}},function(t,e,n){var r=n(2),o=n(89).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,u="process"==n(19)(a);t.exports=function(){var t,e,n,l=function(){var r,o;for(u&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var s=c.resolve();n=function(){s.then(l)}}else n=function(){o.call(r,l)};else{var f=!0,p=document.createTextNode("");new i(l).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";var r=n(10);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){"use strict";var r=n(2),o=n(6),i=n(34),a=n(62),c=n(12),u=n(42),l=n(3),s=n(40),f=n(24),p=n(8),h=n(121),v=n(38).f,d=n(7).f,g=n(87),m=n(43),y="prototype",b="Wrong index!",w=r.ArrayBuffer,x=r.DataView,k=r.Math,E=r.RangeError,S=r.Infinity,A=w,O=k.abs,_=k.pow,P=k.floor,M=k.log,j=k.LN2,C=o?"_b":"buffer",I=o?"_l":"byteLength",T=o?"_o":"byteOffset";function L(t,e,n){var r,o,i,a=new Array(n),c=8*n-e-1,u=(1<>1,s=23===e?_(2,-24)-_(2,-77):0,f=0,p=t<0||0===t&&1/t<0?1:0;for((t=O(t))!=t||t===S?(o=t!=t?1:0,r=u):(r=P(M(t)/j),t*(i=_(2,-r))<1&&(r--,i*=2),(t+=r+l>=1?s/i:s*_(2,1-l))*i>=2&&(r++,i/=2),r+l>=u?(o=0,r=u):r+l>=1?(o=(t*i-1)*_(2,e),r+=l):(o=t*_(2,l-1)*_(2,e),r=0));e>=8;a[f++]=255&o,o/=256,e-=8);for(r=r<0;a[f++]=255&r,r/=256,c-=8);return a[--f]|=128*p,a}function B(t,e,n){var r,o=8*n-e-1,i=(1<>1,c=o-7,u=n-1,l=t[u--],s=127&l;for(l>>=7;c>0;s=256*s+t[u],u--,c-=8);for(r=s&(1<<-c)-1,s>>=-c,c+=e;c>0;r=256*r+t[u],u--,c-=8);if(0===s)s=1-a;else{if(s===i)return r?NaN:l?-S:S;r+=_(2,e),s-=a}return(l?-1:1)*r*_(2,s-e)}function R(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function z(t){return[255&t]}function F(t){return[255&t,t>>8&255]}function N(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function V(t){return L(t,52,8)}function D(t){return L(t,23,4)}function U(t,e,n){d(t[y],e,{get:function(){return this[n]}})}function W(t,e,n,r){var o=h(+n);if(o+e>t[I])throw E(b);var i=t[C]._b,a=o+t[T],c=i.slice(a,a+e);return r?c:c.reverse()}function G(t,e,n,r,o,i){var a=h(+n);if(a+e>t[I])throw E(b);for(var c=t[C]._b,u=a+t[T],l=r(+o),s=0;sq;)(H=Y[q++])in w||c(w,H,A[H]);i||(K.constructor=w)}var Q=new x(new w(2)),X=x[y].setInt8;Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||u(x[y],{setInt8:function(t,e){X.call(this,t,e<<24>>24)},setUint8:function(t,e){X.call(this,t,e<<24>>24)}},!0)}else w=function(t){s(this,w,"ArrayBuffer");var e=h(t);this._b=g.call(new Array(e),0),this[I]=e},x=function(t,e,n){s(this,x,"DataView"),s(t,w,"DataView");var r=t[I],o=f(e);if(o<0||o>r)throw E("Wrong offset!");if(o+(n=void 0===n?r-o:p(n))>r)throw E("Wrong length!");this[C]=t,this[T]=o,this[I]=n},o&&(U(w,"byteLength","_l"),U(x,"buffer","_b"),U(x,"byteLength","_l"),U(x,"byteOffset","_o")),u(x[y],{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var e=W(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=W(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return R(W(this,4,t,arguments[1]))},getUint32:function(t){return R(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return B(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return B(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){G(this,1,t,z,e)},setUint8:function(t,e){G(this,1,t,z,e)},setInt16:function(t,e){G(this,2,t,F,e,arguments[2])},setUint16:function(t,e){G(this,2,t,F,e,arguments[2])},setInt32:function(t,e){G(this,4,t,N,e,arguments[2])},setUint32:function(t,e){G(this,4,t,N,e,arguments[2])},setFloat32:function(t,e){G(this,4,t,D,e,arguments[2])},setFloat64:function(t,e){G(this,8,t,V,e,arguments[2])}});m(w,"ArrayBuffer"),m(x,"DataView"),c(x[y],a.VIEW,!0),e.ArrayBuffer=w,e.DataView=x},function(t,e,n){var r=n(2).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";(function(t){n.d(e,"b",function(){return ct}),e.d=st,n.d(e,"a",function(){return pt}),n.d(e,"c",function(){return ht}),n.d(e,"e",function(){return vt});var r=n(154),o=n.n(r),i=n(51),a=n.n(i),c=n(156),u=n(157),l=n(158),s=n(159),f=n(160),p=n(161),h=n(162),v=n(163),d=n(164),g=n(165);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(){return(y=Object.assign||function(t){for(var e=1;e").replace(/u0022/g,'"').replace(/u0026/g,"&")),t}return A(e,M),x(e,[{key:"render",value:function(){var t=this.props,e=t.attributes,n=t.backgroundHTMLOnly,r=this.props.className,o={type:e.type},i=!1,c=e.video;switch(r=a()("nk-awb",r,e.align?" align".concat(e.align):""),e.fullHeight&&(r=a()(r,"nk-awb-fullheight",e.fullHeightAlign?"nk-awb-content-valign-".concat(e.fullHeightAlign):"")),e.type){case"color":break;case"video":c="",e.videoMp4&&(c+="mp4:".concat(e.videoMp4)),e.videoOgv&&(c+="".concat(c?",":"","ogv:").concat(e.videoOgv)),e.videoWebm&&(c+="".concat(c?",":"","webm:").concat(e.videoWebm));case"yt_vm_video":c&&(o.video=c,e.videoStartTime&&(o.videoStartTime=e.videoStartTime),e.videoEndTime&&(o.videoEndTime=e.videoEndTime),e.videoVolume&&(o.videoVolume=e.videoVolume),e.videoLoop||(o.videoLoop=e.videoLoop),e.videoAlwaysPlay&&(o.videoAlwaysPlay=e.videoAlwaysPlay),o.videoMobile=e.videoMobile);case"image":e.imageTag&&(i=e.imageTag,e.imageBackgroundSize&&(o.imageBackgroundSize=e.imageBackgroundSize),e.imageBackgroundPosition&&(o.imageBackgroundPosition=e.imageBackgroundPosition))}e.parallax&&(o.parallax=e.parallax,e.parallaxSpeed&&(o.parallaxSpeed=e.parallaxSpeed),o.parallaxMobile=e.parallaxMobile),e.mouseParallax&&(o.mouseParallax=e.mouseParallax,e.mouseParallaxSize&&(o.mouseParallaxSize=e.mouseParallaxSize),e.mouseParallaxSpeed&&(o.mouseParallaxSpeed=e.mouseParallaxSpeed));var u="";return e.color&&(u+='
')),(i||o.video)&&(u+='
'.concat(i||"","
")),u=u?wp.element.createElement("div",y({className:"nk-awb-wrap"},function(t){var e={};return Object.keys(t).forEach(function(n){var r;e["data-awb-".concat((r=n,"string"!=typeof r?r:(r=r.replace(/[a-z]([A-Z])+/g,function(t){return"".concat(t[0],"-").concat(t.substring(1))})).toLowerCase()))]=t[n]}),e}(o),{dangerouslySetInnerHTML:{__html:u}})):"",n?u:wp.element.createElement("div",{className:r},u,wp.element.createElement(L.Content,null))}}]),e}(),ut={apiFetch:function(t){return{type:"API_FETCH",request:t}},setImageTagData:function(t,e){return{type:"SET_IMAGE_TAG_DATA",query:t,image:e}}};function lt(t){var e,n=t.attributes,r=t.setAttributes,o=n.type,i=n.image,a=n.imageTag,u=n.imageSizes,l=n.imageSize,s=n.imageBackgroundSize,f=n.imageBackgroundPosition,p=n.video,h=n.videoPosterPreview,v=n.videoMp4,d=n.videoOgv,g=n.videoWebm,m=n.videoStartTime,y=n.videoEndTime,b=n.videoLoop,w=n.videoAlwaysPlay,x=n.videoMobile,k=n.color,E=n.parallax,S=n.parallaxSpeed,A=n.parallaxMobile,O=n.mouseParallax,P=n.mouseParallaxSize,M=n.mouseParallaxSpeed;return"yt_vm_video"===o&&p&&!i&&at(p,function(t){t!==h&&r({videoPosterPreview:t})}),wp.element.createElement(j,null,wp.element.createElement(D,{"aria-label":_("Background type"),style:{marginTop:15,marginBottom:10}},[{label:_("Color"),value:"color"},{label:_("Image"),value:"image"},{label:_("Video"),value:"yt_vm_video"}].map(function(t){var e=o===t.value;return"yt_vm_video"===t.value&&("video"!==o&&"yt_vm_video"!==o||(e=!0)),wp.element.createElement(V,{isLarge:!0,isPrimary:e,"aria-pressed":e,onClick:function(){return r({type:t.value})},key:"type_".concat(t.label)},t.label)})),"video"===o||"yt_vm_video"===o?wp.element.createElement(D,{"aria-label":_("Background video type"),style:{marginBottom:10}},[{label:_("YouTube / Vimeo"),value:"yt_vm_video"},{label:_("Self Hosted"),value:"video"}].map(function(t){return wp.element.createElement(V,{isLarge:!0,isPrimary:o===t.value,"aria-pressed":o===t.value,onClick:function(){return r({type:t.value})},key:"type_".concat(t.label)},t.label)})):"",o?wp.element.createElement(j,null,"yt_vm_video"===o||"video"===o?wp.element.createElement(U,{title:_("Video"),initialOpen:"yt_vm_video"===o||"video"===o},"yt_vm_video"===o?wp.element.createElement(H,{label:_("Video URL"),type:"url",value:p,onChange:function(t){return r({video:t})},help:_("Supported YouTube and Vimeo URLs")}):"","video"===o&&(v||d||g)?wp.element.createElement("video",{controls:!0},v?wp.element.createElement("source",{src:v,type:"video/mp4"}):"",d?wp.element.createElement("source",{src:d,type:"video/ogg"}):"",g?wp.element.createElement("source",{src:g,type:"video/webm"}):""):"","video"!==o||v?"":wp.element.createElement(B,{onSelect:function(t){r({videoMp4:""}),wp.media.attachment(t.id).fetch().then(function(t){r({videoMp4:t.url})})},allowedTypes:["video/mp4","video/m4v"],value:v,render:function(t){var e=t.open;return wp.element.createElement("div",{style:{marginBottom:13}},wp.element.createElement(V,{onClick:e,isPrimary:!0},_("Select MP4")))}}),"video"===o&&v?wp.element.createElement("div",null,wp.element.createElement("span",null,v.substring(v.lastIndexOf("/")+1)," "),wp.element.createElement("a",{href:"#",onClick:function(t){r({videoMp4:""}),t.preventDefault()}},_("(Remove)")),wp.element.createElement("div",{style:{marginBottom:13}})):"","video"!==o||d?"":wp.element.createElement(B,{onSelect:function(t){r({videoOgv:""}),wp.media.attachment(t.id).fetch().then(function(t){r({videoOgv:t.url})})},allowedTypes:["video/ogv","video/ogg"],value:d,render:function(t){var e=t.open;return wp.element.createElement("div",{style:{marginBottom:13}},wp.element.createElement(V,{onClick:e,isPrimary:!0},_("Select OGV")))}}),"video"===o&&d?wp.element.createElement("div",null,wp.element.createElement("span",null,d.substring(d.lastIndexOf("/")+1)," "),wp.element.createElement("a",{href:"#",onClick:function(t){r({videoOgv:""}),t.preventDefault()}},_("(Remove)")),wp.element.createElement("div",{style:{marginBottom:13}})):"","video"!==o||g?"":wp.element.createElement(B,{onSelect:function(t){r({videoWebm:""}),wp.media.attachment(t.id).fetch().then(function(t){r({videoWebm:t.url})})},allowedTypes:["video/webm"],value:g,render:function(t){var e=t.open;return wp.element.createElement("div",{style:{marginBottom:13}},wp.element.createElement(V,{onClick:e,isPrimary:!0},_("Select WEBM")))}}),"video"===o&&g?wp.element.createElement("div",null,wp.element.createElement("span",null,g.substring(g.lastIndexOf("/")+1)," "),wp.element.createElement("a",{href:"#",onClick:function(t){r({videoWebm:""}),t.preventDefault()}},_("(Remove)")),wp.element.createElement("div",{style:{marginBottom:13}})):"",wp.element.createElement(G,{label:_("Enable on mobile devices"),checked:!!x,onChange:function(t){return r({videoMobile:t})}}),wp.element.createElement(H,{label:_("Start time"),type:"number",value:m,onChange:function(t){return r({videoStartTime:parseFloat(t)})},help:_("Start time in seconds when video will be started (this value will be applied also after loop)")}),wp.element.createElement(H,{label:_("End time"),type:"number",value:y,onChange:function(t){return r({videoEndTime:parseFloat(t)})},help:_("End time in seconds when video will be ended")}),wp.element.createElement(G,{label:_("Loop"),checked:!!b,onChange:function(t){return r({videoLoop:t})}}),wp.element.createElement(G,{label:_("Always play"),help:_("Play video also when not in viewport"),checked:!!w,onChange:function(t){return r({videoAlwaysPlay:t})}})):"","image"===o||"yt_vm_video"===o||"video"===o?wp.element.createElement(U,{title:_("image"===o?"Image":"Poster Image"),initialOpen:"image"===o},i&&a?"":wp.element.createElement(B,{onSelect:function(t){rt(t,r)},allowedTypes:["image"],value:i,render:function(t){var e=t.open;return wp.element.createElement(V,{onClick:e,isPrimary:!0},_("Select image"))}}),i&&a?wp.element.createElement(j,null,wp.element.createElement(B,{onSelect:function(t){rt(t,r)},allowedTypes:["image"],value:i,render:function(t){var e=t.open;return wp.element.createElement(N,{help:_("Click the image to edit or update")},wp.element.createElement("a",{href:"#",onClick:e,className:"awb-gutenberg-media-upload",style:{display:"block"},dangerouslySetInnerHTML:{__html:a}}))}}),wp.element.createElement("a",{href:"#",onClick:function(t){r({image:"",imageTag:"",imageSizes:""}),t.preventDefault()}},_("Remove image")),wp.element.createElement("div",{style:{marginBottom:13}}),u?wp.element.createElement(W,{label:_("Size"),value:l,options:(e=[],Object.keys(u).forEach(function(t){var n;e.push({value:t,label:(n=t,n.split(/[.,/ \-_]/).map(function(t){return t&&t.length?t.replace(t[0],t[0].toUpperCase()):t}).join(" "))})}),e),onChange:function(t){return r({imageSize:t})}}):"",wp.element.createElement(W,{label:_("Background size"),value:s,options:[{label:_("Cover"),value:"cover"},{label:_("Contain"),value:"contain"},{label:_("Pattern"),value:"pattern"}],onChange:function(t){return r({imageBackgroundSize:t})}}),wp.element.createElement(H,{label:_("Background position"),type:"text",value:f,onChange:function(t){return r({imageBackgroundPosition:t})},help:_("Image position. Example: 50% 50%")})):""):"","color"===o?wp.element.createElement(c.a,{label:_("Background Color"),value:k,onChange:function(t){return r({color:t})},alpha:!0}):wp.element.createElement(U,{title:wp.element.createElement(j,null,_("Overlay"),wp.element.createElement(X,{colorValue:k})),initialOpen:"color"===o},wp.element.createElement(c.a,{label:_("Background Color"),value:k,onChange:function(t){return r({color:t})},alpha:!0})),"image"===o||"yt_vm_video"===o||"video"===o?wp.element.createElement(j,null,wp.element.createElement(U,{title:_("Parallax")+(E&&""!==S?" (".concat(E," ").concat(S,")"):""),initialOpen:!1},wp.element.createElement(W,{value:E,options:[{label:_("Disabled"),value:""},{label:_("Scroll"),value:"scroll"},{label:_("Scale"),value:"scale"},{label:_("Opacity"),value:"opacity"},{label:_("Opacity + Scroll"),value:"scroll-opacity"},{label:_("Opacity + Scale"),value:"scale-opacity"}],onChange:function(t){return r({parallax:t})}}),E?wp.element.createElement(j,null,wp.element.createElement(H,{label:_("Speed"),type:"number",value:S,step:"0.1",min:"-1",max:"2",onChange:function(t){return r({parallaxSpeed:parseFloat(t)})},help:_("Provide number from -1.0 to 2.0")}),wp.element.createElement(G,{label:_("Enable on mobile devices"),checked:!!A,onChange:function(t){return r({parallaxMobile:t})}})):""),wp.element.createElement(U,{title:_("Mouse parallax"),initialOpen:!1},wp.element.createElement(G,{label:_("Enable"),checked:!!O,onChange:function(t){return r({mouseParallax:t})}}),O?wp.element.createElement(j,null,wp.element.createElement(K,{label:_("Size"),value:P,min:"0",max:"200",help:" ".concat(_("px")),onChange:function(t){return r({mouseParallaxSize:t})}}),wp.element.createElement(K,{label:_("Speed"),value:M,min:"0",max:"20000",help:" ".concat(_("ms")),onChange:function(t){return r({mouseParallaxSpeed:t})}})):"")):""):"")}function st(t){var e=t.attributes,n=t.setAttributes,r=e.type,o=e.image,i=e.imageTag,a=e.video,c=e.videoPosterPreview,u=e.color,l=!1;u&&(l='
')),"yt_vm_video"===r&&a&&!o&&at(a,function(t){t!==c&&n({videoPosterPreview:t})});var s="";return"image"!==r&&"video"!==r&&"yt_vm_video"!==r||(i?s=i:"yt_vm_video"===r&&c&&(s=''))),s+=l||"",wp.element.createElement("div",{className:"awb-gutenberg-preview-block",dangerouslySetInnerHTML:{__html:s}})}$("nk/awb",{reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{images:{}},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IMAGE_TAG_DATA":return!t.images[e.query]&&e.image&&(t.images[e.query]=e.image),t}return t},actions:ut,selectors:{getImageTagData:function(t,e){return t.images[e]}},controls:{API_FETCH:function(t){var e=t.request;return J(e).then(function(t){return!!(t&&t.success&&t.response)&&t.response})}},resolvers:{getImageTagData:regeneratorRuntime.mark(function t(e){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ut.apiFetch({path:e});case 2:return n=t.sent,t.abrupt("return",ut.setImageTagData(e,n));case 4:case"end":return t.stop()}},t,this)})}});var ft=function(t){function e(){var t;return b(this,e),(t=k(this,S(e).apply(this,arguments))).onUpdate=t.onUpdate.bind(E(E(t))),t}return A(e,M),x(e,[{key:"componentDidMount",value:function(){this.onUpdate()}},{key:"componentDidUpdate",value:function(){this.onUpdate()}},{key:"onUpdate",value:function(){var t=this.props,e=t.fetchImageTag,n=t.setAttributes;e&&n({imageTag:e})}},{key:"render",value:function(){var t=this.props,e=t.attributes,n=t.setAttributes,r=t.inspectorControlsOnly,o=this.props.className,i=e.type,c=e.align,u=e.fullHeight,m=e.fullHeightAlign,y=e.image,b=e.video,w=e.videoPosterPreview,x=e.ghostkitClassname;"yt_vm_video"===i&&b&&!y&&at(b,function(t){t!==w&&n({videoPosterPreview:t})}),u&&(o=a()(o,"nk-awb-fullheight",m?"nk-awb-content-valign-".concat(m):"")),x&&(o=a()(o,x));var k="format-image";return"color"===i&&(k="art"),"yt_vm_video"!==i&&"video"!==i||(k="format-video"),r?lt(this.props):wp.element.createElement(j,null,wp.element.createElement(R,null,wp.element.createElement(Y,null,wp.element.createElement(Q,{icon:k,label:_("Type"),controls:[{title:_("Color"),icon:"art",onClick:function(){return n({type:"color"})},isActive:"color"===i},{title:_("Image"),icon:"format-image",onClick:function(){return n({type:"image"})},isActive:"image"===i},{title:_("Video"),icon:"format-video",onClick:function(){return n({type:"yt_vm_video"})},isActive:"yt_vm_video"===i}]})),C.full_width_fallback?wp.element.createElement(Y,{controls:[{icon:"align-full-width",title:_("Full Width"),onClick:function(){return n({align:"full"===c?"":"full"})},isActive:"full"===c}]}):wp.element.createElement(z,{controls:et,value:c,onChange:function(t){return n({align:t})}}),wp.element.createElement(Y,{controls:[{icon:nt(u?h.a:l.a),title:_("Full Height"),onClick:function(){return n({fullHeight:!u})},isActive:u}]}),u?wp.element.createElement(Y,{controls:[{icon:nt("top"===m?d.a:f.a),title:_("Content Vertical Top"),onClick:function(){return n({fullHeightAlign:"top"})},isActive:"top"===m},{icon:nt("center"===m?v.a:s.a),title:_("Content Vertical Center"),onClick:function(){return n({fullHeightAlign:"center"})},isActive:"center"===m},{icon:nt("bottom"===m?g.a:p.a),title:_("Content Vertical Bottom"),onClick:function(){return n({fullHeightAlign:"bottom"})},isActive:"bottom"===m}]}):"","image"===i?wp.element.createElement(Y,null,wp.element.createElement(B,{onSelect:function(t){rt(t,n)},allowedTypes:["image"],value:y,render:function(t){var e=t.open;return wp.element.createElement(q,{className:"components-toolbar__control",label:_("Edit image"),icon:"edit",onClick:e})}})):"","yt_vm_video"===i?wp.element.createElement(Y,null,wp.element.createElement("input",{"aria-label":_("YouTube / Vimeo URL"),type:"url",value:b,onChange:function(t){return n({video:t.target.value})},placeholder:_("YouTube / Vimeo URL")})):""),wp.element.createElement(T,null,lt(this.props)),wp.element.createElement("div",{className:o},st(this.props),wp.element.createElement(L,null)))}}]),e}(),pt=tt(function(t,e){var n=e.attributes,r=n.image;if(!r)return!1;var o="size=".concat(encodeURIComponent(n.imageSize),"&attr[class]=jarallax-img"),i="";return"pattern"!==n.imageBackgroundSize?(n.imageBackgroundSize&&(i+="object-fit: ".concat(n.imageBackgroundSize,";")),n.imageBackgroundPosition&&(i+="object-position: ".concat(n.imageBackgroundPosition,";")),i&&(i+='font-family: "'.concat(i,'";'))):(n.imageBackgroundSize&&(i+="background-repeat: repeat;"),n.imageBackgroundPosition&&(i+="background-position: ".concat(n.imageBackgroundPosition,";")),o+="&div_tag=1"),i&&(o+="&attr[style]=".concat(encodeURIComponent(i))),{fetchImageTag:t("nk/awb").getImageTagData("/awb/v1/get_attachment_image/".concat(r,"?").concat(o))}})(ft),ht="nk/awb",vt={title:"Background (AWB)",description:_("Create sections with color, image and video backgrounds."),icon:u.a,category:"layout",keywords:["awb","background","parallax"],ghostkit:{supports:{spacings:!0,display:!0}},supports:{anchor:!0,className:!0,html:!1},attributes:{type:{type:"string",default:"color"},align:{type:"string"},fullHeight:{type:"boolean",default:!1},fullHeightAlign:{type:"string",default:"center"},image:{type:"number",default:""},imageTag:{type:"string",default:""},imageSizes:{type:"object",default:""},imageSize:{type:"string",default:"full"},imageBackgroundSize:{type:"string",default:"cover"},imageBackgroundPosition:{type:"string",default:"50% 50%"},video:{type:"string",default:""},videoPosterPreview:{type:"string",default:""},videoMp4:{type:"string",default:""},videoOgv:{type:"string",default:""},videoWebm:{type:"string",default:""},videoStartTime:{type:"string",default:""},videoEndTime:{type:"string",default:""},videoVolume:{type:"number",default:0},videoLoop:{type:"boolean",default:!0},videoAlwaysPlay:{type:"boolean",default:!1},videoMobile:{type:"boolean",default:!1},color:{type:"string",default:""},parallax:{type:"string",default:""},parallaxSpeed:{type:"number",default:.5},parallaxMobile:{type:"boolean",default:!1},mouseParallax:{type:"boolean",default:!1},mouseParallaxSize:{type:"number",default:30},mouseParallaxSpeed:{type:"number",default:1e4}},getEditWrapperProps:function(t){var e=t.align;return-1!==et.indexOf(e)?{"data-align":e}:{}},edit:pt,save:ct}}).call(e,n(47))},function(t,e,n){t.exports=!n(6)&&!n(3)(function(){return 7!=Object.defineProperty(n(67)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(11),o=n(15),i=n(53)(!1),a=n(69)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),u=0,l=[];for(n in c)n!=a&&r(c,n)&&l.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(l,n)||l.push(n));return l}},function(t,e,n){var r=n(7),o=n(1),i=n(35);t.exports=n(6)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),c=a.length,u=0;c>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(15),o=n(38).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(35),o=n(54),i=n(49),a=n(9),c=n(48),u=Object.assign;t.exports=!u||n(3)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,s=o.f,f=i.f;u>l;)for(var p,h=c(arguments[l++]),v=s?r(h).concat(s(h)):r(h),d=v.length,g=0;d>g;)f.call(h,p=v[g++])&&(n[p]=h[p]);return n}:u},function(t,e,n){"use strict";var r=n(10),o=n(4),i=n(102),a=[].slice,c={};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),u=function(){var r=n.concat(a.call(arguments));return this instanceof u?function(t,e,n){if(!(e in c)){for(var r=[],o=0;o>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(2).parseFloat,o=n(44).trim;t.exports=1/r(n(73)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(19);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(76),o=Math.pow,i=o(2,-52),a=o(2,-23),c=o(2,127)*(2-a),u=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),l=r(t);return oc||n!=n?l*(1/0):l*n}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(10),o=n(9),i=n(48),a=n(8);t.exports=function(t,e,n,c,u){r(e);var l=o(t),s=i(l),f=a(l.length),p=u?f-1:0,h=u?-1:1;if(n<2)for(;;){if(p in s){c=s[p],p+=h;break}if(p+=h,u?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:f>p;p+=h)p in s&&(c=e(c,s[p],p,l));return c}},function(t,e,n){"use strict";var r=n(9),o=n(36),i=n(8);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),c=o(t,a),u=o(e,a),l=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===l?a:o(l,a))-u,a-c),f=1;for(u0;)u in n?n[c]=n[u]:delete n[c],c+=f,u+=f;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(6)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(58)})},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(1),o=n(4),i=n(91);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(117),o=n(46);t.exports=n(61)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(7).f,o=n(37),i=n(42),a=n(18),c=n(40),u=n(41),l=n(79),s=n(112),f=n(39),p=n(6),h=n(30).fastKey,v=n(46),d=p?"_s":"size",g=function(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,l){var s=t(function(t,r){c(t,s,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[d]=0,void 0!=r&&u(r,n,t[l],t)});return i(s.prototype,{clear:function(){for(var t=v(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var n=v(this,e),r=g(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[d]--}return!!r},forEach:function(t){v(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!g(v(this,e),t)}}),p&&r(s.prototype,"size",{get:function(){return v(this,e)[d]}}),s},def:function(t,e,n){var r,o,i=g(t,e);return i?i.v=n:(t._l=i={i:o=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[d]++,"F"!==o&&(t._i[o]=i)),t},getEntry:g,setStrong:function(t,e,n){l(t,e,function(t,n){this._t=v(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?s(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,s(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){"use strict";var r=n(117),o=n(46);t.exports=n(61)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(26)(0),i=n(13),a=n(30),c=n(100),u=n(120),l=n(4),s=n(3),f=n(46),p=a.getWeak,h=Object.isExtensible,v=u.ufstore,d={},g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(l(t)){var e=p(t);return!0===e?v(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,"WeakMap"),t,e)}},y=t.exports=n(61)("WeakMap",g,m,u,!0,!0);s(function(){return 7!=(new y).set((Object.freeze||Object)(d),7).get(d)})&&(c((r=u.getConstructor(g,"WeakMap")).prototype,m),a.NEED=!0,o(["delete","has","get","set"],function(t){var e=y.prototype,n=e[t];i(e,t,function(e,o){if(l(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},function(t,e,n){"use strict";var r=n(42),o=n(30).getWeak,i=n(1),a=n(4),c=n(40),u=n(41),l=n(26),s=n(11),f=n(46),p=l(5),h=l(6),v=0,d=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},m=function(t,e){return p(t.a,function(t){return t[0]===e})};g.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var l=t(function(t,r){c(t,l,e,"_i"),t._t=e,t._i=v++,t._l=void 0,void 0!=r&&u(r,n,t[i],t)});return r(l.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?d(f(this,e)).delete(t):n&&s(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?d(f(this,e)).has(t):n&&s(n,this._i)}}),l},def:function(t,e,n){var r=o(i(e),!0);return!0===r?d(t).set(e,n):r[t._i]=n,t},ufstore:d}},function(t,e,n){var r=n(24),o=n(8);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(38),o=n(54),i=n(1),a=n(2).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){"use strict";var r=n(55),o=n(4),i=n(8),a=n(18),c=n(5)("isConcatSpreadable");t.exports=function t(e,n,u,l,s,f,p,h){for(var v,d,g=s,m=0,y=!!p&&a(p,h,3);m0)g=t(e,n,v,i(v.length),g,f-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=v}g++}m++}return g}},function(t,e,n){var r=n(8),o=n(75),i=n(23);t.exports=function(t,e,n,a){var c=String(i(t)),u=c.length,l=void 0===n?" ":String(n),s=r(e);if(s<=u||""==l)return c;var f=s-u,p=o.call(l,Math.ceil(f/l.length));return p.length>f&&(p=p.slice(0,f)),a?p+c:c+p}},function(t,e,n){var r=n(35),o=n(15),i=n(49).f;t.exports=function(t){return function(e){for(var n,a=o(e),c=r(a),u=c.length,l=0,s=[];u>l;)i.call(a,n=c[l++])&&s.push(t?[n,a[n]]:a[n]);return s}}},function(t,e,n){var r=n(50),o=n(127);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,e,n){var r=n(41);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e){t.exports=Math.scale||function(t,e,n,r,o){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||o!=o?NaN:t===1/0||t===-1/0?t:(t-e)*(o-r)/(n-e)+r}},,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports=n(148)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(149),o=(n.n(r),n(94)),i=(n(368),n(376),wp.blocks.registerBlockType);jQuery(function(){i(o.c,o.e)})},function(t,e,n){var r=n(150);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(152)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){(t.exports=n(151)(!1)).push([t.i,'img.awb-gutenberg-icon {\n max-width: 20px;\n height: auto;\n pointer-events: none; }\n\n.wp-block-nk-awb {\n padding: 1px 20px; }\n .wp-block-nk-awb .editor-block-list__layout {\n margin-right: 0;\n margin-left: 0; }\n\n.gutenberg .wp-block-nk-awb.nk-awb-fullheight {\n min-height: calc(100vh - 32px - 56px - 28px); }\n @media screen and (max-width: 782px) {\n .gutenberg .wp-block-nk-awb.nk-awb-fullheight {\n min-height: calc(100vh - 42px - 56px - 28px); } }\n @media screen and (max-width: 516px) {\n .gutenberg .wp-block-nk-awb.nk-awb-fullheight {\n min-height: calc(100vh - 56px - 28px); } }\n\n.awb-gutenberg-preview-block {\n position: absolute;\n top: -15px;\n right: -15px;\n bottom: -15px;\n left: -15px;\n pointer-events: none;\n transition: .15s border ease-in-out; }\n .editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit .editor-block-list__block-edit .awb-gutenberg-preview-block {\n right: -15px;\n left: -15px; }\n .awb-gutenberg-preview-block:empty {\n border: 1px solid #e2e4e7; }\n [data-align="full"] > .editor-block-list__block-edit > .wp-block-nk-awb > .awb-gutenberg-preview-block:empty {\n border-right: 0;\n border-left: 0; }\n .ghostkit-grid > .awb-gutenberg-preview-block:empty {\n border: none; }\n .editor-styles-wrapper .awb-gutenberg-preview-block > img,\n .editor-styles-wrapper .awb-gutenberg-preview-block > div {\n width: 100%;\n height: 100%;\n object-fit: cover; }\n .awb-gutenberg-preview-block > .nk-awb-overlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n\n@media (min-width: 600px) {\n [data-align="full"] > .editor-block-list__block-edit > div > .wp-block-nk-awb > .awb-gutenberg-preview-block {\n right: 0;\n left: 0; }\n [data-align="full"] > .editor-block-list__block-edit > div > .wp-block-nk-awb > .editor-inner-blocks > .editor-block-list__layout {\n padding-right: 46px;\n padding-left: 46px; } }\n\n.editor-block-list__layout .editor-block-list__block-edit .editor-block-list__block[data-align="full"][data-type="nk/awb"] > .editor-block-list__block-edit {\n margin-right: 0;\n margin-left: 0; }\n\n.ghostkit-col .editor-block-list__block[data-align="full"][data-type="nk/awb"],\n.ghostkit-col .editor-block-list__block[data-align="full"][data-type="nk/awb"] > .editor-block-list__block-edit {\n position: static; }\n\n.ghostkit-col .editor-block-list__block[data-align="full"][data-type="nk/awb"] {\n padding-right: 10px;\n padding-left: 10px; }\n\n.ghostkit-col .editor-block-list__block[data-align="full"][data-type="nk/awb"] > .editor-block-list__block-edit::before,\n.ghostkit-col .editor-block-list__block[data-align="full"][data-type="nk/awb"] .awb-gutenberg-preview-block {\n top: -15px;\n right: -15px;\n bottom: -15px;\n left: -15px; }\n\n[data-type="ghostkit/grid"] [data-align="full"] > .editor-block-list__block-edit > .wp-block-nk-awb > .editor-inner-blocks > .editor-block-list__layout,\n[data-type="ghostkit/grid"][data-align="full"] [data-align="full"] > .editor-block-list__block-edit > .wp-block-nk-awb > .editor-inner-blocks > .editor-block-list__layout {\n padding-right: 0;\n padding-left: 0;\n margin-right: 0;\n margin-left: 0; }\n\n.components-panel .awb-gutenberg-media-upload > div {\n height: 150px; }\n\n/**\n * Color Picker\n */\n.awb-component-color-picker-wrapper .awb-component-color-picker-wrapper + .awb-component-color-picker-wrapper {\n margin-top: -5px; }\n\n.awb-component-color-picker-wrapper > .components-base-control__field {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px; }\n .awb-component-color-picker-wrapper > .components-base-control__field .components-color-palette__item-wrapper {\n margin: 0; }\n .awb-component-color-picker-wrapper > .components-base-control__field .components-color-palette__item-wrapper > .components-color-palette__item {\n background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0);\n background-position: 0 0, 0 5px, 5px -5px, -5px 0;\n background-size: 10px 10px; }\n\n.awb-component-color-picker .awb-component-color-picker-palette {\n margin: 0 17px; }\n\n.awb-component-color-picker .components-color-palette {\n margin: 0; }\n\n/**\n * Spacings Control.\n */\n.awb-ghostkit-control-spacing {\n position: relative;\n width: 100%;\n padding-top: 87%;\n border: 1px solid #e8eaec; }\n .awb-ghostkit-control-spacing .components-base-control,\n .awb-ghostkit-control-spacing .components-base-control__field {\n margin: 0 !important; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-margin,\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding {\n position: absolute;\n top: 5px;\n left: 5px;\n width: calc(100% - 10px);\n height: calc(100% - 10px); }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-margin > span,\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding > span {\n position: absolute;\n top: 2px;\n left: 6px;\n font-size: .7em; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-margin > div,\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding > div {\n display: flex;\n align-items: center;\n justify-content: center; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-margin input,\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding input {\n width: 39px;\n padding: 3px 5px;\n text-align: center;\n background: none;\n border: none; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-margin .awb-ghostkit-control-spacing-margin-top {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-margin .awb-ghostkit-control-spacing-margin-right {\n position: absolute;\n top: 0;\n right: 0;\n height: 100%; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-margin .awb-ghostkit-control-spacing-margin-bottom {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-margin .awb-ghostkit-control-spacing-margin-left {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding {\n top: 36px;\n left: 50px;\n width: calc(100% - 100px);\n height: calc(100% - 72px);\n background-color: #f2f2f2; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding > span {\n top: 6px;\n left: 10px; }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding .awb-ghostkit-control-spacing-padding-top {\n position: absolute;\n top: 5px;\n left: 5px;\n width: calc(100% - 10px); }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding .awb-ghostkit-control-spacing-padding-right {\n position: absolute;\n top: 5px;\n right: 5px;\n height: calc(100% - 10px); }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding .awb-ghostkit-control-spacing-padding-bottom {\n position: absolute;\n bottom: 5px;\n left: 5px;\n width: calc(100% - 10px); }\n .awb-ghostkit-control-spacing .awb-ghostkit-control-spacing-padding .awb-ghostkit-control-spacing-padding-left {\n position: absolute;\n top: 5px;\n left: 5px;\n height: calc(100% - 10px); }\n',""])},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o=0&&s.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return m(e,t.attrs),v(t,e),e}function m(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function y(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var a=l++;n=u||(u=g(e)),r=x.bind(null,n,a,!1),o=x.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",m(e,t.attrs),v(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),c=t.href;t.href=URL.createObjectURL(a),c&&URL.revokeObjectURL(c)}.bind(null,n,e),o=function(){d(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){d(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=h(t,e);return p(n,e),function(t){for(var r=[],o=0;o{arguments[e]&&Object.keys(arguments[e]).forEach(n=>{t[n]=arguments[e][n]})}),t}parseURL(t){const e=function(t){const e=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/);return!(!e||11!==e[1].length)&&e[1]}(t),n=function(t){const e=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!e||!e[3])&&e[3]}(t),r=function(t){const e={};let n=0;return t.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/).forEach(t=>{const r=t.match(/^(mp4|webm|ogv|ogg)\:(.*)/);r&&r[1]&&r[2]&&(e["ogv"===r[1]?"ogg":r[1]]=r[2],n=1)}),!!n&&e}(t);return e?(this.type="youtube",e):n?(this.type="vimeo",n):!!r&&(this.type="local",r)}isValid(){return!!this.videoID}on(t,e){this.userEventsList=this.userEventsList||[],(this.userEventsList[t]||(this.userEventsList[t]=[])).push(e)}off(t,e){this.userEventsList&&this.userEventsList[t]&&(e?this.userEventsList[t].forEach((n,r)=>{n===e&&(this.userEventsList[t][r]=!1)}):delete this.userEventsList[t])}fire(t){const e=[].slice.call(arguments,1);this.userEventsList&&void 0!==this.userEventsList[t]&&this.userEventsList[t].forEach(t=>{t&&t.apply(this,e)})}play(t){const e=this;e.player&&("youtube"===e.type&&e.player.playVideo&&(void 0!==t&&e.player.seekTo(t||0),YT.PlayerState.PLAYING!==e.player.getPlayerState()&&e.player.playVideo()),"vimeo"===e.type&&(void 0!==t&&e.player.setCurrentTime(t),e.player.getPaused().then(t=>{t&&e.player.play()})),"local"===e.type&&(void 0!==t&&(e.player.currentTime=t),e.player.paused&&e.player.play()))}pause(){const t=this;t.player&&("youtube"===t.type&&t.player.pauseVideo&&YT.PlayerState.PLAYING===t.player.getPlayerState()&&t.player.pauseVideo(),"vimeo"===t.type&&t.player.getPaused().then(e=>{e||t.player.pause()}),"local"===t.type&&(t.player.paused||t.player.pause()))}mute(){const t=this;t.player&&("youtube"===t.type&&t.player.mute&&t.player.mute(),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(0),"local"===t.type&&(t.$video.muted=!0))}unmute(){const t=this;t.player&&("youtube"===t.type&&t.player.mute&&t.player.unMute(),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(t.options.volume),"local"===t.type&&(t.$video.muted=!1))}setVolume(t=!1){const e=this;e.player&&t&&("youtube"===e.type&&e.player.setVolume&&e.player.setVolume(t),"vimeo"===e.type&&e.player.setVolume&&e.player.setVolume(t),"local"===e.type&&(e.$video.volume=t/100))}getVolume(t){const e=this;e.player?("youtube"===e.type&&e.player.getVolume&&t(e.player.getVolume()),"vimeo"===e.type&&e.player.getVolume&&e.player.getVolume().then(e=>{t(e)}),"local"===e.type&&t(100*e.$video.volume)):t(!1)}getMuted(t){const e=this;e.player?("youtube"===e.type&&e.player.isMuted&&t(e.player.isMuted()),"vimeo"===e.type&&e.player.getVolume&&e.player.getVolume().then(e=>{t(!!e)}),"local"===e.type&&t(e.$video.muted)):t(null)}getImageURL(t){const e=this;if(e.videoImage)t(e.videoImage);else{if("youtube"===e.type){const n=["maxresdefault","sddefault","hqdefault","0"];let r=0;const o=new Image;o.onload=function(){120!==(this.naturalWidth||this.width)||r===n.length-1?(e.videoImage=`https://img.youtube.com/vi/${e.videoID}/${n[r]}.jpg`,t(e.videoImage)):(r++,this.src=`https://img.youtube.com/vi/${e.videoID}/${n[r]}.jpg`)},o.src=`https://img.youtube.com/vi/${e.videoID}/${n[r]}.jpg`}if("vimeo"===e.type){let n=new XMLHttpRequest;n.open("GET",`https://vimeo.com/api/v2/video/${e.videoID}.json`,!0),n.onreadystatechange=function(){if(4===this.readyState&&this.status>=200&&this.status<400){const n=JSON.parse(this.responseText);e.videoImage=n[0].thumbnail_large,t(e.videoImage)}},n.send(),n=null}}}getIframe(t){this.getVideo(t)}getVideo(t){const e=this;e.$video?t(e.$video):e.onAPIready(()=>{let n;if(e.$video||((n=document.createElement("div")).style.display="none"),"youtube"===e.type){let t,r;e.playerOptions={},e.playerOptions.videoId=e.videoID,e.playerOptions.playerVars={autohide:1,rel:0,autoplay:0,playsinline:1},e.options.showContols||(e.playerOptions.playerVars.iv_load_policy=3,e.playerOptions.playerVars.modestbranding=1,e.playerOptions.playerVars.controls=0,e.playerOptions.playerVars.showinfo=0,e.playerOptions.playerVars.disablekb=1),e.playerOptions.events={onReady(t){e.options.mute?t.target.mute():e.options.volume&&t.target.setVolume(e.options.volume),e.options.autoplay&&e.play(e.options.startTime),e.fire("ready",t),setInterval(()=>{e.getVolume(n=>{e.options.volume!==n&&(e.options.volume=n,e.fire("volumechange",t))})},150)},onStateChange(n){e.options.loop&&n.data===YT.PlayerState.ENDED&&e.play(e.options.startTime),t||n.data!==YT.PlayerState.PLAYING||(t=1,e.fire("started",n)),n.data===YT.PlayerState.PLAYING&&e.fire("play",n),n.data===YT.PlayerState.PAUSED&&e.fire("pause",n),n.data===YT.PlayerState.ENDED&&e.fire("ended",n),n.data===YT.PlayerState.PLAYING?r=setInterval(()=>{e.fire("timeupdate",n),e.options.endTime&&e.player.getCurrentTime()>=e.options.endTime&&(e.options.loop?e.play(e.options.startTime):e.pause())},150):clearInterval(r)}};const o=!e.$video;if(o){const t=document.createElement("div");t.setAttribute("id",e.playerID),n.appendChild(t),document.body.appendChild(n)}e.player=e.player||new window.YT.Player(e.playerID,e.playerOptions),o&&(e.$video=document.getElementById(e.playerID),e.videoWidth=parseInt(e.$video.getAttribute("width"),10)||1280,e.videoHeight=parseInt(e.$video.getAttribute("height"),10)||720)}if("vimeo"===e.type){let t;e.playerOptions="",e.playerOptions+=`player_id=${e.playerID}`,e.playerOptions+="&autopause=0",e.playerOptions+="&transparent=0",e.options.showContols||(e.playerOptions+="&badge=0&byline=0&portrait=0&title=0"),e.playerOptions+=`&autoplay=${e.options.autoplay?"1":"0"}`,e.playerOptions+=`&loop=${e.options.loop?1:0}`,e.$video||(e.$video=document.createElement("iframe"),e.$video.setAttribute("id",e.playerID),e.$video.setAttribute("src",`https://player.vimeo.com/video/${e.videoID}?${e.playerOptions}`),e.$video.setAttribute("frameborder","0"),n.appendChild(e.$video),document.body.appendChild(n)),e.player=e.player||new Vimeo.Player(e.$video),e.player.getVideoWidth().then(t=>{e.videoWidth=t||1280}),e.player.getVideoHeight().then(t=>{e.videoHeight=t||720}),e.options.startTime&&e.options.autoplay&&e.player.setCurrentTime(e.options.startTime),e.options.mute?e.player.setVolume(0):e.options.volume&&e.player.setVolume(e.options.volume),e.player.on("timeupdate",n=>{t||(e.fire("started",n),t=1),e.fire("timeupdate",n),e.options.endTime&&e.options.endTime&&n.seconds>=e.options.endTime&&(e.options.loop?e.play(e.options.startTime):e.pause())}),e.player.on("play",t=>{e.fire("play",t),e.options.startTime&&0===t.seconds&&e.play(e.options.startTime)}),e.player.on("pause",t=>{e.fire("pause",t)}),e.player.on("ended",t=>{e.fire("ended",t)}),e.player.on("loaded",t=>{e.fire("ready",t)}),e.player.on("volumechange",t=>{e.fire("volumechange",t)})}if("local"===e.type){let t;e.$video||(e.$video=document.createElement("video"),e.options.mute?e.$video.muted=!0:e.$video.volume&&(e.$video.volume=e.options.volume/100),e.options.loop&&(e.$video.loop=!0),e.$video.setAttribute("playsinline",""),e.$video.setAttribute("webkit-playsinline",""),e.$video.setAttribute("id",e.playerID),n.appendChild(e.$video),document.body.appendChild(n),Object.keys(e.videoID).forEach(t=>{!function(t,e,n){const r=document.createElement("source");r.src=e,r.type=n,t.appendChild(r)}(e.$video,e.videoID[t],`video/${t}`)})),e.player=e.player||e.$video,e.player.addEventListener("playing",n=>{t||e.fire("started",n),t=1}),e.player.addEventListener("timeupdate",function(t){e.fire("timeupdate",t),e.options.endTime&&e.options.endTime&&this.currentTime>=e.options.endTime&&(e.options.loop?e.play(e.options.startTime):e.pause())}),e.player.addEventListener("play",t=>{e.fire("play",t)}),e.player.addEventListener("pause",t=>{e.fire("pause",t)}),e.player.addEventListener("ended",t=>{e.fire("ended",t)}),e.player.addEventListener("loadedmetadata",function(){e.videoWidth=this.videoWidth||1280,e.videoHeight=this.videoHeight||720,e.fire("ready"),e.options.autoplay&&e.play(e.options.startTime)}),e.player.addEventListener("volumechange",t=>{e.getVolume(t=>{e.options.volume=t}),e.fire("volumechange",t)})}t(e.$video)})}init(){this.playerID=`VideoWorker-${this.ID}`}loadAPI(){if(i&&a)return;let t="";if("youtube"!==this.type||i||(i=1,t="https://www.youtube.com/iframe_api"),"vimeo"!==this.type||a||(a=1,t="https://player.vimeo.com/api/player.js"),!t)return;let e=document.createElement("script"),n=document.getElementsByTagName("head")[0];e.src=t,n.appendChild(e),n=null,e=null}onAPIready(t){if("youtube"===this.type&&("undefined"!=typeof YT&&0!==YT.loaded||c?"object"==typeof YT&&1===YT.loaded?t():l.done(()=>{t()}):(c=1,window.onYouTubeIframeAPIReady=function(){window.onYouTubeIframeAPIReady=null,l.resolve("done"),t()})),"vimeo"===this.type)if("undefined"!=typeof Vimeo||u)"undefined"!=typeof Vimeo?t():s.done(()=>{t()});else{u=1;const e=setInterval(()=>{"undefined"!=typeof Vimeo&&(clearInterval(e),s.resolve("done"),t())},20)}"local"===this.type&&t()}}},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n(51),o=n.n(r);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;no;)Y(t,n=r[o++],e[n]);return t},Q=function(t){var e=R.call(this,t=x(t,!0));return!(this===V&&o(F,t)&&!o(N,t))&&(!(e||!o(this,t)||!o(F,t)||o(this,L)&&this[L][t])||e)},X=function(t,e){if(t=w(t),e=x(e,!0),t!==V||!o(F,e)||o(N,e)){var n=P(t,e);return!n||!o(F,e)||o(t,L)&&t[L][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=j(w(t)),r=[],i=0;n.length>i;)o(F,e=n[i++])||e==L||e==u||r.push(e);return r},Z=function(t){for(var e,n=t===V,r=j(n?N:w(t)),i=[],a=0;r.length>a;)!o(F,e=r[a++])||n&&!o(V,e)||i.push(F[e]);return i};D||(c((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===V&&e.call(N,n),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),G(this,t,k(1,n))};return i&&W&&G(V,t,{configurable:!0,set:e}),H(t)}).prototype,"toString",function(){return this._k}),A.f=X,O.f=Y,n(38).f=S.f=J,n(49).f=Q,n(54).f=Z,i&&!n(34)&&c(V,"propertyIsEnumerable",Q,!0),v.f=function(t){return H(h(t))}),a(a.G+a.W+a.F*!D,{Symbol:C});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)h($[tt++]);for(var et=_(h.store),nt=0;et.length>nt;)d(et[nt++]);a(a.S+a.F*!D,"Symbol",{for:function(t){return o(z,t+="")?z[t]:z[t]=C(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in z)if(z[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!D,"Object",{create:function(t,e){return void 0===e?E(t):q(E(t),e)},defineProperty:Y,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:J,getOwnPropertySymbols:Z}),I&&a(a.S+a.F*(!D||l(function(){var t=C();return"[null]"!=T([t])||"{}"!=T({a:t})||"{}"!=T(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!K(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,T.apply(I,r)}}),C.prototype[B]||n(12)(C.prototype,B,C.prototype.valueOf),f(C,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){var r=n(35),o=n(54),i=n(49);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,c=n(t),u=i.f,l=0;c.length>l;)u.call(t,a=c[l++])&&e.push(a);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(37)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(6),"Object",{defineProperty:n(7).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(6),"Object",{defineProperties:n(98)})},function(t,e,n){var r=n(15),o=n(16).f;n(25)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){var r=n(9),o=n(17);n(25)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(9),o=n(35);n(25)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){n(25)("getOwnPropertyNames",function(){return n(99).f})},function(t,e,n){var r=n(4),o=n(30).onFreeze;n(25)("freeze",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4),o=n(30).onFreeze;n(25)("seal",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4),o=n(30).onFreeze;n(25)("preventExtensions",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){var r=n(4);n(25)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(25)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(25)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(100)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(185)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(72).set})},function(t,e,n){"use strict";var r=n(50),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(13)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(101)})},function(t,e,n){var r=n(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(6)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),o=n(17),i=n(5)("hasInstance"),a=Function.prototype;i in a||n(7).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(103);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(104);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(2),o=n(11),i=n(19),a=n(74),c=n(22),u=n(3),l=n(38).f,s=n(16).f,f=n(7).f,p=n(44).trim,h=r.Number,v=h,d=h.prototype,g="Number"==i(n(37)(d)),m="trim"in String.prototype,y=function(t){var e=c(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=m?e.trim():p(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,u=e.slice(2),l=0,s=u.length;lo)return NaN;return parseInt(u,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(g?u(function(){d.valueOf.call(n)}):"Number"!=i(n))?a(new v(y(e)),n,h):y(e)};for(var b,w=n(6)?l(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)o(v,b=w[x])&&!o(h,b)&&f(h,b,s(v,b));h.prototype=d,d.constructor=h,n(13)(r,"Number",h)}},function(t,e,n){"use strict";var r=n(0),o=n(24),i=n(105),a=n(75),c=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],s="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*l[n],l[n]=r%1e7,r=u(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=l[e],l[e]=u(n/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==l[t]){var n=String(l[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},v=function(t,e,n){return 0===e?n:e%2==1?v(t,e-1,n*t):v(t*t,e/2,n)};r(r.P+r.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(3)(function(){c.call({})})),"Number",{toFixed:function(t){var e,n,r,c,u=i(this,s),l=o(t),d="",g="0";if(l<0||l>20)throw RangeError(s);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(d="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*v(2,69,1))-69)<0?u*v(2,-e,1):u/v(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=l;r>=7;)f(1e7,0),r-=7;for(f(v(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<0?d+((c=g.length)<=l?"0."+a.call("0",l-c)+g:g.slice(0,c-l)+"."+g.slice(c-l)):d+g}})},function(t,e,n){"use strict";var r=n(0),o=n(3),i=n(105),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(106)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(106),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(104);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(103);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(107),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,e,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(76);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(77);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(108)})},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,c=arguments.length,u=0;a0?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(i)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(3)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(107)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(76)})},function(t,e,n){var r=n(0),o=n(77),i=Math.exp;r(r.S+r.F*n(3)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(77),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(36),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(15),i=n(8);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),o=n(78)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(81),a="".endsWith;r(r.P+r.F*n(82)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),c=void 0===n?r:Math.min(o(n),r),u=String(t);return a?a.call(e,u,c):e.slice(c-u.length,c)===u}})},function(t,e,n){"use strict";var r=n(0),o=n(81);r(r.P+r.F*n(82)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(75)})},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(81),a="".startsWith;r(r.P+r.F*n(82)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(14)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(14)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(14)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(14)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(14)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(14)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(14)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(14)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(14)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(14)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(14)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(14)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(14)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(22);r(r.P+r.F*n(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(247);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(3),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(13)(r,"toString",function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"})},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(12)(o,r,n(250))},function(t,e,n){"use strict";var r=n(1),o=n(22);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(55)})},function(t,e,n){"use strict";var r=n(18),o=n(0),i=n(9),a=n(109),c=n(83),u=n(8),l=n(84),s=n(85);o(o.S+o.F*!n(57)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,f,p=i(t),h="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,g=void 0!==d,m=0,y=s(p);if(g&&(d=r(d,v>2?arguments[2]:void 0,2)),void 0==y||h==Array&&c(y))for(n=new h(e=u(p.length));e>m;m++)l(n,m,g?d(p[m],m):p[m]);else for(f=y.call(p),n=new h;!(o=f.next()).done;m++)l(n,m,g?a(f,d,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(0),o=n(84);r(r.S+r.F*n(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(15),i=[].join;r(r.P+r.F*(n(48)!=Object||!n(20)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(71),i=n(19),a=n(36),c=n(8),u=[].slice;r(r.P+r.F*n(3)(function(){o&&u.call(o)}),"Array",{slice:function(t,e){var n=c(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var o=a(t,n),l=a(e,n),s=c(l-o),f=new Array(s),p=0;p1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(111)}),n(31)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(87)}),n(31)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(26)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)("find")},function(t,e,n){"use strict";var r=n(0),o=n(26)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)(i)},function(t,e,n){n(39)("Array")},function(t,e,n){var r=n(2),o=n(74),i=n(7).f,a=n(38).f,c=n(56),u=n(58),l=r.RegExp,s=l,f=l.prototype,p=/a/g,h=/a/g,v=new l(p)!==p;if(n(6)&&(!v||n(3)(function(){return h[n(5)("match")]=!1,l(p)!=p||l(h)==h||"/a/i"!=l(p,"i")}))){l=function(t,e){var n=this instanceof l,r=c(t),i=void 0===e;return!n&&r&&t.constructor===l&&i?t:o(v?new s(r&&!i?t.source:t,e):s((r=t instanceof l)?t.source:t,r&&i?u.call(t):e),n?this:f,l)};for(var d=function(t){t in l||i(l,t,{configurable:!0,get:function(){return s[t]},set:function(e){s[t]=e}})},g=a(s),m=0;g.length>m;)d(g[m++]);f.constructor=l,l.prototype=f,n(13)(r,"RegExp",l)}n(39)("RegExp")},function(t,e,n){"use strict";n(113);var r=n(1),o=n(58),i=n(6),a=/./.toString,c=function(t){n(13)(RegExp.prototype,"toString",t,!0)};n(3)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?c(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=a.name&&c(function(){return a.call(this)})},function(t,e,n){n(59)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(59)("replace",2,function(t,e,n){return[function(r,o){"use strict";var i=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){n(59)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(59)("split",2,function(t,e,r){"use strict";var o=n(56),i=r,a=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var c=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,u,l,s,f,p=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,d=void 0===e?4294967295:e>>>0,g=new RegExp(t.source,h+"g");for(c||(r=new RegExp("^"+g.source+"$(?!\\s)",h));(u=g.exec(n))&&!((l=u.index+u[0].length)>v&&(p.push(n.slice(v,u.index)),!c&&u.length>1&&u[0].replace(r,function(){for(f=1;f1&&u.index=d));)g.lastIndex===u.index&&g.lastIndex++;return v===n.length?!s&&g.test("")||p.push(""):p.push(n.slice(v)),p.length>d?p.slice(0,d):p}}else"0".split(void 0,0).length&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(t,e,n){"use strict";var r,o,i,a,c=n(34),u=n(2),l=n(18),s=n(50),f=n(0),p=n(4),h=n(10),v=n(40),d=n(41),g=n(60),m=n(89).set,y=n(90)(),b=n(91),w=n(114),x=n(115),k=u.TypeError,E=u.process,S=u.Promise,A="process"==s(E),O=function(){},_=o=b.f,P=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(O,O)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e}catch(t){}}(),M=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(o||(2==t._h&&T(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&l.exit()),n===e.promise?u(k("Promise-chain cycle")):(i=M(n))?i.call(n,c,u):c(n)):u(r)}catch(t){u(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&C(t)})}},C=function(t){m.call(u,function(){var e,n,r,o=t._v,i=I(t);if(i&&(e=w(function(){A?E.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=A||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},T=function(t){m.call(u,function(){var e;A?E.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},L=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=M(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,l(B,r,1),l(L,r,1))}catch(t){L.call(r,t)}}):(n._v=t,n._s=1,j(n,!1))}catch(t){L.call({_w:n,_d:!1},t)}}};P||(S=function(t){v(this,S,"Promise","_h"),h(t),r.call(this);try{t(l(B,this,1),l(L,this,1))}catch(t){L.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(42)(S.prototype,{then:function(t,e){var n=_(g(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=l(B,t,1),this.reject=l(L,t,1)},b.f=_=function(t){return t===S||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!P,{Promise:S}),n(43)(S,"Promise"),n(39)("Promise"),a=n(21).Promise,f(f.S+f.F*!P,"Promise",{reject:function(t){var e=_(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!P),"Promise",{resolve:function(t){return x(c&&this===a?S:this,t)}}),f(f.S+f.F*!(P&&n(57)(function(t){S.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=_(e),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,a=1;d(t,!1,function(t){var c=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[c]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=_(e),r=n.reject,o=w(function(){d(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(120),o=n(46);n(61)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(62),i=n(92),a=n(1),c=n(36),u=n(8),l=n(4),s=n(2).ArrayBuffer,f=n(60),p=i.ArrayBuffer,h=i.DataView,v=o.ABV&&s.isView,d=p.prototype.slice,g=o.VIEW;r(r.G+r.W+r.F*(s!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return v&&v(t)||l(t)&&g in t}}),r(r.P+r.U+r.F*n(3)(function(){return!new p(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==d&&void 0===e)return d.call(a(this),t);for(var n=a(this).byteLength,r=c(t,n),o=c(void 0===e?n:e,n),i=new(f(this,p))(u(o-r)),l=new h(this),s=new h(i),v=0;r=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){var r=n(16),o=n(17),i=n(11),a=n(0),c=n(4),u=n(1);a(a.S,"Reflect",{get:function t(e,n){var a,l,s=arguments.length<3?e:arguments[2];return u(e)===s?e[n]:(a=r.f(e,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(s):void 0:c(l=o(e))?t(l,n,s):void 0}})},function(t,e,n){var r=n(16),o=n(0),i=n(1);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},function(t,e,n){var r=n(0),o=n(17),i=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(1),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(122)})},function(t,e,n){var r=n(0),o=n(1),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(7),o=n(16),i=n(17),a=n(11),c=n(0),u=n(32),l=n(1),s=n(4);c(c.S,"Reflect",{set:function t(e,n,c){var f,p,h=arguments.length<4?e:arguments[3],v=o.f(l(e),n);if(!v){if(s(p=i(e)))return t(p,n,c,h);v=u(0)}return a(v,"value")?!(!1===v.writable||!s(h)||((f=o.f(h,n)||u(0)).value=c,r.f(h,n,f),0)):void 0!==v.set&&(v.set.call(h,c),!0)}})},function(t,e,n){var r=n(0),o=n(72);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){"use strict";var r=n(0),o=n(53)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)("includes")},function(t,e,n){"use strict";var r=n(0),o=n(123),i=n(9),a=n(8),c=n(10),u=n(86);r(r.P,"Array",{flatMap:function(t){var e,n,r=i(this);return c(t),e=a(r.length),n=u(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(31)("flatMap")},function(t,e,n){"use strict";var r=n(0),o=n(123),i=n(9),a=n(8),c=n(24),u=n(86);r(r.P,"Array",{flatten:function(){var t=arguments[0],e=i(this),n=a(e.length),r=u(e,0);return o(r,e,e,n,0,void 0===t?1:c(t)),r}}),n(31)("flatten")},function(t,e,n){"use strict";var r=n(0),o=n(78)(!0);r(r.P,"String",{at:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(124),i=n(93);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(124),i=n(93);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";n(44)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";n(44)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){"use strict";var r=n(0),o=n(23),i=n(8),a=n(56),c=n(58),u=RegExp.prototype,l=function(t,e){this._r=t,this._s=e};n(80)(l,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(o(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in u?String(t.flags):c.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(t.lastIndex),new l(r,e)}})},function(t,e,n){n(68)("asyncIterator")},function(t,e,n){n(68)("observable")},function(t,e,n){var r=n(0),o=n(122),i=n(15),a=n(16),c=n(84);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),u=a.f,l=o(r),s={},f=0;l.length>f;)void 0!==(n=u(r,e=l[f++]))&&c(s,e,n);return s}})},function(t,e,n){var r=n(0),o=n(125)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){var r=n(0),o=n(125)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(10),a=n(7);n(6)&&r(r.P+n(63),"Object",{__defineGetter__:function(t,e){a.f(o(this),t,{get:i(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(10),a=n(7);n(6)&&r(r.P+n(63),"Object",{__defineSetter__:function(t,e){a.f(o(this),t,{set:i(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(22),a=n(17),c=n(16).f;n(6)&&r(r.P+n(63),"Object",{__lookupGetter__:function(t){var e,n=o(this),r=i(t,!0);do{if(e=c(n,r))return e.get}while(n=a(n))}})},function(t,e,n){"use strict";var r=n(0),o=n(9),i=n(22),a=n(17),c=n(16).f;n(6)&&r(r.P+n(63),"Object",{__lookupSetter__:function(t){var e,n=o(this),r=i(t,!0);do{if(e=c(n,r))return e.set}while(n=a(n))}})},function(t,e,n){var r=n(0);r(r.P+r.R,"Map",{toJSON:n(126)("Map")})},function(t,e,n){var r=n(0);r(r.P+r.R,"Set",{toJSON:n(126)("Set")})},function(t,e,n){n(64)("Map")},function(t,e,n){n(64)("Set")},function(t,e,n){n(64)("WeakMap")},function(t,e,n){n(64)("WeakSet")},function(t,e,n){n(65)("Map")},function(t,e,n){n(65)("Set")},function(t,e,n){n(65)("WeakMap")},function(t,e,n){n(65)("WeakSet")},function(t,e,n){var r=n(0);r(r.G,{global:n(2)})},function(t,e,n){var r=n(0);r(r.S,"System",{global:n(2)})},function(t,e,n){var r=n(0),o=n(19);r(r.S,"Error",{isError:function(t){return"Error"===o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,n){var r=n(0),o=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*o}})},function(t,e,n){var r=n(0),o=n(128),i=n(108);r(r.S,"Math",{fscale:function(t,e,n,r,a){return i(o(t,e,n,r,a))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{iaddh:function(t,e,n,r){var o=t>>>0,i=n>>>0;return(e>>>0)+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{isubh:function(t,e,n,r){var o=t>>>0,i=n>>>0;return(e>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{imulh:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r,a=n>>16,c=r>>16,u=(a*i>>>0)+(o*i>>>16);return a*c+(u>>16)+((o*c>>>0)+(65535&u)>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,n){var r=n(0),o=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*o}})},function(t,e,n){var r=n(0);r(r.S,"Math",{scale:n(128)})},function(t,e,n){var r=n(0);r(r.S,"Math",{umulh:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r,a=n>>>16,c=r>>>16,u=(a*i>>>0)+(o*i>>>16);return a*c+(u>>>16)+((o*c>>>0)+(65535&u)>>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,n){"use strict";var r=n(0),o=n(21),i=n(2),a=n(60),c=n(115);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return c(e,t()).then(function(){return n})}:t,n?function(n){return c(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(0),o=n(91),i=n(114);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){var r=n(29),o=n(1),i=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,o(n),i(r))}})},function(t,e,n){var r=n(29),o=n(1),i=r.key,a=r.map,c=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=c.get(e);return u.delete(n),!!u.size||c.delete(e)}})},function(t,e,n){var r=n(29),o=n(1),i=n(17),a=r.has,c=r.get,u=r.key,l=function(t,e,n){if(a(t,e,n))return c(t,e,n);var r=i(e);return null!==r?l(t,r,n):void 0};r.exp({getMetadata:function(t,e){return l(t,o(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(118),o=n(127),i=n(29),a=n(1),c=n(17),u=i.keys,l=i.key,s=function(t,e){var n=u(t,e),i=c(t);if(null===i)return n;var a=s(i,e);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(t){return s(a(t),arguments.length<2?void 0:l(arguments[1]))}})},function(t,e,n){var r=n(29),o=n(1),i=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(29),o=n(1),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return i(o(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,n){var r=n(29),o=n(1),i=n(17),a=r.has,c=r.key,u=function(t,e,n){if(a(t,e,n))return!0;var r=i(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,o(e),arguments.length<3?void 0:c(arguments[2]))}})},function(t,e,n){var r=n(29),o=n(1),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(29),o=n(1),i=n(10),a=r.key,c=r.set;r.exp({metadata:function(t,e){return function(n,r){c(t,e,(void 0!==r?o:i)(n),a(r))}}})},function(t,e,n){var r=n(0),o=n(90)(),i=n(2).process,a="process"==n(19)(i);r(r.G,{asap:function(t){var e=a&&i.domain;o(e?e.bind(t):t)}})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(21),a=n(90)(),c=n(5)("observable"),u=n(10),l=n(1),s=n(40),f=n(42),p=n(12),h=n(41),v=h.RETURN,d=function(t){return null==t?void 0:u(t)},g=function(t){var e=t._c;e&&(t._c=void 0,e())},m=function(t){return void 0===t._o},y=function(t){m(t)||(t._o=void 0,g(t))},b=function(t,e){l(t),this._c=void 0,this._o=t,t=new w(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(e){return void t.error(e)}m(this)&&g(this)};b.prototype=f({},{unsubscribe:function(){y(this)}});var w=function(t){this._s=t};w.prototype=f({},{next:function(t){var e=this._s;if(!m(e)){var n=e._o;try{var r=d(n.next);if(r)return r.call(n,t)}catch(t){try{y(e)}finally{throw t}}}},error:function(t){var e=this._s;if(m(e))throw t;var n=e._o;e._o=void 0;try{var r=d(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{g(e)}finally{throw t}}return g(e),t},complete:function(t){var e=this._s;if(!m(e)){var n=e._o;e._o=void 0;try{var r=d(n.complete);t=r?r.call(n,t):void 0}catch(t){try{g(e)}finally{throw t}}return g(e),t}}});var x=function(t){s(this,x,"Observable","_f")._f=u(t)};f(x.prototype,{subscribe:function(t){return new b(t,this._f)},forEach:function(t){var e=this;return new(i.Promise||o.Promise)(function(n,r){u(t);var o=e.subscribe({next:function(e){try{return t(e)}catch(t){r(t),o.unsubscribe()}},error:r,complete:n})})}}),f(x,{from:function(t){var e="function"==typeof this?this:x,n=d(l(t)[c]);if(n){var r=l(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return a(function(){if(!n){try{if(h(t,!1,function(t){if(e.next(t),n)return v})===v)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t2,o=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*c,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(t,e,n){var r=n(0),o=n(89);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(88),o=n(35),i=n(13),a=n(2),c=n(12),u=n(45),l=n(5),s=l("iterator"),f=l("toStringTag"),p=u.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(h),d=0;d=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),d}}}function w(t,e,n,r){var o=e&&e.prototype instanceof k?e:k,i=Object.create(o.prototype),a=new j(r||[]);return i._invoke=function(t,e,n){var r=f;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=_(a,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=x(t,e,n);if("normal"===u.type){if(r=n.done?v:p,u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=v,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function k(){}function E(){}function S(){}function A(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function O(t){function n(e,r,i,a){var c=x(t[e],t,r);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&o.call(l,"__await")?Promise.resolve(l.__await).then(function(t){n("next",t,i,a)},function(t){n("throw",t,i,a)}):Promise.resolve(l).then(function(t){u.value=t,i(u)},a)}a(c.arg)}var r;"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n)),this._invoke=function(t,e){function o(){return new Promise(function(r,o){n(t,e,r,o)})}return r=r?r.then(o,o):o()}}function _(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,_(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=x(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={},r="";return Object.keys(t).forEach(function(o){if(null!==t[o]&&"object"===m(t[o])){var i=e;i=i?"".concat(i," ").concat(o):o,r+=(r?" ":"")+I(t[o],i)}else if(void 0!==t[o]&&!1!==t[o]){n[e]||(n[e]="");var a="string"!=typeof(u=o)?u:(u=u.replace(/[a-z]([A-Z])+/g,function(t){return"".concat(t[0],"-").concat(t.substring(1))}))&&u.toLowerCase?u.toLowerCase():u,c=t[o];("number"==typeof c&&0!==c&&C.includes(a)||"string"==typeof c&&/^[0-9.\-]*$/.test(c))&&(c+="px"),n[e]+=" ".concat(a,": ").concat(c,";")}var u}),Object.keys(n).forEach(function(t){r="".concat(t," {").concat(n[t]," }").concat(r?" ".concat(r):"")}),r}var T={},L=S(function(t){return function(e){function n(){var t;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(t=h(this,v(n).apply(this,arguments))).onUpdate=t.onUpdate.bind(g(g(t))),t.updateSpacings=t.updateSpacings.bind(g(g(t))),t.getCurrentSpacing=t.getCurrentSpacing.bind(g(g(t))),!j(t.props.name))return h(t);if(t.props.clientId&&void 0!==t.props.attributes.ghostkitId){for(var e=t.props.attributes.ghostkitId||"",r=10;!e||void 0!==T[e]&&T[e]!==t.props.clientId&&r>0;)e=a.a.unique(t.props.clientId),r--;e&&void 0===T[e]&&(T[e]=t.props.clientId),e!==t.props.attributes.ghostkitId&&(t.props.attributes.ghostkitId=e,t.props.attributes.ghostkitClassname="".concat(t.props.name.replace("/","-"),"-").concat(e)),r<10&&t.onUpdate(!1)}return t}var r,i,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(n,k),r=n,(i=[{key:"componentDidMount",value:function(){this.onUpdate()}},{key:"componentDidUpdate",value:function(){this.onUpdate()}},{key:"onUpdate",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.props,n=e.setAttributes,r=e.attributes;if(j(this.props.name)){var o=r.ghostkitSpacings,i=void 0===o?{}:o,a=r.ghostkitClassname;if(a){var c={};i&&Object.keys(i).length&&(c[".".concat(a)]=i),s()(r.ghostkitStyles,c)||(t?n({ghostkitStyles:c}):this.props.attributes.ghostkitStyles=c)}}}},{key:"getCurrentSpacing",value:function(t){var e=this.props.attributes.ghostkitSpacings,n=void 0===e?{}:e;return n[t]?n[t]:""}},{key:"updateSpacings",value:function(t,e){var n=this.props.setAttributes,r=this.props.attributes.ghostkitSpacings,i=void 0===r?{}:r,a={},c={};c[t]=e,i=o()({},i,c),Object.keys(i).forEach(function(t){i[t]&&"object"!==m(i[t])&&(a[t]=i[t])}),n({ghostkitSpacings:a})}},{key:"render",value:function(){var e=this,n=this.props,r=this.props.attributes;return j(n.name)?wp.element.createElement(E,null,wp.element.createElement(t,f({},n,this.state,{setState:this.setState})),r.ghostkitClassname&&r.ghostkitStyles&&Object.keys(r.ghostkitStyles).length?wp.element.createElement("style",null,I(r.ghostkitStyles)):"",wp.element.createElement(A,null,wp.element.createElement(P,{title:b("Spacings"),initialOpen:!1},wp.element.createElement(_,{className:"awb-ghostkit-control-spacing"},wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-margin"},wp.element.createElement("span",null,b("Margin")),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-margin-left"},wp.element.createElement(M,{value:this.getCurrentSpacing("marginLeft"),placeholder:"-",onChange:function(t){return e.updateSpacings("marginLeft",t)}})),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-margin-top"},wp.element.createElement(M,{value:this.getCurrentSpacing("marginTop"),placeholder:"-",onChange:function(t){return e.updateSpacings("marginTop",t)}})),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-margin-right"},wp.element.createElement(M,{value:this.getCurrentSpacing("marginRight"),placeholder:"-",onChange:function(t){return e.updateSpacings("marginRight",t)}})),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-margin-bottom"},wp.element.createElement(M,{value:this.getCurrentSpacing("marginBottom"),placeholder:"-",onChange:function(t){return e.updateSpacings("marginBottom",t)}}))),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-padding"},wp.element.createElement("span",null,b("Padding")),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-padding-left"},wp.element.createElement(M,{value:this.getCurrentSpacing("paddingLeft"),placeholder:"-",onChange:function(t){return e.updateSpacings("paddingLeft",t)}})),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-padding-top"},wp.element.createElement(M,{value:this.getCurrentSpacing("paddingTop"),placeholder:"-",onChange:function(t){return e.updateSpacings("paddingTop",t)}})),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-padding-right"},wp.element.createElement(M,{value:this.getCurrentSpacing("paddingRight"),placeholder:"-",onChange:function(t){return e.updateSpacings("paddingRight",t)}})),wp.element.createElement("div",{className:"awb-ghostkit-control-spacing-padding-bottom"},wp.element.createElement(M,{value:this.getCurrentSpacing("paddingBottom"),placeholder:"-",onChange:function(t){return e.updateSpacings("paddingBottom",t)}})))),wp.element.createElement("p",null,wp.element.createElement("em",null,b("More spacing options available in GhostKit plugin "),wp.element.createElement("a",{href:"https://wordpress.org/plugins/ghostkit/",target:"_blank",rel:"noopener noreferrer"},"https://wordpress.org/plugins/ghostkit/")))))):wp.element.createElement(t,n)}}])&&p(r.prototype,i),c&&p(r,c),n}()},"withInspectorControl");y.is_ghostkit_active||(w("blocks.registerBlockType","awb/ghostkit/spacings/additional-attributes",function(t,e){return j(e)&&(t.attributes.ghostkitStyles||(t.attributes.ghostkitStyles={type:"object",default:""}),t.attributes.ghostkitClassname||(t.attributes.ghostkitClassname={type:"string",default:""}),t.attributes.ghostkitId||(t.attributes.ghostkitId={type:"string",default:""}),t.attributes.ghostkitSpacings||(t.attributes.ghostkitSpacings={type:"object",default:{}})),t}),w("editor.BlockEdit","awb/ghostkit/spacings/additional-attributes",L),w("blocks.getSaveContent.extraProps","awb/ghostkit/styles/save-props",function(t,e,n){if(!j(e.name))return t;var r=!!n.ghostkitStyles&&Object.assign({},n.ghostkitStyles);return r&&0!==Object.keys(r).length&&(t=Object.assign(t||{},function(){return{"data-ghostkit-styles":I(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}}(r)),n.ghostkitClassname&&(t.className=u()(t.className,n.ghostkitClassname))),t}))},function(t,e,n){"use strict";var r=n(370),o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(t,e,n){var i=e[n];if(void 0!==i&&null!==i){if(o.call(t,n)&&(void 0===t[n]||null===t[n]))throw new TypeError("Cannot convert undefined or null to object ("+n+")");o.call(t,n)&&r(i)?t[n]=c(Object(t[n]),e[n]):t[n]=i}}function c(t,e){if(t===e)return t;for(var n in e=Object(e))o.call(e,n)&&a(t,e,n);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),c=0;c=e;)n=t%e,t=Math.floor(t/e),r.push(a(n));t>0&&r.push(a(t));for(var c=r.length-1;c>=0;c--)o+=r[c];return i+o}e.bitwise=n,e.binaryTransfer=r,e.unique=function(t){return r(n(t),61).replace("-","Z")},e.random=function(t){for(var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",n="",r=t||8,o=0;o=0;l--)if(f[l]!=p[l])return!1;for(l=f.length-1;l>=0;l--)if(s=f[l],!a(t[s],e[s],n))return!1;return typeof t==typeof e}(t,e,n))};function c(t){return null===t||void 0===t}function u(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?r:o).supported=r,e.unsupported=o},function(t,e,n){"use strict";var r=n(51),o=n.n(r),i=n(94),a=n(377);function c(){return(c=Object.assign||function(t){for(var e=1;e").replace(/u0022/g,'"').replace(/u0026/g,"&"))}),e.align=t.attributes.awb_align,{name:"nk/awb",setAttributes:function(e){var n={};Object.keys(e).forEach(function(t){n["awb_"+t]=e[t]}),t.setAttributes(n)},attributes:e,className:"",innerBlocks:[]}}function b(t,e){if(v(e.name,"awb",!1)){var n=y(e);return wp.element.createElement(a.a,e,Object(i.d)(n))}return t}function w(t,e){if(v(e.name,"awb",!1)){var n=y({attributes:e.attributes,saveAttributes:function(){}}),r=!1;if("color"===n.attributes.type&&n.attributes.color&&(r=!0),"image"===n.attributes.type&&(n.attributes.color||n.attributes.imageTag)&&(r=!0),"video"===n.attributes.type&&(n.attributes.color||n.attributes.videoMp4||n.attributes.videoOgv||n.attributes.videoWebm||n.attributes.imageTag)&&(r=!0),"yt_vm_video"===n.attributes.type&&(n.attributes.color||n.attributes.video||n.attributes.imageTag)&&(r=!0),r){var a=o()("nk-awb",n.attributes.align?"align".concat(n.attributes.align):"");return wp.element.createElement("div",{className:a},wp.element.createElement(i.b,c({},n,{backgroundHTMLOnly:!0})))}return""}return t}l("blocks.registerBlockType","ghostkit-pro/grid/additional-attributes",function(t){"ghostkit/grid"!==t.name&&"ghostkit/grid-column"!==t.name||(t.supports.awb=!0);var e=!1;return v(t,"awb",!1)&&(e=!0),e&&(Object.keys(i.e.attributes).forEach(function(e){t.attributes["awb_"+e]=i.e.attributes[e]}),t.attributes.awb_align={type:"string",default:""}),t}),l("ghostkit.editor.controls","ghostkit-pro/grid/addBackgroundControls",function(t,e){if("background"===e.attribute&&v(e.props.name,"awb",!1)){var n=y(e.props);return wp.element.createElement(f,{title:m("Background"),initialOpen:!1},wp.element.createElement(i.a,c({},n,{inspectorControlsOnly:!0})),wp.element.createElement(f,null,wp.element.createElement(h,{label:m("Full width background")},u.full_width_fallback?wp.element.createElement(p,{controls:[{icon:"align-full-width",title:m("Full Width"),onClick:function(){return n.setAttributes({align:"full"===n.attributes.align?"":"full"})},isActive:"full"===n.attributes.align}]}):wp.element.createElement(d,{controls:g,value:n.attributes.align,onChange:function(t){return n.setAttributes({align:t})}}))))}return t}),l("ghostkit.editor.grid.background","ghostkit-pro/grid/addEditorBackground",b),l("ghostkit.editor.grid-column.background","ghostkit-pro/grid-column/addEditorBackground",b),l("ghostkit.blocks.grid.background","ghostkit-pro/grid/addSaveBackground",w),l("ghostkit.blocks.grid-column.background","ghostkit-pro/grid-column/addSaveBackground",w)},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n(66);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var n=0;n .ghostkit-grid > .awb-gutenberg-preview-block'):'[data-block="'.concat(t.props.clientId,'"] > .awb-gutenberg-preview-block')},t.updatePosition=Object(r.a)(300,t.updatePosition.bind(u(u(t)))),t}var n,l,p;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,s),n=e,(l=[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.updatePosition),this.updatePosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updatePosition)}},{key:"updatePosition",value:function(){var t=this.props.attributes,e=this.state,n=e.previewLeft,r=e.previewRight,o=e.previewSelector,i={previewLeft:0,previewRight:0,previewAlign:t.awb_align};if("full"===t.awb_align){var a=document.querySelector(".editor-block-list__layout"),c=document.querySelector(".editor-block-list__layout .wp-block:not([data-align])"),u=document.querySelector(o);if(a&&c&&u){var l=a.getBoundingClientRect(),s=c.getBoundingClientRect(),f=u.getBoundingClientRect();s.left===f.left-n&&(i.previewLeft=l.left-s.left),s.right===f.right+r&&(i.previewRight=s.right-l.right)}}this.setState(i)}},{key:"render",value:function(){var t=this.props.attributes,e=this.state,n=e.previewLeft,r=e.previewRight,o=e.previewAlign,i=e.previewSelector,a="";return t.awb_align&&"full"===t.awb_align&&(o!==t.awb_align&&this.updatePosition(),(n||r)&&(a="\n ".concat(i," {\n margin-left: ").concat(n,"px;\n margin-right: ").concat(r,"px;\n }\n "))),wp.element.createElement(f,null,a?wp.element.createElement("style",null,a):"",this.props.children)}}])&&i(n.prototype,l),p&&i(n,p),e}()}]);