/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[116],{112:function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(81);function A(t,e){if(t){if("string"==typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},116:function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(85);function A(t){Object(r.a)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},118:function(t,e,n){(function(e){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/,A=/^\./,o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,f="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,h=f||d||Function("return this")();var v,B=Array.prototype,m=Function.prototype,y=Object.prototype,w=h["__core-js_shared__"],C=(v=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+v:"",E=m.toString,Q=y.hasOwnProperty,U=y.toString,_=RegExp("^"+E.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=h.Symbol,x=B.splice,S=P(h,"Map"),O=P(Object,"create"),N=F?F.prototype:void 0,H=N?N.toString:void 0;function T(t){var e=-1,n=t?t.length:0;for(this.clear();++e-1},I.prototype.set=function(t,e){var data=this.__data__,n=M(data,t);return n<0?data.push([t,e]):data[n][1]=e,this},k.prototype.clear=function(){this.__data__={hash:new T,map:new(S||I),string:new T}},k.prototype.delete=function(t){return R(this,t).delete(t)},k.prototype.get=function(t){return R(this,t).get(t)},k.prototype.has=function(t){return R(this,t).has(t)},k.prototype.set=function(t,e){return R(this,t).set(t,e),this};var K=z((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(G(t))return H?H.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return A.test(t)&&n.push(""),t.replace(o,(function(t,e,r,A){n.push(r?A.replace(c,"$1"):e||t)})),n}));function j(t){if("string"==typeof t||G(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function z(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,A=e?e.apply(this,r):r[0],o=n.cache;if(o.has(A))return o.get(A);var c=t.apply(this,r);return n.cache=o.set(A,c),c};return n.cache=new(z.Cache||k),n}z.Cache=k;var V=Array.isArray;function W(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function G(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==U.call(t)}t.exports=function(object,path,t){var e=null==object?void 0:L(object,path);return void 0===e?t:e}}).call(this,n(38))},140:function(t,e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var A=new Array(16);t.exports=function(){for(var t,i=0;i<16;i++)0==(3&i)&&(t=4294967296*Math.random()),A[i]=t>>>((3&i)<<3)&255;return A}}},141:function(t,e,n){"use strict";var r={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,A=e.props,o=r(),c=o.default;void 0===c&&(c=[]);var l=o.placeholder;return n._isMounted?c:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),A.placeholderTag&&(A.placeholder||l)?t(A.placeholderTag,{class:["client-only-placeholder"]},A.placeholder||l):c.length>0?c.map((function(){return t(!1)})):t(!1))}};t.exports=r},143:function(t,e,n){"use strict";var r=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];function A(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var o=Array.isArray;function c(t){return null!==t&&"object"==typeof t}function l(t){return"string"==typeof t}var f=Object.prototype.toString;function d(t){return"[object Object]"===f.call(t)}function h(t){return null==t}function v(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,r=null;return 1===t.length?c(t[0])||Array.isArray(t[0])?r=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(c(t[1])||Array.isArray(t[1]))&&(r=t[1])),{locale:n,params:r}}function B(t){return JSON.parse(JSON.stringify(t))}function m(t,e){return!!~t.indexOf(e)}var y=Object.prototype.hasOwnProperty;function w(t,e){return y.call(t,e)}function C(t){for(var e=arguments,output=Object(t),i=1;i0;)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var A=this.$i18n;return A._tc.apply(A,[t,A.locale,A._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(S),S.mixin(Q),S.directive("t",{bind:N,update:H,unbind:T}),S.component(U.name,U),S.component(O.name,O),S.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var D=function(){this._caches=Object.create(null)};D.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,text="";for(;n0)h--,d=4,v[0]();else{if(h=0,void 0===e)return!1;if(!1===(e=V(e)))return!1;v[1]()}};null!==d;)if(f++,"\\"!==(t=path[f])||!B()){if(r=z(t),8===(A=(c=K[d])[r]||c.else||8))return;if(d=A[0],(o=v[A[1]])&&(n=void 0===(n=A[2])?t:n,!1===o()))return;if(7===d)return l}}(path))&&(this._cache[path]=t),t||[]},W.prototype.getPathValue=function(t,path){if(!c(t))return null;var e=this.parsePath(path);if(0===e.length)return null;for(var n=e.length,r=t,i=0;i/,X=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,J=/^@(?:\.([a-z]+))?:/,$=/[()]/g,Z={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},tt=new D,et=function(t){var e=this;void 0===t&&(t={}),!S&&"undefined"!=typeof window&&window.Vue&&L(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),A=t.messages||{},o=t.dateTimeFormats||{},c=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||tt,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new W,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(e,t,n);var A,o;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(A=t,o=n,A=Math.abs(A),2===o?A?A>1?1:0:1:A?Math.min(A,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!h(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(A).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,A[t])})),this._initVM({locale:n,fallbackLocale:r,messages:A,dateTimeFormats:o,numberFormats:c})},nt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};et.prototype._checkLocaleMessage=function(t,e,n){var r=function(t,e,n,o){if(d(n))Object.keys(n).forEach((function(A){var c=n[A];d(c)?(o.push(A),o.push("."),r(t,e,c,o),o.pop(),o.pop()):(o.push(A),r(t,e,c,o),o.pop())}));else if(Array.isArray(n))n.forEach((function(n,A){d(n)?(o.push("["+A+"]"),o.push("."),r(t,e,n,o),o.pop(),o.pop()):(o.push("["+A+"]"),r(t,e,n,o),o.pop())}));else if(l(n)){if(Y.test(n)){var c="Detected HTML in message '"+n+"' of keypath '"+o.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?A(c):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(c)}}};r(e,t,n,[])},et.prototype._initVM=function(data){var t=S.config.silent;S.config.silent=!0,this._vm=new S({data:data}),S.config.silent=t},et.prototype.destroyVM=function(){this._vm.$destroy()},et.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},et.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},et.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var i=t._dataListeners.length;i--;)S.nextTick((function(){t._dataListeners[i]&&t._dataListeners[i].$forceUpdate()}))}),{deep:!0})},et.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},et.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},nt.vm.get=function(){return this._vm},nt.messages.get=function(){return B(this._getMessages())},nt.dateTimeFormats.get=function(){return B(this._getDateTimeFormats())},nt.numberFormats.get=function(){return B(this._getNumberFormats())},nt.availableLocales.get=function(){return Object.keys(this.messages).sort()},nt.locale.get=function(){return this._vm.locale},nt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},nt.fallbackLocale.get=function(){return this._vm.fallbackLocale},nt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},nt.formatFallbackMessages.get=function(){return this._formatFallbackMessages},nt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},nt.missing.get=function(){return this._missing},nt.missing.set=function(t){this._missing=t},nt.formatter.get=function(){return this._formatter},nt.formatter.set=function(t){this._formatter=t},nt.silentTranslationWarn.get=function(){return this._silentTranslationWarn},nt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},nt.silentFallbackWarn.get=function(){return this._silentFallbackWarn},nt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},nt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},nt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},nt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},nt.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},nt.postTranslation.get=function(){return this._postTranslation},nt.postTranslation.set=function(t){this._postTranslation=t},et.prototype._getMessages=function(){return this._vm.messages},et.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},et.prototype._getNumberFormats=function(){return this._vm.numberFormats},et.prototype._warnDefault=function(t,e,n,r,A,o){if(!h(n))return n;if(this._missing){var c=this._missing.apply(null,[t,e,r,A]);if(l(c))return c}else 0;if(this._formatFallbackMessages){var f=v.apply(void 0,A);return this._render(e,o,f.params,e)}return e},et.prototype._isFallbackRoot=function(t){return!t&&!h(this._root)&&this._fallbackRoot},et.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},et.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},et.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},et.prototype._interpolate=function(t,e,n,r,A,o,c){if(!e)return null;var f,v=this._path.getPathValue(e,n);if(Array.isArray(v)||d(v))return v;if(h(v)){if(!d(e))return null;if(!l(f=e[n]))return null}else{if(!l(v))return null;f=v}return(f.indexOf("@:")>=0||f.indexOf("@.")>=0)&&(f=this._link(t,e,f,r,"raw",o,c)),this._render(f,A,o,n)},et.prototype._link=function(t,e,n,r,A,o,c){var l=n,f=l.match(X);for(var d in f)if(f.hasOwnProperty(d)){var link=f[d],h=link.match(J),v=h[0],B=h[1],y=link.replace(v,"").replace($,"");if(m(c,y))return l;c.push(y);var w=this._interpolate(t,e,y,r,"raw"===A?"string":A,"raw"===A?void 0:o,c);if(this._isFallbackRoot(w)){if(!this._root)throw Error("unexpected error");var C=this._root.$i18n;w=C._translate(C._getMessages(),C.locale,C.fallbackLocale,y,r,A,o)}w=this._warnDefault(t,y,w,r,Array.isArray(o)?o:[o],A),this._modifiers.hasOwnProperty(B)?w=this._modifiers[B](w):Z.hasOwnProperty(B)&&(w=Z[B](w)),c.pop(),l=w?l.replace(link,w):l}return l},et.prototype._render=function(t,e,n,path){var r=this._formatter.interpolate(t,n,path);return r||(r=tt.interpolate(t,n,path)),"string"!==e||l(r)?r:r.join("")},et.prototype._appendItemToChain=function(t,e,n){var r=!1;return m(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},et.prototype._appendLocaleToChain=function(t,e,n){var r,A=e.split("-");do{var o=A.join("-");r=this._appendItemToChain(t,o,n),A.splice(-1,1)}while(A.length&&!0===r);return r},et.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,i=0;i0;)o[c]=arguments[c+4];if(!t)return"";var l=v.apply(void 0,o),f=l.locale||e,d=this._translate(n,f,this.fallbackLocale,t,r,"string",l.params);if(this._isFallbackRoot(d)){if(!this._root)throw Error("unexpected error");return(A=this._root).$t.apply(A,[t].concat(o))}return d=this._warnDefault(f,t,d,r,o,"string"),this._postTranslation&&null!=d&&(d=this._postTranslation(d,t)),d},et.prototype.t=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},et.prototype._i=function(t,e,n,r,A){var o=this._translate(n,e,this.fallbackLocale,t,r,"raw",A);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,A)}return this._warnDefault(e,t,o,r,[A],"raw")},et.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},et.prototype._tc=function(t,e,n,r,A){for(var o,c=[],l=arguments.length-5;l-- >0;)c[l]=arguments[l+5];if(!t)return"";void 0===A&&(A=1);var f={count:A,n:A},d=v.apply(void 0,c);return d.params=Object.assign(f,d.params),c=null===d.locale?[d.params]:[d.locale,d.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,r].concat(c)),A)},et.prototype.fetchChoice=function(t,e){if(!t&&!l(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},et.prototype.tc=function(t,e){for(var n,r=[],A=arguments.length-2;A-- >0;)r[A]=arguments[A+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},et.prototype._te=function(t,e,n){for(var r=[],A=arguments.length-3;A-- >0;)r[A]=arguments[A+3];var o=v.apply(void 0,r).locale||e;return this._exist(n[o],t)},et.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},et.prototype.getLocaleMessage=function(t){return B(this._vm.messages[t]||{})},et.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},et.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,C({},this._vm.messages[t]||{},e))},et.prototype.getDateTimeFormat=function(t){return B(this._vm.dateTimeFormats[t]||{})},et.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},et.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,C(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},et.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},et.prototype._localizeDateTime=function(t,e,n,r,A){for(var o=e,c=r[o],l=this._getLocaleChain(e,n),i=0;i0;)e[n]=arguments[n+1];var r=this.locale,A=null;return 1===e.length?l(e[0])?A=e[0]:c(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(A=e[0].key)):2===e.length&&(l(e[0])&&(A=e[0]),l(e[1])&&(r=e[1])),this._d(t,r,A)},et.prototype.getNumberFormat=function(t){return B(this._vm.numberFormats[t]||{})},et.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},et.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,C(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},et.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},et.prototype._getNumberFormatter=function(t,e,n,r,A,o){for(var c=e,l=r[c],f=this._getLocaleChain(e,n),i=0;i0;)e[n]=arguments[n+1];var A=this.locale,o=null,f=null;return 1===e.length?l(e[0])?o=e[0]:c(e[0])&&(e[0].locale&&(A=e[0].locale),e[0].key&&(o=e[0].key),f=Object.keys(e[0]).reduce((function(t,n){var A;return m(r,n)?Object.assign({},t,((A={})[n]=e[0][n],A)):t}),null)):2===e.length&&(l(e[0])&&(o=e[0]),l(e[1])&&(A=e[1])),this._n(t,A,o,f)},et.prototype._ntp=function(t,e,n,r){if(!et.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).formatToParts(t);var A=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),o=A&&A.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return o||[]},Object.defineProperties(et.prototype,nt),Object.defineProperty(et,"availabilities",{get:function(){if(!G){var t="undefined"!=typeof Intl;G={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return G}}),et.install=L,et.version="8.20.0",e.a=et},144:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var A=r(n(347)),o=r(n(349));e.Jsonld=o.default,e.default={install:function(t,e){t.mixin(A.default(e))}}},18:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var content=function(t,e){var content=t[1]||"",n=t[3];if(!n)return content;if(e&&"function"==typeof btoa){var r=(o=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(data," */")),A=n.sources.map((function(source){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(source," */")}));return[content].concat(A).concat([r]).join("\n")}var o,c,data;return[content].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var A={};if(r)for(var i=0;i0&&r[r.length-1])||6!==o[0]&&2!==o[0])){A=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=55296&&r<=56319&&i>10),c%1024+56320)),(A+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),i=0;i=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>5])<<2)+(31&t),this.data[e];if(t<=65535)return e=((e=this.index[2048+(t-55296>>5)])<<2)+(31&t),this.data[e];if(t>11),e=this.index[e],e+=t>>5&63,e=((e=this.index[e])<<2)+(31&t),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),y=10,w=13,C=15,E=17,Q=18,U=19,_=20,F=21,x=22,S=24,O=25,N=26,H=27,T=28,I=30,k=32,M=33,L=34,D=35,R=37,P=38,K=39,j=40,z=42,V=function(t){var view,e,n,r=function(t){var i,e,n,r,A,o=.75*t.length,c=t.length,p=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),f=Array.isArray(l)?l:new Uint8Array(l);for(i=0;i>4,f[p++]=(15&n)<<4|r>>2,f[p++]=(3&r)<<6|63&A;return l}(t),A=Array.isArray(r)?function(t){for(var e=t.length,n=[],i=0;i0;){var r=e[--i];if(Array.isArray(a)?-1!==a.indexOf(r):a===r)for(var A=t;A<=e.length;){var o;if((o=e[++A])===b)return!0;if(o!==y)break}if(r!==y)break}return!1},et=function(t,e){for(var i=t;i>=0;){var n=e[i];if(n!==y)return n;i--}return 0},nt=function(t,e,n,r,A){if(0===n[r])return"×";var o=r-1;if(Array.isArray(A)&&!0===A[o])return"×";var c=o-1,l=o+1,f=e[o],d=c>=0?e[c]:0,h=e[l];if(2===f&&3===h)return"×";if(-1!==G.indexOf(f))return"!";if(-1!==G.indexOf(h))return"×";if(-1!==Y.indexOf(h))return"×";if(8===et(o,e))return"÷";if(11===V.get(t[o])&&(h===R||h===k||h===M))return"×";if(7===f||7===h)return"×";if(9===f)return"×";if(-1===[y,w,C].indexOf(f)&&9===h)return"×";if(-1!==[E,Q,U,S,T].indexOf(h))return"×";if(et(o,e)===x)return"×";if(tt(23,x,o,e))return"×";if(tt([E,Q],F,o,e))return"×";if(tt(12,12,o,e))return"×";if(f===y)return"÷";if(23===f||23===h)return"×";if(16===h||16===f)return"÷";if(-1!==[w,C,F].indexOf(h)||14===f)return"×";if(36===d&&-1!==Z.indexOf(f))return"×";if(f===T&&36===h)return"×";if(h===_&&-1!==W.concat(_,U,O,R,k,M).indexOf(f))return"×";if(-1!==W.indexOf(h)&&f===O||-1!==W.indexOf(f)&&h===O)return"×";if(f===H&&-1!==[R,k,M].indexOf(h)||-1!==[R,k,M].indexOf(f)&&h===N)return"×";if(-1!==W.indexOf(f)&&-1!==X.indexOf(h)||-1!==X.indexOf(f)&&-1!==W.indexOf(h))return"×";if(-1!==[H,N].indexOf(f)&&(h===O||-1!==[x,C].indexOf(h)&&e[l+1]===O)||-1!==[x,C].indexOf(f)&&h===O||f===O&&-1!==[O,T,S].indexOf(h))return"×";if(-1!==[O,T,S,E,Q].indexOf(h))for(var v=o;v>=0;){if((B=e[v])===O)return"×";if(-1===[T,S].indexOf(B))break;v--}if(-1!==[H,N].indexOf(h))for(v=-1!==[E,Q].indexOf(f)?c:o;v>=0;){var B;if((B=e[v])===O)return"×";if(-1===[T,S].indexOf(B))break;v--}if(P===f&&-1!==[P,K,L,D].indexOf(h)||-1!==[K,L].indexOf(f)&&-1!==[K,j].indexOf(h)||-1!==[j,D].indexOf(f)&&h===j)return"×";if(-1!==$.indexOf(f)&&-1!==[_,N].indexOf(h)||-1!==$.indexOf(h)&&f===H)return"×";if(-1!==W.indexOf(f)&&-1!==W.indexOf(h))return"×";if(f===S&&-1!==W.indexOf(h))return"×";if(-1!==W.concat(O).indexOf(f)&&h===x||-1!==W.concat(O).indexOf(h)&&f===Q)return"×";if(41===f&&41===h){for(var i=n[o],m=1;i>0&&41===e[--i];)m++;if(m%2!=0)return"×"}return f===k&&h===M?"×":"÷"},At=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var n=function(t,e){void 0===e&&(e="strict");var n=[],r=[],A=[];return t.forEach((function(t,o){var c=V.get(t);if(c>50?(A.push(!0),c-=50):A.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return r.push(o),n.push(16);if(4===c||11===c){if(0===o)return r.push(o),n.push(I);var l=n[o-1];return-1===J.indexOf(l)?(r.push(r[o-1]),n.push(l)):(r.push(o),n.push(I))}return r.push(o),31===c?n.push("strict"===e?F:R):c===z||29===c?n.push(I):43===c?t>=131072&&t<=196605||t>=196608&&t<=262141?n.push(R):n.push(I):void n.push(c)})),[r,n,A]}(t,e.lineBreak),r=n[0],A=n[1],o=n[2];return"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(A=A.map((function(t){return-1!==[O,I,z].indexOf(t)?R:t}))),[r,A,"keep-all"===e.wordBreak?o.map((function(e,i){return e&&t[i]>=19968&&t[i]<=40959})):void 0]},it=function(){function t(t,e,n,r){this.codePoints=t,this.required="!"===e,this.start=n,this.end=r}return t.prototype.slice=function(){return f.apply(void 0,this.codePoints.slice(this.start,this.end))},t}();!function(t){t[t.STRING_TOKEN=0]="STRING_TOKEN",t[t.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",t[t.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",t[t.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",t[t.COMMA_TOKEN=4]="COMMA_TOKEN",t[t.HASH_TOKEN=5]="HASH_TOKEN",t[t.DELIM_TOKEN=6]="DELIM_TOKEN",t[t.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",t[t.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",t[t.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",t[t.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",t[t.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",t[t.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",t[t.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",t[t.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",t[t.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",t[t.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",t[t.NUMBER_TOKEN=17]="NUMBER_TOKEN",t[t.FUNCTION=18]="FUNCTION",t[t.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",t[t.IDENT_TOKEN=20]="IDENT_TOKEN",t[t.COLUMN_TOKEN=21]="COLUMN_TOKEN",t[t.URL_TOKEN=22]="URL_TOKEN",t[t.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",t[t.CDC_TOKEN=24]="CDC_TOKEN",t[t.CDO_TOKEN=25]="CDO_TOKEN",t[t.COLON_TOKEN=26]="COLON_TOKEN",t[t.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",t[t.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",t[t.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",t[t.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",t[t.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",t[t.EOF_TOKEN=32]="EOF_TOKEN"}(v||(v={}));var ot=function(t){return t>=48&&t<=57},at=function(t){return ot(t)||t>=65&&t<=70||t>=97&&t<=102},st=function(t){return 10===t||9===t||32===t},ct=function(t){return function(t){return function(t){return t>=97&&t<=122}(t)||function(t){return t>=65&&t<=90}(t)}(t)||function(t){return t>=128}(t)||95===t},ut=function(t){return ct(t)||ot(t)||45===t},lt=function(t){return t>=0&&t<=8||11===t||t>=14&&t<=31||127===t},ft=function(t,e){return 92===t&&10!==e},ht=function(t,e,n){return 45===t?ct(e)||ft(e,n):!!ct(t)||!(92!==t||!ft(t,e))},pt=function(t,e,n){return 43===t||45===t?!!ot(e)||46===e&&ot(n):ot(46===t?e:t)},gt=function(t){var e=0,n=1;43!==t[e]&&45!==t[e]||(45===t[e]&&(n=-1),e++);for(var r=[];ot(t[e]);)r.push(t[e++]);var A=r.length?parseInt(f.apply(void 0,r),10):0;46===t[e]&&e++;for(var o=[];ot(t[e]);)o.push(t[e++]);var c=o.length,l=c?parseInt(f.apply(void 0,o),10):0;69!==t[e]&&101!==t[e]||e++;var d=1;43!==t[e]&&45!==t[e]||(45===t[e]&&(d=-1),e++);for(var h=[];ot(t[e]);)h.push(t[e++]);var v=h.length?parseInt(f.apply(void 0,h),10):0;return n*(A+l*Math.pow(10,-c))*Math.pow(10,d*v)},vt={type:v.LEFT_PARENTHESIS_TOKEN},Bt={type:v.RIGHT_PARENTHESIS_TOKEN},mt={type:v.COMMA_TOKEN},yt={type:v.SUFFIX_MATCH_TOKEN},wt={type:v.PREFIX_MATCH_TOKEN},bt={type:v.COLUMN_TOKEN},Ct={type:v.DASH_MATCH_TOKEN},Et={type:v.INCLUDE_MATCH_TOKEN},Qt={type:v.LEFT_CURLY_BRACKET_TOKEN},Ut={type:v.RIGHT_CURLY_BRACKET_TOKEN},_t={type:v.SUBSTRING_MATCH_TOKEN},Ft={type:v.BAD_URL_TOKEN},xt={type:v.BAD_STRING_TOKEN},St={type:v.CDO_TOKEN},Ot={type:v.CDC_TOKEN},Nt={type:v.COLON_TOKEN},Ht={type:v.SEMICOLON_TOKEN},Tt={type:v.LEFT_SQUARE_BRACKET_TOKEN},It={type:v.RIGHT_SQUARE_BRACKET_TOKEN},kt={type:v.WHITESPACE_TOKEN},Mt={type:v.EOF_TOKEN},Lt=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(l(t))},t.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==Mt;)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(ut(e)||ft(n,r)){var A=ht(e,n,r)?2:1,o=this.consumeName();return{type:v.HASH_TOKEN,value:o,flags:A}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),yt;break;case 39:return this.consumeStringToken(39);case 40:return vt;case 41:return Bt;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),_t;break;case 43:if(pt(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 44:return mt;case 45:var c=t,l=this.peekCodePoint(0),d=this.peekCodePoint(1);if(pt(c,l,d))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(ht(c,l,d))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(45===l&&62===d)return this.consumeCodePoint(),this.consumeCodePoint(),Ot;break;case 46:if(pt(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var h=this.consumeCodePoint();if(42===h&&47===(h=this.consumeCodePoint()))return this.consumeToken();if(-1===h)return this.consumeToken()}break;case 58:return Nt;case 59:return Ht;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),St;break;case 64:var B=this.peekCodePoint(0),m=this.peekCodePoint(1),y=this.peekCodePoint(2);if(ht(B,m,y))return o=this.consumeName(),{type:v.AT_KEYWORD_TOKEN,value:o};break;case 91:return Tt;case 92:if(ft(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case 93:return It;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),wt;break;case 123:return Qt;case 125:return Ut;case 117:case 85:var w=this.peekCodePoint(0),C=this.peekCodePoint(1);return 43!==w||!at(C)&&63!==C||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ct;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),bt;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Et;break;case-1:return Mt}return st(t)?(this.consumeWhiteSpace(),kt):ot(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):ct(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:v.DELIM_TOKEN,value:f(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return void 0===t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();at(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var n=!1;63===e&&t.length<6;)t.push(e),e=this.consumeCodePoint(),n=!0;if(n){var r=parseInt(f.apply(void 0,t.map((function(t){return 63===t?48:t}))),16),A=parseInt(f.apply(void 0,t.map((function(t){return 63===t?70:t}))),16);return{type:v.UNICODE_RANGE_TOKEN,start:r,end:A}}var o=parseInt(f.apply(void 0,t),16);if(45===this.peekCodePoint(0)&&at(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var c=[];at(e)&&c.length<6;)c.push(e),e=this.consumeCodePoint();return A=parseInt(f.apply(void 0,c),16),{type:v.UNICODE_RANGE_TOKEN,start:o,end:A}}return{type:v.UNICODE_RANGE_TOKEN,start:o,end:o}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:v.FUNCTION_TOKEN,value:t}):{type:v.IDENT_TOKEN,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:v.URL_TOKEN,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===v.STRING_TOKEN&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:v.URL_TOKEN,value:n.value}):(this.consumeBadUrlRemnants(),Ft)}for(;;){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:v.URL_TOKEN,value:f.apply(void 0,t)};if(st(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:v.URL_TOKEN,value:f.apply(void 0,t)}):(this.consumeBadUrlRemnants(),Ft);if(34===r||39===r||40===r||lt(r))return this.consumeBadUrlRemnants(),Ft;if(92===r){if(!ft(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ft;t.push(this.consumeEscapedCodePoint())}else t.push(r)}},t.prototype.consumeWhiteSpace=function(){for(;st(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(41===t||-1===t)return;ft(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var e="";t>0;){var n=Math.min(6e4,t);e+=f.apply(void 0,this._value.splice(0,n)),t-=n}return this._value.shift(),e},t.prototype.consumeStringToken=function(t){for(var e="",i=0;;){var n=this._value[i];if(-1===n||void 0===n||n===t)return e+=this.consumeStringSlice(i),{type:v.STRING_TOKEN,value:e};if(10===n)return this._value.splice(0,i),xt;if(92===n){var r=this._value[i+1];-1!==r&&void 0!==r&&(10===r?(e+=this.consumeStringSlice(i),i=-1,this._value.shift()):ft(n,r)&&(e+=this.consumeStringSlice(i),e+=f(this.consumeEscapedCodePoint()),i=-1))}i++}},t.prototype.consumeNumber=function(){var t=[],e=4,n=this.peekCodePoint(0);for(43!==n&&45!==n||t.push(this.consumeCodePoint());ot(this.peekCodePoint(0));)t.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&ot(r))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;ot(this.peekCodePoint(0));)t.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var A=this.peekCodePoint(2);if((69===n||101===n)&&((43===r||45===r)&&ot(A)||ot(r)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;ot(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[gt(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],n=t[1],r=this.peekCodePoint(0),A=this.peekCodePoint(1),o=this.peekCodePoint(2);if(ht(r,A,o)){var c=this.consumeName();return{type:v.DIMENSION_TOKEN,number:e,flags:n,unit:c}}return 37===r?(this.consumeCodePoint(),{type:v.PERCENTAGE_TOKEN,number:e,flags:n}):{type:v.NUMBER_TOKEN,number:e,flags:n}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(at(t)){for(var e=f(t);at(this.peekCodePoint(0))&&e.length<6;)e+=f(this.consumeCodePoint());st(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(e,16);return 0===n||function(t){return t>=55296&&t<=57343}(n)||n>1114111?65533:n}return-1===t?65533:t},t.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(ut(e))t+=f(e);else{if(!ft(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=f(this.consumeEscapedCodePoint())}}},t}(),Dt=function(){function t(t){this._tokens=t}return t.create=function(e){var n=new Lt;return n.write(e),new t(n.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===v.WHITESPACE_TOKEN;)t=this.consumeToken();if(t.type===v.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(t.type===v.WHITESPACE_TOKEN);if(t.type===v.EOF_TOKEN)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(e.type===v.EOF_TOKEN)return t;t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case v.LEFT_CURLY_BRACKET_TOKEN:case v.LEFT_SQUARE_BRACKET_TOKEN:case v.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(t.type);case v.FUNCTION_TOKEN:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},n=this.consumeToken();;){if(n.type===v.EOF_TOKEN||Yt(n,t))return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue()),n=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:v.FUNCTION};;){var n=this.consumeToken();if(n.type===v.EOF_TOKEN||n.type===v.RIGHT_PARENTHESIS_TOKEN)return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return void 0===t?Mt:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),Rt=function(t){return t.type===v.DIMENSION_TOKEN},Pt=function(t){return t.type===v.NUMBER_TOKEN},Kt=function(t){return t.type===v.IDENT_TOKEN},jt=function(t){return t.type===v.STRING_TOKEN},zt=function(t,e){return Kt(t)&&t.value===e},Vt=function(t){return t.type!==v.WHITESPACE_TOKEN},Wt=function(t){return t.type!==v.WHITESPACE_TOKEN&&t.type!==v.COMMA_TOKEN},Gt=function(t){var e=[],n=[];return t.forEach((function(t){if(t.type===v.COMMA_TOKEN){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(n),void(n=[])}t.type!==v.WHITESPACE_TOKEN&&n.push(t)})),n.length&&e.push(n),e},Yt=function(t,e){return e===v.LEFT_CURLY_BRACKET_TOKEN&&t.type===v.RIGHT_CURLY_BRACKET_TOKEN||e===v.LEFT_SQUARE_BRACKET_TOKEN&&t.type===v.RIGHT_SQUARE_BRACKET_TOKEN||e===v.LEFT_PARENTHESIS_TOKEN&&t.type===v.RIGHT_PARENTHESIS_TOKEN},Xt=function(t){return t.type===v.NUMBER_TOKEN||t.type===v.DIMENSION_TOKEN},Jt=function(t){return t.type===v.PERCENTAGE_TOKEN||Xt(t)},$t=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},qt={type:v.NUMBER_TOKEN,number:0,flags:4},Zt={type:v.PERCENTAGE_TOKEN,number:50,flags:4},te={type:v.PERCENTAGE_TOKEN,number:100,flags:4},ee=function(t,e,n){var r=t[0],A=t[1];return[ne(r,e),ne(void 0!==A?A:r,n)]},ne=function(t,e){if(t.type===v.PERCENTAGE_TOKEN)return t.number/100*e;if(Rt(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},re=function(t){if(t.type===v.DIMENSION_TOKEN)switch(t.unit){case"deg":return Math.PI*t.number/180;case"grad":return Math.PI/200*t.number;case"rad":return t.number;case"turn":return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},Ae=function(t){return t.type===v.DIMENSION_TOKEN&&("deg"===t.unit||"grad"===t.unit||"rad"===t.unit||"turn"===t.unit)},ie=function(t){switch(t.filter(Kt).map((function(t){return t.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[qt,qt];case"to top":case"bottom":return oe(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[qt,te];case"to right":case"left":return oe(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[te,te];case"to bottom":case"top":return oe(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[te,qt];case"to left":case"right":return oe(270)}return 0},oe=function(t){return Math.PI*t/180},ae=function(t){if(t.type===v.FUNCTION){var e=ve[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(t.values)}if(t.type===v.HASH_TOKEN){if(3===t.value.length){var n=t.value.substring(0,1),g=t.value.substring(1,2),b=t.value.substring(2,3);return ue(parseInt(n+n,16),parseInt(g+g,16),parseInt(b+b,16),1)}if(4===t.value.length){n=t.value.substring(0,1),g=t.value.substring(1,2),b=t.value.substring(2,3);var a=t.value.substring(3,4);return ue(parseInt(n+n,16),parseInt(g+g,16),parseInt(b+b,16),parseInt(a+a,16)/255)}if(6===t.value.length)return n=t.value.substring(0,2),g=t.value.substring(2,4),b=t.value.substring(4,6),ue(parseInt(n,16),parseInt(g,16),parseInt(b,16),1);if(8===t.value.length)return n=t.value.substring(0,2),g=t.value.substring(2,4),b=t.value.substring(4,6),a=t.value.substring(6,8),ue(parseInt(n,16),parseInt(g,16),parseInt(b,16),parseInt(a,16)/255)}if(t.type===v.IDENT_TOKEN){var r=Be[t.value.toUpperCase()];if(void 0!==r)return r}return Be.TRANSPARENT},se=function(t){return 0==(255&t)},ce=function(t){var e=255&t,n=255&t>>8,r=255&t>>16,A=255&t>>24;return e<255?"rgba("+A+","+r+","+n+","+e/255+")":"rgb("+A+","+r+","+n+")"},ue=function(t,g,b,a){return(t<<24|g<<16|b<<8|Math.round(255*a)<<0)>>>0},le=function(t,i){if(t.type===v.NUMBER_TOKEN)return t.number;if(t.type===v.PERCENTAGE_TOKEN){var e=3===i?1:255;return 3===i?t.number/100*e:Math.round(t.number/100*e)}return 0},fe=function(t){var e=t.filter(Wt);if(3===e.length){var n=e.map(le),r=n[0],g=n[1],b=n[2];return ue(r,g,b,1)}if(4===e.length){var A=e.map(le),a=(r=A[0],g=A[1],b=A[2],A[3]);return ue(r,g,b,a)}return 0};function de(t,e,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(e-t)*n*6+t:n<.5?e:n<2/3?6*(e-t)*(2/3-n)+t:t}var he,pe,ge=function(t){var e=t.filter(Wt),n=e[0],r=e[1],A=e[2],o=e[3],c=(n.type===v.NUMBER_TOKEN?oe(n.number):re(n))/(2*Math.PI),s=Jt(r)?r.number/100:0,l=Jt(A)?A.number/100:0,a=void 0!==o&&Jt(o)?ne(o,1):1;if(0===s)return ue(255*l,255*l,255*l,1);var f=l<=.5?l*(s+1):l+s-l*s,d=2*l-f,h=de(d,f,c+1/3),g=de(d,f,c),b=de(d,f,c-1/3);return ue(255*h,255*g,255*b,a)},ve={hsl:ge,hsla:ge,rgb:fe,rgba:fe},Be={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(t){t[t.VALUE=0]="VALUE",t[t.LIST=1]="LIST",t[t.IDENT_VALUE=2]="IDENT_VALUE",t[t.TYPE_VALUE=3]="TYPE_VALUE",t[t.TOKEN_VALUE=4]="TOKEN_VALUE"})(he||(he={})),function(t){t[t.BORDER_BOX=0]="BORDER_BOX",t[t.PADDING_BOX=1]="PADDING_BOX",t[t.CONTENT_BOX=2]="CONTENT_BOX"}(pe||(pe={}));var me,ye,we,be={name:"background-clip",initialValue:"border-box",prefix:!1,type:he.LIST,parse:function(t){return t.map((function(t){if(Kt(t))switch(t.value){case"padding-box":return pe.PADDING_BOX;case"content-box":return pe.CONTENT_BOX}return pe.BORDER_BOX}))}},Ce={name:"background-color",initialValue:"transparent",prefix:!1,type:he.TYPE_VALUE,format:"color"},Ee=function(t){var e=ae(t[0]),n=t[1];return n&&Jt(n)?{color:e,stop:n}:{color:e,stop:null}},Qe=function(t,e){var n=t[0],r=t[t.length-1];null===n.stop&&(n.stop=qt),null===r.stop&&(r.stop=te);for(var A=[],o=0,i=0;io?A.push(l):A.push(o),o=l}else A.push(null)}var f=null;for(i=0;it.optimumDistance)?{optimumCorner:e,optimumDistance:l}:t}),{optimumDistance:A?1/0:-1/0,optimumCorner:null}).optimumCorner},xe=function(t){var e=oe(180),n=[];return Gt(t).forEach((function(t,i){if(0===i){var r=t[0];if(r.type===v.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(r.value))return void(e=ie(t));if(Ae(r))return void(e=(re(r)+oe(270))%oe(360))}var A=Ee(t);n.push(A)})),{angle:e,stops:n,type:me.LINEAR_GRADIENT}},Se=function(data){return 0===data[0]&&255===data[1]&&0===data[2]&&255===data[3]},Oe=function(t,e,n,r,A){var o="http://www.w3.org/2000/svg",svg=document.createElementNS(o,"svg"),foreignObject=document.createElementNS(o,"foreignObject");return svg.setAttributeNS(null,"width",t.toString()),svg.setAttributeNS(null,"height",e.toString()),foreignObject.setAttributeNS(null,"width","100%"),foreignObject.setAttributeNS(null,"height","100%"),foreignObject.setAttributeNS(null,"x",n.toString()),foreignObject.setAttributeNS(null,"y",r.toString()),foreignObject.setAttributeNS(null,"externalResourcesRequired","true"),svg.appendChild(foreignObject),foreignObject.appendChild(A),svg},Ne=function(svg){return new Promise((function(t,e){var img=new Image;img.onload=function(){return t(img)},img.onerror=e,img.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(svg))}))},He={get SUPPORT_RANGE_BOUNDS(){var t=function(t){if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var n=t.createElement("boundtest");n.style.height="123px",n.style.display="block",t.body.appendChild(n),e.selectNode(n);var r=e.getBoundingClientRect(),A=Math.round(r.height);if(t.body.removeChild(n),123===A)return!0}}return!1}(document);return Object.defineProperty(He,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=function(t){var img=new Image,canvas=t.createElement("canvas"),e=canvas.getContext("2d");if(!e)return!1;img.src="data:image/svg+xml,";try{e.drawImage(img,0,0),canvas.toDataURL()}catch(t){return!1}return!0}(document);return Object.defineProperty(He,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"==typeof Array.from&&"function"==typeof window.fetch?function(t){var canvas=t.createElement("canvas");canvas.width=100,canvas.height=100;var e=canvas.getContext("2d");if(!e)return Promise.reject(!1);e.fillStyle="rgb(0, 255, 0)",e.fillRect(0,0,100,100);var img=new Image,n=canvas.toDataURL();img.src=n;var svg=Oe(100,100,0,0,img);return e.fillStyle="red",e.fillRect(0,0,100,100),Ne(svg).then((function(img){e.drawImage(img,0,0);var data=e.getImageData(0,0,100,100).data;e.fillStyle="red",e.fillRect(0,0,100,100);var r=t.createElement("div");return r.style.backgroundImage="url("+n+")",r.style.height="100px",Se(data)?Ne(Oe(100,100,0,0,r)):Promise.reject(!1)})).then((function(img){return e.drawImage(img,0,0),Se(e.getImageData(0,0,100,100).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(He,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=void 0!==(new Image).crossOrigin;return Object.defineProperty(He,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(He,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(He,"SUPPORT_CORS_XHR",{value:t}),t}},Te=function(){function t(t){var e=t.id,n=t.enabled;this.id=e,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],e=0;e0&&setTimeout((function(){return e("Timed out ("+c._options.imageTimeout+"ms) loading image")}),c._options.imageTimeout)}))];case 3:return[2,A.sent()]}}))}))},t.prototype.has=function(t){return void 0!==this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=t.substring(0,256);return new Promise((function(A,o){var c=He.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;if(l.onload=function(){if(200===l.status)if("text"===c)A(l.response);else{var t=new FileReader;t.addEventListener("load",(function(){return A(t.result)}),!1),t.addEventListener("error",(function(t){return o(t)}),!1),t.readAsDataURL(l.response)}else o("Failed to proxy resource "+r+" with status code "+l.status)},l.onerror=o,l.open("GET",n+"?url="+encodeURIComponent(t)+"&responseType="+c),"text"!==c&&l instanceof XMLHttpRequest&&(l.responseType=c),e._options.imageTimeout){var f=e._options.imageTimeout;l.timeout=f,l.ontimeout=function(){return o("Timed out ("+f+"ms) proxying "+r)}}l.send()}))},t}(),Me=/^data:image\/svg\+xml/i,Le=/^data:image\/.*;base64,/i,De=/^data:image\/.*/i,Re=function(t){return He.SUPPORT_SVG_DRAWING||!ze(t)},Pe=function(t){return De.test(t)},Ke=function(t){return Le.test(t)},je=function(t){return"blob"===t.substr(0,4)},ze=function(t){return"svg"===t.substr(-3).toLowerCase()||Me.test(t)},Ve=function(t){var e=ye.CIRCLE,n=we.FARTHEST_CORNER,r=[],A=[];return Gt(t).forEach((function(t,i){var o=!0;if(0===i?o=t.reduce((function(t,e){if(Kt(e))switch(e.value){case"center":return A.push(Zt),!1;case"top":case"left":return A.push(qt),!1;case"right":case"bottom":return A.push(te),!1}else if(Jt(e)||Xt(e))return A.push(e),!1;return t}),o):1===i&&(o=t.reduce((function(t,r){if(Kt(r))switch(r.value){case"circle":return e=ye.CIRCLE,!1;case"ellipse":return e=ye.ELLIPSE,!1;case"contain":case"closest-side":return n=we.CLOSEST_SIDE,!1;case"farthest-side":return n=we.FARTHEST_SIDE,!1;case"closest-corner":return n=we.CLOSEST_CORNER,!1;case"cover":case"farthest-corner":return n=we.FARTHEST_CORNER,!1}else if(Xt(r)||Jt(r))return Array.isArray(n)||(n=[]),n.push(r),!1;return t}),o)),o){var c=Ee(t);r.push(c)}})),{size:n,shape:e,stops:r,position:A,type:me.RADIAL_GRADIENT}};!function(t){t[t.URL=0]="URL",t[t.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",t[t.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(me||(me={})),function(t){t[t.CIRCLE=0]="CIRCLE",t[t.ELLIPSE=1]="ELLIPSE"}(ye||(ye={})),function(t){t[t.CLOSEST_SIDE=0]="CLOSEST_SIDE",t[t.FARTHEST_SIDE=1]="FARTHEST_SIDE",t[t.CLOSEST_CORNER=2]="CLOSEST_CORNER",t[t.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(we||(we={}));var We,Ge=function(t){if(t.type===v.URL_TOKEN){var e={url:t.value,type:me.URL};return Ie.getInstance().addImage(t.value),e}if(t.type===v.FUNCTION){var n=Ye[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return n(t.values)}throw new Error("Unsupported image type")},Ye={"linear-gradient":function(t){var e=oe(180),n=[];return Gt(t).forEach((function(t,i){if(0===i){var r=t[0];if(r.type===v.IDENT_TOKEN&&"to"===r.value)return void(e=ie(t));if(Ae(r))return void(e=re(r))}var A=Ee(t);n.push(A)})),{angle:e,stops:n,type:me.LINEAR_GRADIENT}},"-moz-linear-gradient":xe,"-ms-linear-gradient":xe,"-o-linear-gradient":xe,"-webkit-linear-gradient":xe,"radial-gradient":function(t){var e=ye.CIRCLE,n=we.FARTHEST_CORNER,r=[],A=[];return Gt(t).forEach((function(t,i){var o=!0;if(0===i){var c=!1;o=t.reduce((function(t,r){if(c)if(Kt(r))switch(r.value){case"center":return A.push(Zt),t;case"top":case"left":return A.push(qt),t;case"right":case"bottom":return A.push(te),t}else(Jt(r)||Xt(r))&&A.push(r);else if(Kt(r))switch(r.value){case"circle":return e=ye.CIRCLE,!1;case"ellipse":return e=ye.ELLIPSE,!1;case"at":return c=!0,!1;case"closest-side":return n=we.CLOSEST_SIDE,!1;case"cover":case"farthest-side":return n=we.FARTHEST_SIDE,!1;case"contain":case"closest-corner":return n=we.CLOSEST_CORNER,!1;case"farthest-corner":return n=we.FARTHEST_CORNER,!1}else if(Xt(r)||Jt(r))return Array.isArray(n)||(n=[]),n.push(r),!1;return t}),o)}if(o){var l=Ee(t);r.push(l)}})),{size:n,shape:e,stops:r,position:A,type:me.RADIAL_GRADIENT}},"-moz-radial-gradient":Ve,"-ms-radial-gradient":Ve,"-o-radial-gradient":Ve,"-webkit-radial-gradient":Ve,"-webkit-gradient":function(t){var e=oe(180),n=[],r=me.LINEAR_GRADIENT,A=ye.CIRCLE,o=we.FARTHEST_CORNER;return Gt(t).forEach((function(t,i){var e=t[0];if(0===i){if(Kt(e)&&"linear"===e.value)return void(r=me.LINEAR_GRADIENT);if(Kt(e)&&"radial"===e.value)return void(r=me.RADIAL_GRADIENT)}if(e.type===v.FUNCTION)if("from"===e.name){var A=ae(e.values[0]);n.push({stop:qt,color:A})}else if("to"===e.name)A=ae(e.values[0]),n.push({stop:te,color:A});else if("color-stop"===e.name){var o=e.values.filter(Wt);if(2===o.length){A=ae(o[1]);var c=o[0];Pt(c)&&n.push({stop:{type:v.PERCENTAGE_TOKEN,number:100*c.number,flags:c.flags},color:A})}}})),r===me.LINEAR_GRADIENT?{angle:(e+oe(180))%oe(360),stops:n,type:r}:{size:o,shape:A,stops:n,position:[],type:r}}},Xe={name:"background-image",initialValue:"none",type:he.LIST,prefix:!1,parse:function(t){if(0===t.length)return[];var e=t[0];return e.type===v.IDENT_TOKEN&&"none"===e.value?[]:t.filter((function(t){return Wt(t)&&function(t){return t.type!==v.FUNCTION||Ye[t.name]}(t)})).map(Ge)}},Je={name:"background-origin",initialValue:"border-box",prefix:!1,type:he.LIST,parse:function(t){return t.map((function(t){if(Kt(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},$e={name:"background-position",initialValue:"0% 0%",type:he.LIST,prefix:!1,parse:function(t){return Gt(t).map((function(t){return t.filter(Jt)})).map($t)}};!function(t){t[t.REPEAT=0]="REPEAT",t[t.NO_REPEAT=1]="NO_REPEAT",t[t.REPEAT_X=2]="REPEAT_X",t[t.REPEAT_Y=3]="REPEAT_Y"}(We||(We={}));var qe,Ze={name:"background-repeat",initialValue:"repeat",prefix:!1,type:he.LIST,parse:function(t){return Gt(t).map((function(t){return t.filter(Kt).map((function(t){return t.value})).join(" ")})).map(tn)}},tn=function(t){switch(t){case"no-repeat":return We.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return We.REPEAT_X;case"repeat-y":case"no-repeat repeat":return We.REPEAT_Y;case"repeat":default:return We.REPEAT}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(qe||(qe={}));var en,nn={name:"background-size",initialValue:"0",prefix:!1,type:he.LIST,parse:function(t){return Gt(t).map((function(t){return t.filter(rn)}))}},rn=function(t){return Kt(t)||Jt(t)},An=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:he.TYPE_VALUE,format:"color"}},on=An("top"),an=An("right"),sn=An("bottom"),cn=An("left"),un=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:he.LIST,parse:function(t){return $t(t.filter(Jt))}}},ln=un("top-left"),fn=un("top-right"),dn=un("bottom-right"),hn=un("bottom-left");!function(t){t[t.NONE=0]="NONE",t[t.SOLID=1]="SOLID"}(en||(en={}));var pn,gn=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:he.IDENT_VALUE,parse:function(style){switch(style){case"none":return en.NONE}return en.SOLID}}},vn=gn("top"),Bn=gn("right"),mn=gn("bottom"),yn=gn("left"),wn=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:he.VALUE,prefix:!1,parse:function(t){return Rt(t)?t.number:0}}},bn=wn("top"),Cn=wn("right"),En=wn("bottom"),Qn=wn("left"),Un={name:"color",initialValue:"transparent",prefix:!1,type:he.TYPE_VALUE,format:"color"},_n={name:"display",initialValue:"inline-block",prefix:!1,type:he.LIST,parse:function(t){return t.filter(Kt).reduce((function(t,e){return t|Fn(e.value)}),0)}},Fn=function(t){switch(t){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};!function(t){t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.INLINE_START=3]="INLINE_START",t[t.INLINE_END=4]="INLINE_END"}(pn||(pn={}));var xn,Sn={name:"float",initialValue:"none",prefix:!1,type:he.IDENT_VALUE,parse:function(t){switch(t){case"left":return pn.LEFT;case"right":return pn.RIGHT;case"inline-start":return pn.INLINE_START;case"inline-end":return pn.INLINE_END}return pn.NONE}},On={name:"letter-spacing",initialValue:"0",prefix:!1,type:he.VALUE,parse:function(t){return t.type===v.IDENT_TOKEN&&"normal"===t.value?0:t.type===v.NUMBER_TOKEN||t.type===v.DIMENSION_TOKEN?t.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(xn||(xn={}));var Nn,Hn={name:"line-break",initialValue:"normal",prefix:!1,type:he.IDENT_VALUE,parse:function(t){switch(t){case"strict":return xn.STRICT;case"normal":default:return xn.NORMAL}}},Tn={name:"line-height",initialValue:"normal",prefix:!1,type:he.TOKEN_VALUE},In={name:"list-style-image",initialValue:"none",type:he.VALUE,prefix:!1,parse:function(t){return t.type===v.IDENT_TOKEN&&"none"===t.value?null:Ge(t)}};!function(t){t[t.INSIDE=0]="INSIDE",t[t.OUTSIDE=1]="OUTSIDE"}(Nn||(Nn={}));var kn,Mn={name:"list-style-position",initialValue:"outside",prefix:!1,type:he.IDENT_VALUE,parse:function(t){switch(t){case"inside":return Nn.INSIDE;case"outside":default:return Nn.OUTSIDE}}};!function(t){t[t.NONE=-1]="NONE",t[t.DISC=0]="DISC",t[t.CIRCLE=1]="CIRCLE",t[t.SQUARE=2]="SQUARE",t[t.DECIMAL=3]="DECIMAL",t[t.CJK_DECIMAL=4]="CJK_DECIMAL",t[t.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",t[t.LOWER_ROMAN=6]="LOWER_ROMAN",t[t.UPPER_ROMAN=7]="UPPER_ROMAN",t[t.LOWER_GREEK=8]="LOWER_GREEK",t[t.LOWER_ALPHA=9]="LOWER_ALPHA",t[t.UPPER_ALPHA=10]="UPPER_ALPHA",t[t.ARABIC_INDIC=11]="ARABIC_INDIC",t[t.ARMENIAN=12]="ARMENIAN",t[t.BENGALI=13]="BENGALI",t[t.CAMBODIAN=14]="CAMBODIAN",t[t.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",t[t.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",t[t.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",t[t.DEVANAGARI=18]="DEVANAGARI",t[t.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",t[t.GEORGIAN=20]="GEORGIAN",t[t.GUJARATI=21]="GUJARATI",t[t.GURMUKHI=22]="GURMUKHI",t[t.HEBREW=22]="HEBREW",t[t.HIRAGANA=23]="HIRAGANA",t[t.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",t[t.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",t[t.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",t[t.KANNADA=27]="KANNADA",t[t.KATAKANA=28]="KATAKANA",t[t.KATAKANA_IROHA=29]="KATAKANA_IROHA",t[t.KHMER=30]="KHMER",t[t.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",t[t.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",t[t.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",t[t.LAO=34]="LAO",t[t.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",t[t.MALAYALAM=36]="MALAYALAM",t[t.MONGOLIAN=37]="MONGOLIAN",t[t.MYANMAR=38]="MYANMAR",t[t.ORIYA=39]="ORIYA",t[t.PERSIAN=40]="PERSIAN",t[t.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",t[t.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",t[t.TAMIL=43]="TAMIL",t[t.TELUGU=44]="TELUGU",t[t.THAI=45]="THAI",t[t.TIBETAN=46]="TIBETAN",t[t.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",t[t.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",t[t.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",t[t.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",t[t.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(kn||(kn={}));var Ln,Dn={name:"list-style-type",initialValue:"none",prefix:!1,type:he.IDENT_VALUE,parse:function(t){switch(t){case"disc":return kn.DISC;case"circle":return kn.CIRCLE;case"square":return kn.SQUARE;case"decimal":return kn.DECIMAL;case"cjk-decimal":return kn.CJK_DECIMAL;case"decimal-leading-zero":return kn.DECIMAL_LEADING_ZERO;case"lower-roman":return kn.LOWER_ROMAN;case"upper-roman":return kn.UPPER_ROMAN;case"lower-greek":return kn.LOWER_GREEK;case"lower-alpha":return kn.LOWER_ALPHA;case"upper-alpha":return kn.UPPER_ALPHA;case"arabic-indic":return kn.ARABIC_INDIC;case"armenian":return kn.ARMENIAN;case"bengali":return kn.BENGALI;case"cambodian":return kn.CAMBODIAN;case"cjk-earthly-branch":return kn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return kn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return kn.CJK_IDEOGRAPHIC;case"devanagari":return kn.DEVANAGARI;case"ethiopic-numeric":return kn.ETHIOPIC_NUMERIC;case"georgian":return kn.GEORGIAN;case"gujarati":return kn.GUJARATI;case"gurmukhi":return kn.GURMUKHI;case"hebrew":return kn.HEBREW;case"hiragana":return kn.HIRAGANA;case"hiragana-iroha":return kn.HIRAGANA_IROHA;case"japanese-formal":return kn.JAPANESE_FORMAL;case"japanese-informal":return kn.JAPANESE_INFORMAL;case"kannada":return kn.KANNADA;case"katakana":return kn.KATAKANA;case"katakana-iroha":return kn.KATAKANA_IROHA;case"khmer":return kn.KHMER;case"korean-hangul-formal":return kn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return kn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return kn.KOREAN_HANJA_INFORMAL;case"lao":return kn.LAO;case"lower-armenian":return kn.LOWER_ARMENIAN;case"malayalam":return kn.MALAYALAM;case"mongolian":return kn.MONGOLIAN;case"myanmar":return kn.MYANMAR;case"oriya":return kn.ORIYA;case"persian":return kn.PERSIAN;case"simp-chinese-formal":return kn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return kn.SIMP_CHINESE_INFORMAL;case"tamil":return kn.TAMIL;case"telugu":return kn.TELUGU;case"thai":return kn.THAI;case"tibetan":return kn.TIBETAN;case"trad-chinese-formal":return kn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return kn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return kn.UPPER_ARMENIAN;case"disclosure-open":return kn.DISCLOSURE_OPEN;case"disclosure-closed":return kn.DISCLOSURE_CLOSED;case"none":default:return kn.NONE}}},Rn=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:he.TOKEN_VALUE}},Pn=Rn("top"),Kn=Rn("right"),jn=Rn("bottom"),zn=Rn("left");!function(t){t[t.VISIBLE=0]="VISIBLE",t[t.HIDDEN=1]="HIDDEN",t[t.SCROLL=2]="SCROLL",t[t.AUTO=3]="AUTO"}(Ln||(Ln={}));var Vn,Wn={name:"overflow",initialValue:"visible",prefix:!1,type:he.LIST,parse:function(t){return t.filter(Kt).map((function(t){switch(t.value){case"hidden":return Ln.HIDDEN;case"scroll":return Ln.SCROLL;case"auto":return Ln.AUTO;case"visible":default:return Ln.VISIBLE}}))}};!function(t){t.NORMAL="normal",t.BREAK_WORD="break-word"}(Vn||(Vn={}));var Gn,Yn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:he.IDENT_VALUE,parse:function(t){switch(t){case"break-word":return Vn.BREAK_WORD;case"normal":default:return Vn.NORMAL}}},Xn=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:he.TYPE_VALUE,format:"length-percentage"}},Jn=Xn("top"),$n=Xn("right"),qn=Xn("bottom"),Zn=Xn("left");!function(t){t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT"}(Gn||(Gn={}));var er,nr={name:"text-align",initialValue:"left",prefix:!1,type:he.IDENT_VALUE,parse:function(t){switch(t){case"right":return Gn.RIGHT;case"center":case"justify":return Gn.CENTER;case"left":default:return Gn.LEFT}}};!function(t){t[t.STATIC=0]="STATIC",t[t.RELATIVE=1]="RELATIVE",t[t.ABSOLUTE=2]="ABSOLUTE",t[t.FIXED=3]="FIXED",t[t.STICKY=4]="STICKY"}(er||(er={}));var rr,Ar={name:"position",initialValue:"static",prefix:!1,type:he.IDENT_VALUE,parse:function(t){switch(t){case"relative":return er.RELATIVE;case"absolute":return er.ABSOLUTE;case"fixed":return er.FIXED;case"sticky":return er.STICKY}return er.STATIC}},ir={name:"text-shadow",initialValue:"none",type:he.LIST,prefix:!1,parse:function(t){return 1===t.length&&zt(t[0],"none")?[]:Gt(t).map((function(t){for(var shadow={color:Be.TRANSPARENT,offsetX:qt,offsetY:qt,blur:qt},e=0,i=0;i1?1:0],this.overflowWrap=Dr(Yn,t.overflowWrap),this.paddingTop=Dr(Jn,t.paddingTop),this.paddingRight=Dr($n,t.paddingRight),this.paddingBottom=Dr(qn,t.paddingBottom),this.paddingLeft=Dr(Zn,t.paddingLeft),this.position=Dr(Ar,t.position),this.textAlign=Dr(nr,t.textAlign),this.textDecorationColor=Dr(yr,t.textDecorationColor||t.color),this.textDecorationLine=Dr(wr,t.textDecorationLine),this.textShadow=Dr(ir,t.textShadow),this.textTransform=Dr(ar,t.textTransform),this.transform=Dr(sr,t.transform),this.transformOrigin=Dr(fr,t.transformOrigin),this.visibility=Dr(pr,t.visibility),this.wordBreak=Dr(vr,t.wordBreak),this.zIndex=Dr(Br,t.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===or.VISIBLE},t.prototype.isTransparent=function(){return se(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return this.position!==er.STATIC},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==pn.NONE},t.prototype.isInlineLevel=function(){return Sr(this.display,4)||Sr(this.display,33554432)||Sr(this.display,268435456)||Sr(this.display,536870912)||Sr(this.display,67108864)||Sr(this.display,134217728)},t}(),Mr=function(t){this.content=Dr(content,t.content),this.quotes=Dr(Hr,t.quotes)},Lr=function(t){this.counterIncrement=Dr(Or,t.counterIncrement),this.counterReset=Dr(Nr,t.counterReset)},Dr=function(t,style){var e=new Lt,n=null!=style?style.toString():t.initialValue;e.write(n);var r=new Dt(e.read());switch(t.type){case he.IDENT_VALUE:var A=r.parseComponentValue();return t.parse(Kt(A)?A.value:t.initialValue);case he.VALUE:return t.parse(r.parseComponentValue());case he.LIST:return t.parse(r.parseComponentValues());case he.TOKEN_VALUE:return r.parseComponentValue();case he.TYPE_VALUE:switch(t.format){case"angle":return re(r.parseComponentValue());case"color":return ae(r.parseComponentValue());case"image":return Ge(r.parseComponentValue());case"length":var o=r.parseComponentValue();return Xt(o)?o:qt;case"length-percentage":var c=r.parseComponentValue();return Jt(c)?c:qt}}throw new Error("Attempting to parse unsupported css format type "+t.format)},Rr=function(element){this.styles=new kr(window.getComputedStyle(element,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&vA(element)&&(element.style.transform="none"),this.bounds=c(element),this.flags=0},Pr=function(text,t){this.text=text,this.bounds=t},Kr=function(t){var e=t.ownerDocument;if(e){var n=e.createElement("html2canvaswrapper");n.appendChild(t.cloneNode(!0));var r=t.parentNode;if(r){r.replaceChild(n,t);var A=c(n);return n.firstChild&&r.replaceChild(n.firstChild,n),A}}return new o(0,0,0,0)},jr=function(t,e,n){var r=t.ownerDocument;if(!r)throw new Error("Node has no owner document");var A=r.createRange();return A.setStart(t,e),A.setEnd(t,e+n),o.fromClientRect(A.getBoundingClientRect())},zr=function(t,e){return 0!==e.letterSpacing?l(t).map((function(i){return f(i)})):Vr(t,e)},Vr=function(t,e){for(var n,r=function(t,e){var n=l(t),r=At(n,e),A=r[0],o=r[1],c=r[2],f=n.length,d=0,h=0;return{next:function(){if(h>=f)return{done:!0,value:null};for(var t="×";h0)if(He.SUPPORT_RANGE_BOUNDS)A.push(new Pr(text,jr(n,o,text.length)));else{var t=n.splitText(text.length);A.push(new Pr(text,Kr(n))),n=t}else He.SUPPORT_RANGE_BOUNDS||(n=n.splitText(text.length));o+=text.length})),A}(this.text,e,t)},Gr=function(text,t){switch(t){case rr.LOWERCASE:return text.toLowerCase();case rr.CAPITALIZE:return text.replace(Yr,Xr);case rr.UPPERCASE:return text.toUpperCase();default:return text}},Yr=/(^|\s|:|-|\(|\))([a-z])/g,Xr=function(t,e,n){return t.length>0?e+n.toUpperCase():t},Jr=function(t){function n(img){var e=t.call(this,img)||this;return e.src=img.currentSrc||img.src,e.intrinsicWidth=img.naturalWidth,e.intrinsicHeight=img.naturalHeight,Ie.getInstance().addImage(e.src),e}return e(n,t),n}(Rr),$r=function(t){function n(canvas){var e=t.call(this,canvas)||this;return e.canvas=canvas,e.intrinsicWidth=canvas.width,e.intrinsicHeight=canvas.height,e}return e(n,t),n}(Rr),qr=function(t){function n(img){var e=t.call(this,img)||this,s=new XMLSerializer;return e.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(img)),e.intrinsicWidth=img.width.baseVal.value,e.intrinsicHeight=img.height.baseVal.value,Ie.getInstance().addImage(e.svg),e}return e(n,t),n}(Rr),Zr=function(t){function n(element){var e=t.call(this,element)||this;return e.value=element.value,e}return e(n,t),n}(Rr),tA=function(t){function n(element){var e=t.call(this,element)||this;return e.start=element.start,e.reversed="boolean"==typeof element.reversed&&!0===element.reversed,e}return e(n,t),n}(Rr),eA=[{type:v.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],nA=[{type:v.PERCENTAGE_TOKEN,flags:0,number:50}],rA="password",AA=function(t){function n(input){var e,n,r,A=t.call(this,input)||this;switch(A.type=input.type.toLowerCase(),A.checked=input.checked,A.value=0===(n=(e=input).type===rA?new Array(e.value.length+1).join("•"):e.value).length?e.placeholder||"":n,"checkbox"!==A.type&&"radio"!==A.type||(A.styles.backgroundColor=3739148031,A.styles.borderTopColor=A.styles.borderRightColor=A.styles.borderBottomColor=A.styles.borderLeftColor=2779096575,A.styles.borderTopWidth=A.styles.borderRightWidth=A.styles.borderBottomWidth=A.styles.borderLeftWidth=1,A.styles.borderTopStyle=A.styles.borderRightStyle=A.styles.borderBottomStyle=A.styles.borderLeftStyle=en.SOLID,A.styles.backgroundClip=[pe.BORDER_BOX],A.styles.backgroundOrigin=[0],A.bounds=(r=A.bounds).width>r.height?new o(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width0)e.textNodes.push(new Wr(r,e.styles));else if(gA(r)){var o=lA(r);o.styles.isVisible()&&(dA(r,o,n)?o.flags|=4:hA(o.styles)&&(o.flags|=2),-1!==cA.indexOf(r.tagName)&&(o.flags|=8),e.elements.push(o),FA(r)||wA(r)||xA(r)||uA(r,o,n))}},lA=function(element){return EA(element)?new Jr(element):CA(element)?new $r(element):wA(element)?new qr(element):BA(element)?new Zr(element):mA(element)?new tA(element):yA(element)?new AA(element):xA(element)?new iA(element):FA(element)?new oA(element):QA(element)?new sA(element):new Rr(element)},fA=function(element){var t=lA(element);return t.flags|=4,uA(element,t,t),t},dA=function(t,e,n){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||bA(t)&&n.styles.isTransparent()},hA=function(t){return t.isPositioned()||t.isFloating()},pA=function(t){return t.nodeType===Node.TEXT_NODE},gA=function(t){return t.nodeType===Node.ELEMENT_NODE},vA=function(t){return void 0!==t.style},BA=function(t){return"LI"===t.tagName},mA=function(t){return"OL"===t.tagName},yA=function(t){return"INPUT"===t.tagName},wA=function(t){return"svg"===t.tagName},bA=function(t){return"BODY"===t.tagName},CA=function(t){return"CANVAS"===t.tagName},EA=function(t){return"IMG"===t.tagName},QA=function(t){return"IFRAME"===t.tagName},UA=function(t){return"STYLE"===t.tagName},_A=function(t){return"SCRIPT"===t.tagName},FA=function(t){return"TEXTAREA"===t.tagName},xA=function(t){return"SELECT"===t.tagName},SA=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){var e=this.counters[t];return e||[]},t.prototype.pop=function(t){var e=this;t.forEach((function(t){return e.counters[t].pop()}))},t.prototype.parse=function(style){var t=this,e=style.counterIncrement,n=style.counterReset,r=!0;null!==e&&e.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(r=!1,n[Math.max(0,n.length-1)]+=e.increment)}));var A=[];return r&&n.forEach((function(e){var n=t.counters[e.counter];A.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),A},t}(),OA={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},NA={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},HA={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},TA={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},IA=function(t,e,n,r,A,o){return tn?RA(t,A,o.length>0):r.integers.reduce((function(e,n,A){for(;t>=n;)t-=n,e+=r.values[A];return e}),"")+o},kA=function(t,e,n,r){var A="";do{n||t--,A=r(t)+A,t/=e}while(t*e>=e);return A},MA=function(t,e,n,r,A){var o=n-e+1;return(t<0?"-":"")+(kA(Math.abs(t),o,r,(function(t){return f(Math.floor(t%o)+e)}))+A)},LA=function(t,e,n){void 0===n&&(n=". ");var r=e.length;return kA(Math.abs(t),r,!1,(function(t){return e[Math.floor(t%r)]}))+n},DA=function(t,e,n,r,A,o){if(t<-9999||t>9999)return RA(t,kn.CJK_DECIMAL,A.length>0);var c=Math.abs(t),l=A;if(0===c)return e[0]+l;for(var f=0;c>0&&f<=4;f++){var d=c%10;0===d&&Sr(o,1)&&""!==l?l=e[d]+l:d>1||1===d&&0===f||1===d&&1===f&&Sr(o,2)||1===d&&1===f&&Sr(o,4)&&t>100||1===d&&f>1&&Sr(o,8)?l=e[d]+(f>0?n[f-1]:"")+l:1===d&&f>0&&(l=n[f-1]+l),c=Math.floor(c/10)}return(t<0?r:"")+l},RA=function(t,e,n){var r=n?". ":"",A=n?"、":"",o=n?", ":"",c=n?" ":"";switch(e){case kn.DISC:return"•"+c;case kn.CIRCLE:return"◦"+c;case kn.SQUARE:return"◾"+c;case kn.DECIMAL_LEADING_ZERO:var l=MA(t,48,57,!0,r);return l.length<4?"0"+l:l;case kn.CJK_DECIMAL:return LA(t,"〇一二三四五六七八九",A);case kn.LOWER_ROMAN:return IA(t,1,3999,OA,kn.DECIMAL,r).toLowerCase();case kn.UPPER_ROMAN:return IA(t,1,3999,OA,kn.DECIMAL,r);case kn.LOWER_GREEK:return MA(t,945,969,!1,r);case kn.LOWER_ALPHA:return MA(t,97,122,!1,r);case kn.UPPER_ALPHA:return MA(t,65,90,!1,r);case kn.ARABIC_INDIC:return MA(t,1632,1641,!0,r);case kn.ARMENIAN:case kn.UPPER_ARMENIAN:return IA(t,1,9999,NA,kn.DECIMAL,r);case kn.LOWER_ARMENIAN:return IA(t,1,9999,NA,kn.DECIMAL,r).toLowerCase();case kn.BENGALI:return MA(t,2534,2543,!0,r);case kn.CAMBODIAN:case kn.KHMER:return MA(t,6112,6121,!0,r);case kn.CJK_EARTHLY_BRANCH:return LA(t,"子丑寅卯辰巳午未申酉戌亥",A);case kn.CJK_HEAVENLY_STEM:return LA(t,"甲乙丙丁戊己庚辛壬癸",A);case kn.CJK_IDEOGRAPHIC:case kn.TRAD_CHINESE_INFORMAL:return DA(t,"零一二三四五六七八九","十百千萬","負",A,14);case kn.TRAD_CHINESE_FORMAL:return DA(t,"零壹貳參肆伍陸柒捌玖","拾佰仟萬","負",A,15);case kn.SIMP_CHINESE_INFORMAL:return DA(t,"零一二三四五六七八九","十百千萬","负",A,14);case kn.SIMP_CHINESE_FORMAL:return DA(t,"零壹贰叁肆伍陆柒捌玖","拾佰仟萬","负",A,15);case kn.JAPANESE_INFORMAL:return DA(t,"〇一二三四五六七八九","十百千万","マイナス",A,0);case kn.JAPANESE_FORMAL:return DA(t,"零壱弐参四伍六七八九","拾百千万","マイナス",A,7);case kn.KOREAN_HANGUL_FORMAL:return DA(t,"영일이삼사오육칠팔구","십백천만","마이너스",o,7);case kn.KOREAN_HANJA_INFORMAL:return DA(t,"零一二三四五六七八九","十百千萬","마이너스",o,0);case kn.KOREAN_HANJA_FORMAL:return DA(t,"零壹貳參四五六七八九","拾百千","마이너스",o,7);case kn.DEVANAGARI:return MA(t,2406,2415,!0,r);case kn.GEORGIAN:return IA(t,1,19999,TA,kn.DECIMAL,r);case kn.GUJARATI:return MA(t,2790,2799,!0,r);case kn.GURMUKHI:return MA(t,2662,2671,!0,r);case kn.HEBREW:return IA(t,1,10999,HA,kn.DECIMAL,r);case kn.HIRAGANA:return LA(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case kn.HIRAGANA_IROHA:return LA(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case kn.KANNADA:return MA(t,3302,3311,!0,r);case kn.KATAKANA:return LA(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",A);case kn.KATAKANA_IROHA:return LA(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",A);case kn.LAO:return MA(t,3792,3801,!0,r);case kn.MONGOLIAN:return MA(t,6160,6169,!0,r);case kn.MYANMAR:return MA(t,4160,4169,!0,r);case kn.ORIYA:return MA(t,2918,2927,!0,r);case kn.PERSIAN:return MA(t,1776,1785,!0,r);case kn.TAMIL:return MA(t,3046,3055,!0,r);case kn.TELUGU:return MA(t,3174,3183,!0,r);case kn.THAI:return MA(t,3664,3673,!0,r);case kn.TIBETAN:return MA(t,3872,3881,!0,r);case kn.DECIMAL:default:return MA(t,48,57,!0,r)}},PA=function(){function t(element,t){if(this.options=t,this.scrolledElements=[],this.referenceElement=element,this.counters=new SA,this.quoteDepth=0,!element.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(element.ownerDocument.documentElement)}return t.prototype.toIFrame=function(t,e){var n=this,iframe=jA(t,e);if(!iframe.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,c=t.defaultView.pageYOffset,l=iframe.contentWindow,f=l.document,d=zA(iframe).then((function(){return r(n,void 0,void 0,(function(){var t;return A(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(YA),l&&(l.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===e.top&&l.scrollX===e.left||(f.documentElement.style.top=-e.top+"px",f.documentElement.style.left=-e.left+"px",f.documentElement.style.position="absolute")),t=this.options.onclone,void 0===this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:f.fonts&&f.fonts.ready?[4,f.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return"function"==typeof t?[2,Promise.resolve().then((function(){return t(f)})).then((function(){return iframe}))]:[2,iframe]}}))}))}));return f.open(),f.write(WA(document.doctype)+""),GA(this.referenceElement.ownerDocument,o,c),f.replaceChild(f.adoptNode(this.documentElement),f.documentElement),f.close(),d},t.prototype.createElementClone=function(t){return CA(t)?this.createCanvasClone(t):UA(t)?this.createStyleClone(t):t.cloneNode(!1)},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var n=[].slice.call(e.cssRules,0).reduce((function(t,e){return e&&"string"==typeof e.cssText?t+e.cssText:t}),""),style=t.cloneNode(!1);return style.textContent=n,style}}catch(t){if(Te.getInstance(this.options.id).error("Unable to access cssRules property",t),"SecurityError"!==t.name)throw t}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(canvas){if(this.options.inlineImages&&canvas.ownerDocument){var img=canvas.ownerDocument.createElement("img");try{return img.src=canvas.toDataURL(),img}catch(t){Te.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var t=canvas.cloneNode(!1);try{t.width=canvas.width,t.height=canvas.height;var e=canvas.getContext("2d"),n=t.getContext("2d");return n&&(e?n.putImageData(e.getImageData(0,0,canvas.width,canvas.height),0,0):n.drawImage(canvas,0,0)),t}catch(t){}return t},t.prototype.cloneNode=function(t){if(pA(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var e=t.ownerDocument.defaultView;if(vA(t)&&e){var n=this.createElementClone(t),style=e.getComputedStyle(t),r=e.getComputedStyle(t,":before"),A=e.getComputedStyle(t,":after");this.referenceElement===t&&(this.clonedReferenceElement=n),bA(n)&&$A(n);for(var o=this.counters.parse(new Lr(style)),c=this.resolvePseudoContent(t,n,r,Fr.BEFORE),l=t.firstChild;l;l=l.nextSibling)gA(l)&&(_A(l)||l.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(l))||this.options.copyStyles&&gA(l)&&UA(l)||n.appendChild(this.cloneNode(l));c&&n.insertBefore(c,n.firstChild);var f=this.resolvePseudoContent(t,n,A,Fr.AFTER);return f&&n.appendChild(f),this.counters.pop(o),style&&this.options.copyStyles&&!QA(t)&&VA(style,n),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([n,t.scrollLeft,t.scrollTop]),(FA(t)||xA(t))&&(FA(n)||xA(n))&&(n.value=t.value),n}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,style,n){var r=this;if(style){var A=style.content,o=e.ownerDocument;if(o&&A&&"none"!==A&&"-moz-alt-content"!==A&&"none"!==style.display){this.counters.parse(new Lr(style));var c=new Mr(style),l=o.createElement("html2canvaspseudoelement");return VA(style,l),c.content.forEach((function(e){if(e.type===v.STRING_TOKEN)l.appendChild(o.createTextNode(e.value));else if(e.type===v.URL_TOKEN){var img=o.createElement("img");img.src=e.value,img.style.opacity="1",l.appendChild(img)}else if(e.type===v.FUNCTION){if("attr"===e.name){var n=e.values.filter(Kt);n.length&&l.appendChild(o.createTextNode(t.getAttribute(n[0].value)||""))}else if("counter"===e.name){var A=e.values.filter(Wt),f=A[0],d=A[1];if(f&&Kt(f)){var h=r.counters.getCounterValue(f.value),B=d&&Kt(d)?Dn.parse(d.value):kn.DECIMAL;l.appendChild(o.createTextNode(RA(h,B,!1)))}}else if("counters"===e.name){var m=e.values.filter(Wt),y=(f=m[0],m[1]);if(d=m[2],f&&Kt(f)){var w=r.counters.getCounterValues(f.value),C=d&&Kt(d)?Dn.parse(d.value):kn.DECIMAL,E=y&&y.type===v.STRING_TOKEN?y.value:"",text=w.map((function(t){return RA(t,C,!1)})).join(E);l.appendChild(o.createTextNode(text))}}}else if(e.type===v.IDENT_TOKEN)switch(e.value){case"open-quote":l.appendChild(o.createTextNode(Tr(c.quotes,r.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(Tr(c.quotes,--r.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(e.value))}})),l.className=XA+" "+JA,e.className+=n===Fr.BEFORE?" "+XA:" "+JA,l}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(Fr||(Fr={}));var KA,jA=function(t,e){var n=t.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=e.width.toString(),n.height=e.height.toString(),n.scrolling="no",n.setAttribute("data-html2canvas-ignore","true"),t.body.appendChild(n),n},zA=function(iframe){return new Promise((function(t,e){var n=iframe.contentWindow;if(!n)return e("No window assigned for iframe");var r=n.document;n.onload=iframe.onload=r.onreadystatechange=function(){n.onload=iframe.onload=r.onreadystatechange=null;var e=setInterval((function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(e),t(iframe))}),50)}}))},VA=function(style,t){for(var i=style.length-1;i>=0;i--){var e=style.item(i);"content"!==e&&t.style.setProperty(e,style.getPropertyValue(e))}return t},WA=function(t){var e="";return t&&(e+=""),e},GA=function(t,e,n){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||n!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,n)},YA=function(t){var element=t[0],e=t[1],n=t[2];element.scrollLeft=e,element.scrollTop=n},XA="___html2canvas___pseudoelement_before",JA="___html2canvas___pseudoelement_after",$A=function(body){qA(body,"."+XA+':before{\n content: "" !important;\n display: none !important;\n}\n .'+JA+':after{\n content: "" !important;\n display: none !important;\n}')},qA=function(body,t){var e=body.ownerDocument;if(e){var style=e.createElement("style");style.textContent=t,body.appendChild(style)}};!function(t){t[t.VECTOR=0]="VECTOR",t[t.BEZIER_CURVE=1]="BEZIER_CURVE"}(KA||(KA={}));var ZA,ti=function(a,b){return a.length===b.length&&a.some((function(t,i){return t===b[i]}))},ei=function(){function t(t,e){this.type=KA.VECTOR,this.x=t,this.y=e}return t.prototype.add=function(e,n){return new t(this.x+e,this.y+n)},t}(),ni=function(a,b,t){return new ei(a.x+(b.x-a.x)*t,a.y+(b.y-a.y)*t)},ri=function(){function t(t,e,n,r){this.type=KA.BEZIER_CURVE,this.start=t,this.startControl=e,this.endControl=n,this.end=r}return t.prototype.subdivide=function(e,n){var r=ni(this.start,this.startControl,e),A=ni(this.startControl,this.endControl,e),o=ni(this.endControl,this.end,e),c=ni(r,A,e),l=ni(A,o,e),f=ni(c,l,e);return n?new t(this.start,r,c,f):new t(f,l,o,this.end)},t.prototype.add=function(e,n){return new t(this.start.add(e,n),this.startControl.add(e,n),this.endControl.add(e,n),this.end.add(e,n))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Ai=function(path){return path.type===KA.BEZIER_CURVE},ii=function(element){var t=element.styles,e=element.bounds,n=ee(t.borderTopLeftRadius,e.width,e.height),r=n[0],A=n[1],o=ee(t.borderTopRightRadius,e.width,e.height),c=o[0],l=o[1],f=ee(t.borderBottomRightRadius,e.width,e.height),d=f[0],h=f[1],v=ee(t.borderBottomLeftRadius,e.width,e.height),B=v[0],m=v[1],y=[];y.push((r+c)/e.width),y.push((B+d)/e.width),y.push((A+m)/e.height),y.push((l+h)/e.height);var w=Math.max.apply(Math,y);w>1&&(r/=w,A/=w,c/=w,l/=w,d/=w,h/=w,B/=w,m/=w);var C=e.width-c,E=e.height-h,Q=e.width-d,U=e.height-m,_=t.borderTopWidth,F=t.borderRightWidth,x=t.borderBottomWidth,S=t.borderLeftWidth,O=ne(t.paddingTop,element.bounds.width),N=ne(t.paddingRight,element.bounds.width),H=ne(t.paddingBottom,element.bounds.width),T=ne(t.paddingLeft,element.bounds.width);this.topLeftBorderBox=r>0||A>0?oi(e.left,e.top,r,A,ZA.TOP_LEFT):new ei(e.left,e.top),this.topRightBorderBox=c>0||l>0?oi(e.left+C,e.top,c,l,ZA.TOP_RIGHT):new ei(e.left+e.width,e.top),this.bottomRightBorderBox=d>0||h>0?oi(e.left+Q,e.top+E,d,h,ZA.BOTTOM_RIGHT):new ei(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=B>0||m>0?oi(e.left,e.top+U,B,m,ZA.BOTTOM_LEFT):new ei(e.left,e.top+e.height),this.topLeftPaddingBox=r>0||A>0?oi(e.left+S,e.top+_,Math.max(0,r-S),Math.max(0,A-_),ZA.TOP_LEFT):new ei(e.left+S,e.top+_),this.topRightPaddingBox=c>0||l>0?oi(e.left+Math.min(C,e.width+S),e.top+_,C>e.width+S?0:c-S,l-_,ZA.TOP_RIGHT):new ei(e.left+e.width-F,e.top+_),this.bottomRightPaddingBox=d>0||h>0?oi(e.left+Math.min(Q,e.width-S),e.top+Math.min(E,e.height+_),Math.max(0,d-F),h-x,ZA.BOTTOM_RIGHT):new ei(e.left+e.width-F,e.top+e.height-x),this.bottomLeftPaddingBox=B>0||m>0?oi(e.left+S,e.top+U,Math.max(0,B-S),m-x,ZA.BOTTOM_LEFT):new ei(e.left+S,e.top+e.height-x),this.topLeftContentBox=r>0||A>0?oi(e.left+S+T,e.top+_+O,Math.max(0,r-(S+T)),Math.max(0,A-(_+O)),ZA.TOP_LEFT):new ei(e.left+S+T,e.top+_+O),this.topRightContentBox=c>0||l>0?oi(e.left+Math.min(C,e.width+S+T),e.top+_+O,C>e.width+S+T?0:c-S+T,l-(_+O),ZA.TOP_RIGHT):new ei(e.left+e.width-(F+N),e.top+_+O),this.bottomRightContentBox=d>0||h>0?oi(e.left+Math.min(Q,e.width-(S+T)),e.top+Math.min(E,e.height+_+O),Math.max(0,d-(F+N)),h-(x+H),ZA.BOTTOM_RIGHT):new ei(e.left+e.width-(F+N),e.top+e.height-(x+H)),this.bottomLeftContentBox=B>0||m>0?oi(e.left+S+T,e.top+U,Math.max(0,B-(S+T)),m-(x+H),ZA.BOTTOM_LEFT):new ei(e.left+S+T,e.top+e.height-(x+H))};!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(ZA||(ZA={}));var oi=function(t,e,n,r,A){var o=(Math.sqrt(2)-1)/3*4,c=n*o,l=r*o,f=t+n,d=e+r;switch(A){case ZA.TOP_LEFT:return new ri(new ei(t,d),new ei(t,d-l),new ei(f-c,e),new ei(f,e));case ZA.TOP_RIGHT:return new ri(new ei(t,e),new ei(t+c,e),new ei(f,d-l),new ei(f,d));case ZA.BOTTOM_RIGHT:return new ri(new ei(f,e),new ei(f,e+l),new ei(t+c,d),new ei(t,d));case ZA.BOTTOM_LEFT:default:return new ri(new ei(f,d),new ei(f-c,d),new ei(t,e+l),new ei(t,e))}},ai=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},si=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},ci=function(t,e,n){this.type=0,this.offsetX=t,this.offsetY=e,this.matrix=n,this.target=6},ui=function(path,t){this.type=1,this.target=t,this.path=path},fi=function(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},di=function(){function t(element,t){if(this.container=element,this.effects=t.slice(0),this.curves=new ii(element),null!==element.styles.transform){var e=element.bounds.left+element.styles.transformOrigin[0].number,n=element.bounds.top+element.styles.transformOrigin[1].number,r=element.styles.transform;this.effects.push(new ci(e,n,r))}if(element.styles.overflowX!==Ln.VISIBLE){var A=ai(this.curves),o=si(this.curves);ti(A,o)?this.effects.push(new ui(A,6)):(this.effects.push(new ui(A,2)),this.effects.push(new ui(o,4)))}}return t.prototype.getParentEffects=function(){var t=this.effects.slice(0);if(this.container.styles.overflowX!==Ln.VISIBLE){var e=ai(this.curves),n=si(this.curves);ti(e,n)||t.push(new ui(n,6))}return t},t}(),hi=function(t,e,n,r){t.container.elements.forEach((function(A){var o=Sr(A.flags,4),c=Sr(A.flags,2),l=new di(A,t.getParentEffects());Sr(A.styles.display,2048)&&r.push(l);var f=Sr(A.flags,8)?[]:r;if(o||c){var d=o||A.styles.isPositioned()?n:e,h=new fi(l);if(A.styles.isPositioned()||A.styles.opacity<1||A.styles.isTransformed()){var v=A.styles.zIndex.order;if(v<0){var B=0;d.negativeZIndex.some((function(t,i){return v>t.element.container.styles.zIndex.order?(B=i,!1):B>0})),d.negativeZIndex.splice(B,0,h)}else if(v>0){var m=0;d.positiveZIndex.some((function(t,i){return v>t.element.container.styles.zIndex.order?(m=i+1,!1):m>0})),d.positiveZIndex.splice(m,0,h)}else d.zeroOrAutoZIndexOrTransformedOrOpacity.push(h)}else A.styles.isFloating()?d.nonPositionedFloats.push(h):d.nonPositionedInlineLevel.push(h);hi(l,h,o?h:n,f)}else A.styles.isInlineLevel()?e.inlineLevel.push(l):e.nonInlineLevel.push(l),hi(l,e,n,f);Sr(A.flags,8)&&pi(A,f)}))},pi=function(t,e){for(var n=t instanceof tA?t.start:1,r=t instanceof tA&&t.reversed,i=0;i0&&t.intrinsicHeight>0){var n=Bi(t),path=si(e);this.path(path),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(image,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var n,r,c,l,f,d,canvas,h,B,m,img,image,y,w;return A(this,(function(A){switch(A.label){case 0:this.applyEffects(e.effects,4),n=e.container,r=e.curves,c=n.styles,l=0,f=n.textNodes,A.label=1;case 1:return l0&&_>0&&(pattern=r.ctx.createPattern(canvas,"repeat"),r.renderRepeat(path,pattern,x,S))):function(t){return t.type===me.RADIAL_GRADIENT}(n)&&(C=mi(t,e,[null,null,null]),path=C[0],E=C[1],Q=C[2],U=C[3],_=C[4],F=0===n.position.length?[Zt]:n.position,x=ne(F[0],U),S=ne(F[F.length-1],_),O=function(t,e,n,r,A){var o=0,c=0;switch(t.size){case we.CLOSEST_SIDE:t.shape===ye.CIRCLE?o=c=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(n),Math.abs(n-A)):t.shape===ye.ELLIPSE&&(o=Math.min(Math.abs(e),Math.abs(e-r)),c=Math.min(Math.abs(n),Math.abs(n-A)));break;case we.CLOSEST_CORNER:if(t.shape===ye.CIRCLE)o=c=Math.min(_e(e,n),_e(e,n-A),_e(e-r,n),_e(e-r,n-A));else if(t.shape===ye.ELLIPSE){var l=Math.min(Math.abs(n),Math.abs(n-A))/Math.min(Math.abs(e),Math.abs(e-r)),f=Fe(r,A,e,n,!0),d=f[0],h=f[1];c=l*(o=_e(d-e,(h-n)/l))}break;case we.FARTHEST_SIDE:t.shape===ye.CIRCLE?o=c=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(n),Math.abs(n-A)):t.shape===ye.ELLIPSE&&(o=Math.max(Math.abs(e),Math.abs(e-r)),c=Math.max(Math.abs(n),Math.abs(n-A)));break;case we.FARTHEST_CORNER:if(t.shape===ye.CIRCLE)o=c=Math.max(_e(e,n),_e(e,n-A),_e(e-r,n),_e(e-r,n-A));else if(t.shape===ye.ELLIPSE){l=Math.max(Math.abs(n),Math.abs(n-A))/Math.max(Math.abs(e),Math.abs(e-r));var v=Fe(r,A,e,n,!1);d=v[0],h=v[1],c=l*(o=_e(d-e,(h-n)/l))}}return Array.isArray(t.size)&&(o=ne(t.size[0],r),c=2===t.size.length?ne(t.size[1],A):o),[o,c]}(n,x,S,U,_),N=O[0],H=O[1],N>0&&N>0&&(T=r.ctx.createRadialGradient(E+x,Q+S,0,E+x,Q+S,N),Qe(n.stops,2*N).forEach((function(t){return T.addColorStop(t.stop,ce(t.color))})),r.path(path),r.ctx.fillStyle=T,N!==H?(I=t.bounds.left+.5*t.bounds.width,k=t.bounds.top+.5*t.bounds.height,L=1/(M=H/N),r.ctx.save(),r.ctx.translate(I,k),r.ctx.transform(1,0,0,M,0,0),r.ctx.translate(-I,-k),r.ctx.fillRect(E,L*(Q-k)+k,U,_*L),r.ctx.restore()):r.ctx.fill())),A.label=6;case 6:return e--,[2]}}))},r=this,o=0,c=t.styles.backgroundImage.slice(0).reverse(),f.label=1;case 1:return o1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var A=this.$_getTransportIndex(t);if(A>=0){var o=this.transports[n].slice(0);o.splice(A,1),this.transports[n]=o}}},registerTarget:function(t,e,n){l&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(source,t,e){l&&(this.trackInstances&&!e&&this.sources[source]&&console.warn("[portal-vue]: source ".concat(source," already exists")),this.$set(this.sources,source,Object.freeze([t])))},unregisterSource:function(source){this.$delete(this.sources,source)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var i in this.transports[e])if(this.transports[e][i].from===n)return+i;return-1}}}))(d),m=1,y=A.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(m++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){B.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){B.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};B.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:c(t),order:this.order};B.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),w=A.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:B.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){B.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){B.unregisterTarget(e),B.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){B.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var r=n.passengers[0],A="function"==typeof r?r(e):n.passengers;return t.concat(A)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),C=0,E=["disabled","name","order","slim","slotProps","tag","to"],Q=["multiple","transition"],U=A.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(C++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(B.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=B.targets[e.name];else{var n=e.append;if(n){var r="string"==typeof n?n:"DIV",A=document.createElement(r);t.appendChild(A),t=A}var o=f(this.$props,Q);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new w({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=f(this.$props,E);return t(y,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var content=this.$scopedSlots.manual({to:this.to});return Array.isArray(content)&&(content=content[0]),content||t()}});var _={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",y),t.component(e.portalTargetName||"PortalTarget",w),t.component(e.MountingPortalName||"MountingPortal",U)}};e.default=_,e.Portal=y,e.PortalTarget=w,e.MountingPortal=U,e.Wormhole=B},19:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;ie.parts.length&&(n.parts.length=e.parts.length)}else{var A=[];for(r=0;r=b.f?n():a.fonts.load(function(a){return x(a)+" "+a.f+"00 300px "+_(a.c)}(b.a),b.h).then((function(a){1<=a.length?e():setTimeout(r,25)}),(function(){n()}))}()})),n=null,r=new Promise((function(a,t){n=setTimeout(t,b.f)}));Promise.race([r,e]).then((function(){n&&(clearTimeout(n),n=null),b.g(b.a)}),(function(){b.j(b.a)}))};var R={D:"serif",C:"sans-serif"},P=null;function K(){if(null===P){var a=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);P=!!a&&(536>parseInt(a[1],10)||536===parseInt(a[1],10)&&11>=parseInt(a[2],10))}return P}function j(a,b,t){for(var e in R)if(R.hasOwnProperty(e)&&b===a.f[R[e]]&&t===a.f[R[e]])return!0;return!1}function z(a){var t,b=a.g.a.offsetWidth,e=a.h.a.offsetWidth;(t=b===a.f.serif&&e===a.f["sans-serif"])||(t=K()&&j(a,b,e)),t?q()-a.A>=a.w?K()&&j(a,b,e)&&(null===a.u||a.u.hasOwnProperty(a.a.c))?V(a,a.v):V(a,a.B):function(a){setTimeout(p((function(){z(this)}),a),50)}(a):V(a,a.v)}function V(a,b){setTimeout(p((function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),b(this.a)}),a),0)}function W(a,b,t){this.c=a,this.a=b,this.f=0,this.m=this.j=!1,this.s=t}D.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=q(),z(this)};var G=null;function Y(a){0==--a.f&&a.j&&(a.m?((a=a.a).g&&h(a.f,[a.a.c("wf","active")],[a.a.c("wf","loading"),a.a.c("wf","inactive")]),H(a,"active")):N(a.a))}function X(a){this.j=a,this.a=new T,this.h=0,this.f=this.g=!0}function J(a,b,t,e,n){var r=0==--a.h;(a.f||a.g)&&setTimeout((function(){var a=n||null,A=e||{};if(0===t.length&&r)N(b.a);else{b.f+=t.length,r&&(b.j=r);var o,c=[];for(o=0;o0&&(t[e]=source[e])},t.updateCategory=function(t,e){t[A.ATTRIBUTE_CATEGORY]=e},t.updateVersion=function(t,e){t[A.ATTRIBUTE_VERSION]=e},t.updateOs=function(t,e){t[A.ATTRIBUTE_OS]=e},t.updateOsVersion=function(t,e){t[A.ATTRIBUTE_OS_VERSION]=e}}();var c={};!function(){var t=c,e=/MSIE ([.0-9]+);/,n=/Trident\/[.0-9]+;/,r=/ rv:([.0-9]+)/,o=/IEMobile\/([.0-9]+);/,l=(t.challengeMSIE=function(t,c){if(t.indexOf("compatible; MSIE")<0&&t.indexOf("Trident/")<0&&t.indexOf("IEMobile/"))return!1;var l,f=e.exec(t);return f||n.exec(t)&&(f=r.exec(t)),f||(f=o.exec(t)),l=f?f[1]:A.VALUE_UNKNOWN,m(c,A.get("MSIE")),E(c,l),!0},/YaBrowser\/([.0-9]+)/),f=(t.challengeYandexBrowser=function(t,e){if(t.indexOf("YaBrowser/")<0)return!1;var n,r=l.exec(t);return n=r?r[1]:A.VALUE_UNKNOWN,m(e,A.get("YaBrowser")),E(e,n),!0},/(?:Edge|Edg|EdgiOS|EdgA)\/([.0-9]+)/),d=/FxiOS\/([.0-9]+)/,h=/(?:Chrome|CrMo|CriOS)\/([.0-9]+)/,v=/OPR\/([.0-9]+)/,B=/GSA\/([.0-9]+)/,C=/Version\/([.0-9]+)/,Q=(t.challengeSafariChrome=function(t,e){if(t.indexOf("Safari/")<0)return!1;if(t.indexOf("Chrome")>=0&&t.indexOf("wv")>=0)return!1;var n,r,o=A.VALUE_UNKNOWN;return(n=f.exec(t))?(o=n[1],m(e,A.get("Edge")),E(e,o),!0):(n=d.exec(t))?(o=n[1],m(e,A.get("Firefox")),E(e,o),!0):(n=h.exec(t))?(r=v.exec(t))?(o=r[1],m(e,A.get("Opera")),E(e,o),!0):(o=n[1],m(e,A.get("Chrome")),E(e,o),!0):(n=B.exec(t))?(o=n[1],m(e,A.get("GSA")),E(e,o),!0):((n=C.exec(t))&&(o=n[1]),m(e,A.get("Safari")),E(e,o),!0)},/Firefox\/([.0-9]+)/),U=(t.challengeFirefox=function(t,e){if(t.indexOf("Firefox/")<0)return!1;var n=A.VALUE_UNKNOWN,r=Q.exec(t);return r&&(n=r[1]),m(e,A.get("Firefox")),E(e,n),!0},/Version\/([.0-9]+)/),_=/Opera[\/ ]([.0-9]+)/,F=(t.challengeOpera=function(t,e){if(t.indexOf("Opera")<0)return!1;var n=A.VALUE_UNKNOWN,r=U.exec(t);return(r||(r=_.exec(t)))&&(n=r[1]),m(e,A.get("Opera")),E(e,n),!0},/iP(hone;|ad;|od) .*like Mac OS X/),x=/Version\/([.0-9]+)/,S=(t.challengeWebview=function(t,e){var n,r=A.VALUE_UNKNOWN;return t.indexOf("Chrome")>=0&&t.indexOf("wv")>=0?((n=x.exec(t))&&(r=n[1]),m(e,A.get("Webview")),E(e,r),!0):!!F.exec(t)&&(!(t.indexOf("Safari/")>-1)&&((n=x.exec(t))&&(r=n[1]),m(e,A.get("Webview")),E(e,r),!0))},/Sleipnir\/([.0-9]+)/),O=(t.challengeSleipnir=function(t,e){if(t.indexOf("Sleipnir/")<0)return!1;var n=A.VALUE_UNKNOWN,r=S.exec(t);r&&(n=r[1]),m(e,A.get("Sleipnir")),E(e,n);var o=A.get("Win");return y(e,o[A.KEY_CATEGORY]),w(e,o[A.KEY_NAME]),!0},/Vivaldi\/([.0-9]+)/);t.challengeVivaldi=function(t,e){if(t.indexOf("Vivaldi/")<0)return!1;var n=A.VALUE_UNKNOWN,r=O.exec(t);return r&&(n=r[1]),m(e,A.get("Vivaldi")),E(e,n),!0}}();var l={};!function(){var t=l,e=/Windows ([ .a-zA-Z0-9]+)[;\\)]/,n=/^Phone(?: OS)? ([.0-9]+)/;t.challengeWindows=function(t,r){if(t.indexOf("Windows")<0)return!1;var o;if(t.indexOf("Xbox")>-1)return o=t.indexOf("Xbox; Xbox One)")>-1?A.get("XboxOne"):A.get("Xbox360"),m(r,o),!0;var data=A.get("Win"),c=e.exec(t);if(!c)return y(r,data[A.KEY_CATEGORY]),w(r,data[A.KEY_NAME]),!0;var l=c[1];return"NT 10.0"===l?data=A.get("Win10"):"NT 6.3"===l?data=A.get("Win8.1"):"NT 6.2"===l?data=A.get("Win8"):"NT 6.1"===l?data=A.get("Win7"):"NT 6.0"===l?data=A.get("WinVista"):"NT 5.1"===l?data=A.get("WinXP"):(c=n.exec(l))?(data=A.get("WinPhone"),l=c[1]):"NT 5.0"===l?data=A.get("Win2000"):"NT 4.0"===l?data=A.get("WinNT4"):"98"===l?data=A.get("Win98"):"95"===l?data=A.get("Win95"):"CE"===l&&(data=A.get("WinCE")),y(r,data[A.KEY_CATEGORY]),w(r,data[A.KEY_NAME]),C(r,l),!0},t.challengeOSX=function(t,e){if(t.indexOf("Mac OS X")<0)return!1;var n,r,data=A.get("OSX");return t.indexOf("like Mac OS X")>=0?(t.indexOf("iPhone;")>=0?data=A.get("iPhone"):t.indexOf("iPad;")>=0?data=A.get("iPad"):t.indexOf("iPod")>=0&&(data=A.get("iPod")),(r=/; CPU(?: iPhone)? OS (\d+_\d+(?:_\d+)?) like Mac OS X/.exec(t))&&(n=r[1].replace(/_/g,"."))):(r=/Mac OS X (10[._]\d+(?:[._]\d+)?)(?:\)|;)/.exec(t))&&(n=r[1].replace(/_/g,".")),y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_NAME]),n&&C(e,n),!0},t.challengeLinux=function(t,e){if(t.indexOf("Linux")<0)return!1;var n,r,data=A.get("Linux");return t.indexOf("Android")>=0&&(data=A.get("Android"),(r=/Android[- ](\d+(?:\.\d+(?:\.\d+)?)?)/.exec(t))&&(n=r[1])),y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_NAME]),n&&C(e,n),!0},t.challengeSmartPhone=function(t,e){var n,data=null,r=null;return t.indexOf("iPhone")>=0?data=A.get("iPhone"):t.indexOf("iPad")>=0?data=A.get("iPad"):t.indexOf("iPod")>=0?data=A.get("iPod"):t.indexOf("Android")>=0?data=A.get("Android"):t.indexOf("CFNetwork")>=0?data=A.get("iOS"):t.indexOf("BB10")>=0?(data=A.get("BlackBerry10"),(n=/BB10(?:.+)Version\/([.0-9]+)/.exec(t))&&(r=n[1])):t.indexOf("BlackBerry")>=0&&(data=A.get("BlackBerry"),(n=/BlackBerry(?:\d+)\/([.0-9]+) /.exec(t))&&(r=n[1])),e[A.KEY_NAME]&&e[A.KEY_NAME]===A.get("Firefox")[A.KEY_NAME]&&(n=/^Mozilla\/[.0-9]+ \((?:Mobile|Tablet);(?:.*;)? rv:([.0-9]+)\) Gecko\/[.0-9]+ Firefox\/[.0-9]+$/.exec(t))&&(data=A.get("FirefoxOS"),r=n[1]),!!data&&(y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_NAME]),r&&C(e,r),!0)},t.challengeMobilePhone=function(t,e){var data,n;if(t.indexOf("KDDI-")>=0&&(n=/KDDI-([^- \/;()"']+)/.exec(t))){var r=n[1];return data=A.get("au"),y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_OS]),E(e,r),!0}return(t.indexOf("WILLCOM")>=0||t.indexOf("DDIPOCKET")>=0)&&(n=/(?:WILLCOM|DDIPOCKET);[^\/]+\/([^ \/;()]+)/.exec(t))?(r=n[1],data=A.get("willcom"),y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_OS]),E(e,r),!0):t.indexOf("SymbianOS")>=0?(data=A.get("SymbianOS"),y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_OS]),!0):t.indexOf("Google Wireless Transcoder")>=0?(m(e,A.get("MobileTranscoder")),E(e,"Google"),!0):t.indexOf("Naver Transcoder")>=0&&(m(e,A.get("MobileTranscoder")),E(e,"Naver"),!0)},t.challengeAppliance=function(t,e){var data;return t.indexOf("Nintendo DSi;")>=0?(data=A.get("NintendoDSi"),y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_OS]),!0):t.indexOf("Nintendo Wii;")>=0&&(data=A.get("NintendoWii"),y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_OS]),!0)},t.challengeMisc=function(t,e){var data,n,r;return t.indexOf("(Win98;")>=0?(data=A.get("Win98"),n="98"):t.indexOf("Macintosh; U; PPC;")>=0?(data=A.get("MacOS"),(r=/rv:(\d+\.\d+\.\d+)/.exec(t))&&(n=r[1])):t.indexOf("Mac_PowerPC")>=0?data=A.get("MacOS"):t.indexOf("X11; FreeBSD ")>=0?(data=A.get("BSD"),(r=/FreeBSD ([^;\)]+);/.exec(t))&&(n=r[1])):t.indexOf("X11; CrOS ")>=0&&(data=A.get("ChromeOS"),(r=/CrOS ([^\)]+)\)/.exec(t))&&(n=r[1])),!!data&&(y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_NAME]),n&&C(e,n),!0)}}();var f={};!function(){var t=f,e=/DoCoMo\/[.0-9]+[ \/]([^- \/;()"']+)/,n=/\(([^;)]+);FOMA;/,r=(t.challengeDocomo=function(t,r){if(t.indexOf("DoCoMo")<0&&t.indexOf(";FOMA;")<0)return!1;var o,c=A.VALUE_UNKNOWN;return((o=e.exec(t))||(o=n.exec(t)))&&(c=o[1]),m(r,A.get("docomo")),E(r,c),!0},/KDDI-([^- \/;()"']+)/),o=(t.challengeAu=function(t,e){if(t.indexOf("KDDI-")<0)return!1;var n=A.VALUE_UNKNOWN,o=r.exec(t);return o&&(n=o[1]),m(e,A.get("au")),E(e,n),!0},/(?:SoftBank|Vodafone|J-PHONE)\/[.0-9]+\/([^ \/;()]+)/),c=(t.challengeSoftbank=function(t,e){if(t.indexOf("SoftBank")<0&&t.indexOf("Vodafone")<0&&t.indexOf("J-PHONE")<0)return!1;var n=A.VALUE_UNKNOWN,r=o.exec(t);return r&&(n=r[1]),m(e,A.get("SoftBank")),E(e,n),!0},/(?:WILLCOM|DDIPOCKET);[^\/]+\/([^ \/;()]+)/);t.challengeWillcom=function(t,e){if(t.indexOf("WILLCOM")<0&&t.indexOf("DDIPOCKET")<0)return!1;var n=A.VALUE_UNKNOWN,r=c.exec(t);return r&&(n=r[1]),m(e,A.get("willcom")),E(e,n),!0},t.challengeMisc=function(t,e){var n;return t.indexOf("jig browser")>=0?(m(e,A.get("jig")),(n=/jig browser[^;]+; ([^);]+)/.exec(t))&&E(e,n[1]),!0):t.indexOf("emobile/")>=0||t.indexOf("OpenBrowser")>=0||t.indexOf("Browser/Obigo-Browser")>=0?(m(e,A.get("emobile")),!0):t.indexOf("SymbianOS")>=0?(m(e,A.get("SymbianOS")),!0):t.indexOf("Hatena-Mobile-Gateway/")>=0?(m(e,A.get("MobileTranscoder")),E(e,"Hatena"),!0):t.indexOf("livedoor-Mobile-Gateway/")>=0&&(m(e,A.get("MobileTranscoder")),E(e,"livedoor"),!0)}}();var d={};!function(){var t=d;t.challengeGoogle=function(t,e){return!(t.indexOf("Google")<0)&&(t.indexOf("compatible; Googlebot")>=0?t.indexOf("compatible; Googlebot-Mobile")>=0?(m(e,A.get("GoogleBotMobile")),!0):(m(e,A.get("GoogleBot")),!0):t.indexOf("Googlebot-Image/")>=0?(m(e,A.get("GoogleBot")),!0):t.indexOf("Mediapartners-Google")>=0&&(t.indexOf("compatible; Mediapartners-Google")>=0||"Mediapartners-Google"===t)?(m(e,A.get("GoogleMediaPartners")),!0):t.indexOf("Feedfetcher-Google;")>=0?(m(e,A.get("GoogleFeedFetcher")),!0):t.indexOf("AppEngine-Google")>=0?(m(e,A.get("GoogleAppEngine")),!0):t.indexOf("Google Web Preview")>=0&&(m(e,A.get("GoogleWebPreview")),!0))},t.challengeCrawlers=function(t,e){if(t.indexOf("Yahoo")>=0||t.indexOf("help.yahoo.co.jp/help/jp/")>=0||t.indexOf("listing.yahoo.co.jp/support/faq/")>=0){if(t.indexOf("compatible; Yahoo! Slurp")>=0)return m(e,A.get("YahooSlurp")),!0;if(t.indexOf("YahooFeedSeekerJp")>=0||t.indexOf("YahooFeedSeekerBetaJp")>=0)return m(e,A.get("YahooJP")),!0;if(t.indexOf("crawler (http://listing.yahoo.co.jp/support/faq/")>=0||t.indexOf("crawler (http://help.yahoo.co.jp/help/jp/")>=0)return m(e,A.get("YahooJP")),!0;if(t.indexOf("Y!J-BRZ/YATSHA crawler")>=0||t.indexOf("Y!J-BRY/YATSH crawler")>=0)return m(e,A.get("YahooJP")),!0;if(t.indexOf("Yahoo Pipes")>=0)return m(e,A.get("YahooPipes")),!0}return t.indexOf("msnbot")>=0?(m(e,A.get("msnbot")),!0):t.indexOf("bingbot")>=0&&t.indexOf("compatible; bingbot")>=0?(m(e,A.get("bingbot")),!0):t.indexOf("BingPreview")>=0?(m(e,A.get("BingPreview")),!0):t.indexOf("Baidu")>=0&&(t.indexOf("compatible; Baiduspider")>=0||t.indexOf("Baiduspider+")>=0||t.indexOf("Baiduspider-image+")>=0)?(m(e,A.get("Baiduspider")),!0):t.indexOf("Yeti")>=0&&(t.indexOf("http://help.naver.com/robots")>=0||t.indexOf("http://help.naver.com/support/robots.html")>=0||t.indexOf("http://naver.me/bot")>=0)?(m(e,A.get("Yeti")),!0):t.indexOf("FeedBurner/")>=0?(m(e,A.get("FeedBurner")),!0):t.indexOf("facebookexternalhit")>=0?(m(e,A.get("facebook")),!0):t.indexOf("Twitterbot/")>=0?(m(e,A.get("twitter")),!0):t.indexOf("ichiro")>=0&&(t.indexOf("http://help.goo.ne.jp/door/crawler.html")>=0||t.indexOf("compatible; ichiro/mobile goo;")>=0)||t.indexOf("gooblogsearch/")>=0?(m(e,A.get("goo")),!0):t.indexOf("Apple-PubSub")>=0?(m(e,A.get("ApplePubSub")),!0):t.indexOf("(www.radian6.com/crawler)")>=0?(m(e,A.get("radian6")),!0):t.indexOf("Genieo/")>=0?(m(e,A.get("Genieo")),!0):t.indexOf("labs.topsy.com/butterfly/")>=0?(m(e,A.get("topsyButterfly")),!0):t.indexOf("rogerbot/1.0 (http://www.seomoz.org/dp/rogerbot")>=0?(m(e,A.get("rogerbot")),!0):t.indexOf("compatible; AhrefsBot/")>=0?(m(e,A.get("AhrefsBot")),!0):t.indexOf("livedoor FeedFetcher")>=0||t.indexOf("Fastladder FeedFetcher")>=0?(m(e,A.get("livedoorFeedFetcher")),!0):t.indexOf("Hatena ")>=0&&(t.indexOf("Hatena Antenna")>=0||t.indexOf("Hatena Pagetitle Agent")>=0||t.indexOf("Hatena Diary RSS")>=0)?(m(e,A.get("Hatena")),!0):t.indexOf("mixi-check")>=0||t.indexOf("mixi-crawler")>=0||t.indexOf("mixi-news-crawler")>=0?(m(e,A.get("mixi")),!0):t.indexOf("Indy Library")>=0&&t.indexOf("compatible; Indy Library")>=0?(m(e,A.get("IndyLibrary")),!0):t.indexOf("trendictionbot")>=0&&(m(e,A.get("trendictionbot")),!0)},t.challengeMaybeCrawler=function(t,e){return(/(bot|crawler|spider)(?:[-_ .\/;@()]|$)/i.exec(t)||/(?:Rome Client |UnwindFetchor\/|ia_archiver |Summify |PostRank\/)/.exec(t)||t.indexOf("ASP-Ranker Feed Crawler")>=0||/(feed|web) ?parser/i.exec(t)||!!/watch ?dog/i.exec(t))&&(m(e,A.get("VariousCrawler")),!0)}}();var h={};!function(){var t=h;t.challengePlaystation=function(t,e){var n,data=null,r=null;return t.indexOf("PSP (PlayStation Portable);")>=0?(data=A.get("PSP"),(n=/PSP \(PlayStation Portable\); ([.0-9]+)\)/.exec(t))&&(r=n[1])):t.indexOf("PlayStation Vita")>=0?(data=A.get("PSVita"),(n=/PlayStation Vita ([.0-9]+)\)/.exec(t))&&(r=n[1])):t.indexOf("PLAYSTATION 3 ")>=0||t.indexOf("PLAYSTATION 3;")>=0?(data=A.get("PS3"),(n=/PLAYSTATION 3;? ([.0-9]+)\)/.exec(t))&&(r=n[1])):t.indexOf("PlayStation 4 ")>=0&&(data=A.get("PS4"),(n=/PlayStation 4 ([.0-9]+)\)/.exec(t))&&(r=n[1])),!!data&&(m(e,data),r&&C(e,r),!0)},t.challengeNintendo=function(t,e){var data=null;return t.indexOf("Nintendo 3DS;")>=0?data=A.get("Nintendo3DS"):t.indexOf("Nintendo DSi;")>=0?data=A.get("NintendoDSi"):t.indexOf("Nintendo Wii;")>=0?data=A.get("NintendoWii"):t.indexOf("(Nintendo WiiU)")>=0&&(data=A.get("NintendoWiiU")),!!data&&(m(e,data),!0)},t.challengeDigitalTV=function(t,e){var data=null;return t.indexOf("InettvBrowser/")>=0&&(data=A.get("DigitalTV")),!!data&&(m(e,data),!0)}}();var v={};!function(){var t=v;t.challengeDesktopTools=function(t,e){var data=null;return t.indexOf("AppleSyndication/")>=0?data=A.get("SafariRSSReader"):t.indexOf("compatible; Google Desktop/")>=0?data=A.get("GoogleDesktop"):t.indexOf("Windows-RSS-Platform")>=0&&(data=A.get("WindowsRSSReader")),!!data&&(m(e,data),!0)},t.challengeSmartPhonePatterns=function(t,e){var data;return t.indexOf("CFNetwork/")>=0&&(data=A.get("iOS"),y(e,data[A.KEY_CATEGORY]),w(e,data[A.KEY_NAME]),!0)},t.challengeHTTPLibrary=function(t,e){var data,n;return/^(?:Apache-HttpClient\/|Jakarta Commons-HttpClient\/|Java\/)/.exec(t)||/[- ]HttpClient(\/|$)/.exec(t)||t.indexOf("Java(TM) 2 Runtime Environment,")>=0?(data=A.get("HTTPLibrary"),n="Java"):/^Wget/.exec(t)?(data=A.get("HTTPLibrary"),n="wget"):/^(?:libwww-perl|WWW-Mechanize|LWP::Simple|LWP |lwp-trivial)/.exec(t)?(data=A.get("HTTPLibrary"),n="perl"):/^(?:Ruby|feedzirra|Typhoeus)/.exec(t)?(data=A.get("HTTPLibrary"),n="ruby"):/^(?:Python-urllib\/|Twisted )/.exec(t)?(data=A.get("HTTPLibrary"),n="python"):/^(:?PHP|WordPress|CakePHP|PukiWiki|PECL::HTTP)(?:\/| |$)/.exec(t)||/(?:PEAR |)HTTP_Request(?: class|2)/.exec(t)||t.indexOf("PEAR HTTP_Request class;")>=0?(data=A.get("HTTPLibrary"),n="php"):t.indexOf("curl/")>=0&&(data=A.get("HTTPLibrary"),n="curl"),!!data&&(m(e,data),E(e,n),!0)},t.challengeMaybeRSSReader=function(t,e){var data=null;return(/rss(?:reader|bar|[-_ \/;()]|[ +]*\/)/i.exec(t)||/headline-reader/i.exec(t)||t.indexOf("cococ/")>=0)&&(data=A.get("VariousRSSReader")),!!data&&(m(e,data),!0)}}();var B={};!function(){var t=B;t.VERSION=n,t.parse=function(t){return function(t){t[A.ATTRIBUTE_NAME]||(t[A.ATTRIBUTE_NAME]=A.VALUE_UNKNOWN);t[A.ATTRIBUTE_CATEGORY]||(t[A.ATTRIBUTE_CATEGORY]=A.VALUE_UNKNOWN);t[A.ATTRIBUTE_OS]||(t[A.ATTRIBUTE_OS]=A.VALUE_UNKNOWN);t[A.ATTRIBUTE_OS_VERSION]||(t[A.ATTRIBUTE_OS_VERSION]=A.VALUE_UNKNOWN);t[A.ATTRIBUTE_VERSION]||(t[A.ATTRIBUTE_VERSION]=A.VALUE_UNKNOWN);t[A.ATTRIBUTE_VENDOR]||(t[A.ATTRIBUTE_VENDOR]=A.VALUE_UNKNOWN);return t}(function(t){var n={};if(!t||"-"===t)return n;if(e(t,n))return n;if(function(t,e){return!!c.challengeMSIE(t,e)||(!!c.challengeVivaldi(t,e)||(!!c.challengeYandexBrowser(t,e)||(!!c.challengeSafariChrome(t,e)||(!!c.challengeFirefox(t,e)||(!!c.challengeOpera(t,e)||!!c.challengeWebview(t,e))))))}(t,n))return r(t,n),n;return function(t,e){return!!f.challengeDocomo(t,e)||(!!f.challengeAu(t,e)||(!!f.challengeSoftbank(t,e)||(!!f.challengeWillcom(t,e)||!!f.challengeMisc(t,e))))}(t,n)||function(t,e){return!!h.challengePlaystation(t,e)||(!!h.challengeNintendo(t,e)||!!h.challengeDigitalTV(t,e))}(t,n)||function(t,e){return!!v.challengeDesktopTools(t,e)}(t,n)||r(t,n)||function(t,e){!!v.challengeSmartPhonePatterns(t,e)||(!!c.challengeSleipnir(t,e)||(!!v.challengeHTTPLibrary(t,e)||(!!v.challengeMaybeRSSReader(t,e)||d.challengeMaybeCrawler(t,e))))}(t,n),n}(t))},t.isCrawler=function(t){return!!t&&"-"!==t&&e(t,{})};function e(t,e){return!!d.challengeGoogle(t,e)||!!d.challengeCrawlers(t,e)}function r(t,e){return!!l.challengeWindows(t,e)||(!!l.challengeOSX(t,e)||(!!l.challengeLinux(t,e)||(!!l.challengeSmartPhone(t,e)||(!!l.challengeMobilePhone(t,e)||(!!l.challengeAppliance(t,e)||!!l.challengeMisc(t,e))))))}var o={};o[A.ATTRIBUTE_NAME]=A.VALUE_UNKNOWN,o[A.ATTRIBUTE_CATEGORY]=A.VALUE_UNKNOWN,o[A.ATTRIBUTE_OS]=A.VALUE_UNKNOWN,o[A.ATTRIBUTE_OS_VERSION]=A.VALUE_UNKNOWN,o[A.ATTRIBUTE_VERSION]=A.VALUE_UNKNOWN,o[A.ATTRIBUTE_VENDOR]=A.VALUE_UNKNOWN}();var m=o.updateMap,y=o.updateCategory,w=o.updateOs,C=o.updateOsVersion,E=o.updateVersion;void 0===(r=function(){return B}.apply(e,[]))||(t.exports=r)}()},194:function(t,e,n){"use strict";(function(t){var r=n(195),A=setTimeout;function o(t){return Boolean(t&&void 0!==t.length)}function c(){}function l(t){if(!(this instanceof l))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],m(t,this)}function f(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,l._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void h(e.promise,t)}d(e.promise,r)}else(1===t._state?d:h)(e.promise,t._value)}))):t._deferreds.push(e)}function d(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof l)return t._state=3,t._value=e,void v(t);if("function"==typeof n)return void m((r=n,A=e,function(){r.apply(A,arguments)}),t)}t._state=1,t._value=e,v(t)}catch(e){h(t,e)}var r,A}function h(t,e){t._state=2,t._value=e,v(t)}function v(t){2===t._state&&0===t._deferreds.length&&l._immediateFn((function(){t._handled||l._unhandledRejectionFn(t._value)}));for(var i=0,e=t._deferreds.length;i-1&&(line=line.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var e=line.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),n=this.extractLocation(e.pop()),r=e.join(" ")||void 0,A=function(t,e){if("function"==typeof Array.prototype.indexOf)return t.indexOf(e);for(var i=0;i"],n[0])>-1?void 0:n[0];return new t(r,void 0,A,n[1],n[2],line)}),this)},parseFFOrSafari:function(e){return A(o(e.stack.split("\n"),(function(line){return!line.match(r)}),this),(function(line){if(line.indexOf(" > eval")>-1&&(line=line.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===line.indexOf("@")&&-1===line.indexOf(":"))return new t(line);var e=line.split("@"),n=this.extractLocation(e.pop()),r=e.join("@")||void 0;return new t(r,void 0,n[0],n[1],n[2],line)}),this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),A=[],i=2,o=r.length;i/,"$2").replace(/\([^\)]*\)/g,"")||void 0;A.match(/\(([^\)]*)\)/)&&(e=A.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var c=void 0===e||"[arguments not available]"===e?void 0:e.split(",");return new t(o,c,r[0],r[1],r[2],line)}),this)}}})?r.apply(e,A):r)||(t.exports=o)}()},197:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var A=e[r]={i:r,l:!1,exports:{}};return t[r].call(A.exports,A,A.exports,n),A.l=!0,A.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var A in t)n.d(r,A,function(e){return t[e]}.bind(null,A));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(object,t){return Object.prototype.hasOwnProperty.call(object,t)},n.p="",n(n.s="fb15")}({"21a6":function(t,e,n){(function(n){var r,A,o;A=[],void 0===(o="function"==typeof(r=function(){"use strict";function e(b,t,e){var n=new XMLHttpRequest;n.open("GET",b),n.responseType="blob",n.onload=function(){a(n.response,t,e)},n.onerror=function(){console.error("could not download file")},n.send()}function r(a){var b=new XMLHttpRequest;b.open("HEAD",a,!1);try{b.send()}catch(a){}return 200<=b.status&&299>=b.status}function A(a){try{a.dispatchEvent(new MouseEvent("click"))}catch(t){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype?function(b,g,t){var i=o.URL||o.webkitURL,n=document.createElement("a");g=g||b.name||"download",n.download=g,n.rel="noopener","string"==typeof b?(n.href=b,n.origin===location.origin?A(n):r(n.href)?e(b,g,t):A(n,n.target="_blank")):(n.href=i.createObjectURL(b),setTimeout((function(){i.revokeObjectURL(n.href)}),4e4),setTimeout((function(){A(n)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,g,n){if(g=g||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(a,b){return void 0===b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\ufeff",a],{type:a.type}):a}(t,n),g);else if(r(t))e(t,g,n);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout((function(){A(i)}))}}:function(a,b,t,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof a)return e(a,b,t);var g="application/octet-stream"===a.type,r=/constructor/i.test(o.HTMLElement)||o.safari,i=/CriOS\/[\d]+/.test(navigator.userAgent);if((i||g&&r)&&"object"==typeof FileReader){var A=new FileReader;A.onloadend=function(){var a=A.result;a=i?a:a.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=a:location=a,n=null},A.readAsDataURL(a)}else{var c=o.URL||o.webkitURL,l=c.createObjectURL(a);n?n.location=l:location.href=l,n=null,setTimeout((function(){c.revokeObjectURL(l)}),4e4)}});o.saveAs=a.saveAs=a,t.exports=a})?r.apply(e,A):r)||(t.exports=o)}).call(this,n("c8ba"))},"27b5":function(t,e,n){(function(t,n){var r="[object Arguments]",A="[object Map]",o="[object Object]",c="[object Set]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/,d=/^\./,h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,v=/\\(\\)?/g,B=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y[r]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y["[object Function]"]=y[A]=y["[object Number]"]=y[o]=y["[object RegExp]"]=y[c]=y["[object String]"]=y["[object WeakMap]"]=!1;var w="object"==typeof t&&t&&t.Object===Object&&t,C="object"==typeof self&&self&&self.Object===Object&&self,E=w||C||Function("return this")(),Q=e&&!e.nodeType&&e,U=Q&&"object"==typeof n&&n&&!n.nodeType&&n,_=U&&U.exports===Q&&w.process,F=function(){try{return _&&_.binding("util")}catch(t){}}(),x=F&&F.isTypedArray;function S(t,e){for(var n=-1,r=t?t.length:0;++n-1},pt.prototype.set=function(t,e){var data=this.__data__,n=yt(data,t);return n<0?data.push([t,e]):data[n][1]=e,this},gt.prototype.clear=function(){this.__data__={hash:new ht,map:new(Z||pt),string:new ht}},gt.prototype.delete=function(t){return Ot(this,t).delete(t)},gt.prototype.get=function(t){return Ot(this,t).get(t)},gt.prototype.has=function(t){return Ot(this,t).has(t)},gt.prototype.set=function(t,e){return Ot(this,t).set(t,e),this},vt.prototype.add=vt.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},vt.prototype.has=function(t){return this.__data__.has(t)},Bt.prototype.clear=function(){this.__data__=new pt},Bt.prototype.delete=function(t){return this.__data__.delete(t)},Bt.prototype.get=function(t){return this.__data__.get(t)},Bt.prototype.has=function(t){return this.__data__.has(t)},Bt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof pt){var r=n.__data__;if(!Z||r.length<199)return r.push([t,e]),this;n=this.__data__=new gt(r)}return n.set(t,e),this};var wt,bt=function(object,t,e){for(var n=-1,r=Object(object),A=e(object),o=A.length;o--;){var c=A[wt?o:++n];if(!1===t(r[c],c,r))break}return object};function Ct(object,path){for(var t=0,e=(path=It(path,object)?[path]:xt(path)).length;null!=object&&tl))return!1;var d=o.get(t);if(d&&o.get(e))return d==e;var h=-1,v=!0,B=1&A?new vt:void 0;for(o.set(t,e),o.set(e,t);++h-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}function Yt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Xt(t){return!!t&&"object"==typeof t}function Jt(t){return"symbol"==typeof t||Xt(t)&&"[object Symbol]"==z.call(t)}var $t=x?function(t){return function(e){return t(e)}}(x):function(t){return Xt(t)&&Gt(t.length)&&!!y[z.call(t)]};function qt(object){return Vt(object)?mt(object):Ft(object)}function Zt(t){return t}n.exports=function(object,t){var e={};return t=_t(t),function(object,t){object&&bt(object,t,qt)}(object,(function(n,r,object){e[t(n,r,object)]=n})),e}}).call(this,n("c8ba"),n("62e4")(t))},"369b":function(t,e,n){var r,A,o;A=[],void 0===(o="function"==typeof(r=function s(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},e=!t.document&&!!t.postMessage,n=e&&/blob:/i.test((t.location||{}).protocol),a={},r=0,b={parse:function(e,n){var i=(n=n||{}).dynamicTyping||!1;if(q(i)&&(n.dynamicTypingFunction=i,i={}),n.dynamicTyping=i,n.transform=!!q(n.transform)&&n.transform,n.worker&&b.WORKERS_SUPPORTED){var A=function(){if(!b.WORKERS_SUPPORTED)return!1;var i,e,n=(i=t.URL||t.webkitURL||null,e=s.toString(),b.BLOB_URL||(b.BLOB_URL=i.createObjectURL(new Blob(["(",e,")();"],{type:"text/javascript"})))),A=new t.Worker(n);return A.onmessage=d,A.id=r++,a[A.id]=A}();return A.userStep=n.step,A.userChunk=n.chunk,A.userComplete=n.complete,A.userError=n.error,n.step=q(n.step),n.chunk=q(n.chunk),n.complete=q(n.complete),n.error=q(n.error),delete n.worker,void A.postMessage({input:e,config:n,workerId:A.id})}var l=null;return b.NODE_STREAM_INPUT,"string"==typeof e?l=n.download?new o(n):new p(n):!0===e.readable&&q(e.read)&&q(e.on)?l=new g(n):(t.File&&e instanceof File||e instanceof Object)&&(l=new c(n)),l.stream(e)},unparse:function(t,e){var n=!1,r=!0,A=",",o="\r\n",s='"',a=s+s,i=!1,c=null;!function(){if("object"==typeof e){if("string"!=typeof e.delimiter||b.BAD_DELIMITERS.filter((function(t){return-1!==e.delimiter.indexOf(t)})).length||(A=e.delimiter),("boolean"==typeof e.quotes||"function"==typeof e.quotes||Array.isArray(e.quotes))&&(n=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(i=e.skipEmptyLines),"string"==typeof e.newline&&(o=e.newline),"string"==typeof e.quoteChar&&(s=e.quoteChar),"boolean"==typeof e.header&&(r=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");c=e.columns}void 0!==e.escapeChar&&(a=e.escapeChar+s)}}();var f=new RegExp(l(s),"g");if("string"==typeof t&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return u(null,t,i);if("object"==typeof t[0])return u(c||d(t[0]),t,i)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:d(t.data[0])),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),u(t.fields||[],t.data||[],i);throw new Error("Unable to serialize unrecognized input");function d(t){if("object"!=typeof t)return[];var e=[];for(var i in t)e.push(i);return e}function u(t,e,i){var n="";"string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e));var c=Array.isArray(t)&&0=this._config.preview;if(n)t.postMessage({results:o,workerId:b.WORKER_ID,finished:a});else if(q(this._config.chunk)&&!r){if(this._config.chunk(o,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);o=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(o.data),this._completeResults.errors=this._completeResults.errors.concat(o.errors),this._completeResults.meta=o.meta),this._completed||!a||!q(this._config.complete)||o&&o.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),a||o&&o.meta.paused||this._nextChunk(),o}this._halted=!0},this._sendError=function(e){q(this._config.error)?this._config.error(e):n&&this._config.error&&t.postMessage({workerId:b.WORKER_ID,error:e,finished:!1})}}function o(t){var n;(t=t||{}).chunkSize||(t.chunkSize=b.RemoteChunkSize),u.call(this,t),this._nextChunk=e?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(n=new XMLHttpRequest,this._config.withCredentials&&(n.withCredentials=this._config.withCredentials),e||(n.onload=m(this._chunkLoaded,this),n.onerror=m(this._chunkError,this)),n.open("GET",this._input,!e),this._config.downloadRequestHeaders){var t=this._config.downloadRequestHeaders;for(var r in t)n.setRequestHeader(r,t[r])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;n.setRequestHeader("Range","bytes="+this._start+"-"+i)}try{n.send()}catch(t){this._chunkError(t.message)}e&&0===n.status&&this._chunkError()}},this._chunkLoaded=function(){4===n.readyState&&(n.status<200||400<=n.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:n.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(t){var e=t.getResponseHeader("Content-Range");return null===e?-1:parseInt(e.substring(e.lastIndexOf("/")+1))}(n),this.parseChunk(n.responseText)))},this._chunkError=function(t){var e=n.statusText||t;this._sendError(new Error(e))}}function c(t){var e,n;(t=t||{}).chunkSize||(t.chunkSize=b.LocalChunkSize),u.call(this,t);var s="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,n=t.slice||t.webkitSlice||t.mozSlice,s?((e=new FileReader).onload=m(this._chunkLoaded,this),e.onerror=m(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function p(t){var i;u.call(this,t=t||{}),this.stream=function(t){return i=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t,e=this._config.chunkSize;return e?(t=i.substring(0,e),i=i.substring(e)):(t=i,i=""),this._finished=!i,this.parseChunk(t)}}}function g(t){u.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&1===e.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=m((function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}}),this),this._streamError=m((function(t){this._streamCleanUp(),this._sendError(t)}),this),this._streamEnd=m((function(){this._streamCleanUp(),n=!0,this._streamData("")}),this),this._streamCleanUp=m((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function i(t){var a,e,n,r=Math.pow(2,53),A=-r,s=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,u=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,o=this,i=0,c=0,d=!1,h=!1,v=[],m={data:[],errors:[],meta:{}};if(q(t.step)){var p=t.step;t.step=function(n){if(m=n,w())g();else{if(g(),0===m.data.length)return;i+=n.data.length,t.preview&&i>t.preview?e.abort():(m.data=m.data[0],p(m,o))}}}function y(e){return"greedy"===t.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function g(){if(m&&n&&(E("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+b.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines)for(var e=0;e=v.length?"__parsed_extra":v[i]),t.transform&&(s=t.transform(s,A)),s=C(A,s),"__parsed_extra"===A?(r[A]=r[A]||[],r[A].push(s)):r[A]=s}return t.header&&(i>v.length?E("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+i,c+n):i=n.length/2?"\r\n":"\r"}(r,o)),n=!1,t.delimiter)q(t.delimiter)&&(t.delimiter=t.delimiter(r),m.meta.delimiter=t.delimiter);else{var c=function(e,n,i,r,A){var s,a,o,c;A=A||[",","\t","|",";",b.RECORD_SEP,b.UNIT_SEP];for(var u=0;u=c)return k(!0)}else for(x=h,h++;;){if(-1===(x=a.indexOf(e,x+1)))return i||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:C.length,index:h}),T();if(x===B-1)return T(a.substring(h,x).replace(F,e));if(e!==d||a[x+1]!==d){if(e===d||0===x||a[x-1]!==d){-1!==p&&p=c)return k(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:C.length,index:h}),x++}}else x++}return T();function b(t){C.push(t),Q=h}function H(t){var e=0;if(-1!==t){var i=a.substring(x+1,t);i&&""===i.trim()&&(e=i.length)}return e}function T(t){return i||(void 0===t&&(t=a.substring(h)),E.push(t),h=B,b(E),w&&M()),k()}function I(t){h=t,b(E),E=[],g=a.indexOf(r,h)}function k(e){return{data:C,errors:u,meta:{delimiter:n,linebreak:r,aborted:v,truncated:!!e,cursor:Q+(t||0)}}}function M(){o(k()),C=[],u=[]}function L(t,r,i){var A={nextDelim:void 0,quoteSearch:void 0},o=a.indexOf(e,r+1);if(r-1&&t%1==0&&t<=9007199254740991}(t.length)&&!function(t){var e=function(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}(t)?d.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)}(t)}(t)&&f.call(t,"callee")&&(!v.call(t,"callee")||"[object Arguments]"==d.call(t))}(t)||!!(B&&t&&t[B])}function w(t){if("string"==typeof t||function(t){return"symbol"==typeof t||E(t)&&"[object Symbol]"==d.call(t)}(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}var C=Array.isArray;function E(t){return!!t&&"object"==typeof t}var Q,U,_=(Q=function(object,t){return null==object?{}:function(object,t){return function(object,t,e){for(var n=-1,r=t.length,A={};++n0&&r(d)?n>1?t(d,n-1,r,A,o):c(o,d):A||(o[o.length]=d)}return o}(t,1),w))},U=m(void 0===U?Q.length-1:U,0),function(){for(var t=arguments,e=-1,n=m(t.length-U,0),r=Array(n);++el))return!1;var d=o.get(t);if(d&&o.get(e))return d==e;var h=-1,v=!0,B=1&A?new mt:void 0;for(o.set(t,e),o.set(e,t);++h-1},vt.prototype.set=function(t,e){var data=this.__data__,n=bt(data,t);return n<0?data.push([t,e]):data[n][1]=e,this},Bt.prototype.clear=function(){this.__data__={hash:new gt,map:new(et||vt),string:new gt}},Bt.prototype.delete=function(t){return Nt(this,t).delete(t)},Bt.prototype.get=function(t){return Nt(this,t).get(t)},Bt.prototype.has=function(t){return Nt(this,t).has(t)},Bt.prototype.set=function(t,e){return Nt(this,t).set(t,e),this},mt.prototype.add=mt.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},mt.prototype.has=function(t){return this.__data__.has(t)},yt.prototype.clear=function(){this.__data__=new vt},yt.prototype.delete=function(t){return this.__data__.delete(t)},yt.prototype.get=function(t){return this.__data__.get(t)},yt.prototype.has=function(t){return this.__data__.has(t)},yt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof vt){var r=n.__data__;if(!et||r.length<199)return r.push([t,e]),this;n=this.__data__=new Bt(r)}return n.set(t,e),this};var Tt=$?T($,Object):oe,It=$?function(object){for(var t=[];object;)S(t,Tt(object)),object=Y(object);return t}:oe,kt=function(t){return z.call(t)};function Mt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||m.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}function qt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Zt(t){return!!t&&"object"==typeof t}function te(t){return"symbol"==typeof t||Zt(t)&&"[object Symbol]"==z.call(t)}var ee,ne=x?(ee=x,function(t){return ee(t)}):function(t){return Zt(t)&&$t(t.length)&&!!y[z.call(t)]};function re(object){return Xt(object)?wt(object):function(object){if(!Dt(object))return Z(object);var t=[];for(var e in Object(object))j.call(object,e)&&"constructor"!=e&&t.push(e);return t}(object)}function Ae(object){return Xt(object)?wt(object,!0):Ft(object)}function ie(t){return t}function oe(){return[]}n.exports=function(object,t){return null==object?{}:function(object,t,e){for(var n=-1,r=t.length,A={};++ntypeof t===e;var B={name:"JsonCSV",props:{data:{type:Array,required:!0},fields:{required:!1},name:{type:String,default:"data.csv"},delimiter:{type:String,default:",",required:!1},separatorExcel:{type:Boolean,default:!1},encoding:{type:String,default:"utf-8"},advancedOptions:{type:Object,default:()=>{}},labels:{required:!1},testing:{required:!1,default:!1}},computed:{idName:()=>"export_"+(new Date).getTime(),exportableData(){const t=this.cleaningData();return t.length?t:null}},methods:{labelsFunctionGenerator(){if(!v(this.labels,"undefined")&&!v(this.labels,"function")&&!v(this.labels,"object"))throw new Error("Labels needs to be a function(value,key) or object.");return v(this.labels,"function")?t=>A()(t,this.labels):v(this.labels,"object")?t=>A()(t,(t,e)=>this.labels[e]||e):t=>t},fieldsFunctionGenerator(){if(!(v(this.fields,"undefined")||v(this.fields,"function")||v(this.fields,"object")||Array.isArray(this.fields)))throw new Error("Fields needs to be a function(value,key) or array.");return v(this.fields,"function")||v(this.fields,"object")&&!Array.isArray(this.fields)?t=>c()(t,this.fields):Array.isArray(this.fields)?t=>f()(t,this.fields):t=>t},cleaningData(){if(v(this.fields,"undefined")&&v(this.labels,"undefined"))return this.data;const t=this.labelsFunctionGenerator(),e=this.fieldsFunctionGenerator();return this.data.map(n=>t(e(n)))},generate(){this.$emit("export-started");const t=this.exportableData;if(!t)return void console.error("No data to export");let e=Object(h.unparse)(t,Object.assign({delimiter:this.delimiter,encoding:this.encoding},this.advancedOptions));if(this.separatorExcel&&(e="SEP="+this.delimiter+"\r\n"+e),"utf-8"===this.encoding&&(e="\ufeff"+e),this.$emit("export-finished"),!this.testing){let t=new Blob([e],{type:"application/csvcharset="+this.encoding});Object(d.saveAs)(t,this.name)}}}};n("c9b4");var m=function(t,e,n,r,A,o,c,l){var f,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),c?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),A&&A.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},d._ssrRegister=f):A&&(f=l?function(){A.call(this,this.$root.$options.shadowRoot)}:A),f)if(d.functional){d._injectStyles=f;var h=d.render;d.render=function(t,e){return f.call(e),h(t,e)}}else{var v=d.beforeCreate;d.beforeCreate=v?[].concat(v,f):[f]}return{exports:t,options:d}}(B,(function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:this.idName},on:{click:this.generate}},[this._t("default",[this._v("Download "+this._s(this.name))])],2)}),[],!1,null,"38979de7",null).exports;n.d(e,"isType",(function(){return v}));e.default=m}}).default},198:function(t,e,n){var r;r=function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var A=e[r]={i:r,l:!1,exports:{}};return t[r].call(A.exports,A,A.exports,n),A.l=!0,A.exports}return n.m=t,n.c=e,n.i=function(t){return t},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(object,t){return Object.prototype.hasOwnProperty.call(object,t)},n.p="/dist/",n(n.s=2)}([function(t,e){t.exports=function(t,e,n,r){var A,o=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(A=t,o=t.default);var l="function"==typeof o?o.options:o;if(e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns),n&&(l._scopeId=n),r){var f=Object.create(l.computed||null);Object.keys(r).forEach((function(t){var e=r[t];f[t]=function(){return e}})),l.computed=f}return{esModule:A,exports:o,options:l}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n(20),A=new(n.n(r).a)({name:"vue-notification"})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),A=n.n(r),o=n(1),c="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},l={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.installed){this.installed=!0,this.params=e,t.component(e.componentName||"notifications",A.a);var n=function(t){"string"==typeof t&&(t={title:"",text:t}),"object"===(void 0===t?"undefined":c(t))&&o.a.$emit("add",t)};n.close=function(t){o.a.$emit("close",t)};var r=e.name||"notify";t.prototype["$"+r]=n,t[r]=n}}};e.default=l},function(t,e,n){n(17);var r=n(0)(n(5),n(15),null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"CssGroup",props:["name"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),A=n(1),o=n(9),c=n(7),l=n(13),f=n.n(l),d=n(12),h=n.n(d),v=n(8),B=0,m=2,y={name:"Notifications",components:{VelocityGroup:f.a,CssGroup:h.a},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:function(){return c.a.position}},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css",validator:function(t){return"css"===t||"velocity"===t}},animation:{type:Object,default:function(){return c.a.velocityAnimation}},animationName:{type:String,default:c.a.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0}},data:function(){return{list:[],velocity:r.default.params.velocity}},mounted:function(){A.a.$on("add",this.addItem),A.a.$on("close",this.closeItem)},computed:{actualWidth:function(){return n.i(v.a)(this.width)},isVA:function(){return"velocity"===this.animationType},componentName:function(){return this.isVA?"VelocityGroup":"CssGroup"},styles:function(){var t,e,r,A=n.i(o.a)(this.position),c=A.x,l=A.y,f=this.actualWidth.value,d=this.actualWidth.type,h=(r="0px",(e=l)in(t={width:f+d})?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t);return"center"===c?h.left="calc(50% - "+f/2+d+")":h[c]="0px",h},active:function(){return this.list.filter((function(t){return t.state!==m}))},botToTop:function(){return this.styles.hasOwnProperty("bottom")}},methods:{destroyIfNecessary:function(t){this.closeOnClick&&this.destroy(t)},addItem:function(t){var e=this;if(t.group=t.group||"",this.group===t.group)if(t.clean||t.clear)this.destroyAll();else{var r="number"==typeof t.duration?t.duration:this.duration,A="number"==typeof t.speed?t.speed:this.speed,c="boolean"==typeof t.ignoreDuplicates?t.ignoreDuplicates:this.ignoreDuplicates,title=t.title,text=t.text,l=t.type,data=t.data,f={id:t.id||n.i(o.b)(),title:title,text:text,type:l,state:B,speed:A,length:r+2*A,data:data};r>=0&&(f.timer=setTimeout((function(){e.destroy(f)}),f.length));var d=this.reverse?!this.botToTop:this.botToTop,h=-1,v=this.active.some((function(e){return e.title===t.title&&e.text===t.text}));(!c||!v)&&(d?(this.list.push(f),this.active.length>this.max&&(h=0)):(this.list.unshift(f),this.active.length>this.max&&(h=this.active.length-1)),-1!==h&&this.destroy(this.active[h]))}},closeItem:function(t){this.destroyById(t)},notifyClass:function(t){return["vue-notification-template",this.classes,t.type]},notifyWrapperStyle:function(t){return this.isVA?null:{transition:"all "+t.speed+"ms"}},destroy:function(t){clearTimeout(t.timer),t.state=m,this.isVA||this.clean()},destroyById:function(t){var e=this.list.find((function(e){return e.id===t}));e&&this.destroy(e)},destroyAll:function(){this.active.forEach(this.destroy)},getAnimation:function(t,e){var n=this.animation[t];return"function"==typeof n?n.call(this,e):n},enter:function(t){var e=t.el,n=t.complete,r=this.getAnimation("enter",e);this.velocity(e,r,{duration:this.speed,complete:n})},leave:function(t){var e=t.el,n=t.complete,r=this.getAnimation("leave",e);this.velocity(e,r,{duration:this.speed,complete:n})},clean:function(){this.list=this.list.filter((function(t){return t.state!==m}))}}};e.default=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"VelocityGroup",methods:{enter:function(t,e){this.$emit("enter",{el:t,complete:e})},leave:function(t,e){this.$emit("leave",{el:t,complete:e})},afterLeave:function(){this.$emit("afterLeave")}}}},function(t,e,n){"use strict";e.a={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:function(t){return{height:[t.clientHeight,0],opacity:[1,0]}},leave:{height:0,opacity:[0,1]}}}},function(t,e,n){"use strict";var r="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},A=[{name:"px",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+px$")},{name:"%",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+%$")},{name:"px",regexp:new RegExp("^[-+]?[0-9]*.?[0-9]+$")}];e.a=function(t){switch(void 0===t?"undefined":r(t)){case"number":return{type:"px",value:t};case"string":return function(t){if("auto"===t)return{type:t,value:0};for(var i=0;ie.parts.length&&(n.parts.length=e.parts.length)}else{var A=[];for(r=0;ri.parts.length&&(n.parts.length=i.parts.length)}else{var o=[];for(r=0;r0?n:i)(t)}},function(t,e,i){var n=i(34)("keys"),r=i(18);t.exports=function(t){return n[t]||(n[t]=r(t))}},function(t,e,i){var n=i(2),r=i(3),A=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return A[t]||(A[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i(17)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){var n=i(14);t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){t.exports={}},function(t,e,i){var n=i(6).f,r=i(5),A=i(10)("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,A)&&n(t,A,{configurable:!0,value:e})}},function(t,e,i){e.f=i(10)},function(t,e,i){var n=i(3),r=i(2),A=i(17),o=i(40),a=i(6).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=A?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:o.f(t)})}},function(t,e,i){t.exports={default:i(54),__esModule:!0}},function(t,e,i){"use strict";e.__esModule=!0;var n=o(i(66)),r=o(i(11)),A="function"==typeof r.default&&"symbol"==typeof n.default?function(t){return typeof t}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":typeof t};function o(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof r.default&&"symbol"===A(n.default)?function(t){return void 0===t?"undefined":A(t)}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":void 0===t?"undefined":A(t)}},function(t,e,i){var n=i(5),r=i(7),A=i(56)(!1),o=i(33)("IE_PROTO");t.exports=function(t,e){var i,a=r(t),s=0,c=[];for(i in a)i!=o&&n(a,i)&&c.push(i);for(;e.length>s;)n(a,i=e[s++])&&(~A(c,i)||c.push(i));return c}},function(t,e,i){var n=i(46);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){t.exports=!i(4)&&!i(9)((function(){return 7!=Object.defineProperty(i(48)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,i){var n=i(14),r=i(3).document,A=n(r)&&n(r.createElement);t.exports=function(t){return A?r.createElement(t):{}}},function(t,e,i){"use strict";var n=i(17),r=i(13),A=i(50),o=i(8),a=i(38),s=i(70),c=i(39),l=i(73),u=i(10)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,i,h,g,p,v){s(i,e,h);var b,B,m,y=function(t){if(!f&&t in Q)return Q[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},w=e+" Iterator",C="values"==g,E=!1,Q=t.prototype,U=Q[u]||Q["@@iterator"]||g&&Q[g],_=U||y(g),F=g?C?y("entries"):_:void 0,x="Array"==e&&Q.entries||U;if(x&&(m=l(x.call(new t)))!==Object.prototype&&m.next&&(c(m,w,!0),n||"function"==typeof m[u]||o(m,u,d)),C&&U&&"values"!==U.name&&(E=!0,_=function(){return U.call(this)}),n&&!v||!f&&!E&&Q[u]||o(Q,u,_),a[e]=_,a[w]=d,g)if(b={values:C?_:y("values"),keys:p?_:y("keys"),entries:F},v)for(B in b)B in Q||A(Q,B,b[B]);else r(r.P+r.F*(f||E),e,b);return b}},function(t,e,i){t.exports=i(8)},function(t,e,i){var n=i(19),r=i(71),A=i(35),o=i(33)("IE_PROTO"),a=function(){},s=function(){var t,e=i(48)("iframe"),n=A.length;for(e.style.display="none",i(72).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("