kiwiirc-custom/dist/static/js/vendor.654dbaa9.js

204 lines
908 KiB
JavaScript
Raw Permalink Normal View History

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["vendor"],{"0040":function(t,e,n){"use strict";var r=function(){};t.exports=function(t){return{filterToEnabled:function(e,n){var o={main:[],facade:[]};return e?"string"===typeof e&&(e=[e]):e=[],t.forEach((function(t){t&&("websocket"!==t.transportName||!1!==n.websocket?e.length&&-1===e.indexOf(t.transportName)?r("not in whitelist",t.transportName):t.enabled(n)?(r("enabled",t.transportName),o.main.push(t),t.facadeTransport&&o.facade.push(t.facadeTransport)):r("disabled",t.transportName):r("disabled from server","websocket"))})),o}}}},"0054":function(t,e,n){var r=n("a5eb"),o=n("9883"),i=n("06fa"),a=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,u=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,f=function(t,e,n){var r=n.charAt(e-1),o=n.charAt(e+1);return u.test(t)&&!c.test(o)||c.test(t)&&!u.test(r)?"\\u"+t.charCodeAt(0).toString(16):t},l=i((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&r({target:"JSON",stat:!0,forced:l},{stringify:function(t,e,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(s,f):r}})},"00ee":function(t,e,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"00fd":function(t,e,n){var r=n("9e69"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;function u(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(u){}var o=a.call(t);return r&&(e?t[s]=n:delete t[s]),o}t.exports=u},"01d0":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var i=n("efb2"),a=new Map([[i.ElementType.Tag,1],[i.ElementType.Script,1],[i.ElementType.Style,1],[i.ElementType.Directive,1],[i.ElementType.Text,3],[i.ElementType.CDATA,4],[i.ElementType.Comment,8],[i.ElementType.Root,9]]),s=function(){function t(t){this.type=t,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){var t;return null!==(t=a.get(this.type))&&void 0!==t?t:1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(t){return void 0===t&&(t=!1),x(this,t)},t}();e.Node=s;var u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.data=n,r}return r(e,t),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t},enumerable:!1,configurable:!0}),e}(s);e.DataNode=u;var c=function(t){function e(e){return t.call(this,i.ElementType.Text,e)||this}return r(e,t),e}(u);e.Text=c;var f=function(t){function e(e){return t.call(this,i.ElementType.Comment,e)||this}return r(e,t),e}(u);e.Comment=f;var l=function(t){function e(e,n){var r=t.call(this,i.ElementType.Directive,n)||this;retur
/*!
* Vue.js v2.6.11
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
var n=Object.freeze({});function r(t){return null==t}function o(t){return null!=t}function i(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function c(t){return"[object Object]"===u.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var v=d("slot,component",!0),g=d("key,ref,slot,slot-scope,is");function b(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(t,e){return m.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,x=_((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),E=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),D=/\B([A-Z])/g,A=_((function(t){return t.replace(D,"-$1").toLowerCase()})),C=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function S(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function F(t,e){for(var n in e)t[n]=e[n];return t}function k(t){for(var e={},n=0;n<t.length;n++)t[n]&&F(e,t[n]);return e}function O(t,e,n){}var T=function(t,e,n){return!1},R=function(t){return t};function j(t,e){if(t===e)return!0;var n=s(t),r=s(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every((function(t,n){return j(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),u=Object.keys(e);return a.length===u.length&&a.every((function(n){return j(t[n],e[n])}))}catch(t){return!1}}function L(t,e){for(var n=0;n<t.length;n++)if(j(t[n],e))return n;return-1}function P(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var N="data-server-rendered",I=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],M={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:T,isReservedAttr:T,isUnknownElement:T,getTagNamespace:O,parsePlatformTagName:R,mustUseProp:T,async:!0,_lifecycleHooks:B},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function $(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var q,z=new RegExp("[^"+U.source+".$_\\d]"),H="__proto__"in{},V="undefined"!=typeof window,W="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,G=W&&WXEnvironment.platform.toLowerCase(),Y=V&&window.navigator.userAgent.toLowerCase(),X=Y&&/msie|trident/.test(Y),J=Y&&Y.indexOf("msie 9.0")>0,K=Y&&Y.indexOf("edge/")>0,Z=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===G),Q=(Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(V)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(n){}var rt=function(){return void 0===q&&(q=!V&&!W&&"undefined"!=typeof e&&e.process&&"server"===e.process.env.VUE_ENV),q},ot=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function it(t){return"function"==typeof t&&/native code/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var i,a="4.17.19",s=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="__lodash_hash_undefined__",l=500,p="__lodash_placeholder__",h=1,d=2,v=4,g=1,b=2,m=1,y=2,_=4,w=8,x=16,E=32,D=64,A=128,C=256,S=512,F=30,k="...",O=800,T=16,R=1,j=2,L=3,P=1/0,N=9007199254740991,I=17976931348623157e292,B=NaN,M=4294967295,U=M-1,$=M>>>1,q=[["ary",A],["bind",m],["bindKey",y],["curry",w],["curryRight",x],["flip",S],["partial",E],["partialRight",D],["rearg",C]],z="[object Arguments]",H="[object Array]",V="[object AsyncFunction]",W="[object Boolean]",G="[object Date]",Y="[object DOMException]",X="[object Error]",J="[object Function]",K="[object GeneratorFunction]",Z="[object Map]",Q="[object Number]",tt="[object Null]",et="[object Object]",nt="[object Promise]",rt="[object Proxy]",ot="[object RegExp]",it="[object Set]",at="[object String]",st="[object Symbol]",ut="[object Undefined]",ct="[object WeakMap]",ft="[object WeakSet]",lt="[object ArrayBuffer]",pt="[object DataView]",ht="[object Float32Array]",dt="[object Float64Array]",vt="[object Int8Array]",gt="[object Int16Array]",bt="[object Int32Array]",mt="[object Uint8Array]",yt="[object Uint8ClampedArray]",_t="[object Uint16Array]",wt="[object Uint32Array]",xt=/\b__p \+= '';/g,Et=/\b(__p \+=) '' \+/g,Dt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,At=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,St=RegExp(At.source),Ft=RegExp(Ct.source),kt=/<%-([\s\S]+?)%>/g,Ot=/<%([\s\S]+?)%>/g,Tt=/<%=([\s\S]+?)%>/g,Rt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jt=/^\w*$/,Lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pt=/[\\^$.*+?()[\]{}|]/g,Nt=RegExp(Pt.source),It=/^\s+|\s+$/g,Bt=/^\s+/,Mt=/\s+$/,Ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$t=/\{\n\/\* \[wrapped with (.+)\] \*/,qt=/,? & /,zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ht=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wt=/\w*$/,Gt=/^[-+]0x[0-9a-f]+$/i,Yt=/^0b[01]+$/i,Xt=/^\[object .+?Constructor\]$/,Jt=/^0o[0-7]+$/i,Kt=/^(?:0|[1-9]\d*)$/,Zt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qt=/($^)/,te=/['\n\r\u2028\u2029\\]/g,ee="\\ud800-\\udfff",ne="\\u0300-\\u036f",re="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",ie=ne+re+oe,ae="\\u2700-\\u27bf",se="a-z\\xdf-\\xf6\\xf8-\\xff",ue="\\xac\\xb1\\xd7\\xf7",ce="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fe="\\u2000-\\u206f",le=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="A-Z\\xc0-\\xd6\\xd8-\\xde",he="\\ufe0e\\ufe0f",de=ue+ce+fe+le,ve="[']",ge="["+ee+"]",be="["+de+"]",me="["+ie+"]",ye="\\d+",_e="["+ae+"]",we="["+se+"]",xe="[^"+ee+de+ye+ae+se+pe+"]",Ee="\\ud83c[\\udffb-\\udfff]",De="(?:"+me+"|"+Ee+")",Ae="[^"+ee+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Fe="["+pe+"]",ke="\\u200d",Oe="(?:"+we+"|"+xe+")",Te="(?:"+Fe+"|"+xe+")",Re="(?:"+ve+"(?:d|ll|m|re|s|t|ve))?",je="(?:"+ve+"(?:D|LL|M|RE|S|T|VE))?",Le=De+"?",Pe="["+he+"]?",Ne="(?:"+ke+"(?:"+[Ae,Ce,Se].join("|")+")"+Pe+Le+")*",Ie="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Be="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Me=Pe+Le+Ne,Ue="(?:"+[_e,Ce,Se].join("|")+")"+Me,$e="(?:"+[Ae+me+"?",me,Ce,Se,ge].join("|")+")",qe=RegExp(ve,"g"),ze=RegExp(me,"g"),He=RegExp(Ee+"(?="+Ee+")|"+$e+Me,"g"),Ve=RegExp([Fe+"?"+we+"+"+Re+"(?="+[be,Fe,"$"].join("|")+")",Te+"+"+je+"(?="+[be,Fe+Oe,"$"].join("|")+")",Fe+"?"+Oe+"+"+Re,Fe+"+"+je,Be,Ie,ye,Ue].join("|"),"g"),We=RegExp("["+ke+ee+ie+he+"]"),Ge=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ye=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xe=-1,Je={};Je[ht]=Je[dt]=Je[vt]=Je[gt]=Je[bt]=Je[mt]=Je[yt]=Je[_t]=Je[wt]=!0,Je[z]=Je[H]=Je[lt]=Je[W]=Je[pt]=
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
var r=n("b639"),o=r.Buffer;function i(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return o(t,e,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return o(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=o(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return o(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},"872a":function(t,e,n){var r=n("3b4a");function o(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}t.exports=o},8730:function(t,e,n){var r=n("100e"),o=n("d10d"),i=r(o);t.exports=i},8925:function(t,e,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"898c":function(t,e,n){t.exports=n("16f1")},"89b6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var r=n("a16e"),o=n("051a");function i(t,e){return(!e||e<=0?r.decodeXML:r.decodeHTML)(t)}function a(t,e){return(!e||e<=0?r.decodeXML:r.decodeHTMLStrict)(t)}function s(t,e){return(!e||e<=0?o.encodeXML:o.encodeHTML)(t)}e.decode=i,e.decodeStrict=a,e.encode=s;var u=n("051a");Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var c=n("a16e");Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return c.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return c.decodeXML}})},"89ba":function(t,e,n){"use strict";var r=n("2d80"),o=n("1bd5");r(e,"__esModule",{value:!0}),e.default=s;var i=o(n("62fc"));function a(t,e,n,r,o,a,s){try{var u=t[a](s),c=u.value}catch(f){return void n(f)}u.done?e(c):i.default.resolve(c).then(r,o)}function s(t){return function(){var e=this,n=arguments;return new i.default((function(r,o){var i=t.apply(e,n);function s(t){a(i,r,o,s,u,"next",t)}function u(t){a(i,r,o,s,u,"throw",t)}s(void 0)}))}}},"89bc":function(t,e,n){"use strict";var r=n("ada0").EventEmitter,o=n("3fb5"),i=n("930c"),a=n("d5e5"),s=function(){};function u(t,e){r.call(this);var n=this,o=+new Date;this.xo=new e("GET",t),this.xo.once("finish",(function(t,e){var r,u;if(200===t){if(u=+new Date-o,e)try{r=i.parse(e)}catch(c){s("bad json",e)}a.isObject(r)||(r={})}n.emit("finish",r,u),n.removeAllListeners()}))}o(u,r),u.prototype.close=functio
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
e.read=function(t,e,n,r,o){var i,a,s=8*o-r-1,u=(1<<s)-1,c=u>>1,f=-7,l=n?o-1:0,p=n?-1:1,h=t[e+l];for(l+=p,i=h&(1<<-f)-1,h>>=-f,f+=s;f>0;i=256*i+t[e+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=r;f>0;a=256*a+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=c}return(h?-1:1)*a*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var a,s,u,c=8*i-o-1,f=(1<<c)-1,l=f>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+l>=1?p/u:p*Math.pow(2,1-l),e*u>=2&&(a++,u/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(e*u-1)*Math.pow(2,o),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[n+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[n+h]=255&a,h+=d,a/=256,c-=8);t[n+h-d]|=128*v}},"91e9":function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},9263:function(t,e,n){"use strict";var r=n("ad6d"),o=n("9f7f"),i=n("5692"),a=n("7c73"),s=n("69f3").get,u=n("fce3"),c=n("107c"),f=RegExp.prototype.exec,l=i("native-string-replace",String.prototype.replace),p=f,h=function(){var t=/a/,e=/b*/g;return f.call(t,"a"),f.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),d=o.UNSUPPORTED_Y||o.BROKEN_CARET,v=void 0!==/()??/.exec("")[1],g=h||v||d||u||c;g&&(p=function(t){var e,n,o,i,u,c,g,b=this,m=s(b),y=m.raw;if(y)return y.lastIndex=b.lastIndex,e=p.call(y,t),b.lastIndex=y.lastIndex,e;var _=m.groups,w=d&&b.sticky,x=r.call(b),E=b.source,D=0,A=t;if(w&&(x=x.replace("y",""),-1===x.indexOf("g")&&(x+="g"),A=String(t).slice(b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&"\n"!==t[b.lastIndex-1])&&(E="(?: "+E+")",A=" "+A,D++),n=new RegExp("^(?:"+E+")",x)),v&&(n=new RegExp("^"+E+"$(?!\\s)",x)),h&&(o=b.lastIndex),i=f.call(w?n:b,A),w?i?(i.input=i.input.slice(D),i[0]=i[0].slice(D),i.index=b.lastIndex,b.lastIndex+=i[0].length):b.lastIndex=0:h&&i&&(b.lastIndex=b.global?i.index+i[0].length:o),v&&i&&i.length>1&&l.call(i[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(i[u]=void 0)})),i&&_)for(i.groups=c=a(null),u=0;u<_.length;u++)g=_[u],c[g[0]]=i[g[1]];return i}),t.exports=p},"92cd":function(t,e,n){n("1d3a");var r=n("a169");t.exports=r("Array").slice},"930c":function(t,e,n){(function(t,r){var o;/*! JSON v3.3.2 | https://bestiejs.github.io/json3 | Copyright 2012-2015, Kit Cambridge, Benjamin Tan | http://kit.mit-license.org */(function(){var i=n("3c35"),a={function:!0,object:!0},s=a[typeof e]&&e&&!e.nodeType&&e,u=a[typeof window]&&window||this,c=s&&a[typeof t]&&t&&!t.nodeType&&"object"==typeof r&&r;function f(t,e){t||(t=u.Object()),e||(e=u.Object());var n=t.Number||u.Number,r=t.String||u.String,o=t.Object||u.Object,i=t.Date||u.Date,s=t.SyntaxError||u.SyntaxError,c=t.TypeError||u.TypeError,l=t.Math||u.Math,p=t.JSON||u.JSON;"object"==typeof p&&p&&(e.stringify=p.stringify,e.parse=p.parse);var h,d=o.prototype,v=d.toString,g=d.hasOwnProperty;function b(t,e){try{t()}catch(n){e&&e()}}var m=new i(-0xc782b5b800cec);function y(t){if(null!=y[t])return y[t];var o;if("bug-string-char-index"==t)o="a"!="a"[0];else if("json"==t)o=y("json-stringify")&&y("date-serialization")&&y("json-parse");else if("date-serialization"==t){if(o=y("json-stringify")&&m,o){var a=e.stringify;b((function(){o='"-271821-04-20T00:00:00.000Z"'==a(new i(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==a(new i(864e13))&&'"-000001-01-01T00:00:00.000Z"'==a(new i(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==a(new i(-1))}))}}else{var s,u='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==t){a=e.stringify;var c="function"==typeof a;c&&((s=function(){return 1}).toJSON=s,b((function(){c="0"===a(0)&&"0"===a(new n)&&'""'==a(new r)&&a(v)===h&&a(h)===h&&a()===h&&"1"===a(s)&&"[1]"==a([s])&&"[null]"==a([h])&&"null"==a(null)&&"[null,null,null]"==a([h,v,null])&&a({a:[s,!0,!1,null,"\0\b\n\f\r\t"]})==u&&"1"===a(null,s)&&"[\n 1,\n 2\n]"==a([1,2],null,1)}),(function(){c=!1}))),o=c}if("json-parse"==t){var f,l=e.parse;"function"==typeof l&&b((function(){0!==l("0")||l(!1)||(s=l(u),f
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var r=n("1fb5"),o=n("9152"),i=n("e3db");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=c.prototype):(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return f(this,t,e,n)}function f(t,e,n,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?g(t,e,n,r):"string"===typeof e?d(t,e,n):b(t,e)}function l(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function p(t,e,n,r){return l(e),e<=0?u(t,e):void 0!==n?"string"===typeof r?u(t,e).fill(n,r):u(t,e).fill(n):u(t,e)}function h(t,e){if(l(e),t=u(t,e<0?0:0|m(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(e,n);t=u(t,r);var o=t.write(e,n);return o!==r&&(t=t.slice(0,o)),t}function v(t,e){var n=e.length<0?0:0|m(e.length);t=u(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function g(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),c.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=c.prototype):t=v(t,e),t}function b(t,e){if(c.isBuffer(e)){var n=0|m(e.length);return t=u(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?u(t,0):v(t,e);if("Buffer"===e.type&&i(e.data))return v(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function y(t){return+t!=t&&(t=0),c.alloc(+t)}function _(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(r)return J(t).length;e=(""+e).toLowerCase(),r=!0}}function w(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return I(this,e,n);case"utf8":case"utf-8":return R(this,e,n);case"ascii":return P(this,e,n);case"latin1":case"binary":return N(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function x(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function E(t,e,n,r,o){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof e&&(e=c.from(e,r)),c.isBuffer(e))retu
/*!
* Tinycon - A small library for manipulating the Favicon
* Tom Moor, http://tommoor.com
* Copyright (c) 2015 Tom Moor
* @license MIT Licensed
*/(function(){var i={},a=null,s=null,u=null,c=null,f={},l=Math.ceil(window.devicePixelRatio)||1,p=16*l,h={width:7,height:9,font:10*l+"px arial",color:"#ffffff",background:"#F03D25",fallback:!0,crossOrigin:!0,abbreviate:!0},d=function(){var t=navigator.userAgent.toLowerCase();return function(e){return-1!==t.indexOf(e)}}(),v={ie:d("trident"),chrome:d("chrome"),webkit:d("chrome")||d("safari"),safari:d("safari")&&!d("chrome"),mozilla:d("mozilla")&&!d("chrome")&&!d("safari")},g=function(){for(var t=document.getElementsByTagName("link"),e=0,n=t.length;e<n;e++)if((t[e].getAttribute("rel")||"").match(/\bicon\b/i))return t[e];return!1},b=function(){for(var t=document.getElementsByTagName("link"),e=0,n=t.length;e<n;e++){var r="undefined"!==typeof t[e];r&&(t[e].getAttribute("rel")||"").match(/\bicon\b/i)&&t[e].parentNode.removeChild(t[e])}},m=function(){if(!s||!a){var t=g();a=t?t.getAttribute("href"):"/favicon.ico",s||(s=a)}return a},y=function(){return c||(c=document.createElement("canvas"),c.width=p,c.height=p),c},_=function(t){if(t){b();var e=document.createElement("link");e.type="image/x-icon",e.rel="icon",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)}},w=function(t,e){if(!y().getContext||v.ie||v.safari||"force"===f.fallback)return x(t);var n=y().getContext("2d"),r=(e=e||"#000000",m());u=document.createElement("img"),u.onload=function(){n.clearRect(0,0,p,p),n.drawImage(u,0,0,u.width,u.height,0,0,p,p),(t+"").length>0&&E(n,t,e),D()},!r.match(/^data/)&&f.crossOrigin&&(u.crossOrigin="anonymous"),u.src=r},x=function(t){if(f.fallback){var e=document.title;"("===e[0]&&(e=e.slice(e.indexOf(" "))),document.title=(t+"").length>0?"("+t+") "+e:e}},E=function(t,e,n){"number"==typeof e&&e>99&&f.abbreviate&&(e=A(e));var r=(e+"").length-1,o=f.width*l+6*l*r,i=f.height*l,a=p-i,s=p-o-l,u=16*l,c=16*l,h=2*l;t.font=(v.webkit?"bold ":"")+f.font,t.fillStyle=f.background,t.strokeStyle=f.background,t.lineWidth=l,t.beginPath(),t.moveTo(s+h,a),t.quadraticCurveTo(s,a,s,a+h),t.lineTo(s,u-h),t.quadraticCurveTo(s,u,s+h,u),t.lineTo(c-h,u),t.quadraticCurveTo(c,u,c,u-h),t.lineTo(c,a+h),t.quadraticCurveTo(c,a,c-h,a),t.closePath(),t.fill(),t.beginPath(),t.strokeStyle="rgba(0,0,0,0.3)",t.moveTo(s+h/2,u),t.lineTo(c-h/2,u),t.stroke(),t.fillStyle=f.color,t.textAlign="right",t.textBaseline="top",t.fillText(e,2===l?29:15,v.mozilla?7*l:6*l)},D=function(){y().getContext&&_(y().toDataURL())},A=function(t){for(var e=[["G",1e9],["M",1e6],["k",1e3]],n=0;n<e.length;++n)if(t>=e[n][1]){t=C(t/e[n][1])+e[n][0];break}return t},C=function(t,e){var n=new Number(t);return n.toFixed(e)};i.setOptions=function(t){for(var e in f={},t.colour&&(t.color=t.colour),h)f[e]=t.hasOwnProperty(e)?t[e]:h[e];return this},i.setImage=function(t){return a=t,D(),this},i.setBubble=function(t,e){return t=t||"",w(t,e),this},i.reset=function(){a=s,_(s)},i.setOptions(h),r=i,o="function"===typeof r?r.call(e,n,e,t):r,void 0===o||(t.exports=o)})()},b7d1:function(t,e,n){(function(e){function n(t,e){if(r("noDeprecation"))return t;var n=!1;function o(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}return o}function r(t){try{if(!e.localStorage)return!1}catch(r){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(this,n("c8ba"))},b82f:function(t,e,n){n("55d0");var r=n("764b");t.exports=r.Object.assign},b83c:function(t,e,n){var r=n("b887");t.exports=r},b887:function(t,e,n){n("9bb8");var r=n("764b"),o=r.Object,i=t.exports=function(t,e){return o.getOwnPropertyDescriptor(t,e)};o.getOwnPropertyDescriptor.sham&&(i.sham=!0)},b8ce:function(t,e,n){var r=n("38184"),o=4;function i(t){return r(t,o)}t.exports=i},b960:function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"<EFBFBD>
/*!
* css-vars-ponyfill
* v2.3.2
* https://jhildenbiddle.github.io/css-vars-ponyfill/
* (c) 2018-2020 John Hildenbiddle <http://hildenbiddle.com>
* MIT license
*/
function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}function o(t){return i(t)||a(t)||s(t)||c()}function i(t){if(Array.isArray(t))return u(t)}function a(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function s(t,e){if(t){if("string"===typeof t)return u(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)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
/*!
* get-css-data
* v1.8.0
* https://github.com/jhildenbiddle/get-css-data
* (c) 2018-2020 John Hildenbiddle <http://hildenbiddle.com>
* MIT license
*/function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mimeType:e.mimeType||null,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},r=Array.isArray(t)?t:[t],o=Array.apply(null,Array(r.length)).map((function(t){return null}));function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="<"===t.trim().charAt(0);return!e}function a(t,e){n.onError(t,r[e],e)}function s(t,e){var i=n.onSuccess(t,r[e],e);t=!1===i?"":i||t,o[e]=t,-1===o.indexOf(null)&&n.onComplete(o)}var u=document.createElement("a");r.forEach((function(t,e){u.setAttribute("href",t),u.href=String(u.href);var r=Boolean(document.all&&!window.atob),o=r&&u.host.split(":")[0]!==location.host.split(":")[0];if(o){var c=u.protocol===location.protocol;if(c){var f=new XDomainRequest;f.open("GET",t),f.timeout=0,f.onprogress=Function.prototype,f.ontimeout=Function.prototype,f.onload=function(){i(f.responseText)?s(f.responseText,e):a(f,e)},f.onerror=function(t){a(f,e)},setTimeout((function(){f.send()}),0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(t,")")),a(null,e)}else{var l=new XMLHttpRequest;l.open("GET",t),n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.onBeforeSend(l,t,e),l.onreadystatechange=function(){4===l.readyState&&(200===l.status&&i(l.responseText)?s(l.responseText,e):a(l,e))},l.send()}}))}
/**
* Gets CSS data from <style> and <link> nodes (including @imports), then
* returns data in order processed by DOM. Allows specifying nodes to
* include/exclude and filtering CSS data using RegEx.
*
* @preserve
* @param {object} [options] The options object
* @param {object} [options.rootElement=document] Root element to traverse for
* <link> and <style> nodes.
* @param {string} [options.include] CSS selector matching <link> and <style>
* nodes to include
* @param {string} [options.exclude] CSS selector matching <link> and <style>
* nodes to exclude
* @param {object} [options.filter] Regular expression used to filter node CSS
* data. Each block of CSS data is tested against the filter,
* and only matching data is included.
* @param {boolean} [options.skipDisabled=true] Determines if disabled
* stylesheets will be skipped while collecting CSS data.
* @param {boolean} [options.useCSSOM=false] Determines if CSS data will be
* collected from a stylesheet's runtime values instead of its
* text content. This is required to get accurate CSS data
* when a stylesheet has been modified using the deleteRule()
* or insertRule() methods because these modifications will
* not be reflected in the stylesheet's text content.
* @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
* 1) the XHR object, 2) source node reference, and 3) the
* source URL as arguments.
* @param {function} [options.onSuccess] Callback on each CSS node read. Passes
* 1) CSS text, 2) source node reference, and 3) the source
* URL as arguments.
* @param {function} [options.onError] Callback on each error. Passes 1) the XHR
* object for inspection, 2) soure node reference, and 3) the
* source URL that failed (either a <link> href or an @import)
* as arguments
* @param {function} [options.onComplete] Callback after all nodes have been
* processed. Passes 1) concatenated CSS text, 2) an array of
* CSS text in DOM order, and 3) an array of nodes in DOM
* order as arguments.
*
* @example
*
* getCssData({
* rootElement : document,
* include : 'style,link[rel="stylesheet"]',
* exclude : '[href="skip.css"]',
* filter : /red/,
* skipDisabled: true,
* useCSSOM : false,
* onBeforeSend(xhr, node, url) {
* // ...
* }
* onSuccess(cssText, node, url) {
* // ...
* }
* onError(xhr, node, url) {
* // ...
* },
* onComplete(cssText, cssArray, nodeArray) {
* // ...
* }
* });
*/function l(t){var e={cssComments:/\/\*[\s\S]+?\*\//g,cssImports:/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g},n={rootElement:t.rootElement||document,include:t.include||'style,link[rel="stylesheet"]',exclude:t.exclude||null,filter:t.filter||null,skipDisabled:!1!==t.skipDisabled,useCSSOM:t.useCSSOM||!1,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},r=Array.apply(null,n.rootElement.querySelectorAll(n.include)).filter((function(t){return!h(t,n.exclude)})),o=Array.apply(null,Array(r.length)).map((function(t){return null}));function i(){var t=-1===o.indexOf(null);if(t){var e=o.join("");n.onComplete(e,o,r)}}function a(t,e,r,a){var s=n.onSuccess(t,r,a);t=void 0!==s&&!1===Boolean(s)?"":s||t,u(t,r,a,(function(t,a){null===o[e]&&(a.forEach((function(t){return n.onError(t.xhr,r,t.url)})),!n.filter||n.filter.test(t)?o[e]=t:o[e]="",i())}))}function s(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={};return o.rules=(t.replace(e.cssComments,"").match(e.cssImports)||[]).filter((function(t){return-1===r.indexOf(t)})),o.urls=o.rules.map((function(t){return t.replace(e.cssImports,"$1")})),o.absoluteUrls=o.urls.map((function(t){return p(t,n)})),o.absoluteRules=o.rules.map((function(t,e){var r=o.urls[e],i=p(o.absoluteUrls[e],n);return t.replace(r,i)})),o}function u(t,e,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],c=s(t,r,a);c.rules.length?f(c.absoluteUrls,{onBeforeSend:function(t,r,o){n.onBeforeSend(t,e,r)},onSuccess:function(t,r,o){var i=n.onSuccess(t,e,r);t=!1===i?"":i||t;var u=s(t,r,a);return u.rules.forEach((function(e,n){t=t.replace(e,u.absoluteRules[n])})),t},onError:function(n,s,f){i.push({xhr:n,url:s}),a.push(c.rules[f]),u(t,e,r,o,i,a)},onComplete:function(n){n.forEach((function(e,n){t=t.replace(c.rules[n],e)})),u(t,e,r,o,i,a)}}):o(t,i)}r.length?r.forEach((function(t,e){var r=t.getAttribute("href"),s=t.getAttribute("rel"),u="LINK"===t.nodeName&&r&&s&&-1!==s.toLowerCase().indexOf("stylesheet"),c=!1!==n.skipDisabled&&t.disabled,l="STYLE"===t.nodeName;if(u&&!c)f(r,{mimeType:"text/css",onBeforeSend:function(e,r,o){n.onBeforeSend(e,t,r)},onSuccess:function(n,o,i){var s=p(r);a(n,e,t,s)},onError:function(r,a,s){o[e]="",n.onError(r,t,a),i()}});else if(l&&!c){var h=t.textContent;n.useCSSOM&&(h=Array.apply(null,t.sheet.cssRules).map((function(t){return t.cssText})).join("")),a(h,e,t,location.href)}else o[e]="",i()})):n.onComplete("",[])}function p(t,e){var n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),r.href=e||document.baseURI||(document.querySelector("base")||{}).href||location.href,o.href=t,o.href}function h(t,e){var n=t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return n.call(t,e)}n.r(e);var d=v;function v(t,e,n){t instanceof RegExp&&(t=g(t,n)),e instanceof RegExp&&(e=g(e,n));var r=b(t,e,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+t.length,r[1]),post:n.slice(r[1]+e.length)}}function g(t,e){var n=e.match(t);return n?n[0]:null}function b(t,e,n){var r,o,i,a,s,u=n.indexOf(t),c=n.indexOf(e,u+1),f=u;if(u>=0&&c>0){r=[],i=n.length;while(f>=0&&!s)f==u?(r.push(f),u=n.indexOf(t,f+1)):1==r.length?s=[r.pop(),c]:(o=r.pop(),o<i&&(i=o,a=c),c=n.indexOf(e,f+1)),f=u<c&&u>=0?u:c;r.length&&(s=[i,a])}return s}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={preserveStatic:!0,removeComments:!1},o=r({},n,e),i=[];function a(t){throw new Error("CSS parse error: ".concat(t))}function s(e){var n=e.exec(t);if(n)return t=t.slice(n[0].length),n}function u(){return s(/^{\s*/)}function c(){return s(/^}/)}function f(){s(/^\s*/)}function l(){if(f(),"/"===t[0]&&"*"===t[1]){var e=2;while(t[e]&&("*"!==t[e]||"/"!==t[e+1]))e++;if(!t[e])return a("end of comment is missing");var n=t.slice(
/**
* Fetches, parses, and transforms CSS custom properties from specified
* <style> and <link> elements into static values, then appends a new <style>
* element with static values to the DOM to provide CSS custom property
* compatibility for legacy browsers. Also provides a single interface for
* live updates of runtime values in both modern and legacy browsers.
*
* @preserve
* @param {object} [options] Options object
* @param {object} [options.rootElement=document] Root element to traverse for
* <link> and <style> nodes
* @param {boolean} [options.shadowDOM=false] Determines if shadow DOM <link>
* and <style> nodes will be processed.
* @param {string} [options.include="style,link[rel=stylesheet]"] CSS selector
* matching <link re="stylesheet"> and <style> nodes to
* process
* @param {string} [options.exclude] CSS selector matching <link
* rel="stylehseet"> and <style> nodes to exclude from those
* matches by options.include
* @param {object} [options.variables] A map of custom property name/value
* pairs. Property names can omit or include the leading
* double-hyphen (), and values specified will override
* previous values
* @param {boolean} [options.onlyLegacy=true] Determines if the ponyfill will
* only generate legacy-compatible CSS in browsers that lack
* native support (i.e., legacy browsers)
* @param {boolean} [options.preserveStatic=true] Determines if CSS
* declarations that do not reference a custom property will
* be preserved in the transformed CSS
* @param {boolean} [options.preserveVars=false] Determines if CSS custom
* property declarations will be preserved in the transformed
* CSS
* @param {boolean} [options.silent=false] Determines if warning and error
* messages will be displayed on the console
* @param {boolean} [options.updateDOM=true] Determines if the ponyfill will
* update the DOM after processing CSS custom properties
* @param {boolean} [options.updateURLs=true] Determines if relative url()
* paths will be converted to absolute urls in external CSS
* @param {boolean} [options.watch=false] Determines if a MutationObserver will
* be created that will execute the ponyfill when a <link> or
* <style> DOM mutation is observed
* @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
* 1) the XHR object, 2) source node reference, and 3) the
* source URL as arguments
* @param {function} [options.onError] Callback after a CSS parsing error has
* occurred or an XHR request has failed. Passes 1) an error
* message, and 2) source node reference, 3) xhr, and 4 url as
* arguments.
* @param {function} [options.onWarning] Callback after each CSS parsing warning
* has occurred. Passes 1) a warning message as an argument.
* @param {function} [options.onSuccess] Callback after CSS data has been
* collected from each node and before CSS custom properties
* have been transformed. Allows modifying the CSS data before
* it is transformed by returning any string value (or false
* to skip). Passes 1) CSS text, 2) source node reference, and
* 3) the source URL as arguments.
* @param {function} [options.onComplete] Callback after all CSS has been
* processed, legacy-compatible CSS has been generated, and
* (optionally) the DOM has been updated. Passes 1) a CSS
* string with CSS variable values resolved, 2) an array of
* output <style> node references that have been appended to
* the DOM, 3) an object containing all custom properies names
* and values, and 4) the ponyfill execution time in
* milliseconds.
* @param {function} [options.onFinally] Callback in modern and legacy browsers
* after the ponyfill has finished all tasks. Passes 1) a
* boolean indicating if the last ponyfill call resulted in a
* style change, 2) a boolean indicating if the current
* browser provides native support for CSS custom properties,
* and 3) the ponyfill execution time in milliseconds.
* @example
*
* cssVars({
* rootElement : document,
* shadowDOM : false,
* include : 'style,link[rel="stylesheet"]',
* exclude : '',
* variables : {},
* onlyLegacy : true,
* preserveStatic: true,
* preserveVars : false,
* silent : false,
* updateDOM : true,
* updateURLs : true,
* watch : false,
* onBeforeSend(xhr, node, url) {},
* onError(message, node, xhr, url) {},
* onWarning(message) {},
* onSuccess(cssText, node, url) {},
* onComplete(cssText, styleNode, cssVariables, benchmark) {},
* onFinally(hasChanged, hasNativeSupport, benchmark)
* });
*/
function B(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="cssVars(): ",n=r({},O,t);function i(t,r,o,i){!n.silent&&window.console&&console.error("".concat(e).concat(t,"\n"),r),n.onError(t,r,o,i)}function a(t){!n.silent&&window.console&&console.warn("".concat(e).concat(t)),n.onWarning(t)}function s(t){n.onFinally(Boolean(t),F,V()-n.__benchmark)}if(S){if(n.watch)return n.watch=O.watch,M(n),void B(n);if(!1===n.watch&&L&&(L.disconnect(),L=null),!n.__benchmark){if(j===n.rootElement)return void U(t);if(n.__benchmark=V(),n.exclude=[L?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',n.exclude].filter((function(t){return t})).join(","),n.variables=z(n.variables),!L){var u=Array.apply(null,n.rootElement.querySelectorAll('[data-cssvars="out"]'));if(u.forEach((function(t){var e=t.getAttribute("data-cssvars-group"),r=e?n.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(e,'"]')):null;r||t.parentNode.removeChild(t)})),P){var c=n.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])');c.length<P&&(P=c.length,R.dom={})}}}if("loading"!==document.readyState)if(F&&n.onlyLegacy){var f=!1;if(n.updateDOM){var p=n.rootElement.host||(n.rootElement===document?document.documentElement:n.rootElement);Object.keys(n.variables).forEach((function(t){var e=n.variables[t];f=f||e!==getComputedStyle(p).getPropertyValue(t),p.style.setProperty(t,e)}))}s(f)}else!I&&(n.shadowDOM||n.rootElement.shadowRoot||n.rootElement.host)?l({rootElement:O.rootElement,include:O.include,exclude:n.exclude,skipDisabled:!1,onSuccess:function(t,e,n){return t=t.replace(T.cssComments,"").replace(T.cssMediaQueries,""),t=(t.match(T.cssVarDeclRules)||[]).join(""),t||!1},onComplete:function(t,e,r){y(t,{store:R.dom,onWarning:a}),I=!0,B(n)}}):(j=n.rootElement,l({rootElement:n.rootElement,include:n.include,exclude:n.exclude,skipDisabled:!1,onBeforeSend:n.onBeforeSend,onError:function(t,e,n){var r=t.responseURL||H(n,location.href),o=t.statusText?"(".concat(t.statusText,")"):"Unspecified Error"+(0===t.status?" (possibly CORS related)":""),a="CSS XHR Error: ".concat(r," ").concat(t.status," ").concat(o);i(a,e,t,r)},onSuccess:function(t,e,r){var o="LINK"===e.tagName,i="STYLE"===e.tagName&&t!==e.textContent,a=n.onSuccess(t,e,r);return t=void 0!==a&&!1===Boolean(a)?"":a||t,n.updateURLs&&(o||i)&&(t=q(t,r)),t},onComplete:function(t,e){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],c=r({},R.dom,R.user),f=!1;if(R.job={},u.forEach((function(t,r){var o=e[r];if(T.cssVars.test(o))try{var s=m(o,{preserveStatic:n.preserveStatic,removeComments:!0});y(s,{parseHost:Boolean(n.rootElement.host),store:R.dom,onWarning:a}),t.__cssVars={tree:s}}catch(u){i(u.message,t)}})),r(R.job,R.dom),n.updateDOM?(r(R.user,n.variables),r(R.job,R.user)):(r(R.job,R.user,n.variables),r(c,n.variables)),f=k.job>0&&Boolean(Object.keys(R.job).length>Object.keys(c).length||Boolean(Object.keys(c).length&&Object.keys(R.job).some((function(t){return R.job[t]!==c[t]})))),f)W(n.rootElement),B(n);else{var l=[],p=[],h=!1;if(n.updateDOM&&k.job++,u.forEach((function(t,o){var s=!t.__cssVars;if(t.__cssVars)try{D(t.__cssVars.tree,r({},n,{variables:R.job,onWarning:a}));var u=_(t.__cssVars.tree);if(n.updateDOM){var c=e[o],f=T.cssVarFunc.test(c);if(t.getAttribute("data-cssvars")||t.setAttribute("data-cssvars","src"),u.length&&f){var d=t.getAttribute("data-cssvars-group")||++k.group,v=u.replace(/\s/g,""),g=n.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(d,'"]'))||document.createElement("style");h=h||T.cssKeyframes.test(u),n.preserveStatic&&(t.sheet.disabled=!0),g.hasAttribute("data-cssvars")||g.setAttribute("data-cssvars","out"),v===t.textContent.replace(/\s/g,"")?(s=!0,g&&g.parentNode&&(t.removeAttribute("data-cssvars-group"),g.parentNode.removeChild(g))):v!==g.textContent.replace(/\s/g,"")&&([t,g].forEach((function(t){t.setAttribute("data-cssvars-job",k.job),t.setAttribute("data-cssvars-group",d)})),g.textContent=u,l.push(u),p.push(g),g.parentNode||t.parentNode.insertBefore(g,t.nextSibling))}}else t.textContent.replace(/\s
//# sourceMappingURL=vendor.654dbaa9.js.map