PageSourceSearch

https://vizard.ai/chunk-vendors~253ae210.08342eac22cde0ed0113.prod.1790220679234.js

js vizard.ai collected 2026-09-24 19:06:34 UTC 501,151 bytes, 4 lines download raw bytes

1(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["chunk-vendors~253ae210"],{"00ee1":function(e,t,r){"use strict";var n=r("c6bc"),i=r("0f5b"),a=r("cdd8"),o=r("fcea")("species");e.exports=function(e){var t=n[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},"00fd":function(e,t,r){var n=r("9e69"),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=n?n.toStringTag:void 0;function u(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(u){}var i=o.call(e);return n&&(t?e[s]=r:delete e[s]),i}e.exports=u},"02eef":function(e,t,r){"use strict";var n=r("ffa4"),i=RegExp.prototype.exec,a=String.prototype.replace,o=i,s="lastIndex",u=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[s]||0!==t[s]}(),c=void 0!==/()??/.exec("")[1],l=u||c;l&&(o=function(e){var t,r,o,l,d=this;return c&&(r=new RegExp("^"+d.source+"$(?!\\s)",n.call(d))),u&&(t=d[s]),o=i.call(d,e),u&&o&&(d[s]=d.global?o.index+o[0].length:t),c&&o&&o.length>1&&a.call(o[0],r,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(o[l]=void 0)})),o}),e.exports=o},"03dd":function(e,t,r){var n=r("eac5"),i=r("57a5"),a=Object.prototype,o=a.hasOwnProperty;function s(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}e.exports=s},"0541":function(e,t,r){var n=r("23e7"),i=r("1a2d");n({target:"Object",stat:!0},{hasOwn:i})},"05b7":function(e,t,r){var n=r("45cf"),i=r("fcea")("toStringTag"),a="Arguments"==n(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(r){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=o(t=Object(e),i))?r:a?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},"0644":function(e,t,r){var n=r("3818"),i=1,a=4;function o(e){return n(e,i|a)}e.exports=o},"07c7":function(e,t){function r(){return!1}e.exports=r},"087d":function(e,t){function r(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}e.exports=r},"09d9":function(e,t,r){e.exports=!r("cdd8")&&!r("5bc9")((function(){return 7!=Object.defineProperty(r("846a")("div"),"a",{get:function(){return 7}}).a}))},"0b07":function(e,t,r){var n=r("34ac"),i=r("3698");function a(e,t){var r=i(e,t);return n(r)?r:void 0}e.exports=a},"0d244":function(e,t,r){(function(e){var n=r("2b3e"),i=r("07c7"),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a,u=s?n.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||i;e.exports=l}).call(this,r("62e4")(e))},"0e1f":function(e,t,r){var n=r("fcea")("iterator"),i=!1;try{var a=[7][n]();a["return"]=function(){i=!0},Array.from(a,(function(){throw 2}))}catch(o){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var a=[7],s=a[n]();s.next=function(){return{done:r=!0}},a[n]=function(){return s},e(a)}catch(o){}return r}},"0f0f":function(e,t,r){var n=r("8eeb"),i=r("9934");function a(e,t){return e&&n(t,i(t),e)}e.exports=a},"0f5b":function(e,t,r){var n=r("684d"),i=r("09d9"),a=r("eb71"),o=Object.defineProperty;t.f=r("cdd8")?Object.defineProperty:function(e,t,r){if(n(e),t=a(t,!0),n(r),i)try{return o(e,t,r)}catch(s){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},1041:function(e,t,r){var n=r("8eeb"),i=r("a029");function a(e,t){return n(e,i(e),t)}e.exports=a},"11c1":function(e,t,r){var n=r("c437"),i=r("c64e"),a=i;a.v1=n,a.v4=i,e.exports=a},1290:function(e,t){function r(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=r},1310:function(e,t){function r(e){return null!=e&&"object"==typeof e}e.exports=r},1368:function(e,t,r){var n=r("da03"),i=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function a(e){return!!i&&i in e}e.exports=a},"149b":function(e,t,r){"use strict";var n=r("02eef");r("6f3b")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},"149f":function(e,t,r){var n=r("7d36"),i=r("b101"),a=r("684d"),o=r("c6bc").Reflect;e.exports=o&&o.ownKeys||function(e){var t=n.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},"15e7":function(e,t,r){var n=r("fcea")("unscopables"),i=Array.prototype;void 0==i[n]&&r("1865")(i,n,{}),e.exports=function(e){i[n][e]=!0}},1647:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=/(?:\ud83d[\udc68\udc69])(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddb0-\uddb3])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\uddb5\uddb6\uddb8\uddb9\uddd1-\udddd]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf
11-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a-\udc6d\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\udeeb\udeec\udef4-\udef9]|\ud83e[\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd40-\udd45\udd47-\udd70\udd73-\udd76\udd7a\udd7c-\udda2\uddb4\uddb7\uddc0-\uddc2\uddd0\uddde
1-\uddff]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g},1768:function(e,t,r){"use strict";var n=r("6f3b"),i=r("9068")(!1),a=[].indexOf,o=!!a&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(o||!r("8f69")(a)),"Array",{indexOf:function(e){return o?a.apply(this,arguments)||0:i(this,e,arguments[1])}})},1865:function(e,t,r){var n=r("0f5b"),i=r("4045e");e.exports=r("cdd8")?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},"1a2d0":function(e,t,r){var n=r("42a2"),i=r("1310"),a="[object Map]";function o(e){return i(e)&&n(e)==a}e.exports=o},"1a8c":function(e,t){function r(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=r},"1b80":function(e,t,r){"use strict";var n=r("684d"),i=r("cacd"),a=r("6680"),o=r("8083"),s=r("2387"),u=r("c6a4"),c=Math.max,l=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};r("bf31")("replace",2,(function(e,t,r,g){return[function(n,i){var a=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,a,i):r.call(String(a),n,i)},function(e,t){var i=g(r,e,this,t);if(i.done)return i.value;var d=n(e),h=String(this),f="function"===typeof t;f||(t=String(t));var m=d.global;if(m){var b=d.unicode;d.lastIndex=0}var y=[];while(1){var D=u(d,h);if(null===D)break;if(y.push(D),!m)break;var w=String(D[0]);""===w&&(d.lastIndex=s(h,a(d.lastIndex),b))}for(var x="",S=0,F=0;F<y.length;F++){D=y[F];for(var C=String(D[0]),E=c(l(o(D.index),h.length),0),k=[],_=1;_<D.length;_++)k.push(p(D[_]));var A=D.groups;if(f){var T=[C].concat(k,E,h);void 0!==A&&T.push(A);var O=String(t.apply(void 0,T))}else O=v(C,h,E,k,A,t);E>=S&&(x+=h.slice(S,E)+O,S=E+C.length)}return x+h.slice(S)}];function v(e,t,n,a,o,s){var u=n+e.length,c=a.length,l=f;return void 0!==o&&(o=i(o),l=h),r.call(s,l,(function(r,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(u);case"<":s=o[i.slice(1,-1)];break;default:var l=+i;if(0===l)return r;if(l>c){var h=d(l/10);return 0===h?r:h<=c?void 0===a[h-1]?i.charAt(1):a[h-1]+i.charAt(1):r}s=a[l-1]}return void 0===s?"":s}))}}))},"1bac":function(e,t,r){var n=r("7d1f"),i=r("a029"),a=r("9934");function o(e){return n(e,a,i)}e.exports=o},"1cec":function(e,t,r){var n=r("0b07"),i=r("2b3e"),a=n(i,"Promise");e.exports=a},"1efc":function(e,t){function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=r},"1fc8":function(e,t,r){var n=r("4245");function i(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}e.exports=i},"1fe9":function(e,t,r){"use strict";var n=r("6f3b"),i=r("3b85");n(n.P+n.F*!r("8f69")([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},"21a6":function(e,t,r){(function(r){var n,i,a;(function(r,o){i=[],n=o,a="function"===typeof n?n.apply(t,i):n,void 0===a||(e.exports=a)})(0,(function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function n(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){u(n.response,t,r)},n.onerror=function(){console.error("could not download file")},n.send()}function i(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function a(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");
1t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r&&r.global===r?r:void 0,s=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),u=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,r){var s=o.URL||o.webkitURL,u=document.createElement("a");t=t||e.name||"download",u.download=t,u.rel="noopener","string"==typeof e?(u.href=e,u.origin===location.origin?a(u):i(u.href)?n(e,t,r):a(u,u.target="_blank")):(u.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(u.href)}),4e4),setTimeout((function(){a(u)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,r,o){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,o),r);else if(i(e))n(e,r,o);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){a(s)}))}}:function(e,t,r,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return n(e,t,r);var a="application/octet-stream"===e.type,u=/constructor/i.test(o.HTMLElement)||o.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||a&&u||s)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},l.readAsDataURL(e)}else{var d=o.URL||o.webkitURL,h=d.createObjectURL(e);i?i.location=h:location.href=h,i=null,setTimeout((function(){d.revokeObjectURL(h)}),4e4)}});o.saveAs=u.saveAs=u,e.exports=u}))}).call(this,r("c8ba"))},2263:function(e,t,r){var n=r("c6bc").document;e.exports=n&&n.documentElement},2366:function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);function i(e,t){var n=t||0,i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}e.exports=i},2387:function(e,t,r){"use strict";var n=r("5b6f")(!0);e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},2474:function(e,t,r){var n=r("2b3e"),i=n.Uint8Array;e.exports=i},2478:function(e,t,r){var n=r("4245");function i(e){return n(this,e).get(e)}e.exports=i},2524:function(e,t,r){var n=r("6044"),i="__lodash_hash_undefined__";function a(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?i:t,this}e.exports=a},"253c":function(e,t,r){var n=r("3729"),i=r("1310"),a="[object Arguments]";function o(e){return i(e)&&n(e)==a}e.exports=o},"26a3":function(e,t,r){"use strict";r("8aac");var n=r("684d"),i=r("ffa4"),a=r("cdd8"),o="toString",s=/./[o],u=function(e){r("72dc")(RegExp.prototype,o,e,!0)};r("5bc9")((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?u((function(){var e=n(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?i.call(e):void 0)})):s.name!=o&&u((function(){return s.call(this)}))},"27c5":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"28c9":function(e,t){function r(){this.__data__=[],this.size=0}e.exports=r},"29f3":function(e,t){var r=Object.prototype,n=r.toString;function i(e){return n.call(e)}e.exports=i},"2b16":function(e,t){var r=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},"2b3e":function(e,t,r){var n=r("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();e.exports=a},"2c0b":function(e,t,r){var n=r("910e"),i=r("45cf"),a=r("fcea")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"2c89":function(e,t,r){"use strict";var n=r("05b7"),i={};i[r("fcea")("toStringTag")]="z",i+""!="[object z]"&&r("72dc")(Object.prototype,"toString",(function(){return"[object "+n(this)+"]"}),!0)},"2d7c":function(e,t){function r(e,t){var r=-1,n=null==e?0:e.length,i=0,a=[];while(++r<n){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}e.exports=r},"2dcb":function(e,t,r){var n=r("91e9"),i=n(Object.getPrototypeOf,Object);e.exports=i},"2fa4":function(e,t,r){"use strict";
1var n=r("684d"),i=r("6680"),a=r("2387"),o=r("c6a4");r("bf31")("match",1,(function(e,t,r,s){return[function(r){var n=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,n):new RegExp(r)[t](String(n))},function(e){var t=s(r,e,this);if(t.done)return t.value;var u=n(e),c=String(this);if(!u.global)return o(u,c);var l=u.unicode;u.lastIndex=0;var d,h=[],f=0;while(null!==(d=o(u,c))){var p=String(d[0]);h[f]=p,""===p&&(u.lastIndex=a(c,i(u.lastIndex),l)),f++}return 0===f?null:h}]}))},"2fcc":function(e,t){function r(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}e.exports=r},"30c9":function(e,t,r){var n=r("9520"),i=r("b218");function a(e){return null!=e&&i(e.length)&&!n(e)}e.exports=a},"30d2":function(e,t,r){var n=r("bf02"),i=r("ad4f");e.exports=function(e){return n(i(e))}},"32b3":function(e,t,r){var n=r("872a"),i=r("9638"),a=Object.prototype,o=a.hasOwnProperty;function s(e,t,r){var a=e[t];o.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}e.exports=s},"32f4":function(e,t,r){var n=r("2d7c"),i=r("d3270"),a=Object.prototype,o=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,u=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return o.call(e,t)})))}:i;e.exports=u},"33d1":function(e,t,r){"use strict";var n=r("23e7"),i=r("7b0b"),a=r("07fa"),o=r("5926"),s=r("44d2");n({target:"Array",proto:!0},{at:function(e){var t=i(this),r=a(t),n=o(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}}),s("at")},"34ac":function(e,t,r){var n=r("9520"),i=r("1368"),a=r("1a8c"),o=r("dc57"),s=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,d=c.toString,h=l.hasOwnProperty,f=RegExp("^"+d.call(h).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){if(!a(e)||i(e))return!1;var t=n(e)?f:u;return t.test(o(e))}e.exports=p},3537:function(e,t,r){var n=r("910e"),i=r("c3dd").set;e.exports=function(e,t,r){var a,o=t.constructor;return o!==r&&"function"==typeof o&&(a=o.prototype)!==r.prototype&&n(a)&&i&&i(e,a),e}},3698:function(e,t){function r(e,t){return null==e?void 0:e[t]}e.exports=r},3729:function(e,t,r){var n=r("9e69"),i=r("00fd"),a=r("29f3"),o="[object Null]",s="[object Undefined]",u=n?n.toStringTag:void 0;function c(e){return null==e?void 0===e?s:o:u&&u in Object(e)?i(e):a(e)}e.exports=c},"37c55":function(e,t,r){"use strict";t["a"]=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}
1,3818:function(e,t,r){var n=r("7e64"),i=r("8057"),a=r("32b3"),o=r("5b01"),s=r("0f0f"),u=r("e538"),c=r("4359"),l=r("54eb"),d=r("1041"),h=r("a994"),f=r("1bac"),p=r("42a2"),g=r("c87c"),v=r("c2b6"),m=r("fa21"),b=r("6747"),y=r("0d244"),D=r("cc45"),w=r("1a8c"),x=r("d7ee"),S=r("ec69"),F=r("9934"),C=1,E=2,k=4,_="[object Arguments]",A="[object Array]",T="[object Boolean]",O="[object Date]",R="[object Error]",U="[object Function]",B="[object GeneratorFunction]",z="[object Map]",L="[object Number]",I="[object Object]",M="[object RegExp]",P="[object Set]",N="[object String]",j="[object Symbol]",G="[object WeakMap]",H="[object ArrayBuffer]",W="[object DataView]",q="[object Float32Array]",X="[object Float64Array]",Z="[object Int8Array]",$="[object Int16Array]",Y="[object Int32Array]",V="[object Uint8Array]",K="[object Uint8ClampedArray]",Q="[object Uint16Array]",J="[object Uint32Array]",ee={};function te(e,t,r,A,T,O){var R,z=t&C,L=t&E,M=t&k;if(r&&(R=T?r(e,A,T,O):r(e)),void 0!==R)return R;if(!w(e))return e;var P=b(e);if(P){if(R=g(e),!z)return c(e,R)}else{var N=p(e),j=N==U||N==B;if(y(e))return u(e,z);if(N==I||N==_||j&&!T){if(R=L||j?{}:m(e),!z)return L?d(e,s(R,e)):l(e,o(R,e))}else{if(!ee[N])return T?e:{};R=v(e,N,z)}}O||(O=new n);var G=O.get(e);if(G)return G;O.set(e,R),x(e)?e.forEach((function(n){R.add(te(n,t,r,n,e,O))})):D(e)&&e.forEach((function(n,i){R.set(i,te(n,t,r,i,e,O))}));var H=M?L?f:h:L?F:S,W=P?void 0:H(e);return i(W||e,(function(n,i){W&&(i=n,n=e[i]),a(R,i,te(n,t,r,i,e,O))})),R}ee[_]=ee[A]=ee[H]=ee[W]=ee[T]=ee[O]=ee[q]=ee[X]=ee[Z]=ee[$]=ee[Y]=ee[z]=ee[L]=ee[I]=ee[M]=ee[P]=ee[N]=ee[j]=ee[V]=ee[K]=ee[Q]=ee[J]=!0,ee[R]=ee[U]=ee[G]=!1,e.exports=te},"38ed":function(e,t,r){var n=r("0f5b"),i=r("684d"),a=r("965c");e.exports=r("cdd8")?Object.defineProperties:function(e,t){i(e);var r,o=a(t),s=o.length,u=0;while(s>u)n.f(e,r=o[u++],t[r]);return e}},"39ff":function(e,t,r){var n=r("0b07"),i=r("2b3e"),a=n(i,"WeakMap");e.exports=a},"3b4a":function(e,t,r){var n=r("0b07"),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},"3b85":function(e,t,r){var n=r("9017"),i=r("cacd"),a=r("bf02"),o=r("6680");e.exports=function(e,t,r,s,u){n(t);var c=i(e),l=a(c),d=o(c.length),h=u?d-1:0,f=u?-1:1;if(r<2)for(;;){if(h in l){s=l[h],h+=f;break}if(h+=f,u?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:d>h;h+=f)h in l&&(s=t(s,l[h],h,c));return s}},"3cb76":function(e,t,r){e.exports=r("8f2c")("native-function-to-string",Function.toString)},"3e8f6":function(e,t){},"3ff7":function(e,t){e.exports=!1},"4045e":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"408c":function(e,t,r){var n=r("2b3e"),i=function(){return n.Date.now()};e.exports=i},"41c3":function(e,t,r){var n=r("1a8c"),i=r("eac5"),a=r("ec8c"),o=Object.prototype,s=o.hasOwnProperty;function u(e){if(!n(e))return a(e);var t=i(e),r=[];for(var o in e)("constructor"!=o||!t&&s.call(e,o))&&r.push(o);return r}e.exports=u},4245:function(e,t,r){var n=r("1290");function i(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}e.exports=i},"42a2":function(e,t,r){var n=r("b5a7"),i=r("79bc"),a=r("1cec"),o=r("c869"),s=r("39ff"),u=r("3729"),c=r("dc57"),l="[object Map]",d="[object Object]",h="[object Promise]",f="[object Set]",p="[object WeakMap]",g="[object DataView]",v=c(n),m=c(i),b=c(a),y=c(o),D=c(s),w=u;(n&&w(new n(new ArrayBuffer(1)))!=g||i&&w(new i)!=l||a&&w(a.resolve())!=h||o&&w(new o)!=f||s&&w(new s)!=p)&&(w=function(e){var t=u(e),r=t==d?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case v:return g;case m:return l;case b:return h;case y:return f;case D:return p}return t}),e.exports=w},4359:function(e,t){function r(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}e.exports=r},"43ad":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeName=void 0,t.parse=s,t.toCodePoints=d;var n=r("1647"),i=a(n);function a(e){return e&&e.__esModule?e:{default:e}}var o=t.TypeName="emoji";function s(e,t){var r=t&&t.assetType?t.assetType:"svg",n=t&&t.buildUrl?t.buildUrl:function(e,t){return"png"===t?"https://twemoji.maxcdn.com/2/72x72/"+e+".png":"https://twemoji.maxcdn.com/2/svg/"+e+".svg"},a=[];i.default.lastIndex=0;while(1){var s=i.default.exec(e);if(!s)break;var u=s[0],c=d(l(u)).join("-");a.push({url:c?n(c,r):"",indices:[s.index,i.default.lastIndex],text:u,type:o})}return a}var u=/\uFE0F/g,c=String.fromCharCode(8205),l=function(e){return e.indexOf(c)<0?e.replace(u,""):e};function d(e){var t=[],r=0,n=0,i=0;while(i<e.length)r=e.charCodeAt(i++),n?(t.push((65536+(n-55296<<10)+(r-56320)).toString(16)),n=0):r>55296&&r<=56319?n=r:t.push(r.toString(16));return t}},"45cf":function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},4697:function(e,t,r){var n=r("f71d");e.exports=function(e,t){return new(n(e))(t)}}
1,"49b8":function(e,t,r){var n=r("51a1"),i=r("cacd"),a=r("d235")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},"49f4":function(e,t,r){var n=r("6044");function i(){this.__data__=n?n(null):{},this.size=0}e.exports=i},"4cef":function(e,t){var r=/\s/;function n(e){var t=e.length;while(t--&&r.test(e.charAt(t)));return t}e.exports=n},"50d8":function(e,t){function r(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}e.exports=r},"51a1":function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"533a":function(e,t){t.f={}.propertyIsEnumerable},5377:function(e,t,r){var n=r("da84"),i=r("83ab"),a=r("edd0"),o=r("ad6d"),s=r("d039"),u=n.RegExp,c=u.prototype,l=i&&s((function(){var e=!0;try{u(".","d")}catch(l){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};
1for(var o in e&&(a.hasIndices="d"),a)i(o,a[o]);var s=Object.getOwnPropertyDescriptor(c,"flags").get.call(t);return s!==n||r!==n}));l&&a(c,"flags",{configurable:!0,get:o})},5488:function(e,t,r){"use strict";t.__esModule=!0;var n=r("5924");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){i(this,e)}return e.prototype.beforeEnter=function(e){(0,n.addClass)(e,"collapse-transition"),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0},e.prototype.enter=function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height=e.scrollHeight+"px",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},e.prototype.afterEnter=function(e){(0,n.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow},e.prototype.beforeLeave=function(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"},e.prototype.leave=function(e){0!==e.scrollHeight&&((0,n.addClass)(e,"collapse-transition"),e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0)},e.prototype.afterLeave=function(e){(0,n.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},e}();t.default={name:"ElCollapseTransition",functional:!0,render:function(e,t){var r=t.children,n={on:new a};return e("transition",n,r)}}},"54eb":function(e,t,r){var n=r("8eeb"),i=r("32f4");function a(e,t){return n(e,i(e),t)}e.exports=a},"55a3":function(e,t){function r(e){return this.__data__.has(e)}e.exports=r},"57a5":function(e,t,r){var n=r("91e9"),i=n(Object.keys,Object);e.exports=i},"57de":function(e,t,r){"use strict";var n=r("5b6f")(!0);r("7957")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},"585a":function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r("c8ba"))},"5b01":function(e,t,r){var n=r("8eeb"),i=r("ec69");function a(e,t){return e&&n(t,i(t),e)}e.exports=a},"5b6f":function(e,t,r){var n=r("8083"),i=r("ad4f");e.exports=function(e){return function(t,r){var a,o,s=String(i(t)),u=n(r),c=s.length;return u<0||u>=c?e?"":void 0:(a=s.charCodeAt(u),a<55296||a>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536)}}},"5bc9":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"5d89":function(e,t,r){var n=r("f8af");function i(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}e.exports=i},"5e11":function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},"5e2e":function(e,t,r){var n=r("28c9"),i=r("69d5"),a=r("b4c0"),o=r("fba5"),s=r("67ca");function u(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype["delete"]=i,u.prototype.get=a,u.prototype.has=o,u.prototype.set=s,e.exports=u},"5fdd":function(e,t,r){"use strict";var n=r("2c0b"),i=r("684d"),a=r("c55c"),o=r("2387"),s=r("6680"),u=r("c6a4"),c=r("02eef"),l=r("5bc9"),d=Math.min,h=[].push,f="split",p="length",g="lastIndex",v=4294967295,m=!l((function(){RegExp(v,"y")}));r("bf31")("split",2,(function(e,t,r,l){var b;return b="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!n(e))return r.call(i,e,t);var a,o,s,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=void 0===t?v:t>>>0,m=new RegExp(e.source,l+"g");while(a=c.call(m,i)){if(o=m[g],o>d&&(u.push(i.slice(d,a.index)),a[p]>1&&a.index<i[p]&&h.apply(u,a.slice(1)),s=a[0][p],d=o,u[p]>=f))break;m[g]===a.index&&m[g]++}return d===i[p]?!s&&m.test("")||u.push(""):u.push(i.slice(d)),u[p]>f?u.slice(0,f):u}:"0"[f](void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,n){var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,n):b.call(String(i),r,n)},function(e,t){var n=l(b,e,this,t,b!==r);if(n.done)return n.value;var c=i(e),h=String(this),f=a(c,RegExp),p=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(m?"y":"g"),y=new f(m?
1c:"^(?:"+c.source+")",g),D=void 0===t?v:t>>>0;if(0===D)return[];if(0===h.length)return null===u(y,h)?[h]:[];var w=0,x=0,S=[];while(x<h.length){y.lastIndex=m?x:0;var F,C=u(y,m?h:h.slice(x));if(null===C||(F=d(s(y.lastIndex+(m?0:x)),h.length))===w)x=o(h,x,p);else{if(S.push(h.slice(w,x)),S.length===D)return S;for(var E=1;E<=C.length-1;E++)if(S.push(C[E]),S.length===D)return S;x=w=F}}return S.push(h.slice(w)),S}]}))},6044:function(e,t,r){var n=r("0b07"),i=n(Object,"create");e.exports=i},"61ba":function(e,t,r){var n=r("533a"),i=r("4045e"),a=r("30d2"),o=r("eb71"),s=r("51a1"),u=r("09d9"),c=Object.getOwnPropertyDescriptor;t.f=r("cdd8")?c:function(e,t){if(e=a(e),t=o(t,!0),u)try{return c(e,t)}catch(r){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},6532:function(e,t,r){var n=r("30d2"),i=r("7d36").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):i(n(e))}},6634:function(e,t,r){"use strict";var n=r("f835"),i=r("4045e"),a=r("6c1a"),o={};r("1865")(o,r("fcea")("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(o,{next:i(1,r)}),a(e,t+" Iterator")}},6680:function(e,t,r){var n=r("8083"),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},6747:function(e,t){var r=Array.isArray;e.exports=r},"67ca":function(e,t,r){var n=r("cb5a");function i(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}e.exports=i},"67fe6":function(e,t,r){"use strict";var n=r("15e7"),i=r("27c5"),a=r("a2a2"),o=r("30d2");e.exports=r("7957")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),a.Arguments=a.Array,n("keys"),n("values"),n("entries")},"684d":function(e,t,r){var n=r("910e");e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},"69d5":function(e,t,r){var n=r("cb5a"),i=Array.prototype,a=i.splice;function o(e){var t=this.__data__,r=n(t,e);if(r<0)return!1;var i=t.length-1;return r==i?t.pop():a.call(t,r,1),--this.size,!0}e.exports=o},"6c1a":function(e,t,r){var n=r("0f5b").f,i=r("51a1"),a=r("fcea")("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},"6f3b":function(e,t,r){var n=r("c6bc"),i=r("2b16"),a=r("1865"),o=r("72dc"),s=r("ddab"),u="prototype",c=function(e,t,r){var l,d,h,f,p=e&c.F,g=e&c.G,v=e&c.S,m=e&c.P,b=e&c.B,y=g?n:v?n[t]||(n[t]={}):(n[t]||{})[u],D=g?i:i[t]||(i[t]={}),w=D[u]||(D[u]={});for(l in g&&(r=t),r)d=!p&&y&&void 0!==y[l],h=(d?y:r)[l],f=b&&d?s(h,n):m&&"function"==typeof h?s(Function.call,h):h,y&&o(y,l,h,e&c.U),D[l]!=h&&a(D,l,f),m&&w[l]!=h&&(w[l]=h)};n.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"6f6c":function(e,t){var r=/\w*$/;function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}e.exports=n},"6fcd":function(e,t,r){var n=r("50d8"),i=r("d3703"),a=r("6747"),o=r
1("0d244"),s=r("c0983"),u=r("73ac"),c=Object.prototype,l=c.hasOwnProperty;function d(e,t){var r=a(e),c=!r&&i(e),d=!r&&!c&&o(e),h=!r&&!c&&!d&&u(e),f=r||c||d||h,p=f?n(e.length,String):[],g=p.length;for(var v in e)!t&&!l.call(e,v)||f&&("length"==v||d&&("offset"==v||"parent"==v)||h&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,g))||p.push(v);return p}e.exports=d},7037:function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"72dc":function(e,t,r){var n=r("c6bc"),i=r("1865"),a=r("51a1"),o=r("5e11")("src"),s=r("3cb76"),u="toString",c=(""+s).split(u);r("2b16").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var u="function"==typeof r;u&&(a(r,"name")||i(r,"name",t)),e[t]!==r&&(u&&(a(r,o)||i(r,o,e[t]?""+e[t]:c.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[o]||s.call(this)}))},"72f3":function(e,t,r){var n=r("c6bc"),i=r("2b16"),a=r("3ff7"),o=r("b437"),s=r("0f5b").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},"73ac":function(e,t,r){var n=r("743f"),i=r("b047"),a=r("99d3"),o=a&&a.isTypedArray,s=o?i(o):n;e.exports=s},"743f":function(e,t,r){var n=r("3729"),i=r("b218"),a=r("1310"),o="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",l="[object Error]",d="[object Function]",h="[object Map]",f="[object Number]",p="[object Object]",g="[object RegExp]",v="[object Set]",m="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",D="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",S="[object Int8Array]",F="[object Int16Array]",C="[object Int32Array]",E="[object Uint8Array]",k="[object Uint8ClampedArray]",_="[object Uint16Array]",A="[object Uint32Array]",T={};function O(e){return a(e)&&i(e.length)&&!!T[n(e)]}T[w]=T[x]=T[S]=T[F]=T[C]=T[E]=T[k]=T[_]=T[A]=!0,T[o]=T[s]=T[y]=T[u]=T[D]=T[c]=T[l]=T[d]=T[h]=T[f]=T[p]=T[g]=T[v]=T[m]=T[b]=!1,e.exports=O},7530:function(e,t,r){var n=r("1a8c"),i=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},7957:function(e,t,r){"use strict";var n=r("3ff7"),i=r("6f3b"),a=r("72dc"),o=r("1865"),s=r("a2a2"),u=r("6634"),c=r("6c1a"),l=r("49b8"),d=r("fcea")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",g="values",v=function(){return this};e.exports=function(e,t,r,m,b,y,D){u(r,t,m);var w,x,S,F=function(e){if(!h&&e in _)return _[e];switch(e){case p:return function(){return new r(this,e)};case g:return function(){return new r(this,e)}}return function(){return new r(this,e)}},C=t+" Iterator",E=b==g,k=!1,_=e.prototype,A=_[d]||_[f]||b&&_[b],T=A||F(b),O=b?E?F("entries"):T:void 0,R="Array"==t&&_.entries||A;if(R&&(S=l(R.call(new e)),S!==Object.prototype&&S.next&&(c(S,C,!0),n||"function"==typeof S[d]||o(S,d,v))),E&&A&&A.name!==g&&(k=!0,T=function(){return A.call(this)}),n&&!D||!h&&!k&&_[d]||o(_,d,T),s[t]=T,s[C]=v,b)if(w={values:E?T:F(g),keys:y?T:F(p),entries:O},D)for(x in w)x in _||a(_,x,w[x]);else i(i.P+i.F*(h||k),t,w);return w}},"79bc":function(e,t,r){var n=r("0b07"),i=r("2b3e"),a=n(i,"Map");e.exports=a},"7a48":function(e,t,r){var n=r("6044"),i=Object.prototype,a=i.hasOwnProperty;function o(e){var t=this.__data__;return n?void 0!==t[e]:a.call(t,e)}e.exports=o},"7b83":function(e,t,r){var n=r("7c64"),i=r("93ed6"),a=r("2478"),o=r("a5245"),s=r("1fc8");function u(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype["delete"]=i,u.prototype.get=a,u.prototype.has=o,u.prototype.set=s,e.exports=u},"7c64":function(e,t,r){var n=r("e24b"),i=r("5e2e"),a=r("79bc");function o(){this.size=0,this.__data__={hash:new n,map:new(a||i),string:new n}}e.exports=o},"7d1f":function(e,t,r){var n=r("087d"),i=r("6747");function a(e,t,r){var a=t(e);return i(e)?a:n(a,r(e))}e.exports=a},"7d36":function(e,t,r){var n=r("ee4d"),i=r("f758c").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}}
1,"7e64":function(e,t,r){var n=r("5e2e"),i=r("efb6"),a=r("2fcc"),o=r("802a"),s=r("55a3"),u=r("d02c");function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype["delete"]=a,c.prototype.get=o,c.prototype.has=s,c.prototype.set=u,e.exports=c},"802a":function(e,t){function r(e){return this.__data__.get(e)}e.exports=r},8057:function(e,t){function r(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(!1===t(e[r],r,e))break;return e}e.exports=r},8083:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},"846a":function(e,t,r){var n=r("910e"),i=r("c6bc").document,a=n(i)&&n(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},"872a":function(e,t,r){var n=r("3b4a");function i(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}e.exports=i},"8aac":function(e,t,r){r("cdd8")&&"g"!=/./g.flags&&r("0f5b").f(RegExp.prototype,"flags",{configurable:!0,get:r("ffa4")})},"8d74":function(e,t,r){var n=r("4cef"),i=/^\s+/;function a(e){return e?e.slice(0,n(e)+1).replace(i,""):e}e.exports=a},"8eeb":function(e,t,r){var n=r("32b3"),i=r("872a");function a(e,t,r,a){var o=!r;r||(r={});var s=-1,u=t.length;while(++s<u){var c=t[s],l=a?a(r[c],e[c],c,r,e):void 0;void 0===l&&(l=e[c]),o?i(r,c,l):n(r,c,l)}return r}e.exports=a},"8f2c":function(e,t,r){var n=r("2b16"),i=r("c6bc"),a="__core-js_shared__",o=i[a]||(i[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r("3ff7")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"8f69":function(e,t,r){"use strict";var n=r("5bc9");e.exports=function(e,t){return!!e&&n((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},9017:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},9068:function(e,t,r){var n=r("30d2"),i=r("6680"),a=r("bfe9");e.exports=function(e){return function(t,r,o){var s,u=n(t),c=i(u.length),l=a(o,c);if(e&&r!=r){while(c>l)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},"910e":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},"91e9":function(e,t){function r(e,t){return function(r){return e(t(r))}}e.exports=r},9262:function(e,t,r){for(var n=r("67fe6"),i=r("965c"),a=r("72dc"),o=r("c6bc"),s=r("1865"),u=r("a2a2"),c=r("fcea"),l=c("iterator"),d=c("toStringTag"),h=u.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),g=0;g<p.length;g++){var v,m=p[g],b=f[m],y=o[m],D=y&&y.prototype;if(D&&(D[l]||s(D,l,h),D[d]||s(D,d,m),u[m]=h,b))for(v in n)D[v]||a(D,v,n[v],!0)}},"92af":function(e,t,r){var n=r("45cf");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"93ed6":function(e,t,r){var n=r("4245");function i(e){var t=n(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=i},9520:function(e,t,r){var n=r("3729"),i=r("1a8c"),a="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";function c(e){if(!i(e))return!1;var t=n(e);return t==o||t==s||t==a||t==u}e.exports=c},9523:function(e,t,r){var n=r("a395");function i(e,t,r){return t=n(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},9638:function(e,t){function r(e,t){return e===t||e!==e&&t!==t}e.exports=r},"965c":function(e,t,r){var n=r("ee4d"),i=r("f758c");e.exports=Object.keys||function(e){return n(e,i)}},"96ff":function(e,t,r){var n=r("6f3b");n(n.S,"Array",{isArray:r("92af")})},9934:function(e,t,r){var n=r("6fcd"),i=r("41c3"),a=r("30c9");function o(e){return a(e)?n(e,!0):i(e)}e.exports=o},"99d3":function(e,t,r){(function(e){var n=r("585a"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o&&n.process,u=function(){try{var e=a&&a.require&&a.require("util").t
1ypes;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=u}).call(this,r("62e4")(e))},"9db4":function(e,t,r){var n=r("05b7"),i=r("fcea")("iterator"),a=r("a2a2");e.exports=r("2b16").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[n(e)]}},"9e69":function(e,t,r){var n=r("2b3e"),i=n.Symbol;e.exports=i},a013:function(e,t,r){"use strict";var n=r("6f3b"),i=r("cb82")(2);n(n.P+n.F*!r("8f69")([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},a029:function(e,t,r){var n=r("087d"),i=r("2dcb"),a=r("32f4"),o=r("d3270"),s=Object.getOwnPropertySymbols,u=s?function(e){var t=[];while(e)n(t,a(e)),e=i(e);return t}:o;e.exports=u},a2a2:function(e,t){e.exports={}},a2c1:function(e,t,r){"use strict";r.d(t,"a",(function(){return at}));var n=r("2b0e");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function u(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l,d,h,f=(l=function(e){!function(){var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var i=arguments[n];if(i){var a=typeof i;if("string"===a||"number"===a)e.push(i);else if(Array.isArray(i)){if(i.length){var o=r.apply(null,i);o&&e.push(o)}}else if("object"===a)if(i.toString===Object.prototype.toString)for(var s in i)t.call(i,s)&&i[s]&&e.push(s);else e.push(i.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r}()},l(h={path:d,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&h.path)}},h.exports),h.exports),p=function(e){return function(t,r){if(!t)return e;var n;"string"==typeof t?n=t:r=t;var i=e;return n&&(i+="__"+n),i+(r?Object.keys(r).reduce((function(e,t){var n=r[t];return n&&(e+=" "+("boolean"==typeof n?i+"--"+t:i+"--"+t+"_"+n)),e}),""):"")}};function g(e,t,r){var n,i,a,o,s;function u(){var c=Date.now()-o;c<t&&c>=0?n=setTimeout(u,t-c):(n=null,r||(s=e.apply(a,i),a=i=null))}null==t&&(t=100);var c=function(){a=this,i=arguments,o=Date.now();var c=r&&!n;return n||(n=setTimeout(u,t)),c&&(s=e.apply(a,i),a=i=null),s};return c.clear=function(){n&&(clearTimeout(n),n=null)},c.flush=function(){n&&(s=e.apply(a,i),a=i=null,clearTimeout(n),n=null)},c}g.debounce=g;var v=g,m=function(){return m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},m.apply(this,arguments)};function b(e,t){var r,n;return e&&t?(r=""+e+t[0].toUpperCase()+t.slice(1),n=e+"-"+t):(r=e||t,n=e||t),{name:r,classname:n}}function y(e){return/^blob:/.test(e)}function D(e){return y(e)||function(e){return/^data:/.test(e)}(e)}function w(e){return!!(e&&e.constructor&&e.call&&e.apply)}function x(e){return void 0===e}function S(e){return"object"==typeof e&&null!==e}function F(e,t,r){var n={};return S(e)?(Object.keys(t).forEach((function(i){x(e[i])?n[i]=t[i]:S(t[i])?S(e[i])?n[i]=F(e[i],t[i],r[i]):n[i]=e[i]?t[i]:r[i]:!0===t[i]||!1===t[i]?n[i]=Boolean(e[i]):n[i]=e[i]})),n):e?t:r}function C(e){var t=Number(e);return Number.isNaN(t)?e:t}function E(e){return typeof("number"==e||function(e){return"object"==typeof e&&null!==e}(e)&&"[object Number]"==toString.call(e))&&!k(e)}function k(e){return e!=e}function _(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}var A=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.type="manipulateImage",this.move=e,this.scale=t},T=function(e,t){void 0===t&&(t={}),this.type="resize",this.directions=e,this.params=t},O=function(e){this.type="move",this.directions=e},R=function(){function e(e,t,r,n,i){this.type="drag",this.nativeEvent=e,this.position=r,this.previousPosition=n,this.element=t,this.anchor=i}return e.prototype.shift=function(){var e=this,t=e.element,r=e.anchor,n=e.position,i=t.getBoundingClientRect(),a=i.left,o=i.top;return{left:n.left-a-r.left,top:n.top-o-r.top}},e}();function U(e,t,r,n,i,a,o,s,u,c){"boolean"!=typeof o&&(u=s,s=o,o=!1);const l="function"==typeof r?r.options:r;let d;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),n&&(l._scopeId=n),a?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=d):t&&(d=o?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(l.functional){const e=l.render;l.render=function(t,r){return d.call(r),e(t,r)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,d):[d]}return r}var B=U({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{ref:"draggable",class:e.classname,on:{touchstart:e.onTouchStart,mousedown:e.onMouseDown,mouseover:e.onMouseOver,mouseleave:e.onMouseLeave}},[e._t("default")],2)},staticRenderFns:[]},void 0,{name:"DraggableElement",mixins:[{beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeDestroy:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)throw new Error('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit("enter"))},onMouseLeave:function(){this.hovered&&!this.touches.length&&(this.hovered=!1,this.$emit("leave"))},onTouchStart:function(e){e.cancelable&&!this.disabled&&1===e.touches.length&&(this.touches=u(e.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),e.touches.length&&this.initAnchor(this.touches.reduce((function(t,r){return{clientX:t.clientX+r.clientX/e.touches.length,clientY:t.clientY+r.clientY/e.touches.length}}),{clientX:0,clientY:0})),e.preventDefault&&e.preventDefault(),e.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(e){this.touches.length&&(this.processMove(e,e.touches),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation())},onMouseDown:function(e){if(!this.disabled&&0===e.button){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.draggable.getBoundingClientRect(),r=t.left,n=t.right,i=t.bottom,a=t.top;
1this.anchor={left:e.clientX-r,top:e.clientY-a,bottom:i-e.clientY,right:n-e.clientX}},processMove:function(e,t){var r=u(t);if(this.touches.length){if(1===this.touches.length&&1===r.length){var n=this.$refs.draggable;this.$emit("drag",new R(e,n,{left:r[0].clientX,top:r[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=r}},processEnd:function(){this.touches.length&&this.$emit("drag-end"),this.hovered&&(this.$emit("leave"),this.hovered=!1),this.touches=[]}}}],props:{classname:{type:String}}},void 0,!1,void 0,!1,void 0,void 0,void 0),z=p("vue-handler-wrapper"),L=U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.classes.root},[r("DraggableElement",{class:e.classes.draggable,on:{drag:function(t){return e.$emit("drag",t)},"drag-end":function(t){return e.$emit("drag-end")},leave:function(t){return e.$emit("leave")},enter:function(t){return e.$emit("enter")}}},[e._t("default")],2)],1)},staticRenderFns:[]},void 0,{name:"HandlerWrapper",components:{DraggableElement:B},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var e;if(this.horizontalPosition||this.verticalPosition){var t,r=b(this.horizontalPosition,this.verticalPosition);e=z((o(t={},r.classname,!0),o(t,"disabled",this.disabled),t))}else e=z({disabled:this.disabled});return{root:e,draggable:z("draggable")}}}},void 0,!1,void 0,!1,void 0,void 0,void 0),I=p("vue-line-wrapper"),M=U({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("DraggableElement",{class:e.classname,on:{drag:function(t){return e.$emit("drag",t)},"drag-end":function(t){return e.$emit("drag-end")},leave:function(t){return e.$emit("leave")},enter:function(t){return e.$emit("enter")}}},[e._t("default")],2)},staticRenderFns:[]},void 0,{name:"LineWrapper",components:{DraggableElement:B},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var e;return I((o(e={},this.position,!0),o(e,"disabled",this.disabled),e))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),P=["left","right","top","bottom"],N=["left","right"],j=["top","bottom"],G=["left","top"],H=["fill-area","fit-area","stencil","none"],W={left:0,top:0,width:0,height:0};function q(e,t,r){return!(r=r||["width","height","left","top"]).some((function(r){return e[r]!==t[r]}))}function X(e){return{left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height}}function Z(e,t){return{left:e.left-t.left,top:e.top-t.top}}function $(e){return{left:e.left+e.width/2,top:e.top+e.height/2}}function Y(e,t){var r={left:0,top:0,right:0,bottom:0};return P.forEach((function(n){var i=t[n],a=X(e)[n];r[n]=void 0!==i&&void 0!==a?"left"===n||"top"===n?Math.max(0,i-a):Math.max(0,a-i):0})),r}function V(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width+t.left+t.right,height:e.height+t.top+t.bottom}}function K(e){return{left:-e.left,top:-e.top}}function Q(e,t){return m(m({},e),{left:e.left+t.left,top:e.top+t.top})}function J(e,t,r,n){if(1!==t){if(r){var i=$(e);return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2+(r.left-i.left)*(n||1-t),top:e.top+e.height*(1-t)/2+(r.top-i.top)*(n||1-t)}}return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2,top:e.top+e.height*(1-t)/2}}return e}function ee(e){return e.width/e.height}function te(e,t){return Math.min(void 0!==t.right&&void 0!==t.left?(t.right-t.left)/e.width:1/0,void 0!==t.bottom&&void 0!==t.top?(t.bottom-t.top)/e.height:1/0)}function re(e,t){var r={left:0,top:0},n=Y(e,t);return n.left&&n.left>0?r.left=n.left:n.right&&n.right>0&&(r.left=-n.right),n.top&&n.top>0?r.top=n.top:n.bottom&&n.bottom>0&&(r.top=-n.bottom),r}function ne(e,t){var r;return t.minimum&&e<t.minimum?r=t.minimum:t.maximum&&e>t.maximum&&(r=t.maximum),r}function ie(e,t){var r=ee(e),n=ee(t);return t.width<1/0&&t.height<1/0?r>n?{width:t.width,height:t.width/r}:{width:t.height*r,height:t.height}:t.width<1/0?{width:t.width,height:t.width/r}:t.height<1/0?{width:t.height*r,height:t.height}:e}function ae(e,t){var r=t*Math.PI/180;return{width:Math.abs(e.width*Math.cos(r))+Math.abs(e.height*Math.sin(r)),height:Math.abs(e.width*Math.sin(r))+Math.abs(e.height*Math.cos(r))}}function oe(e,t){var r=t*Math.PI/180;return{left:e.left*Math.cos(r)-e.top*Math.sin(r),top:e.left*Math.sin(r)+e.top*Math.cos(r)}
1}function se(e,t){var r=Y(ue(e,t),t);return r.left+r.right+r.top+r.bottom?r.left+r.right>r.top+r.bottom?Math.min((e.width+r.left+r.right)/e.width,te(e,t)):Math.min((e.height+r.top+r.bottom)/e.height,te(e,t)):1}function ue(e,t,r){void 0===r&&(r=!1);var n=re(e,t);return Q(e,r?K(n):n)}function ce(e){return{width:void 0!==e.right&&void 0!==e.left?e.right-e.left:1/0,height:void 0!==e.bottom&&void 0!==e.top?e.bottom-e.top:1/0}}function le(e,t){return m(m({},e),{minWidth:Math.min(t.width,e.minWidth),minHeight:Math.min(t.height,e.minHeight),maxWidth:Math.min(t.width,e.maxWidth),maxHeight:Math.min(t.height,e.maxHeight)})}function de(e,t,r){void 0===r&&(r=!0);var n={};return P.forEach((function(i){var a=e[i],o=t[i];void 0!==a&&void 0!==o?n[i]="left"===i||"top"===i?r?Math.max(a,o):Math.min(a,o):r?Math.min(a,o):Math.max(a,o):void 0!==o?n[i]=o:void 0!==a&&(n[i]=a)})),n}function he(e,t){return de(e,t,!0)}function fe(e){var t=e.size,r=e.aspectRatio,n=e.ignoreMinimum,i=e.sizeRestrictions;return Boolean((t.correctRatio||ee(t)>=r.minimum&&ee(t)<=r.maximum)&&t.height<=i.maxHeight&&t.width<=i.maxWidth&&t.width&&t.height&&(n||t.height>=i.minHeight&&t.width>=i.minWidth))}function pe(e,t){return Math.pow(e.width-t.width,2)+Math.pow(e.height-t.height,2)}function ge(e){var t=e.width,r=e.height,n=e.sizeRestrictions,i={minimum:e.aspectRatio&&e.aspectRatio.minimum||0,maximum:e.aspectRatio&&e.aspectRatio.maximum||1/0},a={width:Math.max(n.minWidth,Math.min(n.maxWidth,t)),height:Math.max(n.minHeight,Math.min(n.maxHeight,r))};function o(e,a){return void 0===a&&(a=!1),e.reduce((function(e,o){return fe({size:o,aspectRatio:i,sizeRestrictions:n,ignoreMinimum:a})&&(!e||pe(o,{width:t,height:r})<pe(e,{width:t,height:r}))?o:e}),null)}var s=[];i&&[i.minimum,i.maximum].forEach((function(e){e&&s.push({width:a.width,height:a.width/e,correctRatio:!0},{width:a.height*e,height:a.height,correctRatio:!0})})),fe({size:a,aspectRatio:i,sizeRestrictions:n})&&s.push(a);var u=o(s)||o(s,!0);return u&&{width:u.width,height:u.height}}function ve(e){var t=e.event,r=e.coordinates,n=e.positionRestrictions,i=void 0===n?{}:n,a=Q(r,t.directions);return Q(a,re(a,i))}function me(e){var t=e.coordinates,r=e.transform,n=e.imageSize,i=e.sizeRestrictions,a=e.positionRestrictions,o=e.aspectRatio,s=e.visibleArea,u=function(e,t){return ve({coordinates:e,positionRestrictions:a,event:new O({left:t.left-e.left,top:t.top-e.top})})},c=m({},t);return(Array.isArray(r)?r:[r]).forEach((function(e){var t={};x((t="function"==typeof e?e({coordinates:c,imageSize:n,visibleArea:s}):e).width)&&x(t.height)||(c=function(e,t){var r=m(m(m({},e),ge({width:t.width,height:t.height,sizeRestrictions:i,aspectRatio:o})),{left:0,top:0});return u(r,{left:e.left,top:e.top})}(c,m(m({},c),t))),x(t.left)&&x(t.top)||(c=u(c,m(m({},c),t)))})),c}function be(e){e.event;var t=e.getAreaRestrictions,r=e.boundaries,n=e.coordinates,i=e.visibleArea;e.aspectRatio;var a=e.stencilSize,o=e.sizeRestrictions,s=e.positionRestrictions;e.stencilReference;var u,c,l,d=m({},n),h=m({},i),f=m({},a);u=ee(f),c=ee(d),void 0===l&&(l=.001),(0===u||0===c?Math.abs(c-u)<l:Math.abs(c/u)<1+l&&Math.abs(c/u)>1-l)||(d=m(m({},d),ge({sizeRestrictions:o,width:d.width,height:d.height,aspectRatio:{minimum:ee(f),maximum:ee(f)}})));var p=se(h=J(h,d.width*r.width/(h.width*f.width)),t({visibleArea:h,type:"resize"}));return 1!==p&&(h=J(h,p),d=J(d,p)),h=ue(h=Q(h,Z($(d),$(h))),t({visibleArea:h,type:"move"}
vendor: 5,020 bytes, line 1
1)),{coordinates:d=ue(d,he(X(h),s)),visibleArea:h}}function ye(e){var t=e.event,r=e.getAreaRestrictions,n=e.boundaries,i=e.coordinates,a=e.visibleArea;e.aspectRatio,e.stencilSize,e.sizeRestrictions;var o=e.positionRestrictions;e.stencilReference;var s=m({},i),u=m({},a);if(i&&a&&"manipulateImage"!==t.type){var c={width:0,height:0};u.width,n.width,ee(n)>ee(s)?(c.height=.8*n.height,c.width=c.height*ee(s)):(c.width=.8*n.width,c.height=c.width*ee(s));var l=se(u=J(u,s.width*n.width/(u.width*c.width)),r({visibleArea:u,type:"resize"}));u=J(u,l),1!==l&&(c.height/=l,c.width/=l),u=ue(u=Q(u,Z($(s),$(u))),r({visibleArea:u,type:"move"})),s=ue(s,he(X(u),o))}return{coordinates:s,visibleArea:u}}function De(e){var t=e.event,r=e.coordinates,n=e.visibleArea,i=e.getAreaRestrictions,a=m({},n),o=m({},r);if("setCoordinates"===t.type){var s=Math.max(0,o.width-a.width),u=Math.max(0,o.height-a.height);s>u?a=J(a,Math.min(o.width/a.width,te(a,i({visibleArea:a,type:"resize"})))):u>s&&(a=J(a,Math.min(o.height/a.height,te(a,i({visibleArea:a,type:"resize"}))))),a=ue(a=Q(a,K(re(o,X(a)))),i({visibleArea:a,type:"move"}))}return{visibleArea:a,coordinates:o}}function we(e){var t=e.imageSize,r=e.visibleArea,n=e.aspectRatio,i=e.sizeRestrictions,a=r||t,o=Math.min(n.maximum||1/0,Math.max(n.minimum||0,ee(a))),s=a.width<a.height?{width:.8*a.width,height:.8*a.width/o}:{height:.8*a.height,width:.8*a.height*o};return ge(m(m({},s),{aspectRatio:n,sizeRestrictions:i}))}function xe(e){var t,r,n=e.imageSize,i=e.visibleArea,a=e.boundaries,o=e.aspectRatio,s=e.sizeRestrictions,u=e.stencilSize,c=i||n;return ee(c)>ee(a)?r=(t=u.height*c.height/a.height)*ee(u):t=(r=u.width*c.width/a.width)/ee(u),ge({width:r,height:t,aspectRatio:o,sizeRestrictions:s})}function Se(e,t){return de(e,X(t))}function Fe(e){var t=e.event,r=e.coordinates,n=e.visibleArea,i=e.sizeRestrictions,a=e.getAreaRestrictions,o=e.positionRestrictions,s=e.adjustStencil,u=t.scale,c=t.move,l=m({},n),d=m({},r),h=1,f=1,p=u.factor&&Math.abs(u.factor-1)>.001;l=Q(l,{left:c.left||0,top:c.top||0});var g={stencil:{minimum:Math.max(i.minWidth?i.minWidth/d.width:0,i.minHeight?i.minHeight/d.height:0),maximum:Math.min(i.maxWidth?i.maxWidth/d.width:1/0,i.maxHeight?i.maxHeight/d.height:1/0,te(d,o))},area:{maximum:te(l,a({visibleArea:l,type:"resize"}))}};u.factor&&p&&(u.factor<1?(f=Math.max(u.factor,g.stencil.minimum))>1&&(f=1):u.factor>1&&(f=Math.min(u.factor,Math.min(g.area.maximum,g.stencil.maximum)))<1&&(f=1)),f&&(l=J(l,f,u.center));var v=r.left-n.left,b=n.width+n.left-(r.width+r.left),y=r.top-n.top,D=n.height+n.top-(r.height+r.top);return l=ue(l=Q(l,re(l,{left:void 0!==o.left?o.left-v*f:void 0,top:void 0!==o.top?o.top-y*f:void 0,bottom:void 0!==o.bottom?o.bottom+D*f:void 0,right:void 0!==o.right?o.right+b*f:void 0})),a({visibleArea:l,type:"move"})),d.width=d.width*f,d.height=d.height*f,d.left=l.left+v*f,d.top=l.top+y*f,d=ue(d,he(X(l),o)),u.factor&&p&&s&&(u.factor>1?h=Math.min(g.area.maximum,u.factor)/f:u.factor<1&&(h=Math.max(d.height/l.height,d.width/l.width,u.factor/f)),1!==h&&(l=Q(l=ue(l=J(l,h,u.factor>1?u.center:$(d)),a({visibleArea:l,type:"move"})),K(re(d,X(l)))))),{coordinates:d,visibleArea:l}}function Ce(e){var t=e.aspectRatio,r=e.getAreaRestrictions,n=e.coordinates,i=e.visibleArea,a=e.sizeRestrictions,o=e.positionRestrictions,s=e.imageSize,u=e.previousImageSize,c=e.angle,l=m({},n),d=m({},i),h=oe($(m({left:0,top:0},u)),c);return(l=m(m({},ge({sizeRestrictions:a,aspectRatio:t,width:l.width,height:l.height})),oe($(l),c))).left-=h.left-s.width/2+l.width/2,l.top-=h.top-s.height/2+l.height/2,d=J(d,se(d,r({visibleArea:d,type:"resize"}))),{coordinates:l=ue(l,o),visibleArea:d=ue(d=Q(d,Z($(l),$(n))),r({visibleArea:d,type:"move"}))}}function Ee(e){var t=e.flip,r=e.previousFlip,n=e.rotate;e.aspectRatio;var i=e.getAreaRestrictions,a=e.coordinates,o=e.visibleArea,s=e.imageSize,u=m({},a),c=m({},o),l=r.horizontal!==t.horizontal,d=r.vertical!==t.vertical;if(l||d){var h=oe({left:s.width/2,top:s.height/2},-n),f=oe($(u),-n),p=oe({left:l?h.left-(f.left-h.left):f.left,top:d?h.top-(f.top-h.top):f.top},n);u=Q(u,Z(p,$(u))),f=oe($(c),-n),c=ue(c=Q(c,Z(p=oe({left:l?h.left-(f.left-h.left):f.left,top:d?h.top-(f.top-h.top):f.top},n),$(c))),i({visibleArea:c,type:"move"}))}return{coordinates:u,visibleArea:c}}function ke(e){var t=e.directions,r=e.coordinates,n=e.positionRestrictions,i=void 0===n?{}:n,a=e.sizeRestrictions,o=e.preserveRatio,s=e.compensate,u=m({},t),c=V(r,u).width,l=V(r,u).height;c<0&&(u.left<0&&u.right<0?(u.left=-(r.width-a.minWidth)/(u.left/u.right),u.right=-(r.width-a.minWidth)/(u.right/u.left)):u.left<0?u.left=-(r.width-a.minWidth):u.right<0&&(u.right=-(r.width-a.minWidth))),l<0&&(u.top<0&&u.bottom<0?(u.top=-(r.height-a.minHeight)/(u.top/u.bottom),u.bottom=-(r.height-a.minHeight)/(u.bottom/u.top)):u.top<0?u.top=-(r.height-a.minHeight):u.bottom<0&&(u.bottom=-(r.height-a.minHeight)));var d=Y(V(r,u),i);s&&(d.left&&d.left>0&&0===d.right?(u.right+=d.left,u.left-=d.left):d.right&&d.right>0&&0===d.left&&(u.left+=d.right,u.right-=d.right),d.top&&d.top>
10&&0===d.bottom?(u.bottom+=d.top,u.top-=d.top):d.bottom&&d.bottom>0&&0===d.top&&(u.top+=d.bottom,u.bottom-=d.bottom),d=Y(V(r,u),i));var h={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(P.forEach((function(e){var t=d[e];t&&u[e]&&(h[e]=Math.max(0,1-t/u[e]))})),o){var f=Math.min.apply(null,P.map((function(e){return h[e]})));f!==1/0&&P.forEach((function(e){u[e]*=f}))}else P.forEach((function(e){h[e]!==1/0&&(u[e]*=h[e])}));if(c=V(r,u).width,l=V(r,u).height,u.right+u.left&&(c>a.maxWidth?h.width=(a.maxWidth-r.width)/(u.right+u.left):c<a.minWidth&&(h.width=(a.minWidth-r.width)/(u.right+u.left))),u.bottom+u.top&&(l>a.maxHeight?h.height=(a.maxHeight-r.height)/(u.bottom+u.top):l<a.minHeight&&(h.height=(a.minHeight-r.height)/(u.bottom+u.top))),o){var p=Math.min(h.width,h.height);p!==1/0&&P.forEach((function(e){u[e]*=p}))}else h.width!==1/0&&N.forEach((function(e){u[e]*=h.width})),h.height!==1/0&&j.forEach((function(e){u[e]*=h.height}));return u}function _e(e,t,r){return 0==t&&0==r?e/2:0==t?0:0==r?e:e*Math.abs(t/(t+r))}var Ae=p("vue-simple-handler"),Te=p("vue-simple-handler-wrapper"),Oe=U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("HandlerWrapper",{class:e.classes.wrapper,attrs:{"vertical-position":e.verticalPosition,"horizontal-position":e.horizontalPosition,disabled:e.disabled},on:{drag:e.onDrag,"drag-end":e.onDragEnd,enter:e.onEnter,leave:e.onLeave}},[r("div",{class:e.classes.default})])},staticRenderFns:[]},void 0,{name:"SimpleHandler",components:{HandlerWrapper:L},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){var e,t=(o(e={},this.horizontalPosition,Boolean(this.horizontalPosition)),o(e,this.verticalPosition,Boolean(this.verticalPosition)),o(e,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),Boolean(this.verticalPosition&&this.horizontalPosition)),o(e,"hover",this.hover),e);return{default:f(Ae(t),this.defaultClass,this.hover&&this.hoverClass),wrapper:f(Te(t),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Re=p("vue-simple-line"),Ue=p("vue-simple-line-wrapper"),Be=U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("LineWrapper",{class:e.classes.wrapper,attrs:{position:e.position,disabled:e.disabled},on:{drag:e.onDrag,"drag-end":e.onDragEnd,enter:e.onEnter,leave:e.onLeave}},[r("div",{class:e.classes.root})])},staticRenderFns:[]},void 0,{name:"SimpleLine",components:{LineWrapper:M},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},position:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){return{root:f(Re(o({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:f(Ue(o({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),ze=p("vue-bounding-box"),Le=["east","west",null],Ie=["south","north",null],Me=U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"box",class:e.classes.root,style:e.style},[e._t("default"),e._v(" "),r("div",e._l(e.lineNodes,(function(t){return r(t.component,{key:t.name,tag:"component",attrs:{"default-class":t.class,"hover-class":t.hoverClass,"wrapper-class":t.wrapperClass,position:t.name,disabled:t.disabled},on:{drag:function(r){return e.onHandlerDrag(r,t.horizontalDirection,t.verticalDirection)},"drag-end":function(t){return e.onEnd()}}})})),1),e._v(" "),e._l(e.handlerNodes,(function(t){return r("div",{key:t.name,class:t.wrapperClass,style:t.wrapperStyle},[r(t.component,{tag:"component",attrs:{"default-class":t.class,"hover-class":t.hoverClass,"wrapper-class":t.wrapperClass,"horizontal-position":t.horizontalDirection,"vertical-position":t.verticalDirection,disabled:t.disabled},on:{drag:function(r){return e.onHandlerDrag(r,t.horizontalDirection,t.verticalDirection)},"drag-end":function(t){return e.onEnd()}}}
1)],1)}))],2)},staticRenderFns:[]},void 0,{name:"BoundingBox",props:{width:{type:Number},height:{type:Number},transitions:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,north:!0,westNorth:!0,west:!0,westSouth:!0,south:!0,eastSouth:!0,east:!0}}},handlersComponent:{type:[Object,String],default:function(){return Oe}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object,default:function(){return{west:!0,north:!0,east:!0,south:!0}}},linesComponent:{type:[Object,String],default:function(){return Be}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var e=[];return Le.forEach((function(t){Ie.forEach((function(r){if(t!==r){var n=b(t,r),i=n.name,a=n.classname;e.push({name:i,classname:a,verticalDirection:r,horizontalDirection:t})}}))})),{points:e}},computed:{style:function(){var e={};return this.width&&this.height&&(e.width="".concat(this.width,"px"),e.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),e},classes:function(){var e=this.handlersClasses,t=this.handlersWrappersClasses,r=this.linesClasses,n=this.linesWrappersClasses;return{root:ze(),handlers:e,handlersWrappers:t,lines:r,linesWrappers:n}},lineNodes:function(){var e=this,t=[];return this.points.forEach((function(r){r.horizontalDirection&&r.verticalDirection||!e.lines[r.name]||t.push({name:r.name,component:e.linesComponent,class:f(e.classes.lines.default,e.classes.lines[r.name],!e.resizable&&e.classes.lines.disabled),wrapperClass:f(e.classes.linesWrappers.default,e.classes.linesWrappers[r.name],!e.resizable&&e.classes.linesWrappers.disabled),hoverClass:e.classes.lines.hover,verticalDirection:r.verticalDirection,horizontalDirection:r.horizontalDirection,disabled:!e.resizable})})),t},handlerNodes:function(){var e=this,t=[],r=this.width,n=this.height;return this.points.forEach((function(i){if(e.handlers[i.name]){var a={name:i.name,component:e.handlersComponent,class:f(e.classes.handlers.default,e.classes.handlers[i.name]),wrapperClass:f(e.classes.handlersWrappers.default,e.classes.handlersWrappers[i.name]),hoverClass:e.classes.handlers.hover,verticalDirection:i.verticalDirection,horizontalDirection:i.horizontalDirection,disabled:!e.resizable};if(r&&n){var s=i.horizontalDirection,u=i.verticalDirection,c="east"===s?r:"west"===s?0:r/2,l="south"===u?n:"north"===u?0:n/2;a.wrapperClass=ze("handler"),a.wrapperStyle={transform:"translate(".concat(c,"px, ").concat(l,"px)")},e.transitions&&e.transitions.enabled&&(a.wrapperStyle.transition="".concat(e.transitions.time,"ms ").concat(e.transitions.timingFunction))}else a.wrapperClass=ze("handler",o({},i.classname,!0));t.push(a)}})),t}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeDestroy:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[]},methods:{onEnd:function(){this.$emit("resize-end")},onHandlerDrag:function(e,t,r){var n,i=e.shift(),a=i.left,o=i.top,s={left:0,right:0,top:0,bottom:0};"west"===t?s.left-=a:"east"===t&&(s.right+=a),"north"===r?s.top-=o:"south"===r&&(s.bottom+=o),!r&&t?n="width":r&&!t&&(n="height"),this.resizable&&this.$emit("resize",new T(s,{allowedDirections:{left:"west"===t||!t,right:"east"===t||!t,bottom:"south"===r||!r,top:"north"===r||!r},preserveAspectRatio:e.nativeEvent&&e.nativeEvent.shiftKey,respectDirection:n}))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Pe=p("vue-draggable-area"),Ne=U({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{ref:"container",on:{touchstart:e.onTouchStart,mousedown:e.onMouseDown}},[e._t("default")],2)},staticRenderFns:[]},void 0,{name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:Pe()}}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeDestroy:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[],this.touchStarted=!1},methods:{onTouchStart:function(e){if(e.cancelable){var t=this.movable&&1===e.touches.length;t&&(this.touches=u(e.touches)),(this.touchStarted||t)&&(e.preventDefault(),e.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(e){this.touches.length>=1&&(this.touchStarted?(this.processMove(e,e.touches),e.preventDefault(),e.stopPropagation()):_({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:e.touches[0].clientX,y:e.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(e){if(this.movable&&0===e.button){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.cancelable&&e.preventDefault(),e.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.container.getBoundingClientRect(),r=t.left,n=t.top;this.anchor={x:e.clientX-r,y:e.clientY-n}},processMove:function(e,t){var r=u(t);if(this.touches.length){var n=this.$refs.container.getBoundingClientRect(),i=n.left,a=n.top;1===this.touches.length&&1===r.length&&this.$emit("move",new O({left:r[0].clientX-(i+this.anchor.x),top:r[0].clientY-(a+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}}},void 0,!1,void 0,!1,void 0,void 0,void 0);function je(e){var t,r;return{rotate:e.rotate||0,flip:{horizontal:(null===(t=null==e?void 0:e.flip)||void 0===t?void 0:t.horizontal)||!1,vertical:(null===(r=null==e?void 0:e.flip)||void 0===r?void 0:r.vertical)||!1}}}function Ge(e){return new Promise((function(t,r){try{if(e)if(/^data:/i.test(e))t
1(function(e){e=e.replace(/^data:([^;]+);base64,/gim,"");for(var t=atob(e),r=t.length,n=new ArrayBuffer(r),i=new Uint8Array(n),a=0;a<r;a++)i[a]=t.charCodeAt(a);return n}(e));else if(/^blob:/i.test(e)){var n=new FileReader;n.onload=function(e){t(e.target.result)},a=e,o=function(e){n.readAsArrayBuffer(e)},(s=new XMLHttpRequest).open("GET",a,!0),s.responseType="blob",s.onload=function(){200!=this.status&&0!==this.status||o(this.response)},s.send()}else{var i=new XMLHttpRequest;i.onreadystatechange=function(){4===i.readyState&&(200===i.status||0===i.status?t(i.response):r("Warning: could not load an image to parse its orientation"),i=null)},i.onprogress=function(){"image/jpeg"!==i.getResponseHeader("content-type")&&i.abort()},i.withCredentials=!1,i.open("GET",e,!0),i.responseType="arraybuffer",i.send(null)}else r("Error: the image is empty")}catch(e){r(e)}var a,o,s}))}function He(e){var t=e.rotate,r=e.flip,n=e.scaleX,i=e.scaleY,a="";return a+=" rotate("+t+"deg) ",a+=" scaleX("+n*(r.horizontal?-1:1)+") ",a+" scaleY("+i*(r.vertical?-1:1)+") "}function We(e){try{var t,r=new DataView(e),n=void 0,i=void 0,a=void 0,o=void 0;if(255===r.getUint8(0)&&216===r.getUint8(1))for(var s=r.byteLength,u=2;u+1<s;){if(255===r.getUint8(u)&&225===r.getUint8(u+1)){a=u;break}u++}if(a&&(n=a+10,"Exif"===function(e,t,r){var n,i="";for(n=t,r+=t;n<r;n++)i+=String.fromCharCode(e.getUint8(n));return i}(r,a+4,4))){var c=r.getUint16(n);if(((i=18761===c)||19789===c)&&42===r.getUint16(n+2,i)){var l=r.getUint32(n+4,i);l>=8&&(o=n+l)}}if(o)for(var d=r.getUint16(o,i),h=0;h<d;h++)if(u=o+12*h+2,274===r.getUint16(u,i)){u+=8,t=r.getUint16(u,i),r.setUint16(u,1,i);break}return t}catch(e){return null}}var qe=p("vue-preview-result");U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.classes.root},[r("div",{ref:"wrapper",class:e.classes.wrapper,style:e.wrapperStyle},[r("img",{ref:"image",class:e.classes.image,style:e.imageStyle,attrs:{src:e.image.src}})])])},staticRenderFns:[]},void 0,{name:"PreviewResult",props:{image:{type:Object},transitions:{type:Object},stencilCoordinates:{type:Object,default:function(){return{width:0,height:0,left:0,top:0}}},imageClass:{type:String}},computed:{classes:function(){return{root:qe(),wrapper:qe("wrapper"),imageWrapper:qe("image-wrapper"),image:f(qe("image"),this.imageClass)}},wrapperStyle:function(){var e={width:"".concat(this.stencilCoordinates.width,"px"),height:"".concat(this.stencilCoordinates.height,"px"),left:"calc(50% - ".concat(this.stencilCoordinates.width/2,"px)"),top:"calc(50% - ".concat(this.stencilCoordinates.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},imageStyle:function(){var e=this.image.transforms,t=ae({width:this.image.width,height:this.image.height},e.rotate),r={width:"".concat(this.image.width,"px"),height:"".concat(this.image.height,"px"),left:"0px",top:"0px"},n={left:(this.image.width-t.width)*e.scaleX/2,top:(this.image.height-t.height)*e.scaleY/2},i={left:(1-e.scaleX)*this.image.width/2,top:(1-e.scaleY)*this.image.height/2};return r.transform="translate(\n\t\t\t\t".concat(-this.stencilCoordinates.left-e.translateX-n.left-i.left,"px,").concat(-this.stencilCoordinates.top-e.translateY-n.top-i.top,"px) ")+He(e),this.transitions&&this.transitions.enabled&&(r.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),r}}},void 0,!1,void 0,!1,void 0,void 0,void 0);function Xe(e,t){var r=t.getBoundingClientRect(),n=r.left,i=r.top,a={left:0,top:0},o=0;return e.forEach((function(t){a.left+=(t.clientX-n)/e.length,a.top+=(t.clientY-i)/e.length})),e.forEach((function(e){o+=_({x:a.left,y:a.top},{x:e.clientX-n,y:e.clientY-i})})),{centerMass:a,spread:o,count:e.length}}var Ze=U({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{ref:"container",on:{touchstart:e.onTouchStart,mousedown:e.onMouseDown,wheel:e.onWheel}},[e._t("default")],2)},staticRenderFns:[]},void 0,{props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0},eventsFilter:{type:Function,required:!1}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeDestroy:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},created:function(){this.transforming=!1,this.debouncedProcessEnd=v(this.processEnd),this.touches=[]},methods:{processMove:function(e,t){if(this.touches.length){if(1===this.touches.length&&1===t.length)this.$emit("move",new A({left:this.touches[0].clientX-t[0].clientX,top:this.touches[0].clientY-t[0].clientY}));else if(this.touches.length>1&&this.touchResize){var r=Xe(t,this.$refs.container),n=this.oldGeometricProperties;n.count===r.count&&n.count>1&&this.$emit("resize",new A({left:n.centerMass.left-r.centerMass.left,top:n.centerMass.top-r.centerMass.top},{factor:n.spread/r.spread,center:r.centerMass})),this.oldGeometricProperties=r}this.touches=t}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(e){return this.eventsFilter?!1!==this.eventsFilter(e,this.transforming):(e.preventDefault(),e.stopPropagation(),!0)},onTouchStart:function(e){if(e.cancelable&&(this.touchMove||this.touchResize&&e.touches.length>1)&&this.processEvent(e)){var t=this.$refs.container,r=t.getBoundingClientRect(),n=r.left,i=r.top,a=r.bottom,o=r.right;this.touches=u(e.touches).filter((function(e){return e.clientX>n&&e.clientX<o&&e.clientY>
1i&&e.clientY<a})),this.oldGeometricProperties=Xe(this.touches,t)}},onTouchEnd:function(e){0===e.touches.length&&(this.touches=[],this.processEnd())},onTouchMove:function(e){var t=this;if(this.touches.length){var r=u(e.touches).filter((function(e){return!e.identifier||t.touches.find((function(t){return t.identifier===e.identifier}))}));this.processEvent(e)&&(this.processMove(e,r),this.processStart())}},onMouseDown:function(e){if(this.mouseMove&&"buttons"in e&&1===e.buttons&&this.processEvent(e)){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.processStart()}},onMouseMove:function(e){this.touches.length&&this.processEvent(e)&&this.processMove(e,[{clientX:e.clientX,clientY:e.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(e){if(this.wheelResize&&this.processEvent(e)){var t=this.$refs.container.getBoundingClientRect(),r=t.left,n=t.top,i=1+this.wheelResize.ratio*(o=e.deltaY||e.detail||e.wheelDelta,0===(s=+o)||k(s)?s:s>0?1:-1),a={left:e.clientX-r,top:e.clientY-n};this.$emit("resize",new A({},{factor:i,center:a})),this.touches.length||this.debouncedProcessEnd()}var o,s}}},void 0,!1,void 0,!1,void 0,void 0,void 0),$e=U({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("transformable-image",{attrs:{"touch-move":e.touchMove,"touch-resize":e.touchResize,"mouse-move":e.mouseMove,"wheel-resize":e.wheelResize},on:{move:function(t){return e.$emit("move",t)},resize:function(t){return e.$emit("resize",t)}}},[e._t("default")],2)},staticRenderFns:[]},void 0,{components:{TransformableImage:Ze},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ye=p("vue-preview"),Ve=U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"root",class:e.classes.root,style:e.style},[r("div",{ref:"wrapper",class:e.classes.wrapper,style:e.wrapperStyle},[r("img",{directives:[{name:"show",rawName:"v-show",value:e.image&&e.image.src,expression:"image && image.src"}],ref:"image",class:e.classes.image,style:e.imageStyle,attrs:{src:e.image&&e.image.src}})])])},staticRenderFns:[]},void 0,{props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:Ye({fill:this.fill}),wrapper:Ye("wrapper"),imageWrapper:Ye("image-wrapper"),image:f(Ye("image"),this.imageClass)}},style:function(){if(this.fill)return{};var e={};return this.width&&(e.width="".concat(this.size.width,"px")),this.height&&(e.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},wrapperStyle:function(){var e={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},imageStyle:function(){if(this.coordinates&&this.image){var e=this.coordinates.width/this.size.width,t=a(a({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/e,scaleY:1/e}),r=this.imageSize.width,n=this.imageSize.height,i=ae({width:r,height:n},t.rotate),o={width:"".concat(r,"px"),height:"".concat(n,"px"),left:"0px",top:"0px"},s={rotate:{left:(r-i.width)*t.scaleX/2,top:(n-i.height)*t.scaleY/2},scale:{left:(1-t.scaleX)*r/2,top:(1-t.scaleY)*n/2}};return o.transform="translate(\n\t\t\t\t".concat(-this.coordinates.left/e-s.rotate.left-s.scale.left,"px,").concat(-this.coordinates.top/e-s.rotate.top-s.scale.top,"px) ")+He(t),this.transitions&&this.transitions.enabled&&(o.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),o}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(e){(e.width||e.height)&&this.onChangeImage()}},mounted:function(){var e=this;this.onChangeImage(),this.$refs.image.addEventListener("load",(function(){e.refreshImage()})),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},destroyed:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var e=this.$refs.image;this.calculatedImageSize.height=e.naturalHeight,this.calculatedImageSize.width=e.naturalWi
1dth},refresh:function(){var e=this.$refs.root;this.width||(this.calculatedSize.width=e.clientWidth),this.height||(this.calculatedSize.height=e.clientHeight)},onChangeImage:function(){var e=this.$refs.image;e&&e.complete&&this.refreshImage(),this.refresh()}}},void 0,!1,void 0,!1,void 0,void 0,void 0),Ke=U({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("preview",e._b({attrs:{fill:!0}},"preview",e.$attrs,!1))},staticRenderFns:[]},void 0,{components:{Preview:Ve},inheritAttrs:!1},void 0,!1,void 0,!1,void 0,void 0,void 0),Qe=p("vue-rectangle-stencil"),Je=U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.classes.stencil,style:e.style},[r("bounding-box",{class:e.classes.boundingBox,attrs:{width:e.stencilCoordinates.width,height:e.stencilCoordinates.height,transitions:e.transitions,handlers:e.handlers,"handlers-component":e.handlersComponent,"handlers-classes":e.handlersClasses,"handlers-wrappers-classes":e.handlersWrappersClasses,lines:e.lines,"lines-component":e.linesComponent,"lines-classes":e.linesClasses,"lines-wrappers-classes":e.linesWrappersClasses,resizable:e.resizable},on:{resize:e.onResize,"resize-end":e.onResizeEnd}},[r("draggable-area",{attrs:{movable:e.movable},on:{move:e.onMove,"move-end":e.onMoveEnd}},[r("stencil-preview",{class:e.classes.preview,attrs:{image:e.image,coordinates:e.coordinates,width:e.stencilCoordinates.width,height:e.stencilCoordinates.height,transitions:e.transitions}})],1)],1)],1)},staticRenderFns:[]},void 0,{name:"RectangleStencil",components:{StencilPreview:Ke,BoundingBox:Me,DraggableArea:Ne},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return Oe}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return Be}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:f(Qe({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:f(Qe("preview"),this.previewClass),boundingBox:f(Qe("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,r=e.width,n=e.left,i=e.top,a={width:"".concat(r,"px"),height:"".concat(t,"px"),transform:"translate(".concat(n,"px, ").concat(i,"px)")};return this.transitions&&this.transitions.enabled&&(a.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),a}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}}},void 0,!1,void 0,!1,void 0,void 0,void 0),et=p("vue-circle-stencil"),tt=U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.classes.stencil,style:e.style},[r("bounding-box",{class:e.classes.boundingBox,attrs:{width:e.stencilCoordinates.width,height:e.stencilCoordinates.height,transitions:e.transitions,handlers:e.handlers,"handlers-component":e.handlersComponent,"handlers-classe
1s":e.handlersClasses,"handlers-wrappers-classes":e.handlersWrappersClasses,lines:e.lines,"lines-component":e.linesComponent,"lines-classes":e.linesClasses,"lines-wrappers-classes":e.linesWrappersClasses,resizable:e.resizable},on:{resize:e.onResize,"resize-end":e.onResizeEnd}},[r("draggable-area",{attrs:{movable:e.movable},on:{move:e.onMove,"move-end":e.onMoveEnd}},[r("stencil-preview",{class:e.classes.preview,attrs:{image:e.image,coordinates:e.coordinates,width:e.stencilCoordinates.width,height:e.stencilCoordinates.height,transitions:e.transitions}})],1)],1)],1)},staticRenderFns:[]},void 0,{components:{StencilPreview:Ke,BoundingBox:Me,DraggableArea:Ne},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,westNorth:!0,westSouth:!0,eastSouth:!0}}},handlersComponent:{type:[Object,String],default:function(){return Oe}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return Be}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:f(et({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:f(et("preview"),this.previewClass),boundingBox:f(et("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,r=e.width,n=e.left,i=e.top,a={width:"".concat(r,"px"),height:"".concat(t,"px"),transform:"translate(".concat(n,"px, ").concat(i,"px)")};return this.transitions&&this.transitions.enabled&&(a.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),a}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:1,maximum:1}}}},void 0,!1,void 0,!1,void 0,void 0,void 0),rt=["transitions"],nt=p("vue-advanced-cropper"),it={name:"Cropper",components:{BackgroundWrapper:$e},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return Je}},backgroundWrapperComponent:{type:[Object,String],default:function(){return $e}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(e){return-1!==H.indexOf(e)}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object],default:function(e){var t=e.imageSize,r=e.visibleArea,n=e.coordinates,i=r||t;return{left:(r?r.left:0)+i.width/2-n.width/2,top:(r?r.top:0)+i.height/2-n.height/2}}},defaultVisibleArea:{type:[Function,Object],default:function(e){var t=e.getAreaRestrictions,r=e.coordinates,n=e.imageSize,i=ee(e.boundaries);if(r){var a={height:Math.max(r.height,n.height),width:Math.max(r.width,n.width)}
1,o=ie({width:ee(a)>i?a.width:a.height*i,height:ee(a)>i?a.width/i:a.height},ce(t())),s={left:r.left+r.width/2-o.width/2,top:r.top+r.height/2-o.height/2,width:o.width,height:o.height},u=Y(r,X(m({left:0,top:0},n))),c={};return!u.left&&!u.right&&s.width<=n.width&&(c.left=0,c.right=n.width),!u.top&&!u.bottom&&s.height<=n.height&&(c.top=0,c.bottom=n.height),ue(s,c)}var l=ee(n);return o={height:l>i?n.height:n.width/i,width:l>i?n.height*i:n.width},{left:n.width/2-o.width/2,top:n.height/2-o.height/2,width:o.width,height:o.height}}},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(e){return!("string"==typeof e&&"fill"!==e&&"fit"!==e)}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(e){var t=e.event,r=e.coordinates,n=e.aspectRatio,i=e.positionRestrictions,a=e.sizeRestrictions,o=m(m({},r),{right:r.left+r.width,bottom:r.top+r.height}),s=t.params||{},u=m({},t.directions),c=s.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};a.widthFrozen&&(u.left=0,u.right=0),a.heightFrozen&&(u.top=0,u.bottom=0),P.forEach((function(e){c[e]||(u[e]=0)}));var l=V(o,u=ke({coordinates:o,directions:u,sizeRestrictions:a,positionRestrictions:i})).width,d=V(o,u).height,h=s.preserveRatio?ee(o):ne(l/d,n);if(h){var f=s.respectDirection;if(f||(f=o.width>=o.height||1===h?"width":"height"),"width"===f){var p=l/h-o.height;if(c.top&&c.bottom){var g=u.top,v=u.bottom;u.bottom=_e(p,v,g),u.top=_e(p,g,v)}else c.bottom?u.bottom=p:c.top?u.top=p:c.right?u.right=0:c.left&&(u.left=0)}else if("height"===f){var b=o.width-d*h;if(c.left&&c.right){var y=u.left,D=u.right;u.left=-_e(b,y,D),u.right=-_e(b,D,y)}else c.left?u.left=-b:c.right?u.right=-b:c.top?u.top=0:c.bottom&&(u.bottom=0)}u=ke({directions:u,coordinates:o,sizeRestrictions:a,positionRestrictions:i,preserveRatio:!0,compensate:s.compensate})}return l=V(o,u).width,d=V(o,u).height,(h=s.preserveRatio?ee(o):ne(l/d,n))&&Math.abs(h-l/d)>.001&&P.forEach((function(e){c[e]||(u[e]=0)})),ve({event:new O({left:-u.left,top:-u.top}),coordinates:{width:r.width+u.right+u.left,height:r.height+u.top+u.bottom,left:r.left,top:r.top},positionRestrictions:i})}},moveAlgorithm:{type:Function,default:ve},initStretcher:{type:Function,default:function(e){var t=e.stretcher,r=e.imageSize,n=ee(r);t.style.width=r.width+"px",t.style.height=t.clientWidth/n+"px",t.style.width=t.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(e){var t=e.visibleArea,r=e.coordinates,n=e.aspectRatio,i=e.sizeRestrictions,a=e.positionRestrictions,o=m(m({},r),ge({width:r.width,height:r.height,aspectRatio:n,sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minHeight:Math.min(t.height,i.minHeight),minWidth:Math.min(t.width,i.minWidth)}}));return ue(o=Q(o,Z($(r),$(o))),he(X(t),a))}},fitVisibleArea:{type:Function,default:function(e){var t=e.visibleArea,r=e.boundaries,n=e.getAreaRestrictions,i=e.coordinates,a=m({},t);a.height=a.width/ee(r),a.top+=(t.height-a.height)/2,(i.height-a.height>0||i.width-a.width>0)&&(a=J(a,Math.max(i.height/a.height,i.width/a.width)));var o=K(re(i,X(a=J(a,se(a,n({visibleArea:a,type:"resize"}))))));return a.width<i.width&&(o.left=0),a.height<i.height&&(o.top=0),ue(a=Q(a,o),n({visibleArea:a,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.visibleArea,r=e.boundaries,n=e.imageSize,i=e.imageRestriction,a=e.type,o={};return"fill-area"===i?o={left:0,top:0,right:n.width,bottom:n.height}:"fit-area"===i&&(ee(r)>ee(n)?(o={top:0,bottom:n.height},t&&"move"===a&&(t.width>n.width?(o.left=-(t.width-n.width)/2,o.right=n.width-o.left):(o.left=0,o.right=n.width))):(o={left:0,right:n.width},t&&"move"===a&&(t.height>n.height?(o.top=-(t.height-n.height)/2,o.bottom=n.height-o.top):(o.top=0,o.bottom=n.height)))),o}},sizeRestrictionsAlgorithm:{type:Function,default:function(e){return{minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.imageSize,r={};return"none"!==e.imageRestriction&&(r={left:0,top:0,right:t.width,bottom:t.height}),r}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:!1,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:a({},W)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var e=function(e){return e*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(e))+Math.abs(this.imageAttributes.height*Math.sin(e)),height:Math.abs(this.imageAttributes.width*Math.sin(e))+Math.abs(this.imageAttributes.height*Math.cos(e))}},initialized:function(){return Boolean(this.visibleArea&&this.imageLoaded)},settings:function(){var e=F(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:F(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:e}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var e=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:x(this.minWidth)?0:C(this.minWidth),minHeight:x(this.minHeight)?0:C(this.minHeight),maxWidth:x(this.maxWidth)?1/0:C(this.maxWidth),maxHeight:x(this.maxHeight)?1/0:C(this.maxHeight)});if(e=function(e){var t=e.areaRestrictions,r=e.sizeRestrictions;e.imageSize;var n=e.boundaries,i=e.positionRestrictions;e.imageRestriction;var a=m(m({},r),{minWidth:void 0!==r.minWidth?r.minWidth:0,minHeight:void 0!==r.minHeight?r.minHeight:0,maxWidth:void 0!==r.maxWidth?r.maxWidth:1/0,maxHeight:void 0!==r.maxHeight?r.maxHeight:1/0});void 0!==i.left&&void 0!==i.right&&(a.maxWidth=Math.min(a.maxWidth,i.right-i.left)),void 0!==i.bottom&&void 0!==i.top&&(a.maxHeight=Math.min(a.maxHeight,i.bottom-i.top));var o=ce(t),s=ie(n,o);return o.width<1/0&&(!a.maxWidth||a.maxWidth>s.width)&&(a.maxWidth=Math.min(a.maxWidth,s.width)),o.height<1/0&&(!a.maxHeight||a.maxHeight>s.height)&&(a.maxHeight=Math.min(a.maxHeight,s.height)),a.minWidth>a.maxWidth&&(a.minWidth=a.maxWidth,a.widthFrozen=!0),a.minHeight>a.maxHeight&&(a.minHeight=a.maxHeight,a.heightFrozen=!0),a}({sizeRestrictions:e,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}
1),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var t=this.getStencilSize(),r=ce(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));e.maxWidth=Math.min(e.maxWidth,r.width*t.width/this.boundaries.width),e.maxHeight=Math.min(e.maxHeight,r.height*t.height/this.boundaries.height),e.maxWidth<e.minWidth&&(e.minWidth=e.maxWidth),e.maxHeight<e.minHeight&&(e.minHeight=e.maxHeight)}return e}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:nt(),image:f(nt("image"),this.imageClass),stencil:nt("stencil"),boundaries:f(nt("boundaries"),this.boundariesClass),stretcher:f(nt("stretcher")),background:f(nt("background"),this.backgroundClass),foreground:f(nt("foreground"),this.foregroundClass),imageWrapper:f(nt("image-wrapper")),cropperWrapper:f(nt("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var e=this.coordinates,t=e.width,r=e.height,n=e.left,i=e.top;return{width:t/this.coefficient,height:r/this.coefficient,left:(n-this.visibleArea.left)/this.coefficient,top:(i-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var e={width:this.boundaries.width?"".concat(Math.round(this.boundaries.width),"px"):"auto",height:this.boundaries.height?"".concat(Math.round(this.boundaries.height),"px"):"auto",transition:"opacity ".concat(this.transitionTime,"ms"),pointerEvents:this.imageLoaded?"all":"none"};return this.imageLoaded||(e.opacity="0"),e},imageStyle:function(){var e=this.imageAttributes.width>this.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},t={left:(e.width-this.imageSize.width)/(2*this.coefficient),top:(e.height-this.imageSize.height)/(2*this.coefficient)},r={left:(1-1/this.coefficient)*e.width/2,top:(1-1/this.coefficient)*e.height/2},n=a(a({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/e.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/e.height)}),i={width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-t.left-r.left-this.imageTransforms.translateX,"px, ").concat(-t.top-r.top-this.imageTransforms.translateY,"px)")+He(n)};return this.transitionsOptions.enabled&&(i.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),i}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var e=this;this.$nextTick((function(){e.resetCoordinates(),e.runAutoZoom("setCoordinates"),e.onChange()}))},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(e,t){["aspectRatio","minAspectRatio","maxAspectRatio"].find((function(r){return e[r]!==t[r]}))&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=v(this.update,this.debounce),this.debouncedDisableTransitions=v(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},destroyed:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var e=this.initialized?this.prepareResult(a({},this.coordinates)):this.defaultCoordinates(),t={rotate:this.imageTransforms.rotate%360,flip:a({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var r=this;return{image:this.image,coordinates:e,visibleArea:this.visibleArea?a({},this.visibleArea):null,imageTransforms:t,get canvas(){return r.canvas?r.getCanvas():void 0}}}return{image:this.image,coordinates:e,visibleArea:this.visibleArea?a({},this.visibleArea):null,canvas:void 0,imageTransforms:t}},zoom:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.transitions,i=void 0===n||n;this.onManipulateImage(new A({},{factor:1/e,center:t}),{normalize:!1,transitions:i})},move:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.transitions,i=void 0===n||n;this.onManipulateImage(new A({left:e||0,top:t||0}),{normalize:!1,transitions:i})}
1,setCoordinates:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.autoZoom,i=void 0===n||n,a=r.transitions,o=void 0===a||a;this.$nextTick((function(){t.imageLoaded?(t.transitionsActive||(o&&t.enableTransitions(),t.coordinates=t.applyTransform(e),i&&t.runAutoZoom("setCoordinates"),o&&t.debouncedDisableTransitions()),t.onChange()):t.delayedTransforms=e}))},refresh:function(){var e=this,t=this.$refs.image;if(this.src&&t)return this.initialized?this.updateVisibleArea().then((function(){e.onChange()})):this.resetVisibleArea().then((function(){e.onChange()}))},reset:function(){var e=this;return this.resetVisibleArea().then((function(){e.onChange(!1)}))},awaitRender:function(e){var t=this;this.awaiting||(this.awaiting=!0,this.$nextTick((function(){e(),t.awaiting=!1})))},prepareResult:function(e){return this.roundResult?function(e){var t=e.coordinates,r=e.sizeRestrictions,n=e.positionRestrictions,i={width:Math.round(t.width),height:Math.round(t.height),left:Math.round(t.left),top:Math.round(t.top)};return i.width>r.maxWidth?i.width=Math.floor(t.width):i.width<r.minWidth&&(i.width=Math.ceil(t.width)),i.height>r.maxHeight?i.height=Math.floor(t.height):i.height<r.minHeight&&(i.height=Math.ceil(t.height)),ue(i,n)}(a(a({},this.getPublicProperties()),{},{positionRestrictions:Se(this.positionRestrictions,this.visibleArea),coordinates:e})):e},processAutoZoom:function(e,t,r,n){var i=this.autoZoomAlgorithm;i||(i=this.stencilSize?be:this.autoZoom?ye:De);var o=i({event:{type:e,params:n},visibleArea:t,coordinates:r,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return a(a({},o),{},{changed:!q(o.visibleArea,t)||!q(o.coordinates,r)})},runAutoZoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.transitions,n=void 0!==r&&r,i=s(t,rt),a=this.processAutoZoom(e,this.visibleArea,this.coordinates,i),o=a.visibleArea,u=a.coordinates,c=a.changed;n&&c&&this.enableTransitions(),this.visibleArea=o,this.coordinates=u,n&&c&&this.debouncedDisableTransitions()},normalizeEvent:function(e){return function(e){var t=e.event,r=e.visibleArea,n=e.coefficient;if("manipulateImage"===t.type)return m(m({},t),{move:{left:t.move&&t.move.left?n*t.move.left:0,top:t.move&&t.move.top?n*t.move.top:0},scale:{factor:t.scale&&t.scale.factor?t.scale.factor:1,center:t.scale&&t.scale.center?{left:t.scale.center.left*n+r.left,top:t.scale.center.top*n+r.top}:null}});if("resize"===t.type){var i=m(m({},t),{directions:m({},t.directions)});return P.forEach((function(e){i.directions[e]*=n})),i}if("move"===t.type){var a=m(m({},t),{directions:m({},t.directions)});return G.forEach((function(e){a.directions[e]*=n})),a}return t}(a(a({},this.getPublicProperties()),{},{event:e}))},getCanvas:function(){if(this.$refs.canvas){var e=this.$refs.canvas,t=this.$refs.image,r=0!==this.imageTransforms.rotate||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(e,t,r){var n=r.rotate,i=r.flip,a={width:t.naturalWidth,height:t.naturalHeight},o=ae(a,n),s=e.getContext("2d");e.height=o.height,e.width=o.width,s.save();var u=oe($(m({left:0,top:0},a)),n);return s.translate(-(u.left-o.width/2),-(u.top-o.height/2)),s.rotate(n*Math.PI/180),s.translate(i.horizontal?a.width:0,i.vertical?a.height:0),s.scale(i.horizontal?-1:1,i.vertical?-1:1),s.drawImage(t,0,0,a.width,a.height),s.restore(),e}(this.$refs.sourceCanvas,t,this.imageTransforms):t,n=a({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),i=function(e){return e.find((function(e){return t=e,!Number.isNaN(parseFloat(t))&&isFinite(t);var t}))},o=ge({sizeRestrictions:{minWidth:i([n.width,n.minWidth])||0,minHeight:i([n.height,n.minHeight])||0,maxWidth:i([n.width,n.maxWidth])||1/0,maxHeight:i([n.height,n.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(n.maxArea&&o.width*o.height>n.maxArea){var s=Math.sqrt(n.maxArea/(o.width*o.height));o={width:Math.round(s*o.width),height:Math.round(s*o.height)}}return function(e,t,r,n,i){e.width=n?n.width:r.width,e.height=n?n.height:r.height;var a=e.getContext("2d");a.clearRect(0,0,e.width,e.height),i&&(i.imageSmoothingEnabled&&(a.imageSmoothingEnabled=i.imageSmoothingEnabled),i.imageSmoothingQuality&&(a.imageSmoothingQuality=i.imageSmoothingQuality),i.fillColor&&(a.fillStyle=i.fillColor,a.fillRect(0,0,e.width,e.height),a.save())),a.drawImage(t,r.left,r.top,r.width,r.height,0,0,e.width,e.height)}(e,r,this.coordinates,o,n),e}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.visibleArea&&t?le(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,n=this.visibleArea&&t?Se(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return me({transform:e,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:r,positionRestrictions:n,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var e=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var t=this.defaultSize;t||(t=this.stencilSize?xe:we);var r=this.sizeRestrictions;r.minWidth,r.minHeight,r.maxWidth,r.maxHeight;var n=[w(t)?t({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):t,function(t){var r=t.coordinates;return a({},w(e.defaultPosition)?e.defaultPosition({coordinates:r,imageSize:e.imageSize,visibleArea:e.visibleArea}):e.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,u(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var e=this;this.imageLoaded=!1,setTimeout((function(){var t=e.$refs.stretcher;t&&(t.style.height="auto",t.style.width="auto"),e.coordinates=e.defaultCoordinates(),e.boundaries={width:0,height:0}}),this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var e=this,t=this.$refs.stretcher,r=this.$refs.cropper;return this.initStretcher({cropper:r,stretcher:t,imageSize:this.imageSize}),this.$nextTick().then((function(){var t={cropper:r,imageSize:e.imageSize};
1if(w(e.defaultBoundaries)?e.boundaries=e.defaultBoundaries(t):"fit"===e.defaultBoundaries?e.boundaries=function(e){var t=e.cropper,r=e.imageSize,n=t.clientHeight,i=t.clientWidth,a=n,o=r.width*n/r.height;return o>i&&(o=i,a=r.height*i/r.width),{width:o,height:a}}(t):e.boundaries=function(e){var t=e.cropper;return{width:t.clientWidth,height:t.clientHeight}}(t),!e.boundaries.width||!e.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")}))},resetVisibleArea:function(){var e=this;return this.appliedImageTransforms=a(a({},this.defaultImageTransforms),{},{flip:a({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then((function(){var t,r,n,i,a,o;"visible-area"!==e.priority&&(e.visibleArea=null,e.resetCoordinates()),e.visibleArea=w(e.defaultVisibleArea)?e.defaultVisibleArea({imageSize:e.imageSize,boundaries:e.boundaries,coordinates:"visible-area"!==e.priority?e.coordinates:null,getAreaRestrictions:e.getAreaRestrictions,stencilSize:e.getStencilSize()}):e.defaultVisibleArea,e.visibleArea=(t={visibleArea:e.visibleArea,boundaries:e.boundaries,getAreaRestrictions:e.getAreaRestrictions},r=t.visibleArea,n=t.boundaries,i=t.getAreaRestrictions,a=m({},r),o=ee(n),a.width/a.height!==o&&(a.height=a.width/o),ue(a,i({visibleArea:a,type:"move"}))),"visible-area"===e.priority?e.resetCoordinates():e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("resetVisibleArea")})).catch((function(){e.visibleArea=null}))},updateVisibleArea:function(){var e=this;return this.updateBoundaries().then((function(){e.visibleArea=e.fitVisibleArea({imageSize:e.imageSize,boundaries:e.boundaries,visibleArea:e.visibleArea,coordinates:e.coordinates,getAreaRestrictions:e.getAreaRestrictions}),e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("updateVisibleArea")})).catch((function(){e.visibleArea=null}))},onChange:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.$listeners&&this.$listeners.change&&(e&&this.debounce?this.debouncedUpdate():this.update())},onChangeImage:function(){var e,t=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(e){if(D(e))return!1;var t=window.location,r=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(e)||[],n={protocol:r[1]||"",host:r[2]||"",port:r[3]||""},i=function(e){return e.port||("http"===(e.protocol||t.protocol)?80:433)};return!(!n.protocol&&!n.host&&!n.port||Boolean(n.protocol&&n.protocol==t.protocol&&n.host&&n.host==t.host&&n.host&&i(n)==i(t)))}(this.src)){var r=x(this.crossOrigin)?this.canvas:this.crossOrigin;!0===r&&(r="anonymous"),this.imageAttributes.crossOrigin=r}if(this.checkOrientation){var n=(e=this.src,new Promise((function(t){Ge(e).then((function(r){var n=We(r);t(r?{source:e,arrayBuffer:r,orientation:n}:{source:e,arrayBuffer:null,orientation:null})})).catch((function(r){console.warn(r),t({source:e,arrayBuffer:null,orientation:null})}))})));setTimeout((function(){n.then(t.onParseImage)}),this.transitionTime)}else setTimeout((function(){t.onParseImage({source:t.src})}),this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var e=this,t=this.$refs.image;t&&!this.imageLoaded&&(this.imageAttributes.height=t.naturalHeight,this.imageAttributes.width=t.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then((function(){e.$emit("ready"),e.onChange(!1)})))},onParseImage:function(e){var t=this,r=e.source,n=e.arrayBuffer,i=e.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,n&&i&&i>1?y(r)||!D(r)?(this.imageAttributes.src=URL.createObjectURL(new Blob([n])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(e){for(var t=[],r=new Uint8Array(e);r.length>0;){var n=r.subarray(0,8192);t.push(String.fromCharCode.apply(null,Array.from?Array.from(n):n.slice())),r=r.subarray(8192)}return"data:image/jpeg;base64,"+btoa(t.join(""))}(n):this.imageAttributes.src=r,w(this.defaultTransforms)?this.appliedImageTransforms=je(this.defaultTransforms()):S(this.defaultTransforms)?this.appliedImageTransforms=je(this.defaultTransforms):this.appliedImageTransforms=function(e){var t=je({});if(e)switch(e){case 2:t.flip.horizontal=!0;break;case 3:t.rotate=-180;break;case 4:t.flip.vertical=!0;break;case 5:t.rotate=90,t.flip.vertical=!0;break;case 6:t.rotate=90;break;case 7:t.rotate=90,t.flip.horizontal=!0;break;case 8:t.rotate=-90}return t}(i),this.defaultImageTransforms=a(a({},this.appliedImageTransforms),{},{flip:a({},this.appliedImageTransforms.flip)}),this.$nextTick((function(){var e=t.$refs.image;
1e&&e.complete&&(function(e){return Boolean(e.naturalWidth)}(e)?t.onSuccessLoadImage():t.onFailLoadImage())}))},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(e){var t=this;this.transitionsOptions.enabled||this.awaitRender((function(){t.coordinates=t.moveAlgorithm(a(a({},t.getPublicProperties()),{},{positionRestrictions:Se(t.positionRestrictions,t.visibleArea),coordinates:t.coordinates,event:t.normalizeEvent(e)})),t.onChange()}))},onResize:function(e){var t=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender((function(){var r=t.sizeRestrictions,n=Math.min(t.coordinates.width,t.coordinates.height,20*t.coefficient);t.coordinates=t.resizeAlgorithm(a(a({},t.getPublicProperties()),{},{positionRestrictions:Se(t.positionRestrictions,t.visibleArea),sizeRestrictions:{maxWidth:Math.min(r.maxWidth,t.visibleArea.width),maxHeight:Math.min(r.maxHeight,t.visibleArea.height),minWidth:Math.max(r.minWidth,n),minHeight:Math.max(r.minHeight,n)},event:t.normalizeEvent(e)})),t.onChange(),t.ticking=!1}))},onManipulateImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.transitionsOptions.enabled){var r=t.transitions,n=void 0!==r&&r,i=t.normalize,o=void 0===i||i;n&&this.enableTransitions();var s=Fe(a(a({},this.getPublicProperties()),{},{event:o?this.normalizeEvent(e):e,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),u=s.visibleArea,c=s.coordinates;this.visibleArea=u,this.coordinates=c,this.runAutoZoom("manipulateImage"),this.onChange(),n&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.visibleArea,r=e.type,n=void 0===r?"move":r;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:t,type:n})},getAspectRatio:function(e){var t,r,n=this.stencilProps,i=n.aspectRatio,a=n.minAspectRatio,o=n.maxAspectRatio;if(this.$refs.stencil.aspectRatios){var s=this.$refs.stencil.aspectRatios();t=s.minimum,r=s.maximum}if(x(t)&&(t=x(i)?a:i),x(r)&&(r=x(i)?o:i),!e&&(x(t)||x(r))){var u=this.getStencilSize(),c=u?ee(u):null;x(t)&&(t=E(c)?c:void 0),x(r)&&(r=E(c)?c:void 0)}return{minimum:t,maximum:r}},getStencilSize:function(){if(this.stencilSize)return e={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},t=e.boundaries,r=e.stencilSize,n=e.aspectRatio,ne(ee(i=w(r)?r({boundaries:t,aspectRatio:n}):r),n)&&(i=ge({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:i.width,height:i.height,aspectRatio:{minimum:n.minimum,maximum:n.maximum}})),(i.width>t.width||i.height>t.height)&&(i=ge({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:i.width,height:i.height,aspectRatio:{minimum:ee(i),maximum:ee(i)}})),i;var e,t,r,n,i},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return a({},W)},flip:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.transitions,i=void 0===n||n;if(!this.transitionsActive){i&&this.enableTransitions();var o=a({},this.imageTransforms.flip),s=Ee({flip:{horizontal:e?!o.horizontal:o.horizontal,vertical:t?!o.vertical:o.vertical},previousFlip:o,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),u=s.visibleArea,c=s.coordinates;e&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),t&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=u,this.coordinates=c,this.onChange(),i&&this.debouncedDisableTransitions()}},rotate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.transitions,n=void 0===r||r;if(!this.transitionsActive){n&&this.enableTransitions();var i=a({},this.imageSize);this.appliedImageTransforms.rotate+=e;var o=Ce({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:i,imageSize:this.imageSize,angle:e,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),s=o.visibleArea,u=o.coordinates,c=this.processAutoZoom("rotateImage",s,u);s=c.visibleArea,u=c.coordinates,this.visibleArea=s,this.coordinates=u,this.onChange(),n&&this.debouncedDisableTransitions()}}}},at=U({render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"cropper",class:e.classes.cropper},[r("div",{ref:"stretcher",class:e.classes.stretcher}),e._v(" "),r("div",{class:e.classes.boundaries,style:e.boundariesStyle},[r(e.backgroundWrapperComponent,{tag:"component",class:e.classes.cropperWrapper,attrs:{"wheel-resize":e.settings.resizeImage.wheel,"touch-resize":e.settings.resizeImage.touch,"touch-move":e.settings.moveImage.touch,"mouse-move":e.settings.moveImage.mouse},on:{move:e.onManipulateImage,resize:e.onManipulateImage}},[r("div",{class:e.classes.background,style:e.boundariesStyle}),e._v(" "),r("div",{class:e.classes.imageWrapper},[r("img",{ref:"image",class:e.classes.image,style:e.imageStyle,attrs:{crossorigin:e.imageAttributes.crossOrigin,src:e.imageAttributes.src},on:{mousedown:function(e){e.preventDefault()}}})]),e._v(" "),r("div",{class:e.classes.foreground,style:e.boundariesStyle}),e._v(" "),r(e.stencilComponent,e._b({directives:[{name:"show",rawName:"v-show",value:e.imageLoaded,expression:"imageLoaded"}],ref:"stencil",tag:"component",attrs:{image:e.image,coordinates:e.coordinates,"stencil-coordinates":e.stencilCoordinates,transitions:e.transitionsOptions},on:{resize:e.onResize,"resize-end":e.onResizeEnd,move:e.onMove,"move-end":e.onMoveEnd}},"component",e.stencilProps,!1)),e._v(" "),e.canvas?r("canvas",{ref:"canvas",style:{display:"none"}}
1):e._e(),e._v(" "),e.canvas?r("canvas",{ref:"sourceCanvas",style:{display:"none"}}):e._e()],1)],1)])},staticRenderFns:[]},void 0,it,void 0,!1,void 0,!1,void 0,void 0,void 0);n["default"].component("cropper",at),n["default"].component("rectangle-stencil",Je),n["default"].component("circle-stencil",tt),n["default"].component("simple-handler",Oe),n["default"].component("simple-line",Be)},a2db:function(e,t,r){var n=r("9e69"),i=n?n.prototype:void 0,a=i?i.valueOf:void 0;function o(e){return a?Object(a.call(e)):{}}e.exports=o},a395:function(e,t,r){var n=r("7037")["default"],i=r("e50d");function a(e){var t=i(e,"string");return"symbol"===n(t)?t:String(t)}e.exports=a,e.exports.__esModule=!0,e.exports["default"]=e.exports},a500:function(e,t,r){var n=r("6f3b");n(n.S+n.F*!r("cdd8"),"Object",{defineProperty:r("0f5b").f})},a5245:function(e,t,r){var n=r("4245");function i(e){return n(this,e).has(e)}e.exports=i},a53d:function(e,t,r){var n=r("cacd"),i=r("965c");r("bf24")("keys",(function(){return function(e){return i(n(e))}}))},a788:function(e,t,r){"use strict";(function(e){String.prototype.codePointAt||function(){var e=function(){try{var e={},t=Object.defineProperty,r=t(e,e,e)&&t}catch(n){}return r}(),t=function(e){if(null==this)throw TypeError();var t=String(this),r=t.length,n=e?Number(e):0;if(n!=n&&(n=0),!(n<0||n>=r)){var i,a=t.charCodeAt(n);return a>=55296&&a<=56319&&r>n+1&&(i=t.charCodeAt(n+1),i>=56320&&i<=57343)?1024*(a-55296)+i-56320+65536:a}};e?e(String.prototype,"codePointAt",{value:t,configurable:!0,writable:!0}):String.prototype.codePointAt=t}();var n=0,i=-3;function a(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function o(e,t){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new a,this.dtree=new a}var s=new a,u=new a,c=new Uint8Array(30),l=new Uint16Array(30),d=new Uint8Array(30),h=new Uint16Array(30),f=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=new a,g=new Uint8Array(320);function v(e,t,r,n){var i,a;for(i=0;i<r;++i)e[i]=0;for(i=0;i<30-r;++i)e[i+r]=i/r|0;for(a=n,i=0;i<30;++i)t[i]=a,a+=1<<e[i]}function m(e,t){var r;for(r=0;r<7;++r)e.table[r]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,r=0;r<24;++r)e.trans[r]=256+r;for(r=0;r<144;++r)e.trans[24+r]=r;for(r=0;r<8;++r)e.trans[168+r]=280+r;for(r=0;r<112;++r)e.trans[176+r]=144+r;for(r=0;r<5;++r)t.table[r]=0;for(t.table[5]=32,r=0;r<32;++r)t.trans[r]=r}var b=new Uint16Array(16);function y(e,t,r,n){var i,a;for(i=0;i<16;++i)e.table[i]=0;for(i=0;i<n;++i)e.table[t[r+i]]++;for(e.table[0]=0,a=0,i=0;i<16;++i)b[i]=a,a+=e.table[i];for(i=0;i<n;++i)t[r+i]&&(e.trans[b[t[r+i]]++]=i)}function D(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=1&e.tag;return e.tag>>>=1,t}function w(e,t,r){if(!t)return r;while(e.bitcount<24)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=e.tag&65535>>>16-t;return e.tag>>>
vendor: 12,058 bytes, line 1
1=t,e.bitcount-=t,n+r}function x(e,t){while(e.bitcount<24)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var r=0,n=0,i=0,a=e.tag;do{n=2*n+(1&a),a>>>=1,++i,r+=t.table[i],n-=t.table[i]}while(n>=0);return e.tag=a,e.bitcount-=i,t.trans[r+n]}function S(e,t,r){var n,i,a,o,s,u;for(n=w(e,5,257),i=w(e,5,1),a=w(e,4,4),o=0;o<19;++o)g[o]=0;for(o=0;o<a;++o){var c=w(e,3,0);g[f[o]]=c}for(y(p,g,0,19),s=0;s<n+i;){var l=x(e,p);switch(l){case 16:var d=g[s-1];for(u=w(e,2,3);u;--u)g[s++]=d;break;case 17:for(u=w(e,3,3);u;--u)g[s++]=0;break;case 18:for(u=w(e,7,11);u;--u)g[s++]=0;break;default:g[s++]=l;break}}y(t,g,0,n),y(r,g,n,i)}function F(e,t,r){while(1){var i,a,o,s,u=x(e,t);if(256===u)return n;if(u<256)e.dest[e.destLen++]=u;else for(u-=257,i=w(e,c[u],l[u]),a=x(e,r),o=e.destLen-w(e,d[a],h[a]),s=o;s<o+i;++s)e.dest[e.destLen++]=e.dest[s]}}function C(e){var t,r,a;while(e.bitcount>8)e.sourceIndex--,e.bitcount-=8;if(t=e.source[e.sourceIndex+1],t=256*t+e.source[e.sourceIndex],r=e.source[e.sourceIndex+3],r=256*r+e.source[e.sourceIndex+2],t!==(65535&~r))return i;for(e.sourceIndex+=4,a=t;a;--a)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,n}function E(e,t){var r,a,c,l=new o(e,t);do{switch(r=D(l),a=w(l,2,0),a){case 0:c=C(l);break;case 1:c=F(l,s,u);break;case 2:S(l,l.ltree,l.dtree),c=F(l,l.ltree,l.dtree);break;default:c=i}if(c!==n)throw new Error("Data error")}while(!r);return l.destLen<l.dest.length?"function"===typeof l.dest.slice?l.dest.slice(0,l.destLen):l.dest.subarray(0,l.destLen):l.dest}m(s,u),v(c,l,4,3),v(d,h,2,1),c[28]=0,l[28]=258;var k=E;function _(e,t,r,n,i){return Math.pow(1-i,3)*e+3*Math.pow(1-i,2)*i*t+3*(1-i)*Math.pow(i,2)*r+Math.pow(i,3)*n}function A(){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN}function T(){this.commands=[],this.fill="black",this.stroke=null,this.strokeWidth=1}function O(e){throw new Error(e)}function R(e,t){e||O(t)}A.prototype.isEmpty=function(){return isNaN(this.x1)||isNaN(this.y1)||isNaN(this.x2)||isNaN(this.y2)},A.prototype.addPoint=function(e,t){"number"===typeof e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),"number"===typeof t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t))},A.prototype.addX=function(e){this.addPoint(e,null)},A.prototype.addY=function(e){this.addPoint(null,e)},A.prototype.addBezier=function(e,t,r,n,i,a,o,s){var u=[e,t],c=[r,n],l=[i,a],d=[o,s];this.addPoint(e,t),this.addPoint(o,s);for(var h=0;h<=1;h++){var f=6*u[h]-12*c[h]+6*l[h],p=-3*u[h]+9*c[h]-9*l[h]+3*d[h],g=3*c[h]-3*u[h];if(0!==p){var v=Math.pow(f,2)-4*g*p;if(!(v<0)){var m=(-f+Math.sqrt(v))/(2*p);0<m&&m<1&&(0===h&&this.addX(_(u[h],c[h],l[h],d[h],m)),1===h&&this.addY(_(u[h],c[h],l[h],d[h],m)));var b=(-f-Math.sqrt(v))/(2*p);0<b&&b<1&&(0===h&&this.addX(_(u[h],c[h],l[h],d[h],b)),1===h&&this.addY(_(u[h],c[h],l[h],d[h],b)))}}else{if(0===f)continue;var y=-g/f;0<y&&y<1&&(0===h&&this.addX(_(u[h],c[h],l[h],d[h],y)),1===h&&this.addY(_(u[h],c[h],l[h],d[h],y)))}}},A.prototype.addQuad=function(e,t,r,n,i,a){var o=e+2/3*(r-e),s=t+2/3*(n-t),u=o+1/3*(i-e),c=s+1/3*(a-t);this.addBezier(e,t,o,s,u,c,i,a)},T.prototype.moveTo=function(e,t){this.commands.push({type:"M",x:e,y:t})},T.prototype.lineTo=function(e,t){this.commands.push({type:"L",x:e,y:t})},T.prototype.curveTo=T.prototype.bezierCurveTo=function(e,t,r,n,i,a){this.commands.push({type:"C",x1:e,y1:t,x2:r,y2:n,x:i,y:a})},T.prototype.quadTo=T.prototype.quadraticCurveTo=function(e,t,r,n){this.commands.push({type:"Q",x1:e,y1:t,x:r,y:n})},T.prototype.close=T.prototype.closePath=function(){this.commands.push({type:"Z"})},T.prototype.extend=function(e){if(e.commands)e=e.commands;else if(e instanceof A){var t=e;return this.moveTo(t.x1,t.y1),this.lineTo(t.x2,t.y1),this.lineTo(t.x2,t.y2),this.lineTo(t.x1,t.y2),void this.close()}Array.prototype.push.apply(this.commands,e)},T.prototype.getBoundingBox=function(){for(var e=new A,t=0,r=0,n=0,i=0,a=0;a<this.commands.length;a++){var o=this.commands[a];switch(o.type){case"M":e.addPoint(o.x,o.y),t=n=o.x,r=i=o.y;break;case"L":e.addPoint(o.x,o.y),n=o.x,i=o.y;break;case"Q":e.addQuad(n,i,o.x1,o.y1,o.x,o.y),n=o.x,i=o.y;break;case"C":e.addBezier(n,i,o.x1,o.y1,o.x2,o.y2,o.x,o.y),n=o.x,i=o.y;break;case"Z":n=t,i=r;break;default:throw new Error("Unexpected path command "+o.type)}}return e.isEmpty()&&e.addPoint(0,0),e},T.prototype.draw=function(e){e.beginPath();for(var t=0;t<this.commands.length;t+=1){var r=this.commands[t];"M"===r.type?e.moveTo(r.x,r.y):"L"===r.type?e.lineTo(r.x,r.y):"C"===r.type?e.bezierCurveTo(r.x1,r.y1,r.x2,r.y2,r.x,r.y):"Q"===r.type?e.quadraticCurveTo(r.x1,r.y1,r.x,r.y):"Z"===r.type&&e.closePath()}this.fill&&(e.fillStyle=this.fill,e.fill()),this.stroke&&(e.strokeStyle=this.stroke,e.lineWidth=this.strokeWidth,e.stroke())},T.prototype.toPathData=function(e){function t(t){return Math.round(t)===t?""+Math.round(t):t.toFixed(e)}function r(){for(var e=arguments,r="",n=0;n<arguments.length;n+=1){var i=e[n];i>=0&&n>0&&(r+=" "),r+=t(i)}return r}e=void 0!==e?e:2;for(var n="",i=0;i<this.commands.length;i+=1){var a=this.commands[i];"M"===a.type?n+="M"+r(a.x,a.y):"L"===a.type?n+="L"+r(a.x,a.y):"C"===a.type?n+="C"+r(a.x1,a.y1,a.x2,a.y2,a.x,a.y):"Q"===a.type?n+="Q"+r(a.x1,a.y1,a.x,a.y):"Z"===a.type&&(n+="Z")}return n},T.prototype.toSVG=function(e){var t='<path d="';return t+=this.toPathData(e),t+='"',this.fill&&"black"!==this.fill&&(null===this.fill?t+=' fill="none"':t+=' fill="'+this.fill+'"'),this.stroke&&(t+=' stroke="'+this.stroke+'" stroke-width="'+this.strokeWidth+'"'),t+="/>",t},T.prototype.toDOMElement=function(e){var t=this.toPathData(e),r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d",t),r};var U={fail:O,argument:R,assert:R},B=32768,z=2147483648,L={},I={},M={};function P(e){return function(){return e}}I.BYTE=function(e){return U.argument(e>=0&&e<=255,"Byte value should be between 0 and 255."),[e]},M.BYTE=P(1),I.CHAR=function(e){return[e.charCodeAt(0)]},M.CHAR=P(1),I.CHARARRAY=function(e){"undefined"===typeof e&&(e="",console.warn("Undefined CHARARRAY encountered and treated as an empty string. This is probably caused by a missing glyph name."));for(var t=[],r=0;r<e.length;r+=1)t[r]=e.charCodeAt(r);return t},M.CHARARRAY=function(e){return"undefined"===typeof e?0:e.length},I.USHORT=function(e){return[e>>8&255,255&e]},M.USHORT=P(2),I.SHORT=function(e){return e>=B&&(e=-(2*B-e)),[e>>8&255,255&e]},M.SHORT=P(2),I.UINT24=function(e){return[e>>16&255,e>>8&255,255&e]},M.UINT24=P(3),I.ULONG=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},M.ULONG=P(4),I.LONG=function(e){return e>=z&&(e=-(2*z-e)),[e>>24&255,e>>16&255,e>>8&255,255&e]},M.LONG=P(4),I.FIXED=I.ULONG,M.FIXED=M.ULONG,I.FWORD=I.SHORT,M.FWORD=M.SHORT,I.UFWORD=I.USHORT,M.UFWORD=M.USHORT,I.LONGDATETIME=function(e){return[0,0,0,0,e>>24&255,e>>16&255,e>>8&255,255&e]},M.LONGDATETIME=P(8),I.TAG=function(e){return U.argument(4===e.length,"Tag should be exactly 4 ASCII characters."),[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]},M.TAG=P(4),I.Card8=I.BYTE,M.Card8=M.BYTE,I.Card16=I.USHORT,M.Card16=M.USHORT,I.OffSize=I.BYTE,M.OffSize=M.BYTE,I.SID=I.USHORT,M.SID=M.USHORT,I.NUMBER=function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?(e-=108,[247+(e>>8),255&e]):e>=-1131&&e<=-108?(e=-e-108,[251+(e>>8),255&e]):e>=-32768&&e<=32767?I.NUMBER16(e):I.NUMBER32(e)},M.NUMBER=function(e){return I.NUMBER(e).length},I.NUMBER16=function(e){return[28,e>>8&255,255&e]},M.NUMBER16=P(3),I.NUMBER32=function(e){return[29,e>>24&255,e>>16&255,e>>8&255,255&e]},M.NUMBER32=P(5),I.REAL=function(e){var t=e.toString(),r=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(t);if(r){var n=parseFloat("1e"+((r[2]?+r[2]:0)+r[1].length));t=(Math.round(e*n)/n).toString()}for(var i="",a=0,o=t.length;a<o;a+=1){var s=t[a];i+="e"===s?"-"===t[++a]?"c":"b":"."===s?"a":"-"===s?"e":s}i+=1&i.length?"f":"ff";for(var u=[30],c=0,l=i.length;c<l;c+=2)u.push(parseInt(i.substr(c,2),16));return u},M.REAL=function(e){return I.REAL(e).length},I.NAME=I.CHARARRAY,M.NAME=M.CHARARRAY,I.STRING=I.CHARARRAY,M.STRING=M.CHARARRAY,L.UTF8=function(e,t,r){for(var n=[],i=r,a=0;a<i;a++,t+=1)n[a]=e.getUint8(t);return String.fromCharCode.apply(null,n)},L.UTF16=function(e,t,r){for(var n=[],i=r/2,a=0;a<i;a++,t+=2)n[a]=e.getUint16(t);return String.fromCharCode.apply(null,n)},I.UTF16=function(e){for(var t=[],r=0;r<e.length;r+=1){var n=e.charCodeAt(r);t[t.length]=n>>8&255,t[t.length]=255&n}return t},M.UTF16=function(e){return 2*e.length};var N={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-cyrillic":"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",macintosh:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"};L.MACSTRING=function(e,t,r,n){var i=N[n];if(void 0!==i){for(var a="",o=0;o<r;o++){var s=e.getUint8(t+o);a+=s<=127?String.fromCharCode(s):i[127&s]}return a}};var j,G="function"===typeof WeakMap&&new WeakMap,H=function(e){if(!j)for(var t in j={},N)j[t]=new String(t);var r=j[e];if(void 0!==r){if(G){var n=G.get(r);if(void 0!==n)return n}var i=N[e];if(void 0!==i){for(var a={},o=0;o<i.length;
1o++)a[i.charCodeAt(o)]=o+128;return G&&G.set(r,a),a}}};function W(e){return e>=-128&&e<=127}function q(e,t,r){var n=0,i=e.length;while(t<i&&n<64&&0===e[t])++t,++n;return r.push(128|n-1),t}function X(e,t,r){var n=0,i=e.length,a=t;while(a<i&&n<64){var o=e[a];if(!W(o))break;if(0===o&&a+1<i&&0===e[a+1])break;++a,++n}r.push(n-1);for(var s=t;s<a;++s)r.push(e[s]+256&255);return a}function Z(e,t,r){var n=0,i=e.length,a=t;while(a<i&&n<64){var o=e[a];if(0===o)break;if(W(o)&&a+1<i&&W(e[a+1]))break;++a,++n}r.push(64|n-1);for(var s=t;s<a;++s){var u=e[s];r.push(u+65536>>8&255,u+256&255)}return a}I.MACSTRING=function(e,t){var r=H(t);if(void 0!==r){for(var n=[],i=0;i<e.length;i++){var a=e.charCodeAt(i);if(a>=128&&(a=r[a],void 0===a))return;n[i]=a}return n}},M.MACSTRING=function(e,t){var r=I.MACSTRING(e,t);return void 0!==r?r.length:0},I.VARDELTAS=function(e){var t=0,r=[];while(t<e.length){var n=e[t];t=0===n?q(e,t,r):n>=-128&&n<=127?X(e,t,r):Z(e,t,r)}return r},I.INDEX=function(e){for(var t=1,r=[t],n=[],i=0;i<e.length;i+=1){var a=I.OBJECT(e[i]);Array.prototype.push.apply(n,a),t+=a.length,r.push(t)}if(0===n.length)return[0,0];for(var o=[],s=1+Math.floor(Math.log(t)/Math.log(2))/8|0,u=[void 0,I.BYTE,I.USHORT,I.UINT24,I.ULONG][s],c=0;c<r.length;c+=1){var l=u(r[c]);Array.prototype.push.apply(o,l)}return Array.prototype.concat(I.Card16(e.length),I.OffSize(s),o,n)},M.INDEX=function(e){return I.INDEX(e).length},I.DICT=function(e){for(var t=[],r=Object.keys(e),n=r.length,i=0;i<n;i+=1){var a=parseInt(r[i],0),o=e[a];t=t.concat(I.OPERAND(o.value,o.type)),t=t.concat(I.OPERATOR(a))}return t},M.DICT=function(e){return I.DICT(e).length},I.OPERATOR=function(e){return e<1200?[e]:[12,e-1200]},I.OPERAND=function(e,t){var r=[];if(Array.isArray(t))for(var n=0;n<t.length;n+=1)U.argument(e.length===t.length,"Not enough arguments given for type"+t),r=r.concat(I.OPERAND(e[n],t[n]));else if("SID"===t)r=r.concat(I.NUMBER(e));else if("offset"===t)r=r.concat(I.NUMBER32(e));else if("number"===t)r=r.concat(I.NUMBER(e));else{if("real"!==t)throw new Error("Unknown operand type "+t);r=r.concat(I.REAL(e))}return r},I.OP=I.BYTE,M.OP=M.BYTE;var $="function"===typeof WeakMap&&new WeakMap;function Y(e,t,r){if(t.length&&("coverageFormat"!==t[0].name||1===t[0].value))for(var n=0;n<t.length;n+=1){var i=t[n];this[i.name]=i.value}if(this.tableName=e,this.fields=t,r)for(var a=Object.keys(r),o=0;o<a.length;o+=1){var s=a[o],u=r[s];void 0!==this[s]&&(this[s]=u)}}function V(e,t,r){void 0===r&&(r=t.length);var n=new Array(t.length+1);n[0]={name:e+"Count",type:"USHORT",value:r};for(var i=0;i<t.length;i++)n[i+1]={name:e+i,type:"USHORT",value:t[i]};return n}function K(e,t,r){var n=t.length,i=new Array(n+1);i[0]={name:e+"Count",type:"USHORT",value:n};for(var a=0;a<n;a++)i[a+1]={name:e+a,type:"TABLE",value:r(t[a],a)};return i}function Q(e,t,r){var n=t.length,i=[];i[0]={name:e+"Count",type:"USHORT",value:n};for(var a=0;a<n;a++)i=i.concat(r(t[a],a));return i}function J(e){1===e.format?Y.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:1}].concat(V("glyph",e.glyphs))):2===e.format?Y.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:2}].concat(Q("rangeRecord",e.ranges,(function(e){return[{name:"startGlyphID",type:"USHORT",value:e.start},{name:"endGlyphID",type:"USHORT",value:e.end},{name:"startCoverageIndex",type:"USHORT",value:e.index}]})))):U.assert(!1,"Coverage format must be 1 or 2.")}function ee(e){Y.call(this,"scriptListTable",Q("scriptRecord",e,(function(e,t){var r=e.script,n=r.defaultLangSys;return U.assert(!!n,"Unable to write GSUB: script "+e.tag+" has no default language system."),[{name:"scriptTag"+t,type:"TAG",value:e.tag},{name:"script"+t,type:"TABLE",value:new Y("scriptTable",[{name:"defaultLangSys",type:"TABLE",value:new Y("defaultLangSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:n.reqFeatureIndex}].concat(V("featureIndex",n.featureIndexes)))}].concat(Q("langSys",r.langSysRecords,(function(e,t){var r=e.langSys;return[{name:"langSysTag"+t,type:"TAG",value:e.tag},{name:"langSys"+t,type:"TABLE",value:new Y("langSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:r.reqFeatureIndex}].concat(V("featureIndex",r.featureIndexes)))}]}))))}]})))}function te(e){Y.call(this,"featureListTable",Q("featureRecord",e,(function(e,t){var r=e.feature;return[{name:"featureTag"+t,type:"TAG",value:e.tag},{name:"feature"+t,type:"TABLE",value:new Y("featureTable",[{name:"featureParam
1s",type:"USHORT",value:r.featureParams}].concat(V("lookupListIndex",r.lookupListIndexes)))}]})))}function re(e,t){Y.call(this,"lookupListTable",K("lookup",e,(function(e){var r=t[e.lookupType];return U.assert(!!r,"Unable to write GSUB lookup type "+e.lookupType+" tables."),new Y("lookupTable",[{name:"lookupType",type:"USHORT",value:e.lookupType},{name:"lookupFlag",type:"USHORT",value:e.lookupFlag}].concat(K("subtable",e.subtables,r)))})))}I.CHARSTRING=function(e){if($){var t=$.get(e);if(void 0!==t)return t}for(var r=[],n=e.length,i=0;i<n;i+=1){var a=e[i];r=r.concat(I[a.type](a.value))}return $&&$.set(e,r),r},M.CHARSTRING=function(e){return I.CHARSTRING(e).length},I.OBJECT=function(e){var t=I[e.type];return U.argument(void 0!==t,"No encoding function for type "+e.type),t(e.value)},M.OBJECT=function(e){var t=M[e.type];return U.argument(void 0!==t,"No sizeOf function for type "+e.type),t(e.value)},I.TABLE=function(e){for(var t=[],r=e.fields.length,n=[],i=[],a=0;a<r;a+=1){var o=e.fields[a],s=I[o.type];U.argument(void 0!==s,"No encoding function for field type "+o.type+" ("+o.name+")");var u=e[o.name];void 0===u&&(u=o.value);var c=s(u);"TABLE"===o.type?(i.push(t.length),t=t.concat([0,0]),n.push(c)):t=t.concat(c)}for(var l=0;l<n.length;l+=1){var d=i[l],h=t.length;U.argument(h<65536,"Table "+e.tableName+" too big."),t[d]=h>>8,t[d+1]=255&h,t=t.concat(n[l])}return t},M.TABLE=function(e){for(var t=0,r=e.fields.length,n=0;n<r;n+=1){var i=e.fields[n],a=M[i.type];U.argument(void 0!==a,"No sizeOf function for field type "+i.type+" ("+i.name+")");var o=e[i.name];void 0===o&&(o=i.value),t+=a(o),"TABLE"===i.type&&(t+=2)}return t},I.RECORD=I.TABLE,M.RECORD=M.TABLE,I.LITERAL=function(e){return e},M.LITERAL=function(e){return e.length},Y.prototype.encode=function(){return I.TABLE(this)},Y.prototype.sizeOf=function(){return M.TABLE(this)},J.prototype=Object.create(Y.prototype),J.prototype.constructor=J,ee.prototype=Object.create(Y.prototype),ee.prototype.constructor=ee,te.prototype=Object.create(Y.prototype),te.prototype.constructor=te,re.prototype=Object.create(Y.prototype),re.prototype.constructor=re;var ne={Table:Y,Record:Y,Coverage:J,ScriptList:ee,FeatureList:te,LookupList:re,ushortList:V,tableList:K,recordList:Q};function ie(e,t){return e.getUint8(t)}function ae(e,t){return e.getUint16(t,!1)}function oe(e,t){return e.getInt16(t,!1)}function se(e,t){return e.getUint32(t,!1)}function ue(e,t){var r=e.getInt16(t,!1),n=e.getUint16(t+2,!1);return r+n/65535}function ce(e,t){for(var r="",n=t;n<t+4;n+=1)r+=String.fromCharCode(e.getInt8(n));return r}function le(e,t,r){for(var n=0,i=0;i<r;i+=1)n<<=8,n+=e.getUint8(t+i);return n}function de(e,t,r){for(var n=[],i=t;i<r;i+=1)n.push(e.getUint8(i));return n}function he(e){for(var t="",r=0;r<e.length;r+=1)t+=String.fromCharCode(e[r]);return t}var fe={byte:1,uShort:2,short:2,uLong:4,fixed:4,longDateTime:8,tag:4};function pe(e,t){this.data=e,this.offset=t,this.relativeOffset=0}pe.prototype.parseByte=function(){var e=this.data.getUint8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},pe.prototype.parseChar=function(){var e=this.data.getInt8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},pe.prototype.parseCard8=pe.prototype.parseByte,pe.prototype.parseUShort=function(){var e=this.data.getUint16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},pe.prototype.parseCard16=pe.prototype.parseUShort,pe.prototype.parseSID=pe.prototype.parseUShort,pe.prototype.parseOffset16=pe.prototype.parseUShort,pe.prototype.parseShort=function(){var e=this.data.getInt16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},pe.prototype.parseF2Dot14=function(){var e=this.data.getInt16(this.offset+this.relativeOffset)/16384;return this.relativeOffset+=2,e},pe.prototype.parseULong=function(){var e=se(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},pe.prototype.parseOffset32=pe.prototype.parseULong,pe.prototype.parseFixed=function(){var e=ue(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},pe.prototype.parseString=function(e){var t=this.data,r=this.offset+this.relativeOffset,n="";this.relativeOffset+=e;for(var i=0;i<e;i++)n+=String.fromCharCode(t.getUint8(r+i));return n},pe.prototype.parseTag=function(){return this.parseString(4)},pe.prototype.parseLongDateTime=function(){var e=se(this.data,this.offset+this.relativeOffset+4);return e-=2082844800,this.relativeOffset+=8,e},pe.prototype.parseVersion=function(e){var t=ae(this.data,this.offset+this.relativeOffset),r=ae(this.data,this.offset+this.relativeOffset+2);return this.relativeOffset+=4,void 0===e&&(e=4096),t+r/e/10},pe.prototype.skip=function(e,t){void 0===t&&(t=1),this.relativeOffset+=fe[e]*t},pe.prototype.parseULongList=function(e){void 0===e&&(e=this.parseULong());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,i=0;i<e;i++)t[i]=r.getUint32(n),n+=4;return this.relativeOffset+=4*e,t},pe.prototype.parseOffset16List=pe.prototype.parseUShortList=function(e){void 0===e&&(e=this.parseUShort());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,i=0;i<e;i++)t[i]=r.getUint16(n),n+=2;return this.relativeOffset+=2*e,t},pe.prototype.parseShortList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,i=0;i<e;i++)t[i]=r.getInt16(n),n+=2;return this.relativeOffset+=2*e,t},pe.prototype.parseByteList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,i=0;i<e;i++)t[i]=r.getUint8(n++);return this.relativeOffset+=e,t},pe.prototype.parseList=function(e,t){t||(t=e,e=this.parseUShort());for(var r=new Array(e),n=0;n<e;n++)r[n]=t.call(this);return r},pe.prototype.parseList32=function(e,t){t||(t=e,e=this.parseULong());for(var r=new Array(e),n=0;n<e;n++)r[n]=t.call(this);return r},pe.prototype.parseRecordList=function(e,t){t||(t=e,e=this.parseUShort());for(var r=new Array(e),n=Object.keys(t),i=0;i<e;i++){for(var a={},o=0;o<n.length;o++){var s=n[o],u=t[s];a[s]=u.call(this)}r[i]=a}return r},pe.prototype.parseRecordList32=function(e,t){t||(t=e,e=this.parseULong());for(var r=new Array(e),n=Object.keys(t),i=0;i<e;i++){for(var a={},o=0;o<n.length;o++){var s=n[o],u=t[s];a[s]=u.call(this)}r[i]=a}return r},pe.prototype.parseStruct=function(e){if("function"===typeof e)return e.call(this);for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n],a=e[i];r[i]=a.call(this)}return r},pe.prototype.parseValueRecord=function(e){if(void 0===e&&(e=this.parseUShort()),0!==e){var t={};return 1&e&&(t.xPlacement=this.parseShort()),2&e&&(t.yPlacement=this.parseShort()),4&e&&(t.xAdvance=this.parseShort()),8&e&&(t.yAdvance=this.parseShort()),16&e&&(t.xPlaDevice=void 0,this.parseShort()),32&e&&(t.yPlaDevice=void 0,this.parseShort()),64&e&&(t.xAdvDevice=void 0,this.parseShort()),128&e&&(t.yAdvDevice=void 0,this.parseShort()),t}},pe.prototype.parseValueRecordList=function(){for(var e=this.parseUShort(),t=this.parseUShort(),r=new Array(t),n=0;n<t;n++)r[n]=this.parseValueRecord(e);return r},pe.prototype.parsePointer=function(e){var t=this.parseOffset16();if(t>0)return new pe(this.data,this.offset+t).parseStruct(e)},pe.prototype.parsePointer32=function(e){var t=this.parseOffset32();if(t>0)return new pe(this.data,this.offset+t).parseStruct(e)},pe.prototype.parseListOfLists=function(e){for(var t=this.parseOffset16List(),r=t.length,n=this.relativeOffset,i=new Array(r),a=0;a<r;a++){var o=t[a];if(0!==o)if(this.relativeOffset=o,e){for(var s=this.parseOffset16List(),u=new Array(s.length),c=0;c<s.length;c++)this.relativeOffset=o+s[c],u[c]=e.call(this);i[a]=u}else i[a]=this.parseUShortList();else i[a]=void 0}return this.relativeOffset=n,i},pe.prototype.parseCoverage=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort(),r=this.parseUShort();if(1===t)return{format:1,glyphs:this.parseUShortList(r)};if(2===t){for(var n=new Array(r),i=0;i<r;i++)n[i]={start:this.parseUShort(),end:this.parseUShort(),index:this.parseUShort()};return{format:2,ranges:n}}throw new Error("0x"+e.toString(16)+": Coverage format must be 1 or 2.")},pe.prototype.parseClassDef=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();if(1===t)return{format:1,startGlyph:this.parseUShort(),classes:this.parseUShortList()};if(2===t)return{format:2,ranges:this.parseRecordList({start:pe.uShort,end:pe.uShort,classId:pe.uShort})};throw new Error("0x"+e.toString(16)+": ClassDef format must be 1 or 2.")},pe.list=function(e,t){return function(){return this.parseList(e,t)}},pe.list32=function(e,t){return function(){return this.parseList32(e,t)}},pe.recordList=function(e,t){return function(){return this.parseRecordList(e,t)}},pe.recordList32=function(e,t){return function(){return this.parseRecordList32(e,t)}},pe.pointer=function(e){return function(){return this.parsePointer(e)}},pe.pointer32=function(e){return function(){return this.parsePointer32(e)}},pe.tag=pe.prototype.parseTag,pe.byte=pe.prototype.parseByte,pe.uShort=pe.offset16=pe.prototype.parseUShort,pe.uShortList=pe.prototype.parseUShortList,pe.uLong=pe.offset32=pe.prototype.parseULong,pe.uLongList=pe.prototype.parseULongList,pe.struct=pe.prototype.parseStruct,pe.coverage=pe.prototype.parseCoverage,pe.classDef=pe.prototype.parseClassDef;var ge={reserved:pe.uShort,reqFeatureIndex:pe.uShort,featureIndexes:pe.uShortList};pe.prototype.parseScriptList=function(){return this.parsePointer(pe.recordList({tag:pe.tag,script:pe.pointer({defaultLangSys:pe.pointer(ge),langSysRecords:pe.recordList({tag:pe.tag,langSys:pe.pointer(ge)})})}))||[]},pe.prototype.parseFeatureList=function(){return this.parsePointer(pe.recordList({tag:pe.tag,feature:pe.pointer({featureParam
1s:pe.offset16,lookupListIndexes:pe.uShortList})}))||[]},pe.prototype.parseLookupList=function(e){return this.parsePointer(pe.list(pe.pointer((function(){var t=this.parseUShort();U.argument(1<=t&&t<=9,"GPOS/GSUB lookup type "+t+" unknown.");var r=this.parseUShort(),n=16&r;return{lookupType:t,lookupFlag:r,subtables:this.parseList(pe.pointer(e[t])),markFilteringSet:n?this.parseUShort():void 0}}))))||[]},pe.prototype.parseFeatureVariationsList=function(){return this.parsePointer32((function(){var e=this.parseUShort(),t=this.parseUShort();U.argument(1===e&&t<1,"GPOS/GSUB feature variations table unknown.");var r=this.parseRecordList32({conditionSetOffset:pe.offset32,featureTableSubstitutionOffset:pe.offset32});return r}))||[]};var ve={getByte:ie,getCard8:ie,getUShort:ae,getCard16:ae,getShort:oe,getULong:se,getFixed:ue,getTag:ce,getOffset:le,getBytes:de,bytesToString:he,Parser:pe};function me(e,t){var r;t.parseUShort(),e.length=t.parseULong(),e.language=t.parseULong(),e.groupCount=r=t.parseULong(),e.glyphIndexMap={};for(var n=0;n<r;n+=1)for(var i=t.parseULong(),a=t.parseULong(),o=t.parseULong(),s=i;s<=a;s+=1)e.glyphIndexMap[s]=o,o++}function be(e,t,r,n,i){var a;e.length=t.parseUShort(),e.language=t.parseUShort(),e.segCount=a=t.parseUShort()>>1,t.skip("uShort",3),e.glyphIndexMap={};for(var o=new ve.Parser(r,n+i+14),s=new ve.Parser(r,n+i+16+2*a),u=new ve.Parser(r,n+i+16+4*a),c=new ve.Parser(r,n+i+16+6*a),l=n+i+16+8*a,d=0;d<a-1;d+=1)for(var h=void 0,f=o.parseUShort(),p=s.parseUShort(),g=u.parseShort(),v=c.parseUShort(),m=p;m<=f;m+=1)0!==v?(l=c.offset+c.relativeOffset-2,l+=v,l+=2*(m-p),h=ve.getUShort(r,l),0!==h&&(h=h+g&65535)):h=m+g&65535,e.glyphIndexMap[m]=h}function ye(e,t){var r={};r.version=ve.getUShort(e,t),U.argument(0===r.version,"cmap table version should be 0."),r.numTables=ve.getUShort(e,t+2);for(var n=-1,i=r.numTables-1;i>=0;i-=1){var a=ve.getUShort(e,t+4+8*i),o=ve.getUShort(e,t+4+8*i+2);if(3===a&&(0===o||1===o||10===o)||0===a&&(0===o||1===o||2===o||3===o||4===o)){n=ve.getULong(e,t+4+8*i+4);break}}if(-1===n)throw new Error("No valid cmap sub-tables found.");var s=new ve.Parser(e,t+n);if(r.format=s.parseUShort(),12===r.format)me(r,s);else{if(4!==r.format)throw new Error("Only format 4 and 12 cmap tables are supported (found format "+r.format+").");be(r,s,e,t,n)}return r}function De(e,t,r){e.segments.push({end:t,start:t,delta:-(t-r),offset:0,glyphIndex:r})}function we(e){e.segments.push({end:65535,start:65535,delta:1,offset:0})}function xe(e){var t,r=!0;for(t=e.length-1;t>0;t-=1){var n=e.get(t);if(n.unicode>65535){console.log("Adding CMAP format 12 (needed!)"),r=!1;break}}var i=[{name:"version",type:"USHORT",value:0},{name:"numTables",type:"USHORT",value:r?1:2},{name:"platformID",type:"USHORT",value:3},{name:"encodingID",type:"USHORT",value:1},{name:"offset",type:"ULONG",value:r?12:20}];r||(i=i.concat([{name:"cmap12PlatformID",type:"USHORT",value:3},{name:"cmap12EncodingID",type:"USHORT",value:10},{name:"cmap12Offset",type:"ULONG",value:0}])),i=i.concat([{name:"format",type:"USHORT",value:4},{name:"cmap4Length",type:"USHORT",value:0},{name:"language",type:"USHORT",value:0},{name:"segCountX2",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);var a=new ne.Table("cmap",i);for(a.segments=[],t=0;t<e.length;t+=1){for(var o=e.get(t),s=0;s<o.unicodes.length;s+=1)De(a,o.unicodes[s],t);a.segments=a.segments.sort((function(e,t){return e.start-t.start}))}we(a);var u=a.segments.length,c=0,l=[],d=[],h=[],f=[],p=[],g=[];for(t=0;t<u;t+=1){var v=a.segments[t];v.end<=65535&&v.start<=65535?(l=l.concat({name:"end_"+t,type:"USHORT",value:v.end}),d=d.concat({name:"start_"+t,type:"USHORT",value:v.start}),h=h.concat({name:"idDelta_"+t,type:"SHORT",value:v.delta}),f=f.concat({name:"idRangeOffset_"+t,type:"USHORT",value:v.offset}),void 0!==v.glyphId&&(p=p.concat({name:"glyph_"+t,type:"USHORT",value:v.glyphId}))):c+=1,r||void 0===v.glyphIndex||(g=g.concat({name:"cmap12Start_"+t,type:"ULONG",value:v.start}),g=g.concat({name:"cmap12End_"+t,type:"ULONG",value:v.end}),g=g.concat({name:"cmap12Glyph_"+t,type:"ULONG",value:v.glyphIndex}))}if(a.segCountX2=2*(u-c),a.searchRange=2*Math.pow(2,Math.floor(Math.log(u-c)/Math.log(2))),a.entrySelector=Math.log(a.searchRange/2)/Math.log(2),a.rangeShift=a.segCountX2-a.searchRange,a.fields=a.fields.concat(l),a.fields.push({name:"reservedPad",type:"USHORT",value:0}),a.fields=a.fields.concat(d),a.fields=a.fields.concat(h),a.fields=a.fields.concat(f),a.fields=a.fields.concat(p),a.cmap4Length=14+2*l.length+2+2*d.length+2*h.length+2*f.length+2*p.length,!r){var m=16+4*g.length;a.cmap12Offset=20+a.cmap4Length,a.fields=a.fields.concat([{name:"cmap12Format",type:"USHORT",value:12},{name:"cmap12Reserved",type:"USHORT",value:0},{name:"cmap12Length",type:"ULONG",value:m},{name:"cmap12Language",type:"ULONG",value:0},{name:"cmap12nGroups",type:"ULONG",value:g.length/3}]),a.fields=a.fields.concat(g)}return a}var Se={parse:ye,make:xe},Fe=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodce
1ntered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","266 ff","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],Ce=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","end
1ash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],Ee=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],ke=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslas
1h","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function _e(e){this.font=e}function Ae(e){this.cmap=e}function Te(e,t){this.encoding=e,this.charset=t}function Oe(e){switch(e.version){case 1:this.names=ke.slice();break;case 2:this.names=new Array(e.numberOfGlyphs);for(var t=0;t<e.numberOfGlyphs;t++)e.glyphNameIndex[t]<ke.length?this.names[t]=ke[e.glyphNameIndex[t]]:this.names[t]=e.names[e.glyphNameIndex[t]-ke.length];break;case 2.5:this.names=new Array(e.numberOfGlyphs);for(var r=0;r<e.numberOfGlyphs;r++)this.names[r]=ke[r+e.glyphNameIndex[r]];break;case 3:this.names=[];break;default:this.names=[];break}}function Re(e){for(var t,r=e.tables.cmap.glyphIndexMap,n=Object.keys(r),i=0;i<n.length;i+=1){var a=n[i],o=r[a];t=e.glyphs.get(o),t.addUnicode(parseInt(a))}for(var s=0;s<e.glyphs.length;s+=1)t=e.glyphs.get(s),e.cffEncoding?e.isCIDFont?t.name="gid"+s:t.name=e.cffEncoding.charset[s]:e.glyphNames.names&&(t.name=e.glyphNames.glyphIndexToName(s))}function Ue(e){e._IndexToUnicodeMap={};for(var t=e.tables.cmap.glyphIndexMap,r=Object.keys(t),n=0;n<r.length;n+=1){var i=r[n],a=t[i];void 0===e._IndexToUnicodeMap[a]?e._IndexToUnicodeMap[a]={unicodes:[parseInt(i)]}:e._IndexToUnicodeMap[a].unicodes.push(parseInt(i))}}function Be(e,t){t.lowMemory?Ue(e):Re(e)}function ze(e,t,r,n,i){e.beginPath(),e.moveTo(t,r),e.lineTo(n,i),e.stroke()}_e.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.font.glyphs;if(r)for(var n=0;n<r.length;n+=1)for(var i=r.get(n),a=0;a<i.unicodes.length;a+=1)if(i.unicodes[a]===t)return n;return null},Ae.prototype.charToGlyphIndex=function(e){return this.cmap.glyphIndexMap[e.codePointAt(0)]||0},Te.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.encoding[t];return this.charset.indexOf(r)},Oe.prototype.nameToGlyphIndex=function(e){return this.names.indexOf(e)},Oe.prototype.glyphIndexToName=function(e){return this.names[e]};var Le={line:ze};function Ie(e,t){var r=t||new T;return{configurable:!0,get:function(){return"function"===typeof r&&(r=r()),r},set:function(e){r=e}}}function Me(e){this.bindConstructorValues(e)}function Pe(e,t,r){Object.defineProperty(e,t,{get:function(){return e.path,e[r]},set:function(t){e[r]=t},enumerable:!0,configurable:!0})}function Ne(e,t){if(this.font=e,this.glyphs={},Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];n.path.unitsPerEm=e.unitsPerEm,this.glyphs[r]=n}this.length=t&&t.length||0}function je(e,t){return new Me({index:t,font:e})}function Ge(e,t,r,n,i,a){return function(){var o=new Me({index:t,font:e});return o.path=function(){r(o,n,i);var t=a(e.glyphs,o);return t.unitsPerEm=e.unitsPerEm,t},Pe(o,"xMin","_xMin"),Pe(o,"xMax","_xMax"),Pe(o,"yMin","_yMin"),Pe(o,"yMax","_yMax"),o}}function He(e,t,r,n){return function(){var i=new Me({index:t,font:e});return i.path=function(){var t=r(e,i,n);return t.unitsPerEm=e.unitsPerEm,t},i}}Me.prototype.bindConstructorValues=function(e){this.index=e.index||0,this.name=e.name||null,this.unicode=e.unicode||void 0,this.unicodes=e.unicodes||void 0!==e.unicode?[e.unicode]:[],"xMin"in e&&(this.xMin=e.xMin),"yMin"in e&&(this.yMin=e.yMin),"xMax"in e&&(this.xMax=e.xMax),"yM
1ax"in e&&(this.yMax=e.yMax),"advanceWidth"in e&&(this.advanceWidth=e.advanceWidth),Object.defineProperty(this,"path",Ie(this,e.path))},Me.prototype.addUnicode=function(e){0===this.unicodes.length&&(this.unicode=e),this.unicodes.push(e)},Me.prototype.getBoundingBox=function(){return this.path.getBoundingBox()},Me.prototype.getPath=function(e,t,r,n,i){var a,o;e=void 0!==e?e:0,t=void 0!==t?t:0,r=void 0!==r?r:72,n||(n={});var s=n.xScale,u=n.yScale;if(n.hinting&&i&&i.hinting&&(o=this.path&&i.hinting.exec(this,r)),o)a=i.hinting.getCommands(o),e=Math.round(e),t=Math.round(t),s=u=1;else{a=this.path.commands;var c=1/(this.path.unitsPerEm||1e3)*r;void 0===s&&(s=c),void 0===u&&(u=c)}for(var l=new T,d=0;d<a.length;d+=1){var h=a[d];"M"===h.type?l.moveTo(e+h.x*s,t+-h.y*u):"L"===h.type?l.lineTo(e+h.x*s,t+-h.y*u):"Q"===h.type?l.quadraticCurveTo(e+h.x1*s,t+-h.y1*u,e+h.x*s,t+-h.y*u):"C"===h.type?l.curveTo(e+h.x1*s,t+-h.y1*u,e+h.x2*s,t+-h.y2*u,e+h.x*s,t+-h.y*u):"Z"===h.type&&l.closePath()}return l},Me.prototype.getContours=function(){if(void 0===this.points)return[];for(var e=[],t=[],r=0;r<this.points.length;r+=1){var n=this.points[r];t.push(n),n.lastPointOfContour&&(e.push(t),t=[])}return U.argument(0===t.length,"There are still points left in the current contour."),e},Me.prototype.getMetrics=function(){for(var e=this.path.commands,t=[],r=[],n=0;n<e.length;n+=1){var i=e[n];"Z"!==i.type&&(t.push(i.x),r.push(i.y)),"Q"!==i.type&&"C"!==i.type||(t.push(i.x1),r.push(i.y1)),"C"===i.type&&(t.push(i.x2),r.push(i.y2))}var a={xMin:Math.min.apply(null,t),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,t),yMax:Math.max.apply(null,r),leftSideBearing:this.leftSideBearing};return isFinite(a.xMin)||(a.xMin=0),isFinite(a.xMax)||(a.xMax=this.advanceWidth),isFinite(a.yMin)||(a.yMin=0),isFinite(a.yMax)||(a.yMax=0),a.rightSideBearing=this.advanceWidth-a.leftSideBearing-(a.xMax-a.xMin),a},Me.prototype.draw=function(e,t,r,n,i){this.getPath(t,r,n,i).draw(e)},Me.prototype.drawPoints=function(e,t,r,n){function i(t,r,n,i){e.beginPath();for(var a=0;a<t.length;a+=1)e.moveTo(r+t[a].x*i,n+t[a].y*i),e.arc(r+t[a].x*i,n+t[a].y*i,2,0,2*Math.PI,!1);e.closePath(),e.fill()}t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24;for(var a=1/this.path.unitsPerEm*n,o=[],s=[],u=this.path,c=0;c<u.commands.length;c+=1){var l=u.commands[c];void 0!==l.x&&o.push({x:l.x,y:-l.y}),void 0!==l.x1&&s.push({x:l.x1,y:-l.y1}),void 0!==l.x2&&s.push({x:l.x2,y:-l.y2})}e.fillStyle="blue",i(o,t,r,a),e.fillStyle="red",i(s,t,r,a)},Me.prototype.drawMetrics=function(e,t,r,n){var i;t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24,i=1/this.path.unitsPerEm*n,e.lineWidth=1,e.strokeStyle="black",Le.line(e,t,-1e4,t,1e4),Le.line(e,-1e4,r,1e4,r);var a=this.xMin||0,o=this.yMin||0,s=this.xMax||0,u=this.yMax||0,c=this.advanceWidth||0;e.strokeStyle="blue",Le.line(e,t+a*i,-1e4,t+a*i,1e4),Le.line(e,t+s*i,-1e4,t+s*i,1e4),Le.line(e,-1e4,r+-o*i,1e4,r+-o*i),Le.line(e,-1e4,r+-u*i,1e4,r+-u*i),e.strokeStyle="green",Le.line(e,t+c*i,-1e4,t+c*i,1e4)},Ne.prototype.get=function(e){if(void 0===this.glyphs[e]){this.font._push(e),"function"===typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());var t=this.glyphs[e],r=this.font._IndexToUnicodeMap[e];if(r)for(var n=0;n<r.unicodes.length;n++)t.addUnicode(r.unicodes[n]);this.font.cffEncoding?this.font.isCIDFont?t.name="gid"+e:t.name=this.font.cffEncoding.charset[e]:this.font.glyphNames.names&&(t.name=this.font.glyphNames.glyphIndexToName(e)),this.glyphs[e].advanceWidth=this.font._hmtxTableData[e].advanceWidth,this.glyphs[e].leftSideBearing=this.font._hmtxTableData[e].leftSideBearing}else"function"===typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());return this.glyphs[e]},Ne.prototype.push=function(e,t){this.glyphs[e]=t,this.length++};var We={GlyphSet:Ne,glyphLoader:je,ttfGlyphLoader:Ge,cffGlyphLoader:He};function qe(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r+=1)if(!qe(e[r],t[r]))return!1;return!0}return!1}function Xe(e){var t;return t=e.length<1240?107:e.length<33900?1131:32768,t}function Ze(e,t,r){var n,i,a=[],o=[],s=ve.getCard16(e,t);if(0!==s){var u=ve.getByte(e,t+2);n=t+(s+1)*u+2;for(var c=t+3,l=0;l<s+1;l+=1)a.push(ve.getOffset(e,c,u)),c+=u;i=n+a[s]}else i=t+2;for(var d=0;d<a.length-1;d+=1){var h=ve.getBytes(e,n+a[d],n+a[d+1]);r&&(h=r(h)),o.push(h)}return{objects:o,startOffset:t,endOffset:i}}function $e(e,t){var r,n,i=[],a=ve.getCard16(e,t);if(0!==a){var o=ve.getByte(e,t+2);r=t+(a+1)*o+2;for(var s=t+3,u=0;u<a+1;u+=1)i.push(ve.getOffset(e,s,o)),s+=o;n=r+i[a]}else n=t+2;return{offsets:i,startOffset:t,endOffset:n}}function Ye(e,t,r,n,i){var a=ve.getCard16(r,n),o=0;if(0!==a){var s=ve.getByte(r,n+2);o=n+(a+1)*s+2}var u=ve.getBytes(r,o+t[e],o+t[e+1]);return i&&(u=i(u)),u}function Ve(e){var t="",r=15,n=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];while(1){var i=e.parseByte(),a=i>>4,o=15&i;if(a===r)break;
vendor: 16,930 bytes, line 1
1if(t+=n[a],o===r)break;t+=n[o]}return parseFloat(t)}function Ke(e,t){var r,n,i,a;if(28===t)return r=e.parseByte(),n=e.parseByte(),r<<8|n;if(29===t)return r=e.parseByte(),n=e.parseByte(),i=e.parseByte(),a=e.parseByte(),r<<24|n<<16|i<<8|a;if(30===t)return Ve(e);if(t>=32&&t<=246)return t-139;if(t>=247&&t<=250)return r=e.parseByte(),256*(t-247)+r+108;if(t>=251&&t<=254)return r=e.parseByte(),256*-(t-251)-r-108;throw new Error("Invalid b0 "+t)}function Qe(e){for(var t={},r=0;r<e.length;r+=1){var n=e[r][0],i=e[r][1],a=void 0;if(a=1===i.length?i[0]:i,t.hasOwnProperty(n)&&!isNaN(t[n]))throw new Error("Object "+t+" already has key "+n);t[n]=a}return t}function Je(e,t,r){t=void 0!==t?t:0;var n=new ve.Parser(e,t),i=[],a=[];r=void 0!==r?r:e.length;while(n.relativeOffset<r){var o=n.parseByte();o<=21?(12===o&&(o=1200+n.parseByte()),i.push([o,a]),a=[]):a.push(Ke(n,o))}return Qe(i)}function et(e,t){return t=t<=390?Fe[t]:e[t-391],t}function tt(e,t,r){for(var n,i={},a=0;a<t.length;a+=1){var o=t[a];if(Array.isArray(o.type)){var s=[];s.length=o.type.length;for(var u=0;u<o.type.length;u++)n=void 0!==e[o.op]?e[o.op][u]:void 0,void 0===n&&(n=void 0!==o.value&&void 0!==o.value[u]?o.value[u]:null),"SID"===o.type[u]&&(n=et(r,n)),s[u]=n;i[o.name]=s}else n=e[o.op],void 0===n&&(n=void 0!==o.value?o.value:null),"SID"===o.type&&(n=et(r,n)),i[o.name]=n}return i}function rt(e,t){var r={};return r.formatMajor=ve.getCard8(e,t),r.formatMinor=ve.getCard8(e,t+1),r.size=ve.getCard8(e,t+2),r.offsetSize=ve.getCard8(e,t+3),r.startOffset=t,r.endOffset=t+4,r}var nt=[{name:"version",op:0,type:"SID"},{name:"notice",op:1,type:"SID"},{name:"copyright",op:1200,type:"SID"},{name:"fullName",op:2,type:"SID"},{name:"familyName",op:3,type:"SID"},{name:"weight",op:4,type:"SID"},{name:"isFixedPitch",op:1201,type:"number",value:0},{name:"italicAngle",op:1202,type:"number",value:0},{name:"underlinePosition",op:1203,type:"number",value:-100},{name:"underlineThickness",op:1204,type:"number",value:50},{name:"paintType",op:1205,type:"number",value:0},{name:"charstringType",op:1206,type:"number",value:2},{name:"fontMatrix",op:1207,type:["real","real","real","real","real","real"],value:[.001,0,0,.001,0,0]},{name:"uniqueId",op:13,type:"number"},{name:"fontBBox",op:5,type:["number","number","number","number"],value:[0,0,0,0]},{name:"strokeWidth",op:1208,type:"number",value:0},{name:"xuid",op:14,type:[],value:null},{name:"charset",op:15,type:"offset",value:0},{name:"encoding",op:16,type:"offset",value:0},{name:"charStrings",op:17,type:"offset",value:0},{name:"private",op:18,type:["number","offset"],value:[0,0]},{name:"ros",op:1230,type:["SID","SID","number"]},{name:"cidFontVersion",op:1231,type:"number",value:0},{name:"cidFontRevision",op:1232,type:"number",value:0},{name:"cidFontType",op:1233,type:"number",value:0},{name:"cidCount",op:1234,type:"number",value:8720},{name:"uidBase",op:1235,type:"number"},{name:"fdArray",op:1236,type:"offset"},{name:"fdSelect",op:1237,type:"offset"},{name:"fontName",op:1238,type:"SID"}],it=[{name:"subrs",op:19,type:"offset",value:0},{name:"defaultWidthX",op:20,type:"number",value:0},{name:"nominalWidthX",op:21,type:"number",value:0}];function at(e,t){var r=Je(e,0,e.byteLength);return tt(r,nt,t)}function ot(e,t,r,n){var i=Je(e,t,r);return tt(i,it,n)}function st(e,t,r,n){for(var i=[],a=0;a<r.length;a+=1){var o=new DataView(new Uint8Array(r[a]).buffer),s=at(o,n);s._subrs=[],s._subrsBias=0,s._defaultWidthX=0,s._nominalWidthX=0;var u=s.private[0],c=s.private[1];if(0!==u&&0!==c){var l=ot(e,c+t,u,n);if(s._defaultWidthX=l.defaultWidthX,s._nominalWidthX=l.nominalWidthX,0!==l.subrs){var d=c+l.subrs,h=Ze(e,d+t);s._subrs=h.objects,s._subrsBias=Xe(s._subrs)}s._privateDict=l}i.push(s)}return i}function ut(e,t,r,n){var i,a,o=new ve.Parser(e,t);r-=1;var s=[".notdef"],u=o.parseCard8();if(0===u)for(var c=0;c<r;c+=1)i=o.parseSID(),s.push(et(n,i));else if(1===u)while(s.length<=r){i=o.parseSID(),a=o.parseCard8();for(var l=0;l<=a;l+=1)s.push(et(n,i)),i+=1}else{if(2!==u)throw new Error("Unknown charset format "+u);while(s.length<=r){i=o.parseSID(),a=o.parseCard16();for(var d=0;d<=a;d+=1)s.push(et(n,i)),i+=1}}return s}function ct(e,t,r){var n,i={},a=new ve.Parser(e,t),o=a.parseCard8();if(0===o)for(var s=a.parseCard8(),u=0;u<s;u+=1)n=a.parseCard8(),i[n]=u;else{if(1!==o)throw new Error("Unknown encoding format "+o);var c=a.parseCard8();n=1;for(var l=0;l<c;l+=1)for(var d=a.parseCard8(),h=a.parseCard8(),f=d;f<=d+h;f+=1)i[f]=n,n+=1}return new Te(i,r)}function lt(e,t,r){var n,i,a,o,s,u,c,l,d=new T,h=[],f=0,p=!1,g=!1,v=0,m=0;if(e.isCIDFont){var b=e.tables.cff.topDict._fdSelect[t.index],y=e.tables.cff.topDict._fdArray[b];s=y._subrs,u=y._subrsBias,c=y._defaultWidthX,l=y._nominalWidthX}else s=e.tables.cff.topDict._subrs,u=e.tables.cff.topDict._subrsBias,c=e.tables.cff.topDict._defaultWidthX,l=e.tables.cff.topDict._nominalWidthX;var D=c;function w(e,t){g&&d.closePath(),d.moveTo(e,t),g=!0}function x(){var e;e=h.length%2!==0,e&&!p&&(D=h.shift()+l),f+=h.length>>1,h.length=0,p=!0}function S(r){var c,b,y,F,C,E,k,_,A,T,O,R,U=0;while(U<r.length){var B=r[U];switch(U+=1,B){case 1:x();break;case 3:x();break;case 4:h.length>1&&!p&&(D=h.shift()+l,p=!0),m+=h.pop(),w(v,m);break;case 5:while(h.length>0)v+=h.shift(),m+=h.shift(),d.lineTo(v,m);break;case 6:while(h.length>0){if(v+=h.shift(),d.lineTo(v,m),0===h.length)break;m+=h.shift(),d.lineTo(v,m)}break;case 7:while(h.length>0){if(m+=h.shift(),d.lineTo(v,m),0===h.length)break;v+=h.shift(),d.lineTo(v,m)}break;case 8:while(h.length>0)n=v+h.shift(),i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),v=a+h.shift(),m=o+h.shift(),d.curveTo(n,i,a,o,v,m);break;case 10:C=h.pop()+u,E=s[C],E&&S(E);break;case 11:return;case 12:switch(B=r[U],U+=1,B){case 35:n=v+h.shift(),i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),k=a+h.shift(),_=o+h.shift(),A=k+h.shift(),T=_+h.shift(),O=A+h.shift(),R=T+h.shift(),v=O+h.shift(),m=R+h.shift(),h.shift(),d.curveTo(n,i,a,o,k,_),d.curveTo(A,T,O,R,v,m);break;case 34:n=v+h.shift(),i=m,a=n+h.shift(),o=i+h.shift(),k=a+h.shift(),_=o,A=k+h.shift(),T=o,O=A+h.shift(),R=m,v=O+h.shift(),d.curveTo(n,i,a,o,k,_),d.curveTo(A,T,O,R,v,m);break;case 36:n=v+h.shift(),i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),k=a+h.shift(),_=o,A=k+h.shift(),T=o,O=A+h.shift(),R=T+h.shift(),v=O+h.shift(),d.curveTo(n,i,a,o,k,_),d.curveTo(A,T,O,R,v,m);break;case 37:n=v+h.shift(),i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),k=a+h.shift(),_=o+h.shift(),A=k+h.shift(),T=_+h.shift(),O=A+h.shift(),R=T+h.shift(),Math.abs(O-v)>Math.abs(R-m)?v=O+h.shift():m=R+h.shift(),d.curveTo(n,i,a,o,k,_),d.curveTo(A,T,O,R,v,m);break;default:console.log("Glyph "+t.index+": unknown operator 1200"+B),h.length=0}break;case 14:h.length>0&&!p&&(D=h.shift()+l,p=!0),g&&(d.closePath(),g=!1);break;case 18:x();break;case 19:case 20:x(),U+=f+7>>3;break;case 21:h.length>2&&!p&&(D=h.shift()+l,p=!0),m+=h.pop(),v+=h.pop(),w(v,m);break;case 22:h.length>1&&!p&&(D=h.shift()+l,p=!0),v+=h.pop(),w(v,m);break;case 23:x();break;case 24:while(h.length>2)n=v+h.shift(),i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),v=a+h.shift(),m=o+h.shift(),d.curveTo(n,i,a,o,v,m);v+=h.shift(),m+=h.shift(),d.lineTo(v,m);break;case 25:while(h.length>6)v+=h.shift(),m+=h.shift(),d.lineTo(v,m);n=v+h.shift(),i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),v=a+h.shift(),m=o+h.shift(),d.curveTo(n,i,a,o,v,m);break;case 26:h.length%2&&(v+=h.shift());while(h.length>0)n=v,i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),v=a,m=o+h.shift(),d.curveTo(n,i,a,o,v,m);break;case 27:h.length%2&&(m+=h.shift());while(h.length>0)n=v+h.shift(),i=m,a=n+h.shift(),o=i+h.shift(),v=a+h.shift(),m=o,d.curveTo(n,i,a,o,v,m);break;case 28:c=r[U],b=r[U+1],h.push((c<<24|b<<16)>>16),U+=2;break;case 29:C=h.pop()+e.gsubrsBias,E=e.gsubrs[C],E&&S(E);break;case 30:while(h.length>0){if(n=v,i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),v=a+h.shift(),m=o+(1===h.length?h.shift():0),d.curveTo(n,i,a,o,v,m),0===h.length)break;n=v+h.shift(),i=m,a=n+h.shift(),o=i+h.shift(),m=o+h.shift(),v=a+(1===h.length?h.shift():0),d.curveTo(n,i,a,o,v,m)}break;case 31:while(h.length>0){if(n=v+h.shift(),i=m,a=n+h.shift(),o=i+h.shift(),m=o+h.shift(),v=a+(1===h.length?h.shift():0),d.curveTo(n,i,a,o,v,m),0===h.length)break;n=v,i=m+h.shift(),a=n+h.shift(),o=i+h.shift(),v=a+h.shift(),m=o+(1===h.length?h.shift():0),d.curveTo(n,i,a,o,v,m)}break;default:B<32?console.log("Glyph "+t.index+": unknown operator "+B):B<247?h.push(B-139):B<251?(c=r[U],U+=1,h.push(256*(B-247)+c+108)):B<255?(c=r[U],U+=1,h.push(256*-(B-251)-c-108)):(c=r[U],b=r[U+1],y=r[U+2],F=r[U+3],U+=4,h.push((c<<24|b<<16|y<<8|F)/65536))}}}return S(r),t.advanceWidth=D,d}function dt(e,t,r,n){var i,a=[],o=new ve.Parser(e,t),s=o.parseCard8();if(0===s)for(var u=0;u<r;u++){if(i=o.parseCard8(),i>=n)throw new Error("CFF table CID Font FDSelect has bad FD index value "+i+" (FD count "+n+")");a.push(i)}else{if(3!==s)throw new Error("CFF Table CID Font FDSelect table has unsupported format "+s);var c,l=o.parseCard16(),d=o.parseCard16();if(0!==d)throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+d);for(var h=0;h<l;h++){if(i=o.parseCard8(),c=o.parseCard16(),i>=n)throw new Error("CFF table CID Font FDSelect has bad FD index value "+i+" (FD count "+n+")");if(c>r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID "+c);for(;d<c;d++)a.push(i);d=c}if(c!==r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad final GID "+c)}return a}function ht(e,t,r,n){r.tables.cff={};var i=rt(e,t),a=Ze(e,i.endOffset,ve.bytesToString),o=Ze(e,a.endOffset),s=Ze(e,o.endOffset,ve.bytesToString),u=Ze(e,s.endOffset);r.gsubrs=u.objects,r.gsubrsBias=Xe(r.gsubrs);var c=st(e,t,o.objects,s.objects);if(1!==c.length)throw new Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = "+c.length);var l=c[0];if(r.tables.cff.topDict=l,l._privateDict&&(r.defaultWidthX=l._privateDict.defaultWidthX,r.nominalWidthX=l._privateDict.nominalWidthX),void 0!==l.ros[0]&&void 0!==l.ros[1]&&(r.isCIDFont=!0),r.isCIDFont){var d=l.fdArray,h=l.fdSelect;if(0===d||0===h)throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");d+=t;var f=Ze(e,d),p=st(e,t,f.objects,s.objects);l._fdArray=p,h+=t,l._fdSelect=dt(e,h,r.numGlyphs,p.length)}var g,v=t+l.private[1],m=ot(e,v,l.private[0],s.objects);if(r.defaultWidthX=m.defaultWidthX,r.nominalWidthX=m.nominalWidthX,0!==m.subrs){var b=v+m.subrs,y=Ze(e,b);r.subrs=y.objects,r.subrsBias=Xe(r.subrs)}else r.subrs=[],r.subrsBias=0;n.lowMemory?(g=$e(e,t+l.charStrings),r.nGlyphs=g.offsets.length):(g=Ze(e,t+l.charStrings),r.nGlyphs=g.objects.length);var D=ut(e,t+l.charset,r.nGlyphs,s.objects);if(0===l.encoding?r.cffEncoding=new Te(Ce,D):1===l.encoding?r.cffEncoding=new Te(Ee,D):r.cffEncoding=ct(e,t+l.encoding,D),r.encoding=r.encoding||r.cffEncoding,r.glyphs=new We.GlyphSet(r),n.lowMemory)r._push=function(n){var i=Ye(n,g.offsets,e,t+l.charStrings);r.glyphs.push(n,We.cffGlyphLoader(r,n,lt,i))};else for(var w=0;w<r.nGlyphs;w+=1){var x=g.objects[w];r.glyphs.push(w,We.cffGlyphLoader(r,w,lt,x))}}function ft(e,t){var r,n=Fe.indexOf(e);return n>=0&&(r=n),n=t.indexOf(e),n>=0?r=n+Fe.length:(r=Fe.length+t.length,t.push(e)),r}function pt(){return new ne.Record("Header",[{name:"major",type:"Card8",value:1},{name:"minor",type:"Card8",value:0},{name:"hdrSize",type:"Card8",value:4},{name:"major",type:"Card8",value:1}])}function gt(e){var t=new ne.Record("Name INDEX",[{name:"names",type:"INDEX",value:[]}]);t.names=[];for(var r=0;r<e.length;r+=1)t.names.push({name:"name_"+r,type:"NAME",value:e[r]});return t}function vt(e,t,r){for(var n={},i=0;i<e.length;i+=1){var a=e[i],o=t[a.name];void 0===o||qe(o,a.value)||("SID"===a.type&&(o=ft(o,r)),n[a.op]={name:a.name,type:a.type,value:o})}return n}function mt(e,t){var r=new ne.Record("Top DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=vt(nt,e,t),r}function bt(e){var t=new ne.Record("Top DICT INDEX",[{name:"topDicts",type:"INDEX",value:[]}]);return t.topDicts=[{name:"topDict_0",type:"TABLE",value:e}],t}function yt(e){var t=new ne.Record("String INDEX",[{name:"strings",type:"INDEX",value:[]}]);t.strings=[];for(var r=0;r<e.length;r+=1)t.strings.push({name:"string_"+r,type:"STRING",value:e[r]});return t}function Dt(){return new ne.Record("Global Subr INDEX",[{name:"subrs",type:"INDEX",value:[]}])}function wt(e,t){for(var r=new ne.Record("Charsets",[{name:"format",type:"Card8",value:0}]),n=0;n<e.length;n+=1){var i=e[n],a=ft(i,t);r.fields.push({name:"glyph_"+n,type:"SID",value:a})}return r}function xt(e){var t=[],r=e.path;t.push({name:"width",type:"NUMBER",value:e.advanceWidth});for(var n=0,i=0,a=0;a<r.commands.length;a+=1){var o=void 0,s=void 0,u=r.commands[a];if("Q"===u.type){var c=1/3,l=2/3;u={type:"C",x:u.x,y:u.y,x1:Math.round(c*n+l*u.x1),y1:Math.round(c*i+l*u.y1),x2:Math.round(c*u.x+l*u.x1),y2:Math.round(c*u.y+l*u.y1)}}if("M"===u.type)o=Math.round(u.x-n),s=Math.round(u.y-i),t.push({name:"dx",type:"NUMBER",value:o}),t.push({name:"dy",type:"NUMBER",value:s}),t.push({name:"rmoveto",type:"OP",value:21}),n=Math.round(u.x),i=Math.round(u.y);else if("L"===u.type)o=Math.round(u.x-n),s=Math.round(u.y-i),t.push({name:"dx",type:"NUMBER",value:o}),t.push({name:"dy",type:"NUMBER",value:s}),t.push({name:"rlineto",type:"OP",value:5}),n=Math.round(u.x),i=Math.round(u.y);else if("C"===u.type){var d=Math.round(u.x1-n),h=Math.round(u.y1-i),f=Math.round(u.x2-u.x1),p=Math.round(u.y2-u.y1);o=Math.round(u.x-u.x2),s=Math.round(u.y-u.y2),t.push({name:"dx1",type:"NUMBER",value:d}),t.push({name:"dy1",type:"NUMBER",value:h}),t.push({name:"dx2",type:"NUMBER",value:f}),t.push({name:"dy2",type:"NUMBER",value:p}),t.push({name:"dx",type:"NUMBER",value:o}),t.push({name:"dy",type:"NUMBER",value:s}),t.push({name:"rrcurveto",type:"OP",value:8}),n=Math.round(u.x),i=Math.round(u.y)}}return t.push({name:"endchar",type:"OP",value:14}),t}function St(e){for(var t=new ne.Record("CharStrings INDEX",[{name:"charStrings",type:"INDEX",value:[]}]),r=0;r<e.length;r+=1){var n=e.get(r),i=xt(n);t.charStrings.push({name:n.name,type:"CHARSTRING",value:i})}return t}function Ft(e,t){var r=new ne.Record("Private DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=vt(it,e,t),r}function Ct(e,t){for(var r,n=new ne.Table("CFF ",[{name:"header",type:"RECORD"},{name:"nameIndex",type:"RECORD"},{name:"topDictIndex",type:"RECORD"},{name:"stringIndex",type:"RECORD"},{name:"globalSubrIndex",type:"RECORD"},{name:"charsets",type:"RECORD"},{name:"charStringsIndex",type:"RECORD"},{name:"privateDict",type:"RECORD"}]),i=1/t.unitsPerEm,a={version:t.version,fullName:t.fullName,familyName:t.familyName,weight:t.weightName,fontBBox:t.fontBBox||[0,0,0,0],fontMatrix:[i,0,0,i,0,0],charset:999,encoding:0,charStrings:999,private:[0,999]},o={},s=[],u=1;u<e.length;u+=1)r=e.get(u),s.push(r.name);var c=[];n.header=pt(),n.nameIndex=gt([t.postScriptName]);var l=mt(a,c);n.topDictIndex=bt(l),n.globalSubrIndex=Dt(),n.charsets=wt(s,c),n.charStringsIndex=St(e),n.privateDict=Ft(o,c),n.stringIndex=yt(c);var d=n.header.sizeOf()+n.nameIndex.sizeOf()+n.topDictIndex.sizeOf()+n.stringIndex.sizeOf()+n.globalSubrIndex.sizeOf();return a.charset=d,a.encoding=0,a.charStrings=a.charset+n.charsets.sizeOf(),a.private[1]=a.charStrings+n.charStringsIndex.sizeOf(),l=mt(a,c),n.topDictIndex=bt(l),n}var Et={parse:ht,make:Ct};function kt(e,t){var r={},n=new ve.Parser(e,t);return r.version=n.parseVersion(),r.fontRevision=Math.round(1e3*n.parseFixed())/1e3,r.checkSumAdjustment=n.parseULong(),r.magicNumber=n.parseULong(),U.argument(1594834165===r.magicNumber,"Font header has wrong magic number."),r.flags=n.parseUShort(),r.unitsPerEm=n.parseUShort(),r.created=n.parseLongDateTime(),r.modified=n.parseLongDateTime(),r.xMin=n.parseShort(),r.yMin=n.parseShort(),r.xMax=n.parseShort(),r.yMax=n.parseShort(),r.macStyle=n.parseUShort(),r.lowestRecPPEM=n.parseUShort(),r.fontDirectionHint=n.parseShort(),r.indexToLocFormat=n.parseShort(),r.glyphDataFormat=n.parseShort(),r}function _t(e){var t=Math.round((new Date).getTime()/1e3)+2082844800,r=t;return e.createdTimestamp&&(r=e.createdTimestamp+2082844800),new ne.Table("head",[{name:"version",type:"FIXED",value:65536},{name:"fontRevision",type:"FIXED",value:65536},{name:"checkSumAdjustment",type:"ULONG",value:0},{name:"magicNumber",type:"ULONG",value:1594834165},{name:"flags",type:"USHORT",value:0},{name:"unitsPerEm",type:"USHORT",value:1e3},{name:"created",type:"LONGDATETIME",value:r},{name:"modified",type:"LONGDATETIME",value:t},{name:"xMin",type:"SHORT",value:0},{name:"yMin",type:"SHORT",value:0},{name:"xMax",type:"SHORT",value:0},{name:"yMax",type:"SHORT",value:0},{name:"macStyle",type:"USHORT",value:0},{name:"lowestRecPPEM",type:"USHORT",value:0},{name:"fontDirectionHint",type:"SHORT",value:2},{name:"indexToLocFormat",type:"SHORT",value:0},{name:"glyphDataFormat",type:"SHORT",value:0}],e)}var At={parse:kt,make:_t};function Tt(e,t){var r={},n=new ve.Parser(e,t);return r.version=n.parseVersion(),r.ascender=n.parseShort(),r.desce
vendor: 4,283 bytes, line 1
1nder=n.parseShort(),r.lineGap=n.parseShort(),r.advanceWidthMax=n.parseUShort(),r.minLeftSideBearing=n.parseShort(),r.minRightSideBearing=n.parseShort(),r.xMaxExtent=n.parseShort(),r.caretSlopeRise=n.parseShort(),r.caretSlopeRun=n.parseShort(),r.caretOffset=n.parseShort(),n.relativeOffset+=8,r.metricDataFormat=n.parseShort(),r.numberOfHMetrics=n.parseUShort(),r}function Ot(e){return new ne.Table("hhea",[{name:"version",type:"FIXED",value:65536},{name:"ascender",type:"FWORD",value:0},{name:"descender",type:"FWORD",value:0},{name:"lineGap",type:"FWORD",value:0},{name:"advanceWidthMax",type:"UFWORD",value:0},{name:"minLeftSideBearing",type:"FWORD",value:0},{name:"minRightSideBearing",type:"FWORD",value:0},{name:"xMaxExtent",type:"FWORD",value:0},{name:"caretSlopeRise",type:"SHORT",value:1},{name:"caretSlopeRun",type:"SHORT",value:0},{name:"caretOffset",type:"SHORT",value:0},{name:"reserved1",type:"SHORT",value:0},{name:"reserved2",type:"SHORT",value:0},{name:"reserved3",type:"SHORT",value:0},{name:"reserved4",type:"SHORT",value:0},{name:"metricDataFormat",type:"SHORT",value:0},{name:"numberOfHMetrics",type:"USHORT",value:0}],e)}var Rt={parse:Tt,make:Ot};function Ut(e,t,r,n,i){for(var a,o,s=new ve.Parser(e,t),u=0;u<n;u+=1){u<r&&(a=s.parseUShort(),o=s.parseShort());var c=i.get(u);c.advanceWidth=a,c.leftSideBearing=o}}function Bt(e,t,r,n,i){var a,o;e._hmtxTableData={};for(var s=new ve.Parser(t,r),u=0;u<i;u+=1)u<n&&(a=s.parseUShort(),o=s.parseShort()),e._hmtxTableData[u]={advanceWidth:a,leftSideBearing:o}}function zt(e,t,r,n,i,a,o){o.lowMemory?Bt(e,t,r,n,i):Ut(t,r,n,i,a)}function Lt(e){for(var t=new ne.Table("hmtx",[]),r=0;r<e.length;r+=1){var n=e.get(r),i=n.advanceWidth||0,a=n.leftSideBearing||0;t.fields.push({name:"advanceWidth_"+r,type:"USHORT",value:i}),t.fields.push({name:"leftSideBearing_"+r,type:"SHORT",value:a})}return t}var It={parse:zt,make:Lt};function Mt(e){for(var t=new ne.Table("ltag",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"numTags",type:"ULONG",value:e.length}]),r="",n=12+4*e.length,i=0;i<e.length;++i){var a=r.indexOf(e[i]);a<0&&(a=r.length,r+=e[i]),t.fields.push({name:"offset "+i,type:"USHORT",value:n+a}),t.fields.push({name:"length "+i,type:"USHORT",value:e[i].length})}return t.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),t}function Pt(e,t){var r=new ve.Parser(e,t),n=r.parseULong();U.argument(1===n,"Unsupported ltag table version."),r.skip("uLong",1);for(var i=r.parseULong(),a=[],o=0;o<i;o++){for(var s="",u=t+r.parseUShort(),c=r.parseUShort(),l=u;l<u+c;++l)s+=String.fromCharCode(e.getInt8(l));a.push(s)}return a}var Nt={make:Mt,parse:Pt};function jt(e,t){var r={},n=new ve.Parser(e,t);return r.version=n.parseVersion(),r.numGlyphs=n.parseUShort(),1===r.version&&(r.maxPoints=n.parseUShort(),r.maxContours=n.parseUShort(),r.maxCompositePoints=n.parseUShort(),r.maxCompositeContours=n.parseUShort(),r.maxZones=n.parseUShort(),r.maxTwilightPoints=n.parseUShort(),r.maxStorage=n.parseUShort(),r.maxFunctionDefs=n.parseUShort(),r.maxInstructionDefs=n.parseUShort(),r.maxStackElements=n.parseUShort(),r.maxSizeOfInstructions=n.parseUShort(),r.maxComponentElements=n.parseUShort(),r.maxComponentDepth=n.parseUShort()),r}function Gt(e){return new ne.Table("maxp",[{name:"version",type:"FIXED",value:20480},{name:"numGlyphs",type:"USHORT",value:e}])}var Ht={parse:jt,make:Gt},Wt=["copyright","fontFamily","fontSubfamily","uniqueID","fullName","version","postScriptName","trademark","manufacturer","designer","description","manufacturerURL","designerURL","license","licenseURL","reserved","preferredFamily","preferredSubfamily","compatibleFullName","sampleText","postScriptFindFontName","wwsFamily","wwsSubfamily"],qt={0:"en",1:"fr",2:"de",3:"it",4:"nl",5:"sv",6:"es",7:"da",8:"pt",9:"no",10:"he",11:"ja",12:"ar",13:"fi",14:"el",15:"is",16:"mt",17:"tr",18:"hr",19:"zh-Hant",20:"ur",21:"hi",22:"th",23:"ko",24:"lt",25:"pl",26:"hu",27:"es",28:"lv",29:"se",30:"fo",31:"fa",32:"ru",33:"zh",34:"nl-BE",35:"ga",36:"sq",37:"ro",38:"cz",39:"sk",40:"si",41:"yi",42:"sr",43:"mk",44:"bg",45:"uk",46:"be",47:"uz",48:"kk",49:"az-Cyrl",50:"az-Arab",51:"hy",52:"ka",53:"mo",54:"ky",55:"tg",56:"tk",57:"mn-CN",58:"mn",59:"ps",60:"ks",61:"ku",62:"sd",63:"bo",64:"ne",65:"sa",66:"mr",67:"bn",68:"as",69
1:"gu",70:"pa",71:"or",72:"ml",73:"kn",74:"ta",75:"te",76:"si",77:"my",78:"km",79:"lo",80:"vi",81:"id",82:"tl",83:"ms",84:"ms-Arab",85:"am",86:"ti",87:"om",88:"so",89:"sw",90:"rw",91:"rn",92:"ny",93:"mg",94:"eo",128:"cy",129:"eu",130:"ca",131:"la",132:"qu",133:"gn",134:"ay",135:"tt",136:"ug",137:"dz",138:"jv",139:"su",140:"gl",141:"af",142:"br",143:"iu",144:"gd",145:"gv",146:"ga",147:"to",148:"el-polyton",149:"kl",150:"az",151:"nn"},Xt={0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:5,11:1,12:4,13:0,14:6,15:0,16:0,17:0,18:0,19:2,20:4,21:9,22:21,23:3,24:29,25:29,26:29,27:29,28:29,29:0,30:0,31:4,32:7,33:25,34:0,35:0,36:0,37:0,38:29,39:29,40:0,41:5,42:7,43:7,44:7,45:7,46:7,47:7,48:7,49:7,50:4,51:24,52:23,53:7,54:7,55:7,56:7,57:27,58:7,59:4,60:4,61:4,62:4,63:26,64:9,65:9,66:9,67:13,68:13,69:11,70:10,71:12,72:17,73:16,74:14,75:15,76:18,77:19,78:20,79:22,80:30,81:0,82:0,83:0,84:4,85:28,86:28,87:28,88:0,89:0,90:0,91:0,92:0,93:0,94:0,128:0,129:0,130:0,131:0,132:0,133:0,134:0,135:7,136:4,137:26,138:0,139:0,140:0,141:0,142:0,143:28,144:0,145:0,146:0,147:0,148:6,149:0,150:0,151:0},Zt={1078:"af",1052:"sq",1156:"gsw",1118:"am",5121:"ar-DZ",15361:"ar-BH",3073:"ar",2049:"ar-IQ",11265:"ar-JO",13313:"ar-KW",12289:"ar-LB",4097:"ar-LY",6145:"ary",8193:"ar-OM",16385:"ar-QA",1025:"ar-SA",10241:"ar-SY",7169:"aeb",14337:"ar-AE",9217:"ar-YE",1067:"hy",1101:"as",2092:"az-Cyrl",1068:"az",1133:"ba",1069:"eu",1059:"be",2117:"bn",1093:"bn-IN",8218:"bs-Cyrl",5146:"bs",1150:"br",1026:"bg",1027:"ca",3076:"zh-HK",5124:"zh-MO",2052:"zh",4100:"zh-SG",1028:"zh-TW",1155:"co",1050:"hr",4122:"hr-BA",1029:"cs",1030:"da",1164:"prs",1125:"dv",2067:"nl-BE",1043:"nl",3081:"en-AU",10249:"en-BZ",4105:"en-CA",9225:"en-029",16393:"en-IN",6153:"en-IE",8201:"en-JM",17417:"en-MY",5129:"en-NZ",13321:"en-PH",18441:"en-SG",7177:"en-ZA",11273:"en-TT",2057:"en-GB",1033:"en",12297:"en-ZW",1061:"et",1080:"fo",1124:"fil",1035:"fi",2060:"fr-BE",3084:"fr-CA",1036:"fr",5132:"fr-LU",6156:"fr-MC",4108:"fr-CH",1122:"fy",1110:"gl",1079:"ka",3079:"de-AT",1031:"de",5127:"de-LI",4103:"de-LU",2055:"de-CH",1032:"el",1135:"kl",1095:"gu",1128:"ha",1037:"he",1081:"hi",1038:"hu",1039:"is",1136:"ig",1057:"id",1117:"iu",2141:"iu-Latn",2108:"ga",1076:"xh",1077:"zu",104
vendor: 8,455 bytes, line 1
10:"it",2064:"it-CH",1041:"ja",1099:"kn",1087:"kk",1107:"km",1158:"quc",1159:"rw",1089:"sw",1111:"kok",1042:"ko",1088:"ky",1108:"lo",1062:"lv",1063:"lt",2094:"dsb",1134:"lb",1071:"mk",2110:"ms-BN",1086:"ms",1100:"ml",1082:"mt",1153:"mi",1146:"arn",1102:"mr",1148:"moh",1104:"mn",2128:"mn-CN",1121:"ne",1044:"nb",2068:"nn",1154:"oc",1096:"or",1123:"ps",1045:"pl",1046:"pt",2070:"pt-PT",1094:"pa",1131:"qu-BO",2155:"qu-EC",3179:"qu",1048:"ro",1047:"rm",1049:"ru",9275:"smn",4155:"smj-NO",5179:"smj",3131:"se-FI",1083:"se",2107:"se-SE",8251:"sms",6203:"sma-NO",7227:"sms",1103:"sa",7194:"sr-Cyrl-BA",3098:"sr",6170:"sr-Latn-BA",2074:"sr-Latn",1132:"nso",1074:"tn",1115:"si",1051:"sk",1060:"sl",11274:"es-AR",16394:"es-BO",13322:"es-CL",9226:"es-CO",5130:"es-CR",7178:"es-DO",12298:"es-EC",17418:"es-SV",4106:"es-GT",18442:"es-HN",2058:"es-MX",19466:"es-NI",6154:"es-PA",15370:"es-PY",10250:"es-PE",20490:"es-PR",3082:"es",1034:"es",21514:"es-US",14346:"es-UY",8202:"es-VE",2077:"sv-FI",1053:"sv",1114:"syr",1064:"tg",2143:"tzm",1097:"ta",1092:"tt",1098:"te",1054:"th",1105:"bo",1055:"tr",1090:"tk",1152:"ug",1058:"uk",1070:"hsb",1056:"ur",2115:"uz-Cyrl",1091:"uz",1066:"vi",1106:"cy",1160:"wo",1157:"sah",1144:"ii",1130:"yo"};function $t(e,t,r){switch(e){case 0:if(65535===t)return"und";if(r)return r[t];break;case 1:return qt[t];case 3:return Zt[t]}}var Yt="utf-16",Vt={0:"macintosh",1:"x-mac-japanese",2:"x-mac-chinesetrad",3:"x-mac-korean",6:"x-mac-greek",7:"x-mac-cyrillic",9:"x-mac-devanagai",10:"x-mac-gurmukhi",11:"x-mac-gujarati",12:"x-mac-oriya",13:"x-mac-bengali",14:"x-mac-tamil",15:"x-mac-telugu",16:"x-mac-kannada",17:"x-mac-malayalam",18:"x-mac-sinhalese",19:"x-mac-burmese",20:"x-mac-khmer",21:"x-mac-thai",22:"x-mac-lao",23:"x-mac-georgian",24:"x-mac-armenian",25:"x-mac-chinesesimp",26:"x-mac-tibetan",27:"x-mac-mongolian",28:"x-mac-ethiopic",29:"x-mac-ce",30:"x-mac-vietnamese",31:"x-mac-extarabic"},Kt={15:"x-mac-icelandic",17:"x-mac-turkish",18:"x-mac-croatian",24:"x-mac-ce",25:"x-mac-ce",26:"x-mac-ce",27:"x-mac-ce",28:"x-mac-ce",30:"x-mac-icelandic",37:"x-mac-romanian",38:"x-mac-ce",39:"x-mac-ce",40:"x-mac-ce",143:"x-mac-inuit",146:"x-mac-gaelic"};function Qt(e,t,r){switch(e){case 0:return Yt;case 1:return Kt[r]||Vt[t];case 3:if(1===t||10===t)return Yt;break}}function Jt(e,t,r){for(var n={},i=new ve.Parser(e,t),a=i.parseUShort(),o=i.parseUShort(),s=i.offset+i.parseUShort(),u=0;u<o;u++){var c=i.parseUShort(),l=i.parseUShort(),d=i.parseUShort(),h=i.parseUShort(),f=Wt[h]||h,p=i.parseUShort(),g=i.parseUShort(),v=$t(c,d,r),m=Qt(c,l,d);if(void 0!==m&&void 0!==v){var b=void 0;if(b=m===Yt?L.UTF16(e,s+g,p):L.MACSTRING(e,s+g,p,m),b){var y=n[f];void 0===y&&(y=n[f]={}),y[v]=b}}}return 1===a&&i.parseUShort(),n}function er(e){var t={};for(var r in e)t[e[r]]=parseInt(r);return t}function tr(e,t,r,n,i,a){return new ne.Record("NameRecord",[{name:"platformID",type:"USHORT",value:e},{name:"encodingID",type:"USHORT",value:t},{name:"languageID",type:"USHORT",value:r},{name:"nameID",type:"USHORT",value:n},{name:"length",type:"USHORT",value:i},{name:"offset",type:"USHORT",value:a}])}function rr(e,t){var r=e.length,n=t.length-r+1;e:for(var i=0;i<n;i++)for(;i<n;i++){for(var a=0;a<r;a++)if(t[i+a]!==e[a])continue e;return i}return-1}function nr(e,t){var r=rr(e,t);if(r<0){r=t.length;for(var n=0,i=e.length;n<i;++n)t.push(e[n])}return r}function ir(e,t){var r,n=[],i={},a=er(Wt);for(var o in e){var s=a[o];if(void 0===s&&(s=o),r=parseInt(s),isNaN(r))throw new Error('Name table entry "'+o+'" does not exist, see nameTableNames for complete list.');i[r]=e[o],n.push(r)}for(var u=er(qt),c=er(Zt),l=[],d=[],h=0;h<n.length;h++){r=n[h];var f=i[r];for(var p in f){var g=f[p],v=1,m=u[p],b=Xt[m],y=Qt(v,b,m),D=I.MACSTRING(g,y);void 0===D&&(v=0,m=t.indexOf(p),m<0&&(m=t.length,t.push(p)),b=4,D=I.UTF16(g));var w=nr(D,d);l.push(tr(v,b,m,r,D.length,w));var x=c[p];if(void 0!==x){var S=I.UTF16(g),F=nr(S,d);l.push(tr(3,1,x,r,S.length,F))}}}l.sort((function(e,t){return e.platformID-t.platformID||e.encodingID-t.encodingID||e.languageID-t.languageID||e.nameID-t.nameID}));for(var C=new ne.Table("name",[{name:"format",type:"USHORT",value:0},{name:"count",type:"USHORT",value:l.length},{name:"stringOffset",type:"USHORT",value:6+12*l.length}]),E=0;E<l.length;E++)C.fields.push({name:"record_"+E,type:"RECORD",value:l[E]});return C.fields.push({name:"strings",type:"LITERAL",value:d}),C}var ar={parse:Jt,make:ir},or=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];function sr(e){for(var t=0;t<or.length;t+=1){var r=or[t];if(e>=r.begin&&e<r.end)return t}return-1}function ur(e,t){var r={},n=new ve.Parser(e,t);r.version=n.parseUShort(),r.xAvgCharWidth=n.parseShort(),r.usWeightClass=n.parseUShort(),r.usWidthClass=n.parseUShort(),r.fsType=n.parseUShort(),r.ySubscriptXSize=n.parseShort(),r.ySubscriptYSize=n.parseShort(),r.ySubscriptXOffset=n.parseShort(),r.ySubscriptYOffset=n.parseShort(),r.ySuperscriptXSize=n.parseShort(),r.ySuperscriptYSize=n.parseShort(),r.ySuperscriptXOffset=n.parseShort(),r.ySuperscriptYOffset=n.parseShort(),r.yStrikeoutSize=n.parseShort(),r.yStrikeoutPosition=n.parseShort(),r.sFamilyClass=n.parseShort(),r.panose=[];for(var i=0;i<10;i++)r.panose[i]=n.parseByte();return r.ulUnicodeRange1=n.parseULong(),r.ulUnicodeRange2=n.parseULong(),r.ulUnicodeRange3=n.parseULong(),r.ulUnicodeRange4=n.parseULong(),r.achVendID=String.fromCharCode(n.parseByte(),n.parseByte(),n.parseByte(),n.parseByte()),r.fsSelection=n.parseUShort(),r.usFirstCharIndex=n.parseUShort(),r.usLastCharIndex=n.parseUShort(),r.sTypoAscender=n.parseShort(),r.sTypoDescender=n.parseShort(),r.sTypoLineGap=n.parseShort(),r.usWinAscent=n.parseUShort(),r.usWinDescent=n.parseUShort(),r.version>
1=1&&(r.ulCodePageRange1=n.parseULong(),r.ulCodePageRange2=n.parseULong()),r.version>=2&&(r.sxHeight=n.parseShort(),r.sCapHeight=n.parseShort(),r.usDefaultChar=n.parseUShort(),r.usBreakChar=n.parseUShort(),r.usMaxContent=n.parseUShort()),r}function cr(e){return new ne.Table("OS/2",[{name:"version",type:"USHORT",value:3},{name:"xAvgCharWidth",type:"SHORT",value:0},{name:"usWeightClass",type:"USHORT",value:0},{name:"usWidthClass",type:"USHORT",value:0},{name:"fsType",type:"USHORT",value:0},{name:"ySubscriptXSize",type:"SHORT",value:650},{name:"ySubscriptYSize",type:"SHORT",value:699},{name:"ySubscriptXOffset",type:"SHORT",value:0},{name:"ySubscriptYOffset",type:"SHORT",value:140},{name:"ySuperscriptXSize",type:"SHORT",value:650},{name:"ySuperscriptYSize",type:"SHORT",value:699},{name:"ySuperscriptXOffset",type:"SHORT",value:0},{name:"ySuperscriptYOffset",type:"SHORT",value:479},{name:"yStrikeoutSize",type:"SHORT",value:49},{name:"yStrikeoutPosition",type:"SHORT",value:258},{name:"sFamilyClass",type:"SHORT",value:0},{name:"bFamilyType",type:"BYTE",value:0},{name:"bSerifStyle",type:"BYTE",value:0},{name:"bWeight",type:"BYTE",value:0},{name:"bProportion",type:"BYTE",value:0},{name:"bContrast",type:"BYTE",value:0},{name:"bStrokeVariation",type:"BYTE",value:0},{name:"bArmStyle",type:"BYTE",value:0},{name:"bLetterform",type:"BYTE",value:0},{name:"bMidline",type:"BYTE",value:0},{name:"bXHeight",type:"BYTE",value:0},{name:"ulUnicodeRange1",type:"ULONG",value:0},{name:"ulUnicodeRange2",type:"ULONG",value:0},{name:"ulUnicodeRange3",type:"ULONG",value:0},{name:"ulUnicodeRange4",type:"ULONG",value:0},{name:"achVendID",type:"CHARARRAY",value:"XXXX"},{name:"fsSelection",type:"USHORT",value:0},{name:"usFirstCharIndex",type:"USHORT",value:0},{name:"usLastCharIndex",type:"USHORT",value:0},{name:"sTypoAscender",type:"SHORT",value:0},{name:"sTypoDescender",type:"SHORT",value:0},{name:"sTypoLineGap",type:"SHORT",value:0},{name:"usWinAscent",type:"USHORT",value:0},{name:"usWinDescent",type:"USHORT",value:0},{name:"ulCodePageRange1",type:"ULONG",value:0},{name:"ulCodePageRange2",type:"ULONG",value:0},{name:"sxHeight",type:"SHORT",value:0},{name:"sCapHeight",type:"SHORT",value:0},{name:"usDefaultChar",type:"USHORT",value:0},{name:"usBreakChar",type:"USHORT",value:0},{name:"usMaxContext",type:"USHORT",value:0}],e)}var lr={parse:ur,make:cr,unicodeRanges:or,getUnicodeRange:sr};function dr(e,t){var r={},n=new ve.Parser(e,t);switch(r.version=n.parseVersion(),r.italicAngle=n.parseFixed(),r.underlinePosition=n.parseShort(),r.underlineThickness=n.parseShort(),r.isFixedPitch=n.parseULong(),r.minMemType42=n.parseULong(),r.maxMemType42=n.parseULong(),r.minMemType1=n.parseULong(),r.maxMemType1=n.parseULong(),r.version){case 1:r.names=ke.slice();break;case 2:r.numberOfGlyphs=n.parseUShort(),r.glyphNameIndex=new Array(r.numberOfGlyphs);for(var i=0;i<r.numberOfGlyphs;i++)r.glyphNameIndex[i]=n.parseUShort();r.names=[];for(var a=0;a<r.numberOfGlyphs;a++)if(r.glyphNameIndex[a]>=ke.length){var o=n.parseChar();r.names.push(n.parseString(o))}break;case 2.5:r.numberOfGlyphs=n.parseUShort(),r.offset=new Array(r.numberOfGlyphs);for(var s=0;s<r.numberOfGlyphs;s++)r.offset[s]=n.parseChar();break}return r}function hr(){return new ne.Table("post",[{name:"version",type:"FIXED",value:196608},{name:"italicAngle",type:"FIXED",value:0},{name:"underlinePosition",type:"FWORD",value:0},{name:"underlineThickness",type:"FWORD",value:0},{name:"isFixedPitch",type:"ULONG",value:0},{name:"minMemType42",type:"ULONG",value:0},{name:"maxMemType42",type:"ULONG",value:0},{name:"minMemType1",type:"ULONG",value:0},{name:"maxMemType1",type:"ULONG",value:0}])}var fr={parse:dr,make:hr},pr=new Array(9);pr[1]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{substFormat:1,coverage:this.parsePointer(pe.coverage),deltaGlyphId:this.parseUShort()}:2===t?{substFormat:2,coverage:this.parsePointer(pe.coverage),substitute:this.parseOffset16List()}:void U.assert(!1,"0x"+e.toString(16)+": lookup type 1 format must be 1 or 2.")},pr[2]=function(){var e=this.parseUShort();return U.argument(1===e,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(pe.coverage),sequences:this.parseListOfLists()}},pr[3]=function(){var e=this.parseUShort();return U.argument(1===e,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(pe.coverage),alternateSets:this.parseListOfLists()}},pr[4]=function(){var e=this.parseUShort();return U.argument(1===e,"GSUB ligature table identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(pe.coverage),ligatureSets:this.parseListOfLists((function(){return{ligGlyph:this.parseUShort(),components:this.parseUShortList(this.parseUShort()-1)}}))}};var gr={sequenceIndex:pe.uShort,lookupListIndex:pe.uShort};function vr(e,t){t=t||0;var r=new pe(e,t),n=r.parseVersion(1);
1return U.argument(1===n||1.1===n,"Unsupported GSUB table version."),1===n?{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(pr)}:{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(pr),variations:r.parseFeatureVariationsList()}}pr[5]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();if(1===t)return{substFormat:t,coverage:this.parsePointer(pe.coverage),ruleSets:this.parseListOfLists((function(){var e=this.parseUShort(),t=this.parseUShort();return{input:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,gr)}}))};if(2===t)return{substFormat:t,coverage:this.parsePointer(pe.coverage),classDef:this.parsePointer(pe.classDef),classSets:this.parseListOfLists((function(){var e=this.parseUShort(),t=this.parseUShort();return{classes:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,gr)}}))};if(3===t){var r=this.parseUShort(),n=this.parseUShort();return{substFormat:t,coverages:this.parseList(r,pe.pointer(pe.coverage)),lookupRecords:this.parseRecordList(n,gr)}}U.assert(!1,"0x"+e.toString(16)+": lookup type 5 format must be 1, 2 or 3.")},pr[6]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{substFormat:1,coverage:this.parsePointer(pe.coverage),chainRuleSets:this.parseListOfLists((function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(gr)}}))}:2===t?{substFormat:2,coverage:this.parsePointer(pe.coverage),backtrackClassDef:this.parsePointer(pe.classDef),inputClassDef:this.parsePointer(pe.classDef),lookaheadClassDef:this.parsePointer(pe.classDef),chainClassSet:this.parseListOfLists((function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(gr)}}))}:3===t?{substFormat:3,backtrackCoverage:this.parseList(pe.pointer(pe.coverage)),inputCoverage:this.parseList(pe.pointer(pe.coverage)),lookaheadCoverage:this.parseList(pe.pointer(pe.coverage)),lookupRecords:this.parseRecordList(gr)}:void U.assert(!1,"0x"+e.toString(16)+": lookup type 6 format must be 1, 2 or 3.")},pr[7]=function(){var e=this.parseUShort();U.argument(1===e,"GSUB Extension Substitution subtable identifier-format must be 1");var t=this.parseUShort(),r=new pe(this.data,this.offset+this.parseULong());return{substFormat:1,lookupType:t,extension:pr[t].call(r)}},pr[8]=function(){var e=this.parseUShort();return U.argument(1===e,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(pe.coverage),backtrackCoverage:this.parseList(pe.pointer(pe.coverage)),lookaheadCoverage:this.parseList(pe.pointer(pe.coverage)),substitutes:this.parseUShortList()}};var mr=new Array(9);function br(e){return new ne.Table("GSUB",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new ne.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new ne.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new ne.LookupList(e.lookups,mr)}])}mr[1]=function(e){return 1===e.substFormat?new ne.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new ne.Coverage(e.coverage)},{name:"deltaGlyphID",type:"USHORT",value:e.deltaGlyphId}]):new ne.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:2},{name:"coverage",type:"TABLE",value:new ne.Coverage(e.coverage)}].concat(ne.ushortList("substitute",e.substitute)))},mr[2]=function(e){return U.assert(1===e.substFormat,"Lookup type 2 substFormat must be 1."),new ne.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new ne.Coverage(e.coverage)}].concat(ne.tableList("seqSet",e.sequences,(function(e){return new ne.Table("sequenceSetTable",ne.ushortList("sequence",e))}))))},mr[3]=function(e){return U.assert(1===e.substFormat,"Lookup type 3 substFormat must be 1."),new ne.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new ne.Coverage(e.coverage)}].concat(ne.tableList("altSet",e.alternateSets,(function(e){return new ne.Table("alternateSetTable",ne.ushortList("alternate",e))}))))},mr[4]=function(e){return U.assert(1===e.substFormat,"Lookup type 4 substFormat must be 1."),new ne.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new ne.Coverage(e.coverage)}].concat(ne.tableList("ligSet",e.ligatureSets,(function(e){return new ne.Table("ligatureSetTable",ne.tableList("ligature",e,(function(e){return new ne.Table("ligatureTable",[{name:"ligGlyph",type:"USHORT",value:e.ligGlyph}].concat(ne.ushortList("component",e.components,e.components.length+1)))})))}))))},mr[6]=function(e){if(1===e.substFormat){var t=new ne.Table("chainContextTable",[{name:"substFormat",type:"USHORT",value:e.substFormat},{name:"coverage",type:"TABLE",value:new ne.Coverage(e.coverage)}].concat(ne.tableList("chainRuleSet",e.chainRuleSets,(function(e){return new ne.Table("chainRuleSetTable",ne.tableList("chainRule",e,(function(e){var t=ne.ushortList("backtrackGlyph",e.backtrack,e.backtrack.length).concat(ne.ushortList("inputGlyph",e.input,e.input.length+1)).concat(ne.ushortList("lookaheadGlyph",e.lookahead,e.lookahead.length)).concat(ne.ushortList("substitution",[],e.lookupRecords.length));return e.lookupRecords.forEach((function(e,r){t=t.concat({name:"sequenceIndex"+r,type:"USHORT",value:e.sequenceIndex}).concat({name:"lookupListIndex"+r,type:"USHORT",value:e.lookupListIndex})})),new ne.Table("chainRuleTable",t)})))}
1))));return t}if(2===e.substFormat)U.assert(!1,"lookup type 6 format 2 is not yet supported.");else if(3===e.substFormat){var r=[{name:"substFormat",type:"USHORT",value:e.substFormat}];r.push({name:"backtrackGlyphCount",type:"USHORT",value:e.backtrackCoverage.length}),e.backtrackCoverage.forEach((function(e,t){r.push({name:"backtrackCoverage"+t,type:"TABLE",value:new ne.Coverage(e)})})),r.push({name:"inputGlyphCount",type:"USHORT",value:e.inputCoverage.length}),e.inputCoverage.forEach((function(e,t){r.push({name:"inputCoverage"+t,type:"TABLE",value:new ne.Coverage(e)})})),r.push({name:"lookaheadGlyphCount",type:"USHORT",value:e.lookaheadCoverage.length}),e.lookaheadCoverage.forEach((function(e,t){r.push({name:"lookaheadCoverage"+t,type:"TABLE",value:new ne.Coverage(e)})})),r.push({name:"substitutionCount",type:"USHORT",value:e.lookupRecords.length}),e.lookupRecords.forEach((function(e,t){r=r.concat({name:"sequenceIndex"+t,type:"USHORT",value:e.sequenceIndex}).concat({name:"lookupListIndex"+t,type:"USHORT",value:e.lookupListIndex})}));var n=new ne.Table("chainContextTable",r);return n}U.assert(!1,"lookup type 6 format must be 1, 2 or 3.")};var yr={parse:vr,make:br};function Dr(e,t){var r=new ve.Parser(e,t),n=r.parseULong();U.argument(1===n,"Unsupported META table version."),r.parseULong(),r.parseULong();for(var i=r.parseULong(),a={},o=0;o<i;o++){var s=r.parseTag(),u=r.parseULong(),c=r.parseULong(),l=L.UTF8(e,t+u,c);a[s]=l}return a}function wr(e){var t=Object.keys(e).length,r="",n=16+12*t,i=new ne.Table("meta",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"offset",type:"ULONG",value:n},{name:"numTags",type:"ULONG",value:t}]);for(var a in e){var o=r.length;r+=e[a],i.fields.push({name:"tag "+a,type:"TAG",value:a}),i.fields.push({name:"offset "+a,type:"ULONG",value:n+o}),i.fields.push({name:"length "+a,type:"ULONG",value:e[a].length})}return i.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),i}var xr={parse:Dr,make:wr};function Sr(e){return Math.log(e)/Math.log(2)|0}function Fr(e){while(e.length%4!==0)e.push(0);for(var t=0,r=0;r<e.length;r+=4)t+=(e[r]<<24)+(e[r+1]<<16)+(e[r+2]<<8)+e[r+3];return t%=Math.pow(2,32),t}function Cr(e,t,r,n){return new ne.Record("Table Record",[{name:"tag",type:"TAG",value:void 0!==e?e:""},{name:"checkSum",type:"ULONG",value:void 0!==t?t:0},{name:"offset",type:"ULONG",value:void 0!==r?r:0},{name:"length",type:"ULONG",value:void 0!==n?n:0}])}function Er(e){var t=new ne.Table("sfnt",[{name:"version",type:"TAG",value:"OTTO"},{name:"numTables",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);t.tables=e,t.numTables=e.length;var r=Math.pow(2,Sr(t.numTables));t.searchRange=16*r,t.entrySelector=Sr(r),t.rangeShift=16*t.numTables-t.searchRange;var n=[],i=[],a=t.sizeOf()+Cr().sizeOf()*t.numTables;while(a%4!==0)a+=1,i.push({name:"padding",type:"BYTE",value:0});for(var o=0;o<e.length;o+=1){var s=e[o];U.argument(4===s.tableName.length,"Table name"+s.tableName+" is invalid.");var u=s.sizeOf(),c=Cr(s.tableName,Fr(s.encode()),a,u);n.push({name:c.tag+" Table Record",type:"RECORD",value:c}),i.push({name:s.tableName+" table",type:"RECORD",value:s}),a+=u,U.argument(!isNaN(a),"Something went wrong calculating the offset.");while(a%4!==0)a+=1,i.push({name:"padding",type:"BYTE",value:0})}return n.sort((function(e,t){return e.value.tag>t.value.tag?1:-1})),t.fields=t.fields.concat(n),t.fields=t.fields.concat(i),t}function kr(e,t,r){for(var n=0;n<t.length;n+=1){var i=e.charToGlyphIndex(t[n]);if(i>0){var a=e.glyphs.get(i);return a.getMetrics()}}return r}function _r(e){for(var t=0,r=0;r<e.length;r+=1)t+=e[r];return t/e.length}function Ar(e){for(var t,r=[],n=[],i=[],a=[],o=[],s=[],u=[],c=0,l=0,d=0,h=0,f=0,p=0;p<e.glyphs.length;p+=1){var g=e.glyphs.get(p),v=0|g.unicode;if(isNaN(g.advanceWidth))throw new Error("Glyph "+g.name+" ("+p+"): advanceWidth is not a number.");(t>v||void 0===t)&&v>0&&(t=v),c<v&&(c=v);var m=lr.getUnicodeRange(v);if(m<32)l|=1<<m;else if(m<64)d|=1<<m-32;else if(m<96)h|=1<<m-64;else{if(!(m<123))throw new Error("Unicode ranges bits > 123 are reserved for internal usage");f|=1<<m-96}if(".notdef"!==g.name){var b=g.getMetrics();
vendor: 3,399 bytes, line 1
1r.push(b.xMin),n.push(b.yMin),i.push(b.xMax),a.push(b.yMax),s.push(b.leftSideBearing),u.push(b.rightSideBearing),o.push(g.advanceWidth)}}var y={xMin:Math.min.apply(null,r),yMin:Math.min.apply(null,n),xMax:Math.max.apply(null,i),yMax:Math.max.apply(null,a),advanceWidthMax:Math.max.apply(null,o),advanceWidthAvg:_r(o),minLeftSideBearing:Math.min.apply(null,s),maxLeftSideBearing:Math.max.apply(null,s),minRightSideBearing:Math.min.apply(null,u)};y.ascender=e.ascender,y.descender=e.descender;var D=At.make({flags:3,unitsPerEm:e.unitsPerEm,xMin:y.xMin,yMin:y.yMin,xMax:y.xMax,yMax:y.yMax,lowestRecPPEM:3,createdTimestamp:e.createdTimestamp}),w=Rt.make({ascender:y.ascender,descender:y.descender,advanceWidthMax:y.advanceWidthMax,minLeftSideBearing:y.minLeftSideBearing,minRightSideBearing:y.minRightSideBearing,xMaxExtent:y.maxLeftSideBearing+(y.xMax-y.xMin),numberOfHMetrics:e.glyphs.length}),x=Ht.make(e.glyphs.length),S=lr.make(Object.assign({xAvgCharWidth:Math.round(y.advanceWidthAvg),usFirstCharIndex:t,usLastCharIndex:c,ulUnicodeRange1:l,ulUnicodeRange2:d,ulUnicodeRange3:h,ulUnicodeRange4:f,sTypoAscender:y.ascender,sTypoDescender:y.descender,sTypoLineGap:0,usWinAscent:y.yMax,usWinDescent:Math.abs(y.yMin),ulCodePageRange1:1,sxHeight:kr(e,"xyvw",{yMax:Math.round(y.ascender/2)}).yMax,sCapHeight:kr(e,"HIKLEFJMNTZBDPRAGOQSUVWXY",y).yMax,usDefaultChar:e.hasChar(" ")?32:0,usBreakChar:e.hasChar(" ")?32:0},e.tables.os2)),F=It.make(e.glyphs),C=Se.make(e.glyphs),E=e.getEnglishName("fontFamily"),k=e.getEnglishName("fontSubfamily"),_=E+" "+k,A=e.getEnglishName("postScriptName");A||(A=E.replace(/\s/g,"")+"-"+k);var T={};for(var O in e.names)T[O]=e.names[O];T.uniqueID||(T.uniqueID={en:e.getEnglishName("manufacturer")+":"+_}),T.postScriptName||(T.postScriptName={en:A}),T.preferredFamily||(T.preferredFamily=e.names.fontFamily),T.preferredSubfamily||(T.preferredSubfamily=e.names.fontSubfamily);var R=[],U=ar.make(T,R),B=R.length>0?Nt.make(R):void 0,z=fr.make(),L=Et.make(e.glyphs,{version:e.getEnglishName("version"),fullName:_,familyName:E,weightName:k,postScriptName:A,unitsPerEm:e.unitsPerEm,fontBBox:[0,y.yMin,y.ascender,y.advanceWidthMax]}),I=e.metas&&Object.keys(e.metas).length>0?xr.make(e.metas):void 0,M=[D,w,x,S,U,C,z,L,F];B&&M.push(B),e.tables.gsub&&M.push(yr.make(e.tables.gsub)),I&&M.push(I);for(var P=Er(M),N=P.encode(),j=Fr(N),G=P.fields,H=!1,W=0;W<G.length;W+=1)if("head table"===G[W].name){G[W].value.checkSumAdjustment=2981146554-j,H=!0;break}if(!H)throw new Error("Could not find head table with checkSum to adjust.");return P}var Tr={make:Er,fontToTable:Ar,computeCheckSum:Fr};function Or(e,t){var r=0,n=e.length-1;while(r<=n){var i=r+n>>>1,a=e[i].tag;if(a===t)return i;a<t?r=i+1:n=i-1}return-r-1}function Rr(e,t){var r=0,n=e.length-1;while(r<=n){var i=r+n>>>1,a=e[i];if(a===t)return i;a<t?r=i+1:n=i-1}return-r-1}function Ur(e,t){var r,n=0,i=e.length-1;while(n<=i){var a=n+i>>>1;r=e[a];var o=r.start;if(o===t)return r;o<t?n=a+1:i=a-1}if(n>0)return r=e[n-1],t>r.end?0:r}function Br(e,t){this.font=e,this.tableName=t}function zr(e){Br.call(this,e,"gpos")}function Lr(e){Br.call(this,e,"gsub")}function Ir(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function Mr(e,t,r){for(var n=e.subtables,i=0;i<n.length;i++){var a=n[i];if(a.substFormat===t)return a}if(r)return n.push(r),r}function Pr(){return"undefined"!==typeof window}
vendor: 4,150 bytes, line 1
1function Nr(e){for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n<e.length;++n)r[n]=e[n];return t}function jr(t){for(var r=new e(t.byteLength),n=new Uint8Array(t),i=0;i<r.length;++i)r[i]=n[i];return r}function Gr(e,t){if(!e)throw t}function Hr(e,t,r,n,i){var a;return(t&n)>0?(a=e.parseByte(),0===(t&i)&&(a=-a),a=r+a):a=(t&i)>0?r:r+e.parseShort(),a}function Wr(e,t,r){var n,i,a=new ve.Parser(t,r);if(e.numberOfContours=a.parseShort(),e._xMin=a.parseShort(),e._yMin=a.parseShort(),e._xMax=a.parseShort(),e._yMax=a.parseShort(),e.numberOfContours>0){for(var o=e.endPointIndices=[],s=0;s<e.numberOfContours;s+=1)o.push(a.parseUShort());e.instructionLength=a.parseUShort(),e.instructions=[];for(var u=0;u<e.instructionLength;u+=1)e.instructions.push(a.parseByte());var c=o[o.length-1]+1;n=[];for(var l=0;l<c;l+=1)if(i=a.parseByte(),n.push(i),(8&i)>0)for(var d=a.parseByte(),h=0;h<d;h+=1)n.push(i),l+=1;if(U.argument(n.length===c,"Bad flags."),o.length>0){var f,p=[];if(c>0){for(var g=0;g<c;g+=1)i=n[g],f={},f.onCurve=!!(1&i),f.lastPointOfContour=o.indexOf(g)>=0,p.push(f);for(var v=0,m=0;m<c;m+=1)i=n[m],f=p[m],f.x=Hr(a,i,v,2,16),v=f.x;for(var b=0,y=0;y<c;y+=1)i=n[y],f=p[y],f.y=Hr(a,i,b,4,32),b=f.y}e.points=p}else e.points=[]}else if(0===e.numberOfContours)e.points=[];else{e.isComposite=!0,e.points=[],e.components=[];var D=!0;while(D){n=a.parseUShort();var w={glyphIndex:a.parseUShort(),xScale:1,scale01:0,scale10:0,yScale:1,dx:0,dy:0};(1&n)>0?(2&n)>0?(w.dx=a.parseShort(),w.dy=a.parseShort()):w.matchedPoints=[a.parseUShort(),a.parseUShort()]:(2&n)>0?(w.dx=a.parseChar(),w.dy=a.parseChar()):w.matchedPoints=[a.parseByte(),a.parseByte()],(8&n)>0?w.xScale=w.yScale=a.parseF2Dot14():(64&n)>0?(w.xScale=a.parseF2Dot14(),w.yScale=a.parseF2Dot14()):(128&n)>0&&(w.xScale=a.parseF2Dot14(),w.scale01=a.parseF2Dot14(),w.scale10=a.parseF2Dot14(),w.yScale=a.parseF2Dot14()),e.components.push(w),D=!!(32&n)}if(256&n){e.instructionLength=a.parseUShort(),e.instructions=[];for(var x=0;x<e.instructionLength;x+=1)e.instructions.push(a.parseByte())}}}function qr(e,t){for(var r=[],n=0;n<e.length;n+=1){var i=e[n],a={x:t.xScale*i.x+t.scale01*i.y+t.dx,y:t.scale10*i.x+t.yScale*i.y+t.dy,onCurve:i.onCurve,lastPointOfContour:i.lastPointOfContour};r.push(a)}return r}function Xr(e){for(var t=[],r=[],n=0;n<e.length;n+=1){var i=e[n];r.push(i),i.lastPointOfContour&&(t.push(r),r=[])}return U.argument(0===r.length,"There are still points left in the current contour."),t}function Zr(e){var t=new T;if(!e)return t;for(var r=Xr(e),n=0;n<r.length;++n){var i=r[n],a=null,o=i[i.length-1],s=i[0];if(o.onCurve)t.moveTo(o.x,o.y);else if(s.onCurve)t.moveTo(s.x,s.y);else{var u={x:.5*(o.x+s.x),y:.5*(o.y+s.y)};t.moveTo(u.x,u.y)}for(var c=0;c<i.length;++c)if(a=o,o=s,s=i[(c+1)%i.length],o.onCurve)t.lineTo(o.x,o.y);else{var l=s;a.onCurve||{x:.5*(o.x+a.x),y:.5*(o.y+a.y)},s.onCurve||(l={x:.5*(o.x+s.x),y:.5*(o.y+s.y)}),t.quadraticCurveTo(o.x,o.y,l.x,l.y)}t.closePath()}return t}function $r(e,t){if(t.isComposite)for(var r=0;r<t.components.length;r+=1){var n=t.components[r],i=e.get(n.glyphIndex);if(i.getPath(),i.points){var a=void 0;if(void 0===n.matchedPoints)a=qr(i.points,n);else{if(n.matchedPoints[0]>t.points.length-1||n.matchedPoints[1]>i.points.length-1)throw Error("Matched points out of range in "+t.name);var o=t.points[n.matchedPoints[0]],s=i.points[n.matchedPoints[1]],u={xScale:n.xScale,scale01:n.scale01,scale10:n.scale10,yScale:n.yScale,dx:0,dy:0};s=qr([s],u)[0],u.dx=o.x-s.x,u.dy=o.y-s.y,a=qr(i.points,u)}t.points=t.points.concat(a)}}return Zr(t.points)}function Yr(e,t,r,n){for(var i=new We.GlyphSet(n),a=0;a<r.length-1;a+=1){var o=r[a],s=r[a+1];o!==s?i.push(a,We.ttfGlyphLoader(n,a,Wr,e,t+o,$r)):i.push(a,We.glyphLoader(n,a))}return i}function Vr(e,t,r,n){var i=new We.GlyphSet(n);return n._push=function(a){var o=r[a],s=r[a+1];o!==s?i.push(a,We.ttfGlyphLoader(n,a,Wr,e,t+o,$r)):i.push(a,We.glyphLoader(n,a))},i}function Kr(e,t,r,n,i){return i.lowMemory?Vr(e,t,r,n):Yr(e,t,r,n)}Br.prototype={searchTag:Or,binSearch:Rr,getTable:function(e){var t=this.font.tables[this.tableName];return!t&&e&&(t=this.font.tables[this.tableName]=this.createDefaultTable()),t}
vendor: 6,386 bytes, line 1
1,getScriptNames:function(){var e=this.getTable();return e?e.scripts.map((function(e){return e.tag})):[]},getDefaultScriptName:function(){var e=this.getTable();if(e){for(var t=!1,r=0;r<e.scripts.length;r++){var n=e.scripts[r].tag;if("DFLT"===n)return n;"latn"===n&&(t=!0)}return t?"latn":void 0}},getScriptTable:function(e,t){var r=this.getTable(t);if(r){e=e||"DFLT";var n=r.scripts,i=Or(r.scripts,e);if(i>=0)return n[i].script;if(t){var a={tag:e,script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}};return n.splice(-1-i,0,a),a.script}}},getLangSysTable:function(e,t,r){var n=this.getScriptTable(e,r);if(n){if(!t||"dflt"===t||"DFLT"===t)return n.defaultLangSys;var i=Or(n.langSysRecords,t);if(i>=0)return n.langSysRecords[i].langSys;if(r){var a={tag:t,langSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]}};return n.langSysRecords.splice(-1-i,0,a),a.langSys}}},getFeatureTable:function(e,t,r,n){var i=this.getLangSysTable(e,t,n);if(i){for(var a,o=i.featureIndexes,s=this.font.tables[this.tableName].features,u=0;u<o.length;u++)if(a=s[o[u]],a.tag===r)return a.feature;if(n){var c=s.length;return U.assert(0===c||r>=s[c-1].tag,"Features must be added in alphabetical order."),a={tag:r,feature:{params:0,lookupListIndexes:[]}},s.push(a),o.push(c),a.feature}}},getLookupTables:function(e,t,r,n,i){var a=this.getFeatureTable(e,t,r,i),o=[];if(a){for(var s,u=a.lookupListIndexes,c=this.font.tables[this.tableName].lookups,l=0;l<u.length;l++)s=c[u[l]],s.lookupType===n&&o.push(s);if(0===o.length&&i){s={lookupType:n,lookupFlag:0,subtables:[],markFilteringSet:void 0};var d=c.length;return c.push(s),u.push(d),[s]}}return o},getGlyphClass:function(e,t){switch(e.format){case 1:return e.startGlyph<=t&&t<e.startGlyph+e.classes.length?e.classes[t-e.startGlyph]:0;case 2:var r=Ur(e.ranges,t);return r?r.classId:0}},getCoverageIndex:function(e,t){switch(e.format){case 1:var r=Rr(e.glyphs,t);return r>=0?r:-1;case 2:var n=Ur(e.ranges,t);return n?n.index+t-n.start:-1}},expandCoverage:function(e){if(1===e.format)return e.glyphs;for(var t=[],r=e.ranges,n=0;n<r.length;n++)for(var i=r[n],a=i.start,o=i.end,s=a;s<=o;s++)t.push(s);return t}},zr.prototype=Br.prototype,zr.prototype.init=function(){var e=this.getDefaultScriptName();this.defaultKerningTables=this.getKerningTables(e)},zr.prototype.getKerningValue=function(e,t,r){for(var n=0;n<e.length;n++)for(var i=e[n].subtables,a=0;a<i.length;a++){var o=i[a],s=this.getCoverageIndex(o.coverage,t);if(!(s<0))switch(o.posFormat){case 1:for(var u=o.pairSets[s],c=0;c<u.length;c++){var l=u[c];if(l.secondGlyph===r)return l.value1&&l.value1.xAdvance||0}break;case 2:var d=this.getGlyphClass(o.classDef1,t),h=this.getGlyphClass(o.classDef2,r),f=o.classRecords[d][h];return f.value1&&f.value1.xAdvance||0}}return 0},zr.prototype.getKerningTables=function(e,t){if(this.font.tables.gpos)return this.getLookupTables(e,t,"kern",2)},Lr.prototype=Br.prototype,Lr.prototype.createDefaultTable=function(){return{version:1,scripts:[{tag:"DFLT",script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}}],features:[],lookups:[]}},Lr.prototype.getSingle=function(e,t,r){for(var n=[],i=this.getLookupTables(t,r,e,1),a=0;a<i.length;a++)for(var o=i[a].subtables,s=0;s<o.length;s++){var u=o[s],c=this.expandCoverage(u.coverage),l=void 0;if(1===u.substFormat){var d=u.deltaGlyphId;for(l=0;l<c.length;l++){var h=c[l];n.push({sub:h,by:h+d})}}else{var f=u.substitute;for(l=0;l<c.length;l++)n.push({sub:c[l],by:f[l]})}}return n},Lr.prototype.getMultiple=function(e,t,r){for(var n=[],i=this.getLookupTables(t,r,e,2),a=0;a<i.length;a++)for(var o=i[a].subtables,s=0;s<o.length;s++){var u=o[s],c=this.expandCoverage(u.coverage),l=void 0;for(l=0;l<c.length;l++){var d=c[l],h=u.sequences[l];n.push({sub:d,by:h})}}return n},Lr.prototype.getAlternates=function(e,t,r){for(var n=[],i=this.getLookupTables(t,r,e,3),a=0;a<i.length;a++)for(var o=i[a].subtables,s=0;s<o.length;s++)for(var u=o[s],c=this.expandCoverage(u.coverage),l=u.alternateSets,d=0;d<c.length;d++)n.push({sub:c[d],by:l[d]});return n},Lr.prototype.getLigatures=function(e,t,r){for(var n=[],i=this.getLookupTables(t,r,e,4),a=0;a<i.length;a++)for(var o=i[a].subtables,s=0;s<o.length;s++)for(var u=o[s],c=this.expandCoverage(u.coverage),l=u.ligatureSets,d=0;d<c.length;d++)for(var h=c[d],f=l[d],p=0;p<f.length;p++){var g=f[p];n.push({sub:[h].concat(g.components),by:g.ligGlyph})}return n},Lr.prototype.addSingle=function(e,t,r,n){var i=this.getLookupTables(r,n,e,1,!0)[0],a=Mr(i,2,{substFormat:2,coverage:{format:1,glyphs:[]},substitute:[]});U.assert(1===a.coverage.format,"Single: unable to modify coverage table format "+a.coverage.format);var o=t.sub,s=this.binSearch(a.coverage.glyphs,o);s<0&&(s=-1-s,a.coverage.glyphs.splice(s,0,o),a.substitute.splice(s,0,0)),a.substitute[s]=t.by},Lr.prototype.addMultiple=function(e,t,r,n){U.assert(t.by instanceof Array&&t.by.length>1,'Multiple: "by" must be an array of two or more ids');var i=this.getLookupTables(r,n,e,2,!0)[0],a=Mr(i,1,{substFormat:1,coverage:{format:1,glyphs:[]},sequences:[]});U.assert(1===a.coverage.format,"Multiple: unable to modify coverage table format "+a.coverage.format);var o=t.sub,s=this.binSearch(a.coverage.glyphs,o);s<0&&(s=-1-s,a.coverage.glyphs.splice(s,0,o),a.sequences.splice(s,0,0)),a.sequences[s]=t.by},Lr.prototype.addAlternate=function(e,t,r,n){var i=this.getLookupTables(r,n,e,3,!0)[0],a=Mr(i,1,{substFormat:1,coverage:{format:1,glyphs:[]},alternateSets:[]});U.assert(1===a.coverage.format,"Alternate: unable to modify coverage table format "+a.coverage.format);var o=t.sub,s=this.binSearch(a.coverage.glyphs,o);s<0&&(s=-1-s,a.coverage.glyphs.splice(s,0,o),a.alternateSets.splice(s,0,0)),a.alternateSets[s]=t.by},Lr.prototype.addLigature=function(e,t,r,n){var i=this.getLookupTables(r,n,e,4,!0)[0],a=i.subtables[0];a||(a={substFormat:1,coverage:{format:1,glyphs:[]},ligatureSets:[]},i.subtables[0]=a),U.assert(1===a.coverage.format,"Ligature: unable to modify coverage table format "+a.coverage.format);var o=t.sub[0],s=t.sub.slice(1),u={ligGlyph:t.by,components:s},c=this.binSearch(a.coverage.glyphs,o);if(c>=0){for(var l=a.ligatureSets[c],d=0;d<l.length;d++)if(Ir(l[d].components,s))return;l.push(u)}else c=-1-c,a.coverage.glyphs.splice(c,0,o),a.ligatureSets.splice(c,0,[u])},Lr.prototype.getFeature=function(e,t,r){if(/ss\d\d/.test(e))return this.get
vendor: 5,288 bytes, line 1
1Single(e,t,r);switch(e){case"aalt":case"salt":return this.getSingle(e,t,r).concat(this.getAlternates(e,t,r));case"dlig":case"liga":case"rlig":return this.getLigatures(e,t,r);case"ccmp":return this.getMultiple(e,t,r).concat(this.getLigatures(e,t,r));case"stch":return this.getMultiple(e,t,r)}},Lr.prototype.add=function(e,t,r,n){if(/ss\d\d/.test(e))return this.addSingle(e,t,r,n);switch(e){case"aalt":case"salt":return"number"===typeof t.by?this.addSingle(e,t,r,n):this.addAlternate(e,t,r,n);case"dlig":case"liga":case"rlig":return this.addLigature(e,t,r,n);case"ccmp":return t.by instanceof Array?this.addMultiple(e,t,r,n):this.addLigature(e,t,r,n)}};var Qr,Jr,en,tn,rn={getPath:Zr,parse:Kr};function nn(e){this.font=e,this.getCommands=function(e){return rn.getPath(e).commands},this._fpgmState=this._prepState=void 0,this._errorState=0}function an(e){return e}function on(e){return Math.sign(e)*Math.round(Math.abs(e))}function sn(e){return Math.sign(e)*Math.round(Math.abs(2*e))/2}function un(e){return Math.sign(e)*(Math.round(Math.abs(e)+.5)-.5)}function cn(e){return Math.sign(e)*Math.ceil(Math.abs(e))}function ln(e){return Math.sign(e)*Math.floor(Math.abs(e))}var dn=function(e){var t=this.srPeriod,r=this.srPhase,n=this.srThreshold,i=1;return e<0&&(e=-e,i=-1),e+=n-r,e=Math.trunc(e/t)*t,e+=r,e<0?r*i:e*i},hn={x:1,y:0,axis:"x",distance:function(e,t,r,n){return(r?e.xo:e.x)-(n?t.xo:t.x)},interpolate:function(e,t,r,n){var i,a,o,s,u,c,l;if(!n||n===this)return i=e.xo-t.xo,a=e.xo-r.xo,u=t.x-t.xo,c=r.x-r.xo,o=Math.abs(i),s=Math.abs(a),l=o+s,0===l?void(e.x=e.xo+(u+c)/2):void(e.x=e.xo+(u*s+c*o)/l);i=n.distance(e,t,!0,!0),a=n.distance(e,r,!0,!0),u=n.distance(t,t,!1,!0),c=n.distance(r,r,!1,!0),o=Math.abs(i),s=Math.abs(a),l=o+s,0!==l?hn.setRelative(e,e,(u*s+c*o)/l,n,!0):hn.setRelative(e,e,(u+c)/2,n,!0)},normalSlope:Number.NEGATIVE_INFINITY,setRelative:function(e,t,r,n,i){if(n&&n!==this){var a=i?t.xo:t.x,o=i?t.yo:t.y,s=a+r*n.x,u=o+r*n.y;e.x=s+(e.y-u)/n.normalSlope}else e.x=(i?t.xo:t.x)+r},slope:0,touch:function(e){e.xTouched=!0},touched:function(e){return e.xTouched},untouch:function(e){e.xTouched=!1}},fn={x:0,y:1,axis:"y",distance:function(e,t,r,n){return(r?e.yo:e.y)-(n?t.yo:t.y)},interpolate:function(e,t,r,n){var i,a,o,s,u,c,l;if(!n||n===this)return i=e.yo-t.yo,a=e.yo-r.yo,u=t.y-t.yo,c=r.y-r.yo,o=Math.abs(i),s=Math.abs(a),l=o+s,0===l?void(e.y=e.yo+(u+c)/2):void(e.y=e.yo+(u*s+c*o)/l);i=n.distance(e,t,!0,!0),a=n.distance(e,r,!0,!0),u=n.distance(t,t,!1,!0),c=n.distance(r,r,!1,!0),o=Math.abs(i),s=Math.abs(a),l=o+s,0!==l?fn.setRelative(e,e,(u*s+c*o)/l,n,!0):fn.setRelative(e,e,(u+c)/2,n,!0)},normalSlope:0,setRelative:function(e,t,r,n,i){if(n&&n!==this){var a=i?t.xo:t.x,o=i?t.yo:t.y,s=a+r*n.x,u=o+r*n.y;e.y=u+n.normalSlope*(e.x-s)}else e.y=(i?t.yo:t.y)+r},slope:Number.POSITIVE_INFINITY,touch:function(e){e.yTouched=!0},touched:function(e){return e.yTouched},untouch:function(e){e.yTouched=!1}};function pn(e,t){this.x=e,this.y=t,this.axis=void 0,this.slope=t/e,this.normalSlope=-e/t,Object.freeze(this)}function gn(e,t){var r=Math.sqrt(e*e+t*t);return e/=r,t/=r,1===e&&0===t?hn:0===e&&1===t?fn:new pn(e,t)}function vn(e,t,r,n){this.x=this.xo=Math.round(64*e)/64,this.y=this.yo=Math.round(64*t)/64,this.lastPointOfContour=r,this.onCurve=n,this.prevPointOnContour=void 0,this.nextPointOnContour=void 0,this.xTouched=!1,this.yTouched=!1,Object.preventExtensions(this)}Object.freeze(hn),Object.freeze(fn),pn.prototype.distance=function(e,t,r,n){return this.x*hn.distance(e,t,r,n)+this.y*fn.distance(e,t,r,n)},pn.prototype.interpolate=function(e,t,r,n){var i,a,o,s,u,c,l;o=n.distance(e,t,!0,!0),s=n.distance(e,r,!0,!0),i=n.distance(t,t,!1,!0),a=n.distance(r,r,!1,!0),u=Math.abs(o),c=Math.abs(s),l=u+c,0!==l?this.setRelative(e,e,(i*c+a*u)/l,n,!0):this.setRelative(e,e,(i+a)/2,n,!0)},pn.prototype.setRelative=function(e,t,r,n,i){n=n||this;var a=i?t.xo:t.x,o=i?t.yo:t.y,s=a+r*n.x,u=o+r*n.y,c=n.normalSlope,l=this.slope,d=e.x,h=e.y;e.x=(l*d-c*s+u-h)/(l-c),e.y=l*(e.x-d)+h},pn.prototype.touch=function(e){e.xTouched=!0,e.yTouched=!0},vn.prototype.nextTouched=function(e){var t=this.nextPointOnContour;while(!e.touched(t)&&t!==this)t=t.nextPointOnContour;return t},vn.prototype.prevTouched=function(e){var t=this.prevPointOnContour;while(!e.touched(t)&&t!==this)t=t.prevPointOnContour;return t};var mn=Object.freeze(new vn(0,0)),bn={cvCutIn:17/16,deltaBase:9,deltaShift:.125,loop:1,minDis:1,autoFlip:!0};function yn(e,t){switch(this.env=e,this.stack=[],this.prog=t,e){case"glyf":this.zp0=this.zp1=this.zp2=1,this.rp0=this.rp1=this.rp2=0;case"prep":this.fv=this.pv=this.dpv=hn,this.round=on}}function Dn(e){for(var t=e.tZone=new Array(e.gZone.length),r=0;r<t.length;r++)t[r]=new vn(0,0)}function wn(e,t){var r,n=e.prog,i=e.ip,a=1;do{if(r=n[++i],88===r)a++;else if(89===r)a--;else if(64===r)i+=n[i+1]+1;else if(65===r)i+=2*n[i+1]+1;else if(r>=176&&r<=183)i+=r-176+1;else if(r>=184&&r<=191)i+=2*(r-184+1);else if(t&&1===a&&27===r)break}while(a>0);e.ip=i}function xn(e,t){exports.DEBUG&&console.log(t.step,"SVTCA["+e.axis+"]"),t.fv=t.pv=t.dpv=e}function Sn(e,t){exports.DEBUG&&console.log(t.step,"SPVTCA["+e.axis+"]"),t.pv=t.dpv=e}function Fn(e,t){exports.DEBUG&&console.log(t.step,"SFVTCA["+e.axis+"]"),t.fv=e}function Cn(e,t){var r,n,i=t.stack,a=i.pop(),o=i.pop(),s=t.z2[a],u=t.z1[o];
vendor: 12,127 bytes, line 1
1exports.DEBUG&&console.log("SPVTL["+e+"]",a,o),e?(r=s.y-u.y,n=u.x-s.x):(r=u.x-s.x,n=u.y-s.y),t.pv=t.dpv=gn(r,n)}function En(e,t){var r,n,i=t.stack,a=i.pop(),o=i.pop(),s=t.z2[a],u=t.z1[o];exports.DEBUG&&console.log("SFVTL["+e+"]",a,o),e?(r=s.y-u.y,n=u.x-s.x):(r=u.x-s.x,n=u.y-s.y),t.fv=gn(r,n)}function kn(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SPVFS[]",r,n),e.pv=e.dpv=gn(n,r)}function _n(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SPVFS[]",r,n),e.fv=gn(n,r)}function An(e){var t=e.stack,r=e.pv;exports.DEBUG&&console.log(e.step,"GPV[]"),t.push(16384*r.x),t.push(16384*r.y)}function Tn(e){var t=e.stack,r=e.fv;exports.DEBUG&&console.log(e.step,"GFV[]"),t.push(16384*r.x),t.push(16384*r.y)}function On(e){e.fv=e.pv,exports.DEBUG&&console.log(e.step,"SFVTPV[]")}function Rn(e){var t=e.stack,r=t.pop(),n=t.pop(),i=t.pop(),a=t.pop(),o=t.pop(),s=e.z0,u=e.z1,c=s[r],l=s[n],d=u[i],h=u[a],f=e.z2[o];exports.DEBUG&&console.log("ISECT[], ",r,n,i,a,o);var p=c.x,g=c.y,v=l.x,m=l.y,b=d.x,y=d.y,D=h.x,w=h.y,x=(p-v)*(y-w)-(g-m)*(b-D),S=p*m-g*v,F=b*w-y*D;f.x=(S*(b-D)-F*(p-v))/x,f.y=(S*(y-w)-F*(g-m))/x}function Un(e){e.rp0=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP0[]",e.rp0)}function Bn(e){e.rp1=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP1[]",e.rp1)}function zn(e){e.rp2=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP2[]",e.rp2)}function Ln(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP0[]",t),e.zp0=t,t){case 0:e.tZone||Dn(e),e.z0=e.tZone;break;case 1:e.z0=e.gZone;break;default:throw new Error("Invalid zone pointer")}}function In(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP1[]",t),e.zp1=t,t){case 0:e.tZone||Dn(e),e.z1=e.tZone;break;case 1:e.z1=e.gZone;break;default:throw new Error("Invalid zone pointer")}}function Mn(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP2[]",t),e.zp2=t,t){case 0:e.tZone||Dn(e),e.z2=e.tZone;break;case 1:e.z2=e.gZone;break;default:throw new Error("Invalid zone pointer")}}function Pn(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZPS[]",t),e.zp0=e.zp1=e.zp2=t,t){case 0:e.tZone||Dn(e),e.z0=e.z1=e.z2=e.tZone;break;case 1:e.z0=e.z1=e.z2=e.gZone;break;default:throw new Error("Invalid zone pointer")}}function Nn(e){e.loop=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SLOOP[]",e.loop)}function jn(e){exports.DEBUG&&console.log(e.step,"RTG[]"),e.round=on}function Gn(e){exports.DEBUG&&console.log(e.step,"RTHG[]"),e.round=un}function Hn(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SMD[]",t),e.minDis=t/64}function Wn(e){exports.DEBUG&&console.log(e.step,"ELSE[]"),wn(e,!1)}function qn(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"JMPR[]",t),e.ip+=t-1}function Xn(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCVTCI[]",t),e.cvCutIn=t/64}function Zn(e){var t=e.stack;exports.DEBUG&&console.log(e.step,"DUP[]"),t.push(t[t.length-1])}function $n(e){exports.DEBUG&&console.log(e.step,"POP[]"),e.stack.pop()}function Yn(e){exports.DEBUG&&console.log(e.step,"CLEAR[]"),e.stack.length=0}function Vn(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SWAP[]"),t.push(r),t.push(n)}function Kn(e){var t=e.stack;exports.DEBUG&&console.log(e.step,"DEPTH[]"),t.push(t.length)}function Qn(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LOOPCALL[]",r,n);var i=e.ip,a=e.prog;e.prog=e.funcs[r];for(var o=0;o<n;o++)Jr(e),exports.DEBUG&&console.log(++e.step,o+1<n?"next loopcall":"done loopcall",o);e.ip=i,e.prog=a}function Jn(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"CALL[]",t);var r=e.ip,n=e.prog;e.prog=e.funcs[t],Jr(e),e.ip=r,e.prog=n,exports.DEBUG&&console.log(++e.step,"returning from",t)}function ei(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"CINDEX[]",r),t.push(t[t.length-r])}function ti(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"MINDEX[]",r),t.push(t.splice(t.length-r,1)[0])}function ri(e){if("fpgm"!==e.env)throw new Error("FDEF not allowed here");var t=e.stack,r=e.prog,n=e.ip,i=t.pop(),a=n;exports.DEBUG&&console.log(e.step,"FDEF[]",i);while(45!==r[++n]);e.ip=n,e.funcs[i]=r.slice(a+1,n)}function ni(e,t){var r=t.stack.pop(),n=t.z0[r],i=t.fv,a=t.pv;exports.DEBUG&&console.log(t.step,"MDAP["+e+"]",r);var o=a.distance(n,mn);e&&(o=t.round(o)),i.setRelative(n,mn,o,a),i.touch(n),t.rp0=t.rp1=r}function ii(e,t){var r,n,i,a=t.z2,o=a.length-2;exports.DEBUG&&console.log(t.step,"IUP["+e.axis+"]");for(var s=0;s<o;s++)r=a[s],e.touched(r)||(n=r.prevTouched(e),n!==r&&(i=r.nextTouched(e),n===i&&e.setRelative(r,r,e.distance(n,n,!1,!0),e,!0),e.interpolate(r,n,i,e)))}function ai(e,t){var r=t.stack,n=e?t.rp1:t.rp2,i=(e?t.z0:t.z1)[n],a=t.fv,o=t.pv,s=t.loop,u=t.z2;while(s--){var c=r.pop(),l=u[c],d=o.distance(i,i,!1,!0);a.setRelative(l,l,d,o),a.touch(l),exports.DEBUG&&console.log(t.step,(t.loop>1?"loop "+(t.loop-s)+": ":"")+"SHP["+(e?"rp1":"rp2")+"]",c)}t.loop=1}function oi(e,t){var r=t.stack,n=e?t.rp1:t.rp2,i=(e?t.z0:t.z1)[n],a=t.fv,o=t.pv,s=r.pop(),u=t.z2[t.contours[s]],c=u;exports.DEBUG&&console.log(t.step,"SHC["+e+"]",s);var l=o.distance(i,i,!1,!0);do{c!==i&&a.setRelative(c,c,l,o),c=c.nextPointOnContour}while(c!==u)}function si(e,t){var r,n,i=t.stack,a=e?t.rp1:t.rp2,o=(e?t.z0:t.z1)[a],s=t.fv,u=t.pv,c=i.pop();switch(exports.DEBUG&&console.log(t.step,"SHZ["+e+"]",c),c){case 0:r=t.tZone;break;case 1:r=t.gZone;break;default:throw new Error("Invalid zone")}for(var l=u.distance(o,o,!1,!0),d=r.length-2,h=0;h<d;h++)n=r[h],s.setRelative(n,n,l,u)}function ui(e){var t=e.stack,r=e.loop,n=e.fv,i=t.pop()/64,a=e.z2;while(r--){var o=t.pop(),s=a[o];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-r)+": ":"")+"SHPIX[]",o,i),n.setRelative(s,s,i),n.touch(s)}e.loop=1}function ci(e){var t=e.stack,r=e.rp1,n=e.rp2,i=e.loop,a=e.z0[r],o=e.z1[n],s=e.fv,u=e.dpv,c=e.z2;while(i--){var l=t.pop(),d=c[l];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-i)+": ":"")+"IP[]",l,r,"<->",n),s.interpolate(d,a,o,u),s.touch(d)}e.loop=1}function li(e,t){var r=t.stack,n=r.pop()/64,i=r.pop(),a=t.z1[i],o=t.z0[t.rp0],s=t.fv,u=t.pv;s.setRelative(a,o,n,u),s.touch(a),exports.DEBUG&&console.log(t.step,"MSIRP["+e+"]",n,i),t.rp1=t.rp0,t.rp2=i,e&&(t.rp0=i)}function di(e){var t=e.stack,r=e.rp0,n=e.z0[r],i=e.loop,a=e.fv,o=e.pv,s=e.z1;while(i--){var u=t.pop(),c=s[u];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-i)+": ":"")+"ALIGNRP[]",u),a.setRelative(c,n,0,o),a.touch(c)}e.loop=1}function hi(e){exports.DEBUG&&console.log(e.step,"RTDG[]"),e.round=sn}function fi(e,t){var r=t.stack,n=r.pop(),i=r.pop(),a=t.z0[i],o=t.fv,s=t.pv,u=t.cvt[n];exports.DEBUG&&console.log(t.step,"MIAP["+e+"]",n,"(",u,")",i);var c=s.distance(a,mn);e&&(Math.abs(c-u)<t.cvCutIn&&(c=u),c=t.round(c)),o.setRelative(a,mn,c,s),0===t.zp0&&(a.xo=a.x,a.yo=a.y),o.touch(a),t.rp0=t.rp1=i}function pi(e){var t=e.prog,r=e.ip,n=e.stack,i=t[++r];exports.DEBUG&&console.log(e.step,"NPUSHB[]",i);for(var a=0;a<i;a++)n.push(t[++r]);e.ip=r}function gi(e){var t=e.ip,r=e.prog,n=e.stack,i=r[++t];exports.DEBUG&&console.log(e.step,"NPUSHW[]",i);for(var a=0;a<i;a++){var o=r[++t]<<8|r[++t];32768&o&&(o=-(1+(65535^o))),n.push(o)}e.ip=t}function vi(e){var t=e.stack,r=e.store;r||(r=e.store=[]);var n=t.pop(),i=t.pop();exports.DEBUG&&console.log(e.step,"WS",n,i),r[i]=n}function mi(e){var t=e.stack,r=e.store,n=t.pop();exports.DEBUG&&console.log(e.step,"RS",n);var i=r&&r[n]||0;t.push(i)}function bi(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"WCVTP",r,n),e.cvt[n]=r/64}function yi(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"RCVT",r),t.push(64*e.cvt[r])}function Di(e,t){var r=t.stack,n=r.pop(),i=t.z2[n];exports.DEBUG&&console.log(t.step,"GC["+e+"]",n),r.push(64*t.dpv.distance(i,mn,e,!1))}function wi(e,t){var r=t.stack,n=r.pop(),i=r.pop(),a=t.z1[n],o=t.z0[i],s=t.dpv.distance(o,a,e,e);exports.DEBUG&&console.log(t.step,"MD["+e+"]",n,i,"->",s),t.stack.push(Math.round(64*s))}function xi(e){exports.DEBUG&&console.log(e.step,"MPPEM[]"),e.stack.push(e.ppem)}function Si(e){exports.DEBUG&&console.log(e.step,"FLIPON[]"),e.autoFlip=!0}function Fi(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LT[]",r,n),t.push(n<r?1:0)}function Ci(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LTEQ[]",r,n),t.push(n<=r?1:0)}function Ei(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"GT[]",r,n),t.push(n>r?1:0)}function ki(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"GTEQ[]",r,n),t.push(n>=r?1:0)}function _i(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"EQ[]",r,n),t.push(r===n?1:0)}function Ai(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"NEQ[]",r,n),t.push(r!==n?1:0)}function Ti(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"ODD[]",r),t.push(Math.trunc(r)%2?1:0)}function Oi(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"EVEN[]",r),t.push(Math.trunc(r)%2?0:1)}function Ri(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"IF[]",t),t||(wn(e,!0),exports.DEBUG&&console.log(e.step,"EIF[]"))}function Ui(e){exports.DEBUG&&console.log(e.step,"EIF[]")}function Bi(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"AND[]",r,n),t.push(r&&n?1:0)}function zi(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"OR[]",r,n),t.push(r||n?1:0)}function Li(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"NOT[]",r),t.push(r?0:1)}function Ii(e,t){var r=t.stack,n=r.pop(),i=t.fv,a=t.pv,o=t.ppem,s=t.deltaBase+16*(e-1),u=t.deltaShift,c=t.z0;exports.DEBUG&&console.log(t.step,"DELTAP["+e+"]",n,r);for(var l=0;l<n;l++){var d=r.pop(),h=r.pop(),f=s+((240&h)>>4);if(f===o){var p=(15&h)-8;p>=0&&p++,exports.DEBUG&&console.log(t.step,"DELTAPFIX",d,"by",p*u);var g=c[d];i.setRelative(g,g,p*u,a)}}}function Mi(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"SDB[]",r),e.deltaBase=r}function Pi(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"SDS[]",r),e.deltaShift=Math.pow(.5,r)}function Ni(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"ADD[]",r,n),t.push(n+r)}function ji(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SUB[]",r,n),t.push(n-r)}function Gi(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"DIV[]",r,n),t.push(64*n/r)}function Hi(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MUL[]",r,n),t.push(n*r/64)}function Wi(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"ABS[]",r),t.push(Math.abs(r))}function qi(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"NEG[]",r),t.push(-r)}function Xi(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"FLOOR[]",r),t.push(64*Math.floor(r/64))}function Zi(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"CEILING[]",r),t.push(64*Math.ceil(r/64))}function $i(e,t){var r=t.stack,n=r.pop();exports.DEBUG&&console.log(t.step,"ROUND[]"),r.push(64*t.round(n/64))}function Yi(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"WCVTF[]",r,n),e.cvt[n]=r*e.ppem/e.font.unitsPerEm}function Vi(e,t){var r=t.stack,n=r.pop(),i=t.ppem,a=t.deltaBase+16*(e-1),o=t.deltaShift;exports.DEBUG&&console.log(t.step,"DELTAC["+e+"]",n,r);for(var s=0;s<n;s++){var u=r.pop(),c=r.pop(),l=a+((240&c)>>4);if(l===i){var d=(15&c)-8;d>=0&&d++;var h=d*o;exports.DEBUG&&console.log(t.step,"DELTACFIX",u,"by",h),t.cvt[u]+=h}}}function Ki(e){var t,r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SROUND[]",r),e.round=dn,192&r){case 0:t=.5;break;case 64:t=1;break;case 128:t=2;break;default:throw new Error("invalid SROUND value")}switch(e.srPeriod=t,48&r){case 0:e.srPhase=0;break;case 16:e.srPhase=.25*t;break;case 32:e.srPhase=.5*t;break;case 48:e.srPhase=.75*t;break;default:throw new Error("invalid SROUND value")}r&=15,e.srThreshold=0===r?0:(r/8-.5)*t}function Qi(e){var t,r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"S45ROUND[]",r),e.round=dn,
1192&r){case 0:t=Math.sqrt(2)/2;break;case 64:t=Math.sqrt(2);break;case 128:t=2*Math.sqrt(2);break;default:throw new Error("invalid S45ROUND value")}switch(e.srPeriod=t,48&r){case 0:e.srPhase=0;break;case 16:e.srPhase=.25*t;break;case 32:e.srPhase=.5*t;break;case 48:e.srPhase=.75*t;break;default:throw new Error("invalid S45ROUND value")}r&=15,e.srThreshold=0===r?0:(r/8-.5)*t}function Ji(e){exports.DEBUG&&console.log(e.step,"ROFF[]"),e.round=an}function ea(e){exports.DEBUG&&console.log(e.step,"RUTG[]"),e.round=cn}function ta(e){exports.DEBUG&&console.log(e.step,"RDTG[]"),e.round=ln}function ra(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCANCTRL[]",t)}function na(e,t){var r,n,i=t.stack,a=i.pop(),o=i.pop(),s=t.z2[a],u=t.z1[o];exports.DEBUG&&console.log(t.step,"SDPVTL["+e+"]",a,o),e?(r=s.y-u.y,n=u.x-s.x):(r=u.x-s.x,n=u.y-s.y),t.dpv=gn(r,n)}function ia(e){var t=e.stack,r=t.pop(),n=0;exports.DEBUG&&console.log(e.step,"GETINFO[]",r),1&r&&(n=35),32&r&&(n|=4096),t.push(n)}function aa(e){var t=e.stack,r=t.pop(),n=t.pop(),i=t.pop();exports.DEBUG&&console.log(e.step,"ROLL[]"),t.push(n),t.push(r),t.push(i)}function oa(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MAX[]",r,n),t.push(Math.max(n,r))}function sa(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MIN[]",r,n),t.push(Math.min(n,r))}function ua(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCANTYPE[]",t)}function ca(e){var t=e.stack.pop(),r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"INSTCTRL[]",t,r),t){case 1:return void(e.inhibitGridFit=!!r);case 2:return void(e.ignoreCvt=!!r);default:throw new Error("invalid INSTCTRL[] selector")}}function la(e,t){var r=t.stack,n=t.prog,i=t.ip;exports.DEBUG&&console.log(t.step,"PUSHB["+e+"]");for(var a=0;a<e;a++)r.push(n[++i]);t.ip=i}function da(e,t){var r=t.ip,n=t.prog,i=t.stack;exports.DEBUG&&console.log(t.ip,"PUSHW["+e+"]");for(var a=0;a<e;a++){var o=n[++r]<<8|n[++r];32768&o&&(o=-(1+(65535^o))),i.push(o)}t.ip=r}function ha(e,t,r,n,i,a){var o,s,u,c,l=a.stack,d=e&&l.pop(),h=l.pop(),f=a.rp0,p=a.z0[f],g=a.z1[h],v=a.minDis,m=a.fv,b=a.dpv;s=o=b.distance(g,p,!0,!0),u=s>=0?1:-1,s=Math.abs(s),e&&(c=a.cvt[d],n&&Math.abs(s-c)<a.cvCutIn&&(s=c)),r&&s<v&&(s=v),n&&(s=a.round(s)),m.setRelative(g,p,u*s,b),m.touch(g),exports.DEBUG&&console.log(a.step,(e?"MIRP[":"MDRP[")+(t?"M":"m")+(r?">":"_")+(n?"R":"_")+(0===i?"Gr":1===i?"Bl":2===i?"Wh":"")+"]",e?d+"("+a.cvt[d]+","+c+")":"",h,"(d =",o,"->",u*s,")"),a.rp1=a.rp0,a.rp2=h,t&&(a.rp0=h)}function fa(e){this.char=e,this.state={},this.activeState=null}function pa(e,t,r){this.contextName=r,this.startIndex=e,this.endOffset=t}function ga(e,t,r){this.contextName=e,this.openRange=null,this.ranges=[],this.checkStart=t,this.checkEnd=r}function va(e,t){this.context=e,this.index=t,this.length=e.length,this.current=e[t],this.backtrack=e.slice(0,t),this.lookahead=e.slice(t+1)}function ma(e){this.eventId=e,this.subscribers=[]}function ba(e){var t=this,r=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"];r.forEach((function(e){Object.defineProperty(t.events,e,{value:new ma(e)})})),e&&r.forEach((function(r){var n=e[r];"function"===typeof n&&t.events[r].subscribe(n)}));var n=["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"];n.forEach((function(e){t.events[e].subscribe(t.updateContextsRanges)}))}function ya(e){this.tokens=[],this.registeredContexts={},this.contextCheckers=[],this.events={},this.registeredModifiers=[],ba.call(this,e)}function Da(e){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(e)}function wa(e){return/[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(e)}function xa(e){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(e)}function Sa(e){return/[A-z]/.test(e)}function Fa(e){return/\s/.test(e)}function Ca(e){this.font=e,this.features={}}function Ea(e){this.id=e.id,this.tag=e.tag,this.substitution=e.substitution}function ka(e,t){if(!e)return-1;switch(t.format){case 1:return t.glyphs.indexOf(e);case 2:for(var r=t.ranges,n=0;n<r.length;n++){var i=r[n];if(e>=i.start&&e<=i.end){var a=e-i.start;return i.index+a}}break;default:return-1}return-1}function _a(e,t){var r=ka(e,t.coverage);return-1===r?null:e+t.deltaGlyphId}function Aa(e,t){var r=ka(e,t.coverage);return-1===r?null:t.substitute[r]}function Ta(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n],a=t.current;a=Array.isArray(a)?a[0]:a;var o=ka(a,i);-1!==o&&r.push(o)}return r.length!==e.length?-1:r}function Oa(e,t){var r=t.inputCoverage.length+t.lookaheadCoverage.length+t.backtrackCoverage.length;if(e.context.length<r)return[];var n=Ta(t.inputCoverage,e);if(-1===n)return[];var i=t.inputCoverage.length-1;if(e.lookahead.length<t.lookaheadCoverage.length)return[];var a=e.lookahead.slice(i);while(a.length&&xa(a[0].char))a.shift();var o=new va(a,0),s=Ta(t.lookaheadCoverage,o),u=[].concat(e.backtrack);u.reverse();while(u.length&&xa(u[0].char))u.shift();if(u.length<t.backtrackCoverage.length)return[];var c=new va(u,0),l=Ta(t.backtrackCoverage,c),d=n.length===t.inputCoverage.length&&s.length===t.lookaheadCoverage.length&&l.length===t.backtrackCoverage.length,h=[];if(d)for(var f=0;f<t.lookupRecords.length;f++)for(var p=t.lookupRecords[f],g=p.lookupListIndex,v=this.getLookupByIndex(g),m=0;m<v.subtables.length;m++){var b=v.subtables[m],y=this.getLookupMethod(v,b),D=this.getSubstitutionType(v,b);if("12"===D)for(var w=0;w<n.length;w++){var x=e.get(w),S=y(x);S&&h.push(S)}}return h}function Ra(e,t){var r,n=e.current,i=ka(n,t.coverage);if(-1===i)return null;for(var a=t.ligatureSets[i],o=0;o<a.length;o++){r=a[o];for(var s=0;s<r.components.length;s++){var u=e.lookahead[s],c=r.components[s];if(u!==c)break;if(s===r.components.length-1)return r}}return null}function Ua(e,t){var r=ka(e,t.coverage);return-1===r?null:t.sequences[r]}function Ba(e){var t=e.current,r=e.get(-1);return null===r&&Da(t)||!Da(r)&&Da(t)}function za(e){var t=e.get(1);return null===t||!Da(t)}nn.prototype.exec=function(e,t){if("number"!==typeof t)throw new Error("Point size is not a number!");if(!(this._errorState>2)){var r=this.font,n=this._prepState;if(!n||n.ppem!==t){var i=this._fpgmState;if(!i){yn.prototype=bn,i=this._fpgmState=new yn("fpgm",r.tables.fpgm),i.funcs=[],i.font=r,exports.DEBUG&&(console.log("---EXEC FPGM---"),i.step=-1);try{Jr(i)}catch(c){return console.log("Hinting error in FPGM:"+c),void(this._errorState=3)}}yn.prototype=i,n=this._prepState=new yn("prep",r.tables.prep),n.ppem=t;var a=r.tables.cvt;if(a)for(var o=n.cvt=new Array(a.length),s=t/r.unitsPerEm,u=0;u<a.length;u++)o[u]=a[u]*s;else n.cvt=[];exports.DEBUG&&(console.log("---EXEC PREP---"),n.step=-1);try{Jr(n)}catch(c){this._errorState<2&&console.log("Hinting error in PREP:"+c),this._errorState=2}}if(!(this._errorState>1))try{return en(e,n)}catch(c){return this._errorState<1&&(console.log("Hinting error:"+c),console.log("Note: further hinting errors are silenced")),void(this._errorState=1)}}},en=function(e,t){var r,n,i,a=t.ppem/t.font.unitsPerEm,o=a,s=e.components;if(yn.prototype=t,s){var u=t.font;n=[],r=[];for(var c=0;c<s.length;c++){var l=s[c],d=u.glyphs.get(l.glyphIndex);i=new yn("glyf",d.instructions),exports.DEBUG&&(console.log("---EXEC COMP "+c+"---"),i.step=-1),tn(d,i,a,o);for(var h=Math.round(l.dx*a),f=Math.round(l.dy*o),p=i.gZone,g=i.contours,v=0;v<p.length;v++){var m=p[v];m.xTouched=m.yTouched=!1,m.xo=m.x=m.x+h,m.yo=m.y=m.y+f}var b=n.length;n.push.apply(n,p);for(var y=0;y<g.length;y++)r.push(g[y]+b)}e.instructions&&!i.inhibitGridFit&&(i=new yn("glyf",e.instructions),i.gZone=i.z0=i.z1=i.z2=n,i.contours=r,n.push(new vn(0,0),new vn(Math.round(e.advanceWidth*a),0)),exports.DEBUG&&(console.log("---EXEC COMPOSITE---"),i.step=-1),Jr(i),n.length-=2)}else i=new yn("glyf",e.instructions),exports.DEBUG&&(console.log("---EXEC GLYPH---"),i.step=-1),tn(e,i,a,o),n=i.gZone;return n},tn=function(e,t,r,n){for(var i,a,o,s=e.points||[],u=s.length,c=t.gZone=t.z0=t.z1=t.z2=[],l=t.contours=[],d=0;d<u;d++)i=s[d],c[d]=new vn(i.x*r,i.y*n,i.lastPointOfContour,i.onCurve);for(var h=0;h<u;h++)i=c[h],a||(a=i,l.push(h)),i.lastPointOfContour?(i.nextPointOnContour=a,a.prevPointOnContour=i,a=void 0):(o=c[h+1],i.nextPointOnContour=o,o.prevPointOnContour=i);if(!t.inhibitGridFit){if(exports.DEBUG){console.log("PROCESSING GLYPH",t.stack);for(var f=0;f<u;f++)console.log(f,c[f].x,c[f].y)}if(c.push(new vn(0,0),new vn(Math.round(e.advanceWidth*r),0)),Jr(t),c.length-=2,exports.DEBUG){console.log("FINISHED GLYPH",t.stack);for(var p=0;p<u;p++)console.log(p,c[p].x,c[p].y)}}},Jr=function(e){var t=e.prog;if(t){var r,n=t.length;for(e.ip=0;e.ip<n;e.ip++){if(exports.DEBUG&&e.step++,r=Qr[t[e.ip]],!r)throw new Error("unknown instruction: 0x"+Number(t[e.ip]).toString(16));r(e)}}},Qr=[xn.bind(void 0,fn),xn.bind(void 0,hn),Sn.bind(void 0,fn),Sn.bind(void 0,hn),Fn.bind(void 0,fn),Fn.bind(void 0,hn),Cn.bind(void 0,0),Cn.bind(void 0,1
1),En.bind(void 0,0),En.bind(void 0,1),kn,_n,An,Tn,On,Rn,Un,Bn,zn,Ln,In,Mn,Pn,Nn,jn,Gn,Hn,Wn,qn,Xn,void 0,void 0,Zn,$n,Yn,Vn,Kn,ei,ti,void 0,void 0,void 0,Qn,Jn,ri,void 0,ni.bind(void 0,0),ni.bind(void 0,1),ii.bind(void 0,fn),ii.bind(void 0,hn),ai.bind(void 0,0),ai.bind(void 0,1),oi.bind(void 0,0),oi.bind(void 0,1),si.bind(void 0,0),si.bind(void 0,1),ui,ci,li.bind(void 0,0),li.bind(void 0,1),di,hi,fi.bind(void 0,0),fi.bind(void 0,1),pi,gi,vi,mi,bi,yi,Di.bind(void 0,0),Di.bind(void 0,1),void 0,wi.bind(void 0,0),wi.bind(void 0,1),xi,void 0,Si,void 0,void 0,Fi,Ci,Ei,ki,_i,Ai,Ti,Oi,Ri,Ui,Bi,zi,Li,Ii.bind(void 0,1),Mi,Pi,Ni,ji,Gi,Hi,Wi,qi,Xi,Zi,$i.bind(void 0,0),$i.bind(void 0,1),$i.bind(void 0,2),$i.bind(void 0,3),void 0,void 0,void 0,void 0,Yi,Ii.bind(void 0,2),Ii.bind(void 0,3),Vi.bind(void 0,1),Vi.bind(void 0,2),Vi.bind(void 0,3),Ki,Qi,void 0,void 0,Ji,void 0,ea,ta,$n,$n,void 0,void 0,void 0,void 0,void 0,ra,na.bind(void 0,0),na.bind(void 0,1),ia,void 0,aa,oa,sa,ua,ca,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,la.bind(void 0,1),la.bind(void 0,2),la.bind(void 0,3),la.bind(void 0,4),la.bind(void 0,5),la.bind(void 0,6),la.bind(void 0,7),la.bind(void 0,8),da.bind(void 0,1),da.bind(void 0,2),da.bind(void 0,3),da.bind(void 0,4),da.bind(void 0,5),da.bind(void 0,6),da.bind(void 0,7),da.bind(void 0,8),ha.bind(void 0,0,0,0,0,0),ha.bind(void 0,0,0,0,0,1),ha.bind(void 0,0,0,0,0,2),ha.bind(void 0,0,0,0,0,3),ha.bind(void 0,0,0,0,1,0),ha.bind(void 0,0,0,0,1,1),ha.bind(void 0,0,0,0,1,2),ha.bind(void 0,0,0,0,1,3),ha.bind(void 0,0,0,1,0,0),ha.bind(void 0,0,0,1,0,1),ha.bind(void 0,0,0,1,0,2),ha.bind(void 0,0,0,1,0,3),ha.bind(void 0,0,0,1,1,0),ha.bind(void 0,0,0,1,1,1),ha.bind(void 0,0,0,1,1,2),ha.bind(void 0,0,0,1,1,3),ha.bind(void 0,0,1,0,0,0),ha.bind(void 0,0,1,0,0,1),ha.bind(void 0,0,1,0,0,2),ha.bind(void 0,0,1,0,0,3),ha.bind(void 0,0,1,0,1,0),ha.bind(void 0,0,1,0,1,1),ha.bind(void 0,0,1,0,1,2),ha.bind(void 0,0,1,0,1,3),ha.bind(void 0,0,1,1,0,0),ha.bind(void 0,0,1,1,0,1),ha.bind(void 0,0,1,1,0,2),ha.bind(void 0,0,1,1,0,3),ha.bind(void 0,0,1,1,1,0),ha.bind(void 0,0,1,1,1,1),ha.bind(void 0,0,1,1,1,2),ha.bind(void 0,0,1,1,1,3),ha.bind(void 0,1,0,0,0,0),ha.bind(void 0,1,0,0,0,1),ha.bind(void 0,1,0,0,0,2),ha.bind(void 0,1,0,0,0,3),ha.bind(void 0,1,0,0,1,0),ha.bind(void 0,1,0,0,1,1),ha.bind(void 0,1,0,0,1,2),ha.bind(void 0,1,0,0,1,3),ha.bind(void 0,1,0,1,0,0),ha.bind(void 0,1,0,1,0,1),ha.bind(void 0,1,0,1,0,2),ha.bind(void 0,1,0,1,0,3),ha.bind(void 0,1,0,1,1,0),ha.bind(void 0,1,0,1,1,1),ha.bind(void 0,1,0,1,1,2),ha.bind(void 0,1,0,1,1,3),ha.bind(void 0,1,1,0,0,0),ha.bind(void 0,1,1,0,0,1),ha.bind(void 0,1,1,0,0,2),ha.bind(void 0,1,1,0,0,3),ha.bind(void 0,1,1,0,1,0),ha.bind(void 0,1,1,0,1,1),ha.bind(void 0,1,1,0,1,2),ha.bind(void 0,1,1,0,1,3),ha.bind(void 0,1,1,1,0,0),ha.bind(void 0,1,1,1,0,1),ha.bind(void 0,1,1,1,0,2),ha.bind(void 0,1,1,1,0,3),ha.bind(void 0,1,1,1,1,0),ha.bind(void 0,1,1,1,1,1),ha.bind(void 0,1,1,1,1,2),ha.bind(void 0,1,1,1,1,3)],fa.prototype.setState=function(e,t){return this.state[e]=t,this.activeState={key:e,value:this.state[e]},this.activeState},fa.prototype.getState=function(e){return this.state[e]||null},ya.prototype.inboundIndex=function(e){return e>=0&&e<this.tokens.length},ya.prototype.composeRUD=function(e){var t=this,r=!0,n=e.map((function(e){return t[e[0]].apply(t,e.slice(1).concat(r))})),i=function(e){return"object"===typeof e&&e.hasOwnProperty("FAIL")};if(n.every(i))return{FAIL:"composeRUD: one or more operations hasn't completed successfully",report:n.filter(i)};this.dispatch("composeRUD",[n.filter((function(e){return!i(e)}))])},ya.prototype.replaceRange=function(e,t,r,n){t=null!==t?t:this.tokens.length;var i=r.every((function(e){return e instanceof fa}));if(!isNaN(e)&&this.inboundIndex(e)&&i){var a=this.tokens.splice.apply(this.tokens,[e,t].concat(r));return n||this.dispatch("replaceToken",[e,t,r]),[a,r]}return{FAIL:"replaceRange: invalid tokens or startIndex."}},ya.prototype.replaceToken=function(e,t,r){if(!isNaN(e)&&this.inboundIndex(e)&&t instanceof fa){var n=this.tokens.splice(e,1,t);return r||this.dispatch("replaceToken",[e,t]),[n[0],t]}
1return{FAIL:"replaceToken: invalid token or index."}},ya.prototype.removeRange=function(e,t,r){t=isNaN(t)?this.tokens.length:t;var n=this.tokens.splice(e,t);return r||this.dispatch("removeRange",[n,e,t]),n},ya.prototype.removeToken=function(e,t){if(!isNaN(e)&&this.inboundIndex(e)){var r=this.tokens.splice(e,1);return t||this.dispatch("removeToken",[r,e]),r}return{FAIL:"removeToken: invalid token index."}},ya.prototype.insertToken=function(e,t,r){var n=e.every((function(e){return e instanceof fa}));return n?(this.tokens.splice.apply(this.tokens,[t,0].concat(e)),r||this.dispatch("insertToken",[e,t]),e):{FAIL:"insertToken: invalid token(s)."}},ya.prototype.registerModifier=function(e,t,r){this.events.newToken.subscribe((function(n,i){var a=[n,i],o=null===t||!0===t.apply(this,a),s=[n,i];if(o){var u=r.apply(this,s);n.setState(e,u)}})),this.registeredModifiers.push(e)},ma.prototype.subscribe=function(e){return"function"===typeof e?this.subscribers.push(e)-1:{FAIL:"invalid '"+this.eventId+"' event handler"}},ma.prototype.unsubscribe=function(e){this.subscribers.splice(e,1)},va.prototype.setCurrentIndex=function(e){this.index=e,this.current=this.context[e],this.backtrack=this.context.slice(0,e),this.lookahead=this.context.slice(e+1)},va.prototype.get=function(e){switch(!0){case 0===e:return this.current;case e<0&&Math.abs(e)<=this.backtrack.length:return this.backtrack.slice(e)[0];case e>0&&e<=this.lookahead.length:return this.lookahead[e-1];default:return null}},ya.prototype.rangeToText=function(e){if(e instanceof pa)return this.getRangeTokens(e).map((function(e){return e.char})).join("")},ya.prototype.getText=function(){return this.tokens.map((function(e){return e.char})).join("")},ya.prototype.getContext=function(e){var t=this.registeredContexts[e];return t||null},ya.prototype.on=function(e,t){var r=this.events[e];return r?r.subscribe(t):null},ya.prototype.dispatch=function(e,t){var r=this,n=this.events[e];n instanceof ma&&n.subscribers.forEach((function(e){e.apply(r,t||[])}))},ya.prototype.registerContextChecker=function(e,t,r){if(this.getContext(e))return{FAIL:"context name '"+e+"' is already registered."};if("function"!==typeof t)return{FAIL:"missing context start check."};if("function"!==typeof r)return{FAIL:"missing context end check."};var n=new ga(e,t,r);return this.registeredContexts[e]=n,this.contextCheckers.push(n),n},ya.prototype.getRangeTokens=function(e){var t=e.startIndex+e.endOffset;return[].concat(this.tokens.slice(e.startIndex,t))},ya.prototype.getContextRanges=function(e){var t=this.getContext(e);return t?t.ranges:{FAIL:"context checker '"+e+"' is not registered."}},ya.prototype.resetContextsRanges=function(){var e=this.registeredContexts;for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];r.ranges=[]}},ya.prototype.updateContextsRanges=function(){this.resetContextsRanges();for(var e=this.tokens.map((function(e){return e.char})),t=0;t<e.length;t++){var r=new va(e,t);this.runContextCheck(r)}this.dispatch("updateContextsRanges",[this.registeredContexts])},ya.prototype.setEndOffset=function(e,t){var r=this.getContext(t).openRange.startIndex,n=new pa(r,e,t),i=this.getContext(t).ranges;return n.rangeId=t+"."+i.length,i.push(n),this.getContext(t).openRange=null,n},ya.prototype.runContextCheck=function(e){var t=this,r=e.index;this.contextCheckers.forEach((function(n){var i=n.contextName,a=t.getContext(i).openRange;if(!a&&n.checkStart(e)&&(a=new pa(r,null,i),t.getContext(i).openRange=a,t.dispatch("contextStart",[i,r])),a&&n.checkEnd(e)){var o=r-a.startIndex+1,s=t.setEndOffset(o,i);t.dispatch("contextEnd",[i,s])}}))},ya.prototype.tokenize=function(e){this.tokens=[],this.resetContextsRanges();var t=Array.from(e);this.dispatch("start");for(var r=0;r<t.length;r++){var n=t[r],i=new va(t,r);this.dispatch("next",[i]),this.runContextCheck(i);var a=new fa(n);this.tokens.push(a),this.dispatch("newToken",[a,i])}return this.dispatch("end",[this.tokens]),this.tokens},Ca.prototype.getDefaultScriptFeaturesIndexes=function(){for(var e=this.font.tables.gsub.scripts,t=0;t<e.length;t++){var r=e[t];if("DFLT"===r.tag)return r.script.defaultLangSys.featureIndexes}return[]},Ca.prototype.getScriptFeaturesIndexes=function(e){var t=this.font.tables;if(!t.gsub)return[];if(!e)return this.getDefaultScriptFeaturesIndexes();for(var r=this.font.tables.gsub.scripts,n=0;n<r.length;n++){var i=r[n];if(i.tag===e&&i.script.defaultLangSys)return i.script.defaultLangSys.featureIndexes;var a=i.langSysRecords;if(a)for(var o=0;o<a.length;o++){var s=a[o];if(s.tag===e){var u=s.langSys;return u.featureIndexes}}}return this.getDefaultScriptFeaturesIndexes()},Ca.prototype.mapTagsToFeatures=function(e,t){for(var r={},n=0;n<e.length;n++){var i=e[n].tag,a=e[n].feature;
1r[i]=a}this.features[t].tags=r},Ca.prototype.getScriptFeatures=function(e){var t=this.features[e];if(this.features.hasOwnProperty(e))return t;var r=this.getScriptFeaturesIndexes(e);if(!r)return null;var n=this.font.tables.gsub;return t=r.map((function(e){return n.features[e]})),this.features[e]=t,this.mapTagsToFeatures(t,e),t},Ca.prototype.getSubstitutionType=function(e,t){var r=e.lookupType.toString(),n=t.substFormat.toString();return r+n},Ca.prototype.getLookupMethod=function(e,t){var r=this,n=this.getSubstitutionType(e,t);switch(n){case"11":return function(e){return _a.apply(r,[e,t])};case"12":return function(e){return Aa.apply(r,[e,t])};case"63":return function(e){return Oa.apply(r,[e,t])};case"41":return function(e){return Ra.apply(r,[e,t])};case"21":return function(e){return Ua.apply(r,[e,t])};default:throw new Error("lookupType: "+e.lookupType+" - substFormat: "+t.substFormat+" is not yet supported")}},Ca.prototype.lookupFeature=function(e){var t=e.contextParams,r=t.index,n=this.getFeature({tag:e.tag,script:e.script});if(!n)return new Error("font '"+this.font.names.fullName.en+"' doesn't support feature '"+e.tag+"' for script '"+e.script+"'.");for(var i=this.getFeatureLookups(n),a=[].concat(t.context),o=0;o<i.length;o++)for(var s=i[o],u=this.getLookupSubtables(s),c=0;c<u.length;c++){var l=u[c],d=this.getSubstitutionType(s,l),h=this.getLookupMethod(s,l),f=void 0;switch(d){case"11":f=h(t.current),f&&a.splice(r,1,new Ea({id:11,tag:e.tag,substitution:f}));break;case"12":f=h(t.current),f&&a.splice(r,1,new Ea({id:12,tag:e.tag,substitution:f}));break;case"63":f=h(t),Array.isArray(f)&&f.length&&a.splice(r,1,new Ea({id:63,tag:e.tag,substitution:f}));break;case"41":f=h(t),f&&a.splice(r,1,new Ea({id:41,tag:e.tag,substitution:f}));break;case"21":f=h(t.current),f&&a.splice(r,1,new Ea({id:21,tag:e.tag,substitution:f}));break}t=new va(a,r),Array.isArray(f)&&!f.length||(f=null)}return a.length?a:null},Ca.prototype.supports=function(e){if(!e.script)return!1;this.getScriptFeatures(e.script);var t=this.features.hasOwnProperty(e.script);if(!e.tag)return t;var r=this.features[e.script].some((function(t){return t.tag===e.tag}));return t&&r},Ca.prototype.getLookupSubtables=function(e){return e.subtables||null},Ca.prototype.getLookupByIndex=function(e){var t=this.font.tables.gsub.lookups;return t[e]||null},Ca.prototype.getFeatureLookups=function(e){return e.lookupListIndexes.map(this.getLookupByIndex.bind(this))},Ca.prototype.getFeature=function(e){if(!this.font)return{FAIL:"No font was found"};this.features.hasOwnProperty(e.script)||this.getScriptFeatures(e.script);var t=this.features[e.script];return t?t.tags[e.tag]?this.features[e.script].tags[e.tag]:null:{FAIL:"No feature for script "+e.script}};var La={startCheck:Ba,endCheck:za};function Ia(e){var t=e.current,r=e.get(-1);return(Da(t)||xa(t))&&!Da(r)}function Ma(e){var t=e.get(1);switch(!0){case null===t:return!0;case!Da(t)&&!xa(t):var r=Fa(t);if(!r)return!0;if(r){var n=!1;if(n=e.lookahead.some((function(e){return Da(e)||xa(e)})),!n)return!0}break;default:return!1}}var Pa={startCheck:Ia,endCheck:Ma};function Na(e,t,r){t[r].setState(e.tag,e.substitution)}function ja(e,t,r){t[r].setState(e.tag,e.substitution)}function Ga(e,t,r){e.substitution.forEach((function(n,i){var a=t[r+i];a.setState(e.tag,n)}))}function Ha(e,t,r){var n=t[r];n.setState(e.tag,e.substitution.ligGlyph);for(var i=e.substitution.components.length,a=0;a<i;a++)n=t[r+a+1],n.setState("deleted",!0)}var Wa={11:Na,12:ja,63:Ga,41:Ha};function qa(e,t,r){e instanceof Ea&&Wa[e.id]&&Wa[e.id](e,t,r)}function Xa(e){for(var t=[].concat(e.backtrack),r=t.length-1;r>=0;r--){var n=t[r],i=wa(n),a=xa(n);if(!i&&!a)return!0;if(i)return!1}return!1}function Za(e){if(wa(e.current))return!1;for(var t=0;t<e.lookahead.length;t++){var r=e.lookahead[t],n=xa(r);if(!n)return!0}return!1}function $a(e){var t=this,r="arab",n=this.featuresTags[r],i=this.tokenizer.getRangeTokens(e);if(1!==i.length){var a=new va(i.map((function(e){return e.getState("glyphIndex")})),0),o=new va(i.map((function(e){return e.char})),0);i.forEach((function(e,s){if(!xa(e.char)){a.setCurrentIndex(s),o.setCurrentIndex(s);var u,c=0;switch(Xa(o)&&(c|=1),Za(o)&&(c|=2),c){case 1:u="fina";break;case 2:u="init";break;case 3:u="medi";break}if(-1!==n.indexOf(u)){var l=t.query.lookupFeature({tag:u,script:r,contextParams:a});if(l instanceof Error)return console.info(l.message);l.forEach((function(e,t){e instanceof Ea&&(qa(e,i,t),a.context[t]=e.substitution)}))}}}))}}function Ya(e,t){var r=e.map((function(e){return e.activeState.value}));return new va(r,t||0)}function Va(e){var t=this,r="arab",n=this.tokenizer.getRangeTokens(e),i=Ya(n);i.context.forEach((function(e,a){i.setCurrentIndex(a);var o=t.query.lookupFeature({tag:"rlig",script:r,contextParams:i}
1);o.length&&(o.forEach((function(e){return qa(e,n,a)})),i=Ya(n))}))}function Ka(e){var t=e.current,r=e.get(-1);return null===r&&Sa(t)||!Sa(r)&&Sa(t)}function Qa(e){var t=e.get(1);return null===t||!Sa(t)}var Ja={startCheck:Ka,endCheck:Qa};function eo(e,t){var r=e.map((function(e){return e.activeState.value}));return new va(r,t||0)}function to(e){var t=this,r="latn",n=this.tokenizer.getRangeTokens(e),i=eo(n);i.context.forEach((function(e,a){i.setCurrentIndex(a);var o=t.query.lookupFeature({tag:"liga",script:r,contextParams:i});o.length&&(o.forEach((function(e){return qa(e,n,a)})),i=eo(n))}))}function ro(e){this.baseDir=e||"ltr",this.tokenizer=new ya,this.featuresTags={}}function no(e){var t=this.contextChecks[e+"Check"];return this.tokenizer.registerContextChecker(e,t.startCheck,t.endCheck)}function io(){return no.call(this,"latinWord"),no.call(this,"arabicWord"),no.call(this,"arabicSentence"),this.tokenizer.tokenize(this.text)}function ao(){var e=this,t=this.tokenizer.getContextRanges("arabicSentence");t.forEach((function(t){var r=e.tokenizer.getRangeTokens(t);e.tokenizer.replaceRange(t.startIndex,t.endOffset,r.reverse())}))}function oo(){if(-1===this.tokenizer.registeredModifiers.indexOf("glyphIndex"))throw new Error("glyphIndex modifier is required to apply arabic presentation features.")}function so(){var e=this,t="arab";if(this.featuresTags.hasOwnProperty(t)){oo.call(this);var r=this.tokenizer.getContextRanges("arabicWord");r.forEach((function(t){$a.call(e,t)}))}}function uo(){var e=this,t="arab";if(this.featuresTags.hasOwnProperty(t)){var r=this.featuresTags[t];if(-1!==r.indexOf("rlig")){oo.call(this);var n=this.tokenizer.getContextRanges("arabicWord");n.forEach((function(t){Va.call(e,t)}))}}}function co(){var e=this,t="latn";if(this.featuresTags.hasOwnProperty(t)){var r=this.featuresTags[t];if(-1!==r.indexOf("liga")){oo.call(this);var n=this.tokenizer.getContextRanges("latinWord");n.forEach((function(t){to.call(e,t)}))}}}function lo(e){e=e||{},e.tables=e.tables||{},e.empty||(Gr(e.familyName,"When creating a new Font object, familyName is required."),Gr(e.styleName,"When creating a new Font object, styleName is required."),Gr(e.unitsPerEm,"When creating a new Font object, unitsPerEm is required."),Gr(e.ascender,"When creating a new Font object, ascender is required."),Gr(e.descender<=0,"When creating a new Font object, negative descender value is required."),this.names={fontFamily:{en:e.familyName||" "},fontSubfamily:{en:e.styleName||" "},fullName:{en:e.fullName||e.familyName+" "+e.styleName},postScriptName:{en:e.postScriptName||(e.familyName+e.styleName).replace(/\s/g,"")},designer:{en:e.designer||" "},designerURL:{en:e.designerURL||" "},manufacturer:{en:e.manufacturer||" "},manufacturerURL:{en:e.manufacturerURL||" "},license:{en:e.license||" "},licenseURL:{en:e.licenseURL||" "},version:{en:e.version||"Version 0.1"},description:{en:e.description||" "},copyright:{en:e.copyright||" "},trademark:{en:e.trademark||" "}},this.unitsPerEm=e.unitsPerEm||1e3,this.ascender=e.ascender,this.descender=e.descender,this.createdTimestamp=e.createdTimestamp,this.tables=Object.assign(e.tables,{os2:Object.assign({usWeightClass:e.weightClass||this.usWeightClasses.MEDIUM,usWidthClass:e.widthClass||this.usWidthClasses.MEDIUM,fsSelection:e.fsSelection||this.fsSelectionValues.REGULAR},e.tables.os2)})),this.supported=!0,this.glyphs=new We.GlyphSet(this,e.glyphs||[]),this.encoding=new _e(this),this.position=new zr(this),this.substitution=new Lr(this),this.tables=this.tables||{},this._push=null,this._hmtxTableData={},Object.defineProperty(this,"hinting",{get:function(){return this._hinting?this._hinting:"truetype"===this.outlinesFormat?this._hinting=new nn(this):void 0}})}function ho(e,t){var r=JSON.stringify(e),n=256;for(var i in t){var a=parseInt(i);if(a&&!(a<256)){if(JSON.stringify(t[i])===r)return a;n<=a&&(n=a+1)}}return t[n]=e,n}function fo(e,t,r){var n=ho(t.name,r);return[{name:"tag_"+e,type:"TAG",value:t.tag},{name:"minValue_"+e,type:"FIXED",value:t.minValue<<16},{name:"defaultValue_"+e,type:"FIXED",value:t.defaultValue<<16},{name:"maxValue_"+e,type:"FIXED",value:t.maxValue<<16},{name:"flags_"+e,type:"USHORT",value:0},{name:"nameID_"+e,type:"USHORT",value:n}]}function po(e,t,r){var n={},i=new ve.Parser(e,t);return n.tag=i.parseTag(),n.minValue=i.parseFixed(),n.defaultValue=i.parseFixed(),n.maxValue=i.parseFixed(),i.skip("uShort",1),n.name=r[i.parseUShort()]||{},n}function go(e,t,r,n){for(var i=ho(t.name,n),a=[{name:"nameID_"+e,type:"USHORT",value:i},{name:"flags_"+e,type:"USHORT",value:0}],o=0;o<r.length;++o){var s=r[o].tag;a.push({name:"axis_"+e+" "+s,type:"FIXED",value:t.coordinates[s]<<16})}return a}function vo(e,t,r,n){var i={},a=new ve.Parser(e,t);i.name=n[a.parseUShort()]||{},a.skip("uShort",1),i.coordinates={};for(var o=0;o<r.length;++o)i.coordinates[r[o].tag]=a.parseFixed();return i}function mo(e,t){var r=new ne.Table("fvar",[{name:"version",type:"ULONG",value:65536},{name:"offsetToData",type:"USHORT",value:0},{name:"countSizePairs",type:"USHORT",value:2},{name:"axisCount",type:"USHORT",value:e.axes.length},{name:"axisSize",type:"USHORT",value:20},{name:"instanceCount",type:"USHORT",value:e.instances.length},{name:"instanceSize",type:"USHORT",value:4+4*e.axes.length}]);r.offsetToData=r.sizeOf();for(var n=0;n<e.axes.length;n++)r.fields=r.fields.concat(fo(n,e.axes[n],t));for(var i=0;i<e.instances.length;i++)r.fields=r.fields.concat(go(i,e.instances[i],e.axes,t));return r}function bo(e,t,r){var n=new ve.Parser(e,t),i=n.parseULong();U.argument(65536===i,"Unsupported fvar table version.");var a=n.parseOffset16();n.skip("uShort",1);for(var o=n.parseUShort(),s=n.parseUShort(),u=n.parseUShort(),c=n.parseUShort(),l=[],d=0;d<o;d++)l.push(po(e,t+a+d*s,r));for(var h=[],f=t+a+o*s,p=0;p<u;p++)h.push(vo(e,f+p*c,l,r));return{axes:l,instances:h}}ro.prototype.setText=function(e){this.text=e},ro.prototype.contextChecks={latinWordCheck:Ja,arabicWordCheck:La,arabicSentenceCheck:Pa},ro.prototype.registerFeatures=function(e,t){var r=this,n=t.filter((function(t){return r.query.supports({script:e,tag:t})}));this.featuresTags.hasOwnProperty(e)?this.featuresTags[e]=this.featuresTags[e].concat(n):this.featuresTags[e]=n},ro.prototype.applyFeatures=function(e,t){if(!e)throw new Error("No valid font was provided to apply features");this.query||(this.query=new Ca(e));for(var r=0;r<t.length;r++){var n=t[r];this.query.supports({script:n.script})&&this.registerFeatures(n.script,n.tags)}},ro.prototype.registerModifier=function(e,t,r){this.tokenizer.registerModifier(e,t,r)},ro.prototype.checkContextReady=function(e){return!!this.tokenizer.getContext(e)},ro.prototype.applyFeaturesToContexts=function(){this.checkContextReady("arabicWord")&&(so.call(this),uo.call(this)),this.checkContextReady("latinWord")&&co.c
1all(this),this.checkContextReady("arabicSentence")&&ao.call(this)},ro.prototype.processText=function(e){this.text&&this.text===e||(this.setText(e),io.call(this),this.applyFeaturesToContexts())},ro.prototype.getBidiText=function(e){return this.processText(e),this.tokenizer.getText()},ro.prototype.getTextGlyphs=function(e){this.processText(e);for(var t=[],r=0;r<this.tokenizer.tokens.length;r++){var n=this.tokenizer.tokens[r];if(!n.state.deleted){var i=n.activeState.value;t.push(Array.isArray(i)?i[0]:i)}}return t},lo.prototype.hasChar=function(e){return null!==this.encoding.charToGlyphIndex(e)},lo.prototype.charToGlyphIndex=function(e){return this.encoding.charToGlyphIndex(e)},lo.prototype.charToGlyph=function(e){var t=this.charToGlyphIndex(e),r=this.glyphs.get(t);return r||(r=this.glyphs.get(0)),r},lo.prototype.updateFeatures=function(e){return this.defaultRenderOptions.features.map((function(t){return"latn"===t.script?{script:"latn",tags:t.tags.filter((function(t){return e[t]}))}:t}))},lo.prototype.stringToGlyphs=function(e,t){var r=this,n=new ro,i=function(e){return r.charToGlyphIndex(e.char)};n.registerModifier("glyphIndex",null,i);var a=t?this.updateFeatures(t.features):this.defaultRenderOptions.features;n.applyFeatures(this,a);for(var o=n.getTextGlyphs(e),s=o.length,u=new Array(s),c=this.glyphs.get(0),l=0;l<s;l+=1)u[l]=this.glyphs.get(o[l])||c;return u},lo.prototype.nameToGlyphIndex=function(e){return this.glyphNames.nameToGlyphIndex(e)},lo.prototype.nameToGlyph=function(e){var t=this.nameToGlyphIndex(e),r=this.glyphs.get(t);return r||(r=this.glyphs.get(0)),r},lo.prototype.glyphIndexToName=function(e){return this.glyphNames.glyphIndexToName?this.glyphNames.glyphIndexToName(e):""},lo.prototype.getKerningValue=function(e,t){e=e.index||e,t=t.index||t;var r=this.position.defaultKerningTables;return r?this.position.getKerningValue(r,e,t):this.kerningPairs[e+","+t]||0},lo.prototype.defaultRenderOptions={kerning:!0,features:[{script:"arab",tags:["init","medi","fina","rlig"]},{script:"latn",tags:["liga","rlig"]}]},lo.prototype.forEachGlyph=function(e,t,r,n,i,a){t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:72,i=Object.assign({},this.defaultRenderOptions,i);var o,s=1/this.unitsPerEm*n,u=this.stringToGlyphs(e,i);if(i.kerning){var c=i.script||this.position.getDefaultScriptName();o=this.position.getKerningTables(c,i.language)}for(var l=0;l<u.length;l+=1){var d=u[l];if(a.call(this,d,t,r,n,i),d.advanceWidth&&(t+=d.advanceWidth*s),i.kerning&&l<u.length-1){var h=o?this.position.getKerningValue(o,d.index,u[l+1].index):this.getKerningValue(d,u[l+1]);t+=h*s}i.letterSpacing?t+=i.letterSpacing*n:i.tracking&&(t+=i.tracking/1e3*n)}return t},lo.prototype.getPath=function(e,t,r,n,i){var a=new T;return this.forEachGlyph(e,t,r,n,i,(function(e,t,r,n){var o=e.getPath(t,r,n,i,this);a.extend(o)})),a},lo.prototype.getPaths=function(e,t,r,n,i){var a=[];return this.forEachGlyph(e,t,r,n,i,(function(e,t,r,n){var o=e.getPath(t,r,n,i,this);a.push(o)})),a},lo.prototype.getAdvanceWidth=function(e,t,r){return this.forEachGlyph(e,0,0,t,r,(function(){}))},lo.prototype.draw=function(e,t,r,n,i,a){this.getPath(t,r,n,i,a).draw(e)},lo.prototype.drawPoints=function(e,t,r,n,i,a){this.forEachGlyph(t,r,n,i,a,(function(t,r,n,i){t.drawPoints(e,r,n,i)}))},lo.prototype.drawMetrics=function(e,t,r,n,i,a){this.forEachGlyph(t,r,n,i,a,(function(t,r,n,i){t.drawMetrics(e,r,n,i)}))},lo.prototype.getEnglishName=function(e){var t=this.names[e];if(t)return t.en},lo.prototype.validate=function(){var e=this;function t(e,t){}function r(r){var n=e.getEnglishName(r);t(n&&n.trim().length>0)}r("fontFamily"),r("weightName"),r("manufacturer"),r("copyright"),r("version"),t(this.unitsPerEm>0)},lo.prototype.toTables=function(){return Tr.fontToTable(this)},lo.prototype.toBuffer=function(){return console.warn("Font.toBuffer is deprecated. Use Font.toArrayBuffer instead."),this.toArrayBuffer()},lo.prototype.toArrayBuffer=function(){for(var e=this.toTables(),t=e.encode(),r=new ArrayBuffer(t.length),n=new Uint8Array(r),i=0;i<t.length;i++)n[i]=t[i];return r},lo.prototype.download=function(e){var t=this.getEnglishName("fontFamily"),n=this.getEnglishName("fontSubfam
1ily");e=e||t.replace(/\s/g,"")+"-"+n+".otf";var i=this.toArrayBuffer();if(Pr())if(window.URL=window.URL||window.webkitURL,window.URL){var a=new DataView(i),o=new Blob([a],{type:"font/opentype"}),s=document.createElement("a");s.href=window.URL.createObjectURL(o),s.download=e;var u=document.createEvent("MouseEvents");u.initEvent("click",!0,!1),s.dispatchEvent(u)}else console.warn("Font file could not be downloaded. Try using a different browser.");else{var c=r(20),l=jr(i);c.writeFileSync(e,l)}},lo.prototype.fsSelectionValues={ITALIC:1,UNDERSCORE:2,NEGATIVE:4,OUTLINED:8,STRIKEOUT:16,BOLD:32,REGULAR:64,USER_TYPO_METRICS:128,WWS:256,OBLIQUE:512},lo.prototype.usWidthClasses={ULTRA_CONDENSED:1,EXTRA_CONDENSED:2,CONDENSED:3,SEMI_CONDENSED:4,MEDIUM:5,SEMI_EXPANDED:6,EXPANDED:7,EXTRA_EXPANDED:8,ULTRA_EXPANDED:9},lo.prototype.usWeightClasses={THIN:100,EXTRA_LIGHT:200,LIGHT:300,NORMAL:400,MEDIUM:500,SEMI_BOLD:600,BOLD:700,EXTRA_BOLD:800,BLACK:900};var yo={make:mo,parse:bo},Do=function(){return{coverage:this.parsePointer(pe.coverage),attachPoints:this.parseList(pe.pointer(pe.uShortList))}},wo=function(){var e=this.parseUShort();return U.argument(1===e||2===e||3===e,"Unsupported CaretValue table version."),1===e?{coordinate:this.parseShort()}:2===e?{pointindex:this.parseShort()}:3===e?{coordinate:this.parseShort()}:void 0},xo=function(){return this.parseList(pe.pointer(wo))},So=function(){return{coverage:this.parsePointer(pe.coverage),ligGlyphs:this.parseList(pe.pointer(xo))}},Fo=function(){return this.parseUShort(),this.parseList(pe.pointer(pe.coverage))};function Co(e,t){t=t||0;var r=new pe(e,t),n=r.parseVersion(1);U.argument(1===n||1.2===n||1.3===n,"Unsupported GDEF table version.");var i={version:n,classDef:r.parsePointer(pe.classDef),attachList:r.parsePointer(Do),ligCaretList:r.parsePointer(So),markAttachClassDef:r.parsePointer(pe.classDef)};return n>=1.2&&(i.markGlyphSets=r.parsePointer(Fo)),i}var Eo={parse:Co},ko=new Array(10);function _o(e,t){t=t||0;var r=new pe(e,t),n=r.parseVersion(1);return U.argument(1===n||1.1===n,"Unsupported GPOS table version "+n),1===n?{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(ko)}:{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(ko),variations:r.parseFeatureVariationsList()}}ko[1]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{posFormat:1,coverage:this.parsePointer(pe.coverage),value:this.parseValueRecord()}:2===t?{posFormat:2,coverage:this.parsePointer(pe.coverage),values:this.parseValueRecordList()}:void U.assert(!1,"0x"+e.toString(16)+": GPOS lookup type 1 format must be 1 or 2.")},ko[2]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();U.assert(1===t||2===t,"0x"+e.toString(16)+": GPOS lookup type 2 format must be 1 or 2.");var r=this.parsePointer(pe.coverage),n=this.parseUShort(),i=this.parseUShort();if(1===t)return{posFormat:t,coverage:r,valueFormat1:n,valueFormat2:i,pairSets:this.parseList(pe.pointer(pe.list((function(){return{secondGlyph:this.parseUShort(),value1:this.parseValueRecord(n),value2:this.parseValueRecord(i)}}))))};if(2===t){var a=this.parsePointer(pe.classDef),o=this.parsePointer(pe.classDef),s=this.parseUShort(),u=this.parseUShort();return{posFormat:t,coverage:r,valueFormat1:n,valueFormat2:i,classDef1:a,classDef2:o,class1Count:s,class2Count:u,classRecords:this.parseList(s,pe.list(u,(function(){return{value1:this.parseValueRecord(n),value2:this.parseValueRecord(i)}})))}}},ko[3]=function(){return{error:"GPOS Lookup 3 not supported"}},ko[4]=function(){return{error:"GPOS Lookup 4 not supported"}},ko[5]=function(){return{error:"GPOS Lookup 5 not supported"}}
1,ko[6]=function(){return{error:"GPOS Lookup 6 not supported"}},ko[7]=function(){return{error:"GPOS Lookup 7 not supported"}},ko[8]=function(){return{error:"GPOS Lookup 8 not supported"}},ko[9]=function(){return{error:"GPOS Lookup 9 not supported"}};var Ao=new Array(10);function To(e){return new ne.Table("GPOS",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new ne.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new ne.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new ne.LookupList(e.lookups,Ao)}])}var Oo={parse:_o,make:To};function Ro(e){var t={};e.skip("uShort");var r=e.parseUShort();U.argument(0===r,"Unsupported kern sub-table version."),e.skip("uShort",2);var n=e.parseUShort();e.skip("uShort",3);for(var i=0;i<n;i+=1){var a=e.parseUShort(),o=e.parseUShort(),s=e.parseShort();t[a+","+o]=s}return t}function Uo(e){var t={};e.skip("uShort");var r=e.parseULong();r>1&&console.warn("Only the first kern subtable is supported."),e.skip("uLong");var n=e.parseUShort(),i=255&n;if(e.skip("uShort"),0===i){var a=e.parseUShort();e.skip("uShort",3);for(var o=0;o<a;o+=1){var s=e.parseUShort(),u=e.parseUShort(),c=e.parseShort();t[s+","+u]=c}}return t}function Bo(e,t){var r=new ve.Parser(e,t),n=r.parseUShort();if(0===n)return Ro(r);if(1===n)return Uo(r);throw new Error("Unsupported kern table version ("+n+").")}var zo={parse:Bo};function Lo(e,t,r,n){for(var i=new ve.Parser(e,t),a=n?i.parseUShort:i.parseULong,o=[],s=0;s<r+1;s+=1){var u=a.call(i);n&&(u*=2),o.push(u)}return o}var Io={parse:Lo};function Mo(e,t){var n=r(20);n.readFile(e,(function(e,r){if(e)return t(e.message);t(null,Nr(r))}))}function Po(e,t){var r=new XMLHttpRequest;r.open("get",e,!0),r.responseType="arraybuffer",r.onload=function(){return r.response?t(null,r.response):t("Font could not be loaded: "+r.statusText)},r.onerror=function(){t("Font could not be loaded")},r.send()}function No(e,t){for(var r=[],n=12,i=0;i<t;i+=1){var a=ve.getTag(e,n),o=ve.getULong(e,n+4),s=ve.getULong(e,n+8),u=ve.getULong(e,n+12);r.push({tag:a,checksum:o,offset:s,length:u,compression:!1}),n+=16}return r}function jo(e,t){for(var r=[],n=44,i=0;i<t;i+=1){var a=ve.getTag(e,n),o=ve.getULong(e,n+4),s=ve.getULong(e,n+8),u=ve.getULong(e,n+12),c=void 0;c=s<u&&"WOFF",r.push({tag:a,offset:o,compression:c,compressedLength:s,length:u}),n+=20}return r}function Go(e,t){if("WOFF"===t.compression){var r=new Uint8Array(e.buffer,t.offset+2,t.compressedLength-2),n=new Uint8Array(t.length);if(k(r,n),n.byteLength!==t.length)throw new Error("Decompression error: "+t.tag+" decompressed length doesn't match recorded length");var i=new DataView(n.buffer,0);return{data:i,offset:0}}return{data:e,offset:t.offset}}function Ho(e,t){var r,n;t=void 0===t||null===t?{}:t;var i,a,o,s,u,c,l,d,h,f,p,g,v,m=new lo({empty:!0}),b=new DataView(e,0),y=[],D=ve.getTag(b,0);if(D===String.fromCharCode(0,1,0,0)||"true"===D||"typ1"===D)m.outlinesFormat="truetype",i=ve.getUShort(b,4),y=No(b,i);else if("OTTO"===D)m.outlinesFormat="cff",i=ve.getUShort(b,4),y=No(b,i);else{if("wOFF"!==D)throw new Error("Unsupported OpenType signature "+D);var w=ve.getTag(b,4);if(w===String.fromCharCode(0,1,0,0))m.outlinesFormat="truetype";else{if("OTTO"!==w)throw new Error("Unsupported OpenType flavor "+D);m.outlinesFormat="cff"}i=ve.getUShort(b,12),y=jo(b,i)}for(var x=0;x<i;x+=1){var S=y[x],F=void 0;switch(S.tag){case"cmap":F=Go(b,S),m.tables.cmap=Se.parse(F.data,F.offset),m.encoding=new Ae(m.tables.cmap);break;case"cvt ":F=Go(b,S),v=new ve.Parser(F.data,F.offset),m.tables.cvt=v.parseShortList(S.length/2);break;case"fvar":o=S;break;case"fpgm":F=Go(b,S),v=new ve.Parser(F.data,F.offset),m.tables.fpgm=v.parseByteList(S.length);break;case"head":F=Go(b,S),m.tables.head=At.parse(F.data,F.offset),m.unitsPerEm=m.tables.head.unitsPerEm,r=m.tables.head.indexToLocFormat;break;case"hhea":F=Go(b,S),m.tables.hhea=Rt.parse(F.data,F.offset),m.ascender=m.tables.hhea.ascender,m.descender=m.tables.hhea.descender,m.numberOfHMetrics=m.tables.hhea.numberOfHMetrics;break;case"hmtx":d=S;break;case"ltag":F=Go(b,S),n=Nt.parse(F.data,F.offset);break;case"maxp":F=Go(b,S),m.tables.maxp=Ht.parse(F.data,F.offset),m.numGlyphs=m.tables.maxp.numGlyphs;break;case"name":p=S;break;case"OS/2":F=Go(b,S),m.tables.os2=lr.parse(F.data,F.offset);break;case"post":F=Go(b,S),m.tables.post=fr.parse(F.data,F.offset),m.glyphNames=new Oe(m.tables.post);break;case"prep":F=Go(b,S),v=new ve.Parser(F.data,F.offset),m.tables.prep=v.parseByteList(S.length);break;case"glyf":s=S;break;case"loca":f=S;break;case"CFF ":a=S;break;case"kern":h=S;break;case"GDEF":u=S;break;case"GPOS":c=S;break;case"GSUB":l=S;break;case"meta":g=S;break}}var C=Go(b,p);if(m.tables.name=ar.parse(C.data,C.offset,n),m.names=m.tables.name,s&&f){var E=0===r,k=Go(b,f),_=Io.parse(k.data,k.offset,m.numGlyphs,E),A=Go(b,s);m.glyphs=rn.parse(A.data,A.offset,_,m,t)}else{if(!a)throw new Error("Font doesn't contain TrueType or CFF outlines.");var T=Go(b,a);Et.parse(T.data,T.offset,m,t)}var O=Go(b,d);if(It.parse(m,O.data,O.offset,m.numberOfHMetrics,m.numGlyphs,m.glyphs,t),Be(m,t),h){var R=Go(b,h);m.kerningPairs=zo.parse(R.data,R.offset)}else m.kerningPairs={};if(u){var U=Go(b,u);m.tables.gdef=Eo.parse(U.data,U.offset)}if(c){var B=Go(b,c);m.tables.gpos=Oo.parse(B.data,B.offset),m.position.init()}if(l){var z=Go(b,l);m.tables.gsub=yr.parse(z.data,z.offset)}if(o){var L=Go(b,o);m.tables.fvar=yo.parse(L.data,L.offset,m.names)}if(g){var I=Go(b,g);m.tables.meta=xr.parse(I.data,I.offset),m.metas=m.tables.meta}return m}function Wo(e,t,r){r=void 0===r||null===r?{}:r;var n="undefined"===typeof window,i=n&&!r.isUrl?Mo:Po;return new Promise((function(n,a){i(e,(function(e,i){if(e){if(t)return t(e);a(e)}var o;try{o=Ho(i,r)}catch(s){if(t)return t(s,null);a(s)}if(t)return t(null,o);n(o)}))}))}function qo(e,t){var n=r(20),i=n.readFileSync(e);return Ho(Nr(i),t)}var Xo=Object.freeze({__proto__:null,Font:lo,Glyph:Me,Path:T,BoundingBox:A,_parse:ve,parse:Ho,load:Wo,loadSync:qo});t["a"]=Xo}).call(this,r("b639").Buffer)},a994:function(e,t,r){var n=r("7d1f"),i=r("32f4"),a=r("ec69");function o(e){return n(e,a,i)}
1e.exports=o},ab0a:function(e,t,r){"use strict";var n=r("6f3b"),i=r("9017"),a=r("cacd"),o=r("5bc9"),s=[].sort,u=[1,2,3];n(n.P+n.F*(o((function(){u.sort(void 0)}))||!o((function(){u.sort(null)}))||!r("8f69")(s)),"Array",{sort:function(e){return void 0===e?s.call(a(this)):s.call(a(this),i(e))}})},ad4f:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},af01:function(e,t,r){var n=Date.prototype,i="Invalid Date",a="toString",o=n[a],s=n.getTime;new Date(NaN)+""!=i&&r("72dc")(n,a,(function(){var e=s.call(this);return e===e?o.call(this):i}))},b047:function(e,t){function r(e){return function(t){return e(t)}}e.exports=r},b047c:function(e,t,r){var n=r("1a8c"),i=r("408c"),a=r("b4b0"),o="Expected a function",s=Math.max,u=Math.min;function c(e,t,r){var c,l,d,h,f,p,g=0,v=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError(o);function y(t){var r=c,n=l;return c=l=void 0,g=t,h=e.apply(n,r),h}function D(e){return g=e,f=setTimeout(S,t),v?y(e):h}function w(e){var r=e-p,n=e-g,i=t-r;return m?u(i,d-n):i}function x(e){var r=e-p,n=e-g;return void 0===p||r>=t||r<0||m&&n>=d}function S(){var e=i();if(x(e))return F(e);f=setTimeout(S,w(e))}function F(e){return f=void 0,b&&c?y(e):(c=l=void 0,h)}function C(){void 0!==f&&clearTimeout(f),g=0,c=p=l=f=void 0}function E(){return void 0===f?h:F(i())}function k(){var e=i(),r=x(e);if(c=arguments,l=this,p=e,r){if(void 0===f)return D(p);if(m)return clearTimeout(f),f=setTimeout(S,t),y(p)}return void 0===f&&(f=setTimeout(S,t)),h}return t=a(t)||0,n(r)&&(v=!!r.leading,m="maxWait"in r,d=m?s(a(r.maxWait)||0,t):d,b="trailing"in r?!!r.trailing:b),k.cancel=C,k.flush=E,k}e.exports=c},b101:function(e,t){t.f=Object.getOwnPropertySymbols},b1d2:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var n="van-hairline",i=n+"--bottom",a=n+"-unset--top-bottom"},b218:function(e,t){var r=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}e.exports=n},b437:function(e,t,r){t.f=r("fcea")},b4b0:function(e,t,r){var n=r("8d74"),i=r("1a8c"),a=r("ffd6"),o=NaN,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;function d(e){if("number"==typeof e)return e;if(a(e))return o;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=u.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):s.test(e)?o:+e}e.exports=d},b4b9:function(e,t,r){"use strict";var n=r("ddab"),i=r("6f3b"),a=r("cacd"),o=r("e849"),s=r("d8dc"),u=r("6680"),c=r("cd5d"),l=r("9db4");i(i.S+i.F*!r("0e1f")((function(e){Array.from(e)})),"Array",{from:function(e){var t,r,i,d,h=a(e),f="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g,m=0,b=l(h);if(v&&(g=n(g,p>2?arguments[2]:void 0,2)),void 0==b||f==Array&&s(b))for(t=u(h.length),r=new f(t);t>m;m++)c(r,m,v?g(h[m],m):h[m]);else for(d=b.call(h),r=new f;!(i=d.next()).done;m++)c(r,m,v?o(d,g,[i.value,m],!0):i.value);return r.length=m,r}})},b4c0:function(e,t,r){var n=r("cb5a");function i(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}e.exports=i},b5a7:function(e,t,r){var n=r("0b07"),i=r("2b3e"),a=n(i,"DataView");e.exports=a},b7d2:function(e,t,r){"use strict";var n=r("6f3b"),i=r("cb82")(0),a=r("8f69")([].forEach,!0);n(n.P+n.F*!a,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},b8d7:function(e,t,r){"use strict";var n=r("c6bc"),i=r("51a1"),a=r("cdd8"),o=r("6f3b"),s=r("72dc"),u=r("f11e").KEY,c=r("5bc9"),l=r("8f2c"),d=r("6c1a"),h=r("5e11"),f=r("fcea"),p=r("b437"),g=r("72f3"),v=r("e6cd"),m=r("92af"),b=r("684d"),y=r("910e"),D=r("cacd"),w=r("30d2"),x=r("eb71"),S=r("4045e"),F=r("f835"),C=r("6532"),E=r("61ba"),k=r("b101"),_=r("0f5b"),A=r("965c"),T=E.f,O=_.f,R=C.f,U=n.Symbol,B=n.JSON,z=B&&B.stringify,L="prototype",I=f("_hidden"),M=f("toPrimitive"),P={}.propertyIsEnumerable,N=l("symbol-registry"),j=l("symbols"),G=l("op-symbols"),H=Object[L],W="function"==typeof U&&!!k.f,q=n.QObject,X=!q||!q[L]||!q[L].findChild,Z=a&&c((function(){return 7!=F(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=T(H,t);n&&delete H[t],O(e,t,r),n&&e!==H&&O(H,t,n)}:O,$=function(e){var t=j[e]=F(U[L]);return t._k=e,t},Y=W&&"symbol"==typeof U.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof U},V=function(e,t,r){return e===H&&V(G,t,r),b(e),t=x(t,!0),b(r),i(j,t)?(r.enumerable?(i(e,I)&&e[I][t]&&(e[I][t]=!1),r=F(r,{enumerable:S(0,!1)})):(i(e,I)||O(e,I,S(1,{})),e[I][t]=!0),Z(e,t,r)):O(e,t,r)},K=function(e,t){b(e);var r,n=v(t=w(t)),i=0,a=n.length;while(a>i)V(e,r=n[i++],t[r]);return e},Q=function(e,t){return void 0===t?F(e):K(F(e),t)},J=function(e){var t=P.call(this,e=x(e,!0));return!(this===H&&i(j,e)&&!i(G,e))&&(!(t||!i(this,e)||!i(j,e)||i(this,I)&&this[I][e])||t)},ee=function(e,t){if(e=w(e),t=x(t,!0),e!==H||!i(j,t)||i(G,t)){var r=T(e,t);return!r||!i(j,t)||i(e,I)&&e[I][t]||(r.enumerable=!0),r}},te=function(e){var t,r=R(w(e)),n=[],a=0;while(r.length>
1a)i(j,t=r[a++])||t==I||t==u||n.push(t);return n},re=function(e){var t,r=e===H,n=R(r?G:w(e)),a=[],o=0;while(n.length>o)!i(j,t=n[o++])||r&&!i(H,t)||a.push(j[t]);return a};W||(U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(r){this===H&&t.call(G,r),i(this,I)&&i(this[I],e)&&(this[I][e]=!1),Z(this,e,S(1,r))};return a&&X&&Z(H,e,{configurable:!0,set:t}),$(e)},s(U[L],"toString",(function(){return this._k})),E.f=ee,_.f=V,r("7d36").f=C.f=te,r("533a").f=J,k.f=re,a&&!r("3ff7")&&s(H,"propertyIsEnumerable",J,!0),p.f=function(e){return $(f(e))}),o(o.G+o.W+o.F*!W,{Symbol:U});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;ne.length>ie;)f(ne[ie++]);for(var ae=A(f.store),oe=0;ae.length>oe;)g(ae[oe++]);o(o.S+o.F*!W,"Symbol",{for:function(e){return i(N,e+="")?N[e]:N[e]=U(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){X=!0},useSimple:function(){X=!1}}),o(o.S+o.F*!W,"Object",{create:Q,defineProperty:V,defineProperties:K,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:re});var se=c((function(){k.f(1)}));o(o.S+o.F*se,"Object",{getOwnPropertySymbols:function(e){return k.f(D(e))}}),B&&o(o.S+o.F*(!W||c((function(){var e=U();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))}))),"JSON",{stringify:function(e){var t,r,n=[e],i=1;while(arguments.length>i)n.push(arguments[i++]);if(r=t=n[1],(y(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!Y(t))return t}),n[1]=t,z.apply(B,n)}}),U[L][M]||r("1865")(U[L],M,U[L].valueOf),d(U,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},bbc0:function(e,t,r){var n=r("6044"),i="__lodash_hash_undefined__",a=Object.prototype,o=a.hasOwnProperty;function s(e){var t=this.__data__;if(n){var r=t[e];return r===i?void 0:r}return o.call(t,e)?t[e]:void 0}e.exports=s},bf02:function(e,t,r){var n=r("45cf");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},bf24:function(e,t,r){var n=r("6f3b"),i=r("2b16"),a=r("5bc9");e.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],o={};o[e]=t(r),n(n.S+n.F*a((function(){r(1)})),"Object",o)}},bf31:function(e,t,r){"use strict";r("149b");var n=r("72dc"),i=r("1865"),a=r("5bc9"),o=r("ad4f"),s=r("fcea"),u=r("02eef"),c=s("species"),l=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var h=s(e),f=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!a((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[c]=function(){return r}),r[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!l||"split"===e&&!d){var g=/./[h],v=r(o,h,""[e],(function(e,t,r,n,i){return t.exec===u?f&&!i?{done:!0,value:g.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}})),m=v[0],b=v[1];n(String.prototype,e,m),i(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},bfe9:function(e,t,r){var n=r("8083"),i=Math.max,a=Math.min;e.exports=function(e,t){return e=n(e),e<0?i(e+t,0):a(e,t)}},c097:function(e,t,r){function n(){var e=0,t=1,r=2,n=3,i=4,a=5,o=6,s=7,u=8,c=9,l=10,d=11,h=12,f=13,p=14,g=15,v=16,m=17,b=0,y=1,D=2,w=3,x=4;function S(e,t){return 55296<=e.charCodeAt(t)&&e.charCodeAt(t)<=56319&&56320<=e.charCodeAt(t+1)&&e.charCodeAt(t+1)<=57343}function F(e,t){void 0===t&&(t=0);var r=e.charCodeAt(t);if(55296<=r&&r<=56319&&t<e.length-1){var n=r,i=e.charCodeAt(t+1);return 56320<=i&&i<=57343?1024*(n-55296)+(i-56320)+65536:n}if(56320<=r&&r<=57343&&t>=1){n=e.charCodeAt(t-1),i=r;return 55296<=n&&n<=56319?1024*(n-55296)+(i-56320)+65536:i}return r}function C(d,S,F){var C=[d].concat(S).concat([F]),E=C[C.length-2],k=F,_=C.lastIndexOf(p);if(_>1&&C.slice(1,_).every((function(e){return e==n}
1))&&-1==[n,f,m].indexOf(d))return D;var A=C.lastIndexOf(i);if(A>0&&C.slice(1,A).every((function(e){return e==i}))&&-1==[h,i].indexOf(E))return C.filter((function(e){return e==i})).length%2==1?w:x;if(E==e&&k==t)return b;if(E==r||E==e||E==t)return k==p&&S.every((function(e){return e==n}))?D:y;if(k==r||k==e||k==t)return y;if(E==o&&(k==o||k==s||k==c||k==l))return b;if(!(E!=c&&E!=s||k!=s&&k!=u))return b;if((E==l||E==u)&&k==u)return b;if(k==n||k==g)return b;if(k==a)return b;if(E==h)return b;var T=-1!=C.indexOf(n)?C.lastIndexOf(n)-1:C.length-2;return-1!=[f,m].indexOf(C[T])&&C.slice(T+1,-1).every((function(e){return e==n}))&&k==p||E==g&&-1!=[v,m].indexOf(k)?b:-1!=S.indexOf(i)?D:E==i&&k==i?b:y}function E(b){return 1536<=b&&b<=1541||1757==b||1807==b||2274==b||3406==b||69821==b||70082<=b&&b<=70083||72250==b||72326<=b&&b<=72329||73030==b?h:13==b?e:10==b?t:0<=b&&b<=9||11<=b&&b<=12||14<=b&&b<=31||127<=b&&b<=159||173==b||1564==b||6158==b||8203==b||8206<=b&&b<=8207||8232==b||8233==b||8234<=b&&b<=8238||8288<=b&&b<=8292||8293==b||8294<=b&&b<=8303||55296<=b&&b<=57343||65279==b||65520<=b&&b<=65528||65529<=b&&b<=65531||113824<=b&&b<=113827||119155<=b&&b<=119162||917504==b||917505==b||917506<=b&&b<=917535||917632<=b&&b<=917759||918e3<=b&&b<=921599?r:768<=b&&b<=879||1155<=b&&b<=1159||1160<=b&&b<=1161||1425<=b&&b<=1469||1471==b||1473<=b&&b<=1474||1476<=b&&b<=1477||1479==b||1552<=b&&b<=1562||1611<=b&&b<=1631||1648==b||1750<=b&&b<=1756||1759<=b&&b<=1764||1767<=b&&b<=1768||1770<=b&&b<=1773||1809==b||1840<=b&&b<=1866||1958<=b&&b<=1968||2027<=b&&b<=2035||2070<=b&&b<=2073||2075<=b&&b<=2083||2085<=b&&b<=2087||2089<=b&&b<=2093||2137<=b&&b<=2139||2260<=b&&b<=2273||2275<=b&&b<=2306||2362==b||2364==b||2369<=b&&b<=2376||2381==b||2385<=b&&b<=2391||2402<=b&&b<=2403||2433==b||2492==b||2494==b||2497<=b&&b<=2500||2509==b||2519==b||2530<=b&&b<=2531||2561<=b&&b<=2562||2620==b||2625<=b&&b<=2626||2631<=b&&b<=2632||2635<=b&&b<=2637||2641==b||2672<=b&&b<=2673||2677==b||2689<=b&&b<=2690||2748==b||2753<=b&&b<=2757||2759<=b&&b<=2760||2765==b||2786<=b&&b<=2787||2810<=b&&b<=2815||2817==b||2876==b||2878==b||2879==b||2881<=b&&b<=2884||2893==b||2902==b||2903==b||2914<=b&&b<=2915||2946==b||3006==b||3008==b||3021==b||3031==b||3072==b||3134<=b&&b<=3136||3142<=b&&b<=3144||3146<=b&&b<=3149||3157<=b&&b<=3158||3170<=b&&b<=3171||3201==b||3260==b||3263==b||3266==b||3270==b||3276<=b&&b<=3277||3285<=b&&b<=3286||3298<=b&&b<=3299||3328<=b&&b<=3329||3387<=b&&b<=3388||3390==b||3393<=b&&b<=3396||3405==b||3415==b||3426<=b&&b<=3427||3530==b||3535==b||3538<=b&&b<=3540||3542==b||3551==b||3633==b||3636<=b&&b<=3642||3655<=b&&b<=3662||3761==b||3764<=b&&b<=3769||37
171<=b&&b<=3772||3784<=b&&b<=3789||3864<=b&&b<=3865||3893==b||3895==b||3897==b||3953<=b&&b<=3966||3968<=b&&b<=3972||3974<=b&&b<=3975||3981<=b&&b<=3991||3993<=b&&b<=4028||4038==b||4141<=b&&b<=4144||4146<=b&&b<=4151||4153<=b&&b<=4154||4157<=b&&b<=4158||4184<=b&&b<=4185||4190<=b&&b<=4192||4209<=b&&b<=4212||4226==b||4229<=b&&b<=4230||4237==b||4253==b||4957<=b&&b<=4959||5906<=b&&b<=5908||5938<=b&&b<=5940||5970<=b&&b<=5971||6002<=b&&b<=6003||6068<=b&&b<=6069||6071<=b&&b<=6077||6086==b||6089<=b&&b<=6099||6109==b||6155<=b&&b<=6157||6277<=b&&b<=6278||6313==b||6432<=b&&b<=6434||6439<=b&&b<=6440||6450==b||6457<=b&&b<=6459||6679<=b&&b<=6680||6683==b||6742==b||6744<=b&&b<=6750||6752==b||6754==b||6757<=b&&b<=6764||6771<=b&&b<=6780||6783==b||6832<=b&&b<=6845||6846==b||6912<=b&&b<=6915||6964==b||6966<=b&&b<=6970||6972==b||6978==b||7019<=b&&b<=7027||7040<=b&&b<=7041||7074<=b&&b<=7077||7080<=b&&b<=7081||7083<=b&&b<=7085||7142==b||7144<=b&&b<=7145||7149==b||7151<=b&&b<=7153||7212<=b&&b<=7219||7222<=b&&b<=7223||7376<=b&&b<=7378||7380<=b&&b<=7392||7394<=b&&b<=7400||7405==b||7412==b||7416<=b&&b<=7417||7616<=b&&b<=7673||7675<=b&&b<=7679||8204==b||8400<=b&&b<=8412||8413<=b&&b<=8416||8417==b||8418<=b&&b<=8420||8421<=b&&b<=8432||11503<=b&&b<=11505||11647==b||11744<=b&&b<=11775||12330<=b&&b<=12333||12334<=b&&b<=12335||12441<=b&&b<=12442||42607==b||42608<=b&&b<=42610||42612<=b&&b<=42621||42654<=b&&b<=42655||42736<=b&&b<=42737||43010==b||43014==b||43019==b||43045<=b&&b<=43046||43204<=b&&b<=43205||43232<=b&&b<=43249||43302<=b&&b<=43309||43335<=b&&b<=43345||43392<=b&&b<=43394||43443==b||43446<=b&&b<=43449||43452==b||43493==b||43561<=b&&b<=43566||43569<=b&&b<=43570||43573<=b&&b<=43574||43587==b||43596==b||43644==b||43696==b||43698<=b&&b<=43700||43703<=b&&b<=43704||43710<=b&&b<=43711||43713==b||43756<=b&&b<=43757||43766==b||44005==b||44008==b||44013==b||64286==b||65024<=b&&b<=65039||65056<=b&&b<=65071||65438<=b&&b<=65439||66045==b||66272==b||66422<=b&&b<=66426||68097<=b&&b<=68099||68101<=b&&b<=68102||68108<=b&&b<=68111||68152<=b&&b<=68154||68159==b||68325<=b&&b<=68326||69633==b||69688<=b&&b<=69702||69759<=b&&b<=69761||69811<=b&&b<=69814||69817<=b&&b<=69818||69888<=b&&b<=69890||69927<=b&&b<=69931||69933<=b&&b<=69940||70003==b||70016<=b&&b<=70017||70070<=b&&b<=70078||70090<=b&&b<=70092||70191<=b&&b<=70193||70196==b||70198<=b&&b<=70199||70206==b||70367==b||70371<=b&&b<=70378||70400<=b&&b<=70401||70460==b||70462==b||70464==b||70487==b||70502<=b&&b<=70508||70512<=b&&b<=70516||70712<=b&&b<=70719||70722<=b&&b<=70724||70726==b||70832==b||70835<=b&&b<=70840||70842==b||70845==b||70847<=b&&b<=70848||70850<=b&&b<=70851||71087==b||71090<=b&&b<=71093||71100<=b&&b<=71101||71103<=b&&b<=71104||71132<=b&&b<=71133||71219<=b&&b<=71226||71229==b||71231<=b&&b<=71232||71339==b||71341==b||71344<=b&&b<=71349||71351==b||71453<=b&&b<=71455||71458<=b&&b<=71461||71463<=b&&b<=71467||72193<=b&&b<=72198||72201<=b&&b<=72202||72243<=b&&b<=72248||72251<=b&&b<=72254||72263==b||72273<=b&&b<=72278||72281<=b&&b<=72283||72330<=b&&b<=72342||72344<=b&&b<=72345||72752<=b&&b<=72758||72760<=b&&b<=72765||72767==b||72850<=b&&b<=72871||72874<=b&&b<=72880||72882<=b&&b<=72883||72885<=b&&b<=72886||73009<=b&&b<=73014||73018==b||73020<=b&&b<=73021||73023<=b&&b<=73029||73031==b||92912<=b&&b<=92916||92976<=b&&b<=92982||94095<=b&&b<=94098||113821<=b&&b<=113822||119141==b||119143<=b&&b<=119145||119150<=b&&b<=119154||119163<=b&&b<=119170||119173<=b&&b<=119179||119210<=b&&b<=119213||119362<=b&&b<=119364||121344<=b&&b<=121398||121403<=b&&b<=121452||121461==b||121476==b||121499<=b&&b<=121503||121505<=b&&b<=121519||122880<=b&&b<=122886||122888<=b&&b<=122904||122907<=b&&b<=122913||122915<=b&&b<=122916||122918<=b&&b<=122922||125136<=b&&b<=125142||125252<=b&&b<=125258||917536<=b&&b<=917631||917760<=b&&b<=917999?n:127462<=b&&b<=127487?i:2307==b||2363==b||2366<=b&&b<=2368||2377<=b&&b<=2380||2382<=b&&b<=2383||2434<=b&&b<=2435||2495<=b&&b<=2496||2503<=b&&b<=2504||2507<=b&&b<=2508||2563==b||2622<=b&&b<=2624||2691==b||2750<=b&&b<=2752||2761==b||2763<=b&&b<=2764||2818<=b&&b<=2819||2880==b||2887<=b&&b<=2888||2891<=b&&b<=2892||3007==b||3009<=b&&b<=3010||3014
1<=b&&b<=3016||3018<=b&&b<=3020||3073<=b&&b<=3075||3137<=b&&b<=3140||3202<=b&&b<=3203||3262==b||3264<=b&&b<=3265||3267<=b&&b<=3268||3271<=b&&b<=3272||3274<=b&&b<=3275||3330<=b&&b<=3331||3391<=b&&b<=3392||3398<=b&&b<=3400||3402<=b&&b<=3404||3458<=b&&b<=3459||3536<=b&&b<=3537||3544<=b&&b<=3550||3570<=b&&b<=3571||3635==b||3763==b||3902<=b&&b<=3903||3967==b||4145==b||4155<=b&&b<=4156||4182<=b&&b<=4183||4228==b||6070==b||6078<=b&&b<=6085||6087<=b&&b<=6088||6435<=b&&b<=6438||6441<=b&&b<=6443||6448<=b&&b<=6449||6451<=b&&b<=6456||6681<=b&&b<=6682||6741==b||6743==b||6765<=b&&b<=6770||6916==b||6965==b||6971==b||6973<=b&&b<=6977||6979<=b&&b<=6980||7042==b||7073==b||7078<=b&&b<=7079||7082==b||7143==b||7146<=b&&b<=7148||7150==b||7154<=b&&b<=7155||7204<=b&&b<=7211||7220<=b&&b<=7221||7393==b||7410<=b&&b<=7411||7415==b||43043<=b&&b<=43044||43047==b||43136<=b&&b<=43137||43188<=b&&b<=43203||43346<=b&&b<=43347||43395==b||43444<=b&&b<=43445||43450<=b&&b<=43451||43453<=b&&b<=43456||43567<=b&&b<=43568||43571<=b&&b<=43572||43597==b||43755==b||43758<=b&&b<=43759||43765==b||44003<=b&&b<=44004||44006<=b&&b<=44007||44009<=b&&b<=44010||44012==b||69632==b||69634==b||69762==b||69808<=b&&b<=69810||69815<=b&&b<=69816||69932==b||70018==b||70067<=b&&b<=70069||70079<=b&&b<=70080||70188<=b&&b<=70190||70194<=b&&b<=70195||70197==b||70368<=b&&b<=70370||70402<=b&&b<=70403||70463==b||70465<=b&&b<=70468||70471<=b&&b<=70472||70475<=b&&b<=70477||70498<=b&&b<=70499||70709<=b&&b<=70711||70720<=b&&b<=70721||70725==b||70833<=b&&b<=70834||70841==b||70843<=b&&b<=70844||70846==b||70849==b||71088<=b&&b<=71089||71096<=b&&b<=71099||71102==b||71216<=b&&b<=71218||71227<=b&&b<=71228||71230==b||71340==b||71342<=b&&b<=71343||71350==b||71456<=b&&b<=71457||71462==b||72199<=b&&b<=72200||72249==b||72279<=b&&b<=72280||72343==b||72751==b||72766==b||72873==b||72881==b||72884==b||94033<=b&&b<=94078||119142==b||119149==b?a:4352<=b&&b<=4447||43360<=b&&b<=43388?o:4448<=b&&b<=4519||55216<=b&&b<=55238?s:4520<=b&&b<=4607||55243<=b&&b<=55291?u:44032==b||44060==b||44088==b||44116==b||44144==b||44172==b||44200==b||44228==b||44256==b||44284==b||44312==b||44340==b||44368==b||44396==b||44424==b||44452==b||44480==b||44508==b||44536==b||44564==b||44592==b||44620==b||44648==b||44676==b||44704==b||44732==b||44760==b||44788==b||44816==b||44844==b||44872==b||44900==b||44928==b||44956==b||44984==b||45012==b||45040==b||45068==b||45096==b||45124==b||45152==b||45180==b||45208==b||45236==b||45264==b||45292==b||45320==b||45348==b||45376==b||45404==b||45432==b||45460==b||45488==b||45516==b||45544==b||45572==b||45600==b||45628==b||45656==b||45684==b||45712==b||45740==b||45768==b||45796==b||45824==b||45852==b||45880==b||45908==b||45936==b||45964==b||45992==b||46020==b||46048==b||46076==b||46104==b||46132==b||46160==b||46188==b||46216==b||46244==b||46272==b||46300==b||46328==b||46356==b||46384==b||46412==b||46440==b||46468==b||46496==b||46524==b||46552==b||46580==b||46608==b||46636==b||46664==b||46692==b||46720==b||46748==b||46776==b||46804==b||46832==b||46860==b||46888==b||46916==b||46944==b||46972==b||47e3==b||47028==b||47056==b||47084==b||47112==b||47140==b||47168==b||47196==b||47224==b||47252==b||47280==b||47308==b||47336==b||47364==b||47392==b||47420==b||47448==b||47476==b||47504==b||47532==b||47560==b||47588==b||47616==b||47644==b||47672==b||47700==b||47728==b||47756==b||47784==b||47812==b||47840==b||47868==b||47896==b||47924==b||47952==b||47980==b||48008==b||48036==b||48064==b||48092==b||48120==b||48148==b||48176==b||48204==b||48232==b||48260==b||48288==b||48316==b||48344==b||48372==b||48400==b||48428==b||48456==b||48484==b||48512==b||48540==b||48568==b||48596==b||48624==b||48652==b||48680==b||48708==b||48736==b||48764==b||48792==b||48820==b||48848==b||48876==b||48904==b||48932==b||48960==b||48988==b||49016==b||49044==b||49072==b||49100==b||49128==b||49156==b||49184==b||49212==b||49240==b||49268==b||49296==b||49324==b||49352==b||49380==b||49408==b||49436==b||49464==b||49492==b||49520==b||49548==b||49576==b||49604==b||49632==b||49660==b||49688==b||49716==b||49744==b||49772==b||49800==b||49828==b||49856==b||49884==b||49912==b||49940==b||49968==b||49996==b||50024==b||50052==b||50080==b||50108==b||50136==b||50164==b||50192==b||50220==b||50248==b||50276==b||50304==b||50332==b||50360==b||50388==b||50416==b||50444==b||50472==b||50500==b||50528==b||50556==b||50584==b||50612==b||50640==b||50668
1==b||50696==b||50724==b||50752==b||50780==b||50808==b||50836==b||50864==b||50892==b||50920==b||50948==b||50976==b||51004==b||51032==b||51060==b||51088==b||51116==b||51144==b||51172==b||51200==b||51228==b||51256==b||51284==b||51312==b||51340==b||51368==b||51396==b||51424==b||51452==b||51480==b||51508==b||51536==b||51564==b||51592==b||51620==b||51648==b||51676==b||51704==b||51732==b||51760==b||51788==b||51816==b||51844==b||51872==b||51900==b||51928==b||51956==b||51984==b||52012==b||52040==b||52068==b||52096==b||52124==b||52152==b||52180==b||52208==b||52236==b||52264==b||52292==b||52320==b||52348==b||52376==b||52404==b||52432==b||52460==b||52488==b||52516==b||52544==b||52572==b||52600==b||52628==b||52656==b||52684==b||52712==b||52740==b||52768==b||52796==b||52824==b||52852==b||52880==b||52908==b||52936==b||52964==b||52992==b||53020==b||53048==b||53076==b||53104==b||53132==b||53160==b||53188==b||53216==b||53244==b||53272==b||53300==b||53328==b||53356==b||53384==b||53412==b||53440==b||53468==b||53496==b||53524==b||53552==b||53580==b||53608==b||53636==b||53664==b||53692==b||53720==b||53748==b||53776==b||53804==b||53832==b||53860==b||53888==b||53916==b||53944==b||53972==b||54e3==b||54028==b||54056==b||54084==b||54112==b||54140==b||54168==b||54196==b||54224==b||54252==b||54280==b||54308==b||54336==b||54364==b||54392==b||54420==b||54448==b||54476==b||54504==b||54532==b||54560==b||54588==b||54616==b||54644==b||54672==b||54700==b||54728==b||54756==b||54784==b||54812==b||54840==b||54868==b||54896==b||54924==b||54952==b||54980==b||55008==b||55036==b||55064==b||55092==b||55120==b||55148==b||55176==b?c:44033<=b&&b<=44059||44061<=b&&b<=44087||44089<=b&&b<=44115||44117<=b&&b<=44143||44145<=b&&b<=44171||44173<=b&&b<=44199||44201<=b&&b<=44227||44229<=b&&b<=44255||44257<=b&&b<=44283||44285<=b&&b<=44311||44313<=b&&b<=44339||44341<=b&&b<=44367||44369<=b&&b<=44395||44397<=b&&b<=44423||44425<=b&&b<=44451||44453<=b&&b<=44479||44481<=b&&b<=44507||44509<=b&&b<=44535||44537<=b&&b<=44563||44565<=b&&b<=44591||44593<=b&&b<=44619||44621<=b&&b<=44647||44649<=b&&b<=44675||44677<=b&&b<=44703||44705<=b&&b<=44731||44733<=b&&b<=44759||44761<=b&&b<=44787||44789<=b&&b<=44815||44817<=b&&b<=44843||44845<=b&&b<=44871||44873<=b&&b<=44899||44901<=b&&b<=44927||44929<=b&&b<=44955||44957<=b&&b<=44983||44985<=b&&b<=45011||45013<=b&&b<=45039||45041<=b&&b<=45067||45069<=b&&b<=45095||45097<=b&&b<=45123||45125<=b&&b<=45151||45153<=b&&b<=45179||45181<=b&&b<=45207||45209<=b&&b<=45235||45237<=b&&b<=45263||45265<=b&&b<=45291||45293<=b&&b<=45319||45321<=b&&b<=45347||45349<=b&&b<=45375||45377<=b&&b<=45403||45405<=b&&b<=45431||45433<=b&&b<=45459||45461<=b&&b<=45487||45489<=b&&b<=45515||45517<=b&&b<=45543||45545<=b&&b<=45571||45573<=b&&b<=45599||45601<=b&&b<=45627||45629<=b&&b<=45655||45657<=b&&b<=45683||45685<=b&&b<=45711||45713<=b&&b<=45739||45741<=b&&b<=45767||45769<=b&&b<=45795||45797<=b&&b<=45823||45825<=b&&b<=45851||45853<=b&&b<=45879||45881<=b&&b<=45907||45909<=b&&b<=45935||45937<=b&&b<=45963||45965<=b&&b<=45991||45993<=b&&b<=46019||46021<=b&&b<=46047||46049<=b&&b<=46075||46077<=b&&b<=46103||46105<=b&&b<=46131||46133<=b&&b<=46159||46161<=b&&b<=46187||46189<=b&&b<=46215||46217<=b&&b<=46243||46245<=b&&b<=46271||46273<=b&&b<=46299||46301<=b&&b<=46327||46329<=b&&b<=46355||46357<=b&&b<=46383||46385<=b&&b<=46411||46413<=b&&b<=46439||46441<=b&&b<=46467||46469<=b&&b<=46495||46497<=b&&b<=46523||46525<=b&&b<=46551||46553<=b&&b<=46579||46581<=b&&b<=46607||46609<=b&&b<=46635||46637<=b&&b<=46663||46665<=b&&b<=46691||46693<=b&&b<=46719||46721<=b&&b<=46747||46749<=b&&b<=46775||46777<=b&&b<=46803||46805<=b&&b<=46831||46833<=b&&b<=46859||46861<=b&&b<=46887||46889<=b&&b<=46915||46917<=b&&b<=46943||46945<=b&&b<=46971||46973<=b&&b<=46999||47001<=b&&b<=47027||47029<=b&&b<=47055||47057<=b&&b<=47083||47085<=b&&b<=47111||47113<=b&&b<=47139||47141<=b&&b<=47167||47169<=b&&b<=47195||47197<=b&&b<=47223||47225<=b&&b<=47251||47253<=b&&b<=47279||47281<=b&&b<=47307||47309<=b&&b<=47335||47337<=b&&b<=47363||47365<=b&&b<=47391||47393<=b&&b<=47419||47421<=b&&b<=47447||47449<=b&&b<=47475||47477<=b&&b<=47503||47505<=b&&b<=47531||47533<=b&&b<=47559||47561<=b&&b<=47587||47589<=b&&b<=47615||47617<=b&&b<=47643||47645<=b&&b<=47671||47673<=b&&b<=47699||47701<=b&&b<=47727||47729<=b&&b<=47755||47757<=b&&b<=47783||47785<=b&&b<=47811||47813<=b&&b<=47839||47841<=b&&b<=47867||47869<=b&&b<=47895||47897<=b&&b<=47923||47925<=b&&b<=47951||47953<=b&&b<=47979||47981<=b&&b<=48007||48009<=b&&b<=48035||48037<=b&&b<=48063||48065<=b&&b<=48091||48093<=b&&b<=48119||48121<=b&&b<=48147||48149<=b&&b<=48175||48177<=b&&b<=48203||48205<=b&&b<=48231||48233<=b&&b<=48259||48261<=b&&b<=48287||48289
1<=b&&b<=48315||48317<=b&&b<=48343||48345<=b&&b<=48371||48373<=b&&b<=48399||48401<=b&&b<=48427||48429<=b&&b<=48455||48457<=b&&b<=48483||48485<=b&&b<=48511||48513<=b&&b<=48539||48541<=b&&b<=48567||48569<=b&&b<=48595||48597<=b&&b<=48623||48625<=b&&b<=48651||48653<=b&&b<=48679||48681<=b&&b<=48707||48709<=b&&b<=48735||48737<=b&&b<=48763||48765<=b&&b<=48791||48793<=b&&b<=48819||48821<=b&&b<=48847||48849<=b&&b<=48875||48877<=b&&b<=48903||48905<=b&&b<=48931||48933<=b&&b<=48959||48961<=b&&b<=48987||48989<=b&&b<=49015||49017<=b&&b<=49043||49045<=b&&b<=49071||49073<=b&&b<=49099||49101<=b&&b<=49127||49129<=b&&b<=49155||49157<=b&&b<=49183||49185<=b&&b<=49211||49213<=b&&b<=49239||49241<=b&&b<=49267||49269<=b&&b<=49295||49297<=b&&b<=49323||49325<=b&&b<=49351||49353<=b&&b<=49379||49381<=b&&b<=49407||49409<=b&&b<=49435||49437<=b&&b<=49463||49465<=b&&b<=49491||49493<=b&&b<=49519||49521<=b&&b<=49547||49549<=b&&b<=49575||49577<=b&&b<=49603||49605<=b&&b<=49631||49633<=b&&b<=49659||49661<=b&&b<=49687||49689<=b&&b<=49715||49717<=b&&b<=49743||49745<=b&&b<=49771||49773<=b&&b<=49799||49801<=b&&b<=49827||49829<=b&&b<=49855||49857<=b&&b<=49883||49885<=b&&b<=49911||49913<=b&&b<=49939||49941<=b&&b<=49967||49969<=b&&b<=49995||49997<=b&&b<=50023||50025<=b&&b<=50051||50053<=b&&b<=50079||50081<=b&&b<=50107||50109<=b&&b<=50135||50137<=b&&b<=50163||50165<=b&&b<=50191||50193<=b&&b<=50219||50221<=b&&b<=50247||50249<=b&&b<=50275||50277<=b&&b<=50303||50305<=b&&b<=50331||50333<=b&&b<=50359||50361<=b&&b<=50387||50389<=b&&b<=50415||50417<=b&&b<=50443||50445<=b&&b<=50471||50473<=b&&b<=50499||50501<=b&&b<=50527||50529<=b&&b<=50555||50557<=b&&b<=50583||50585<=b&&b<=50611||50613<=b&&b<=50639||50641<=b&&b<=50667||50669<=b&&b<=50695||50697<=b&&b<=50723||50725<=b&&b<=50751||50753<=b&&b<=50779||50781<=b&&b<=50807||50809<=b&&b<=50835||50837<=b&&b<=50863||50865<=b&&b<=50891||50893<=b&&b<=50919||50921<=b&&b<=50947||50949<=b&&b<=50975||50977<=b&&b<=51003||51005<=b&&b<=51031||51033<=b&&b<=51059||51061<=b&&b<=51087||51089<=b&&b<=51115||51117<=b&&b<=51143||51145<=b&&b<=51171||51173<=b&&b<=51199||51201<=b&&b<=51227||51229<=b&&b<=51255||51257<=b&&b<=51283||51285<=b&&b<=51311||51313<=b&&b<=51339||51341<=b&&b<=51367||51369<=b&&b<=51395||51397<=b&&b<=51423||51425<=b&&b<=51451||51453<=b&&b<=51479||51481<=b&&b<=51507||51509<=b&&b<=51535||51537<=b&&b<=51563||51565<=b&&b<=51591||51593<=b&&b<=51619||51621<=b&&b<=51647||51649<=b&&b<=51675||51677<=b&&b<=51703||51705<=b&&b<=51731||51733<=b&&b<=51759||51761<=b&&b<=51787||51789<=b&&b<=51815||51817<=b&&b<=51843||51845<=b&&b<=51871||51873<=b&&b<=51899||51901<=b&&b<=51927||51929<=b&&b<=51955||51957<=b&&b<=51983||51985<=b&&b<=52011||52013<=b&&b<=52039||52041<=b&&b<=52067||52069<=b&&b<=52095||52097<=b&&b<=52123||52125<=b&&b<=52151||52153<=b&&b<=52179||52181<=b&&b<=52207||52209<=b&&b<=52235||52237<=b&&b<=52263||52265<=b&&b<=52291||52293<=b&&b<=52319||52321<=b&&b<=52347||52349<=b&&b<=52375||52377<=b&&b<=52403||52405<=b&&b<=52431||52433<=b&&b<=52459||52461<=b&&b<=52487||52489<=b&&b<=52515||52517<=b&&b<=52543||52545<=b&&b<=52571||52573<=b&&b<=52599||52601<=b&&b<=52627||52629<=b&&b<=52655||52657<=b&&b<=52683||52685<=b&&b<=52711||52713<=b&&b<=52739||52741<=b&&b<=52767||52769<=b&&b<=52795||52797<=b&&b<=52823||52825<=b&&b<=52851||52853<=b&&b<=52879||52881<=b&&b<=52907||52909<=b&&b<=52935||52937<=b&&b<=52963||52965<=b&&b<=52991||52993<=b&&b<=53019||53021<=b&&b<=53047||53049<=b&&b<=53075||53077<=b&&b<=53103||53105<=b&&b<=53131||53133<=b&&b<=53159||53161<=b&&b<=53187||53189<=b&&b<=53215||53217<=b&&b<=53243||53245<=b&&b<=53271||53273<=b&&b<=53299||53301<=b&&b<=53327||53329<=b&&b<=53355||53357<=b&&b<=53383||53385<=b&&b<=53411||53413<=b&&b<=53439||53441<=b&&b<=53467||53469<=b&&b<=53495||53497<=b&&b<=53523||53525<=b&&b<=53551||53553<=b&&b<=53579||53581<=b&&b<=53607||53609<=b&&b<=53635||53637<=b&&b<=53663||53665<=b&&b<=53691||53693<=b&&b<=53719||53721<=b&&b<=53747||53749<=b&&b<=53775||53777<=b&&b<=53803||53805<=b&&b<=53831||53833<=b&&b<=53859||53861<=b&&b<=53887||53889<=b&&b<=53915||53917<=b&&b<=53943||53945<=b&&b<=53971||53973<=b&&b<=53999||54001<=b&&b<=54027||54029<=b&&b<=54055||54057<=b&&b<=54083||54085<=b&&b<=54111||54113<=b&&b<=54139||54141<=b&&b<=54167||54169<=b&&b<=54195||54197<=b&&b<=54223||54225<=b&&b<=54251||54253<=b&&b<=54279||54281<=b&&b<=54307||54309<=b&&b<=54335||54337<=b&&b<=54363||54365<=b&&b<=54391||54393<=b&&b<=54419||54421<=b&&b<=54447||54449<=b&&b<=54475||54477<=b&&b<=54503||54505<=b&&b<=54531||54533<=b&&b<=54559||54561<=b&&b<=54587||54589<=b&&b<=54615||54617<=b&&b<=54643||54645<=b&&b<=54671||54673<=b&&b<=54699||54701<=b&&b<=54727||54729<=b&&b<=54755||54757<=b&&b<=54783||54785<=b&&b<=54811||54813<=b&&b<=54839||54841<=b&&b<=54867||54869<=b&&b<=54895||54897<=b&&b<=54923||54925<=b&&b<=54951||54953<=b&&b<=54979||54981<=b&&b<=55007||55009<=b&&b<=55035||55037<=b&&b<=55063||55065<=b&&b<=55091||55093<=b&&b<=55119||55121<=b&&b<=55147||55149<=b&&b<=55175||551
177<=b&&b<=55203?l:9757==b||9977==b||9994<=b&&b<=9997||127877==b||127938<=b&&b<=127940||127943==b||127946<=b&&b<=127948||128066<=b&&b<=128067||128070<=b&&b<=128080||128110==b||128112<=b&&b<=128120||128124==b||128129<=b&&b<=128131||128133<=b&&b<=128135||128170==b||128372<=b&&b<=128373||128378==b||128400==b||128405<=b&&b<=128406||128581<=b&&b<=128583||128587<=b&&b<=128591||128675==b||128692<=b&&b<=128694||128704==b||128716==b||129304<=b&&b<=129308||129310<=b&&b<=129311||129318==b||129328<=b&&b<=129337||129341<=b&&b<=129342||129489<=b&&b<=129501?f:127995<=b&&b<=127999?p:8205==b?g:9792==b||9794==b||9877<=b&&b<=9878||9992==b||10084==b||127752==b||127806==b||127859==b||127891==b||127908==b||127912==b||127979==b||127981==b||128139==b||128187<=b&&b<=128188||128295==b||128300==b||128488==b||128640==b||128658==b?v:128102<=b&&b<=128105?m:d}return this.nextBreak=function(e,t){if(void 0===t&&(t=0),t<0)return 0;if(t>=e.length-1)return e.length;for(var r=E(F(e,t)),n=[],i=t+1;i<e.length;i++)if(!S(e,i-1)){var a=E(F(e,i));if(C(r,n,a))return i;n.push(a)}return e.length},this.splitGraphemes=function(e){var t,r=[],n=0;while((t=this.nextBreak(e,n))<e.length)r.push(e.slice(n,t)),n=t;return n<e.length&&r.push(e.slice(n)),r},this.iterateGraphemes=function(e){var t=0,r={next:function(){var r,n;return(n=this.nextBreak(e,t))<e.length?(r=e.slice(t,n),t=n,{value:r,done:!1}):t<e.length?(r=e.slice(t),t=e.length,{value:r,done:!1}):{value:void 0,done:!0}}.bind(this)};return"undefined"!==typeof Symbol&&Symbol.iterator&&(r[Symbol.iterator]=function(){return r}),r},this.countGraphemes=function(e){var t,r=0,n=0;while((t=this.nextBreak(e,n))<e.length)n=t,r++;return n<e.length&&r++,r},this}e.exports&&(e.exports=n)},c0983:function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t=null==t?r:t,!!t&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<t}e.exports=i},c2b6:function(e,t,r){var n=r("f8af"),i=r("5d89"),a=r("6f6c"),o=r
1("a2db"),s=r("c8fe"),u="[object Boolean]",c="[object Date]",l="[object Map]",d="[object Number]",h="[object RegExp]",f="[object Set]",p="[object String]",g="[object Symbol]",v="[object ArrayBuffer]",m="[object DataView]",b="[object Float32Array]",y="[object Float64Array]",D="[object Int8Array]",w="[object Int16Array]",x="[object Int32Array]",S="[object Uint8Array]",F="[object Uint8ClampedArray]",C="[object Uint16Array]",E="[object Uint32Array]";function k(e,t,r){var k=e.constructor;switch(t){case v:return n(e);case u:case c:return new k(+e);case m:return i(e,r);case b:case y:case D:case w:case x:case S:case F:case C:case E:return s(e,r);case l:return new k;case d:case p:return new k(e);case h:return a(e);case f:return new k;case g:return o(e)}}e.exports=k},c3dd:function(e,t,r){var n=r("910e"),i=r("684d"),a=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r("ddab")(Function.call,r("61ba").f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,r){return a(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:a}},c3fc:function(e,t,r){var n=r("42a2"),i=r("1310"),a="[object Set]";function o(e){return i(e)&&n(e)==a}e.exports=o},c437:function(e,t,r){var n,i,a=r("e1f4"),o=r("2366"),s=0,u=0;function c(e,t,r){var c=t&&r||0,l=t||[];e=e||{};var d=e.node||n,h=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==h){var f=a();null==d&&(d=n=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==h&&(h=i=16383&(f[6]<<8|f[7]))}var p=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:u+1,v=p-s+(g-u)/1e4;if(v<0&&void 0===e.clockseq&&(h=h+1&16383),(v<0||p>s)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=p,u=g,i=h,p+=122192928e5;var m=(1e4*(268435455&p)+g)%4294967296;l[c++]=m>>>24&255,l[c++]=m>>>16&255,l[c++]=m>>>8&255,l[c++]=255&m;var b=p/4294967296*1e4&268435455;l[c++]=b>>>8&255,l[c++]=255&b,l[c++]=b>>>24&15|16,l[c++]=b>>>16&255,l[c++]=h>>>8|128,l[c++]=255&h;for(var y=0;y<6;++y)l[c+y]=d[y];return t||o(l)}e.exports=c},c4e3:function(e,t,r){(function(t,r,n){var i;!function(t){e.exports=t()}((function(){return function e(t,r,n){function a(s,u){if(!r[s]){if(!t[s]){var c="function"==typeof i&&i;if(!u&&c)return i(s,!0);if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=r[s]={exports:{}};t[s][0].call(d.exports,(function(e){var r=t[s][1][e];return a(r||e)}),d,d.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof i&&i,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(e,t,r){"use strict";var n=e("./utils"),i=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,o,s,u,c,l=[],d=0,h=e.length,f=h,p="string"!==n.getTypeOf(e);d<e.length;)f=h-d,i=p?(t=e[d++],r=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),r=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|r>>4,u=1<f?(15&r)<<2|i>>6:64,c=2<f?63&i:64,l.push(a.charAt(o)+a.charAt(s)+a.charAt(u)+a.charAt(c));return l.join("")},r.decode=function(e){var t,r,n,o,s,u,c=0,l=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&f--,e.charAt(e.length-2)===a.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=i.uint8array?new Uint8Array(0|f):new Array(0|f);c<e.length;)t=a.indexOf(e.charAt(c++))<<2|(o=a.indexOf(e.charAt(c++)))>>4,r=(15&o)<<4|(s=a.indexOf(e.charAt(c++)))>>2,n=(3&s)<<6|(u=a.indexOf(e.charAt(c++))),h[l++]=t,64!==s&&(h[l++]=r),64!==u&&(h[l++]=n);return h}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var n=e("./external"),i=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function s(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var n=e("./utils"),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var a=i,o=n+r;e^=-1;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var a=i,o=n+r;e^=-1;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),a=e("./utils"),o=e("./stream/GenericWorker"),s=n?"uint8array":"array";
vendor: 7,242 bytes, line 1
1function u(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",a.inherits(u,o),u.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},u.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new u("Deflate",e)},r.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function i(e,t,r,i,o,l){var d,h,f=e.file,p=e.compression,g=l!==s.utf8encode,v=a.transformTo("string",l(f.name)),m=a.transformTo("string",s.utf8encode(f.name)),b=f.comment,y=a.transformTo("string",l(b)),D=a.transformTo("string",s.utf8encode(b)),w=m.length!==f.name.length,x=D.length!==b.length,S="",F="",C="",E=f.dir,k=f.date,_={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(_.crc32=e.crc32,_.compressedSize=e.compressedSize,_.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),g||!w&&!x||(A|=2048);var T=0,O=0;E&&(T|=16),"UNIX"===o?(O=798,T|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(f.unixPermissions,E)):(O=20,T|=function(e){return 63&(e||0)}(f.dosPermissions)),d=k.getUTCHours(),d<<=6,d|=k.getUTCMinutes(),d<<=5,d|=k.getUTCSeconds()/2,h=k.getUTCFullYear()-1980,h<<=4,h|=k.getUTCMonth()+1,h<<=5,h|=k.getUTCDate(),w&&(F=n(1,1)+n(u(v),4)+m,S+="up"+n(F.length,2)+F),x&&(C=n(1,1)+n(u(y),4)+D,S+="uc"+n(C.length,2)+C);var R="";return R+="\n\0",R+=n(A,2),R+=p.magic,R+=n(d,2),R+=n(h,2),R+=n(_.crc32,4),R+=n(_.compressedSize,4),R+=n(_.uncompressedSize,4),R+=n(v.length,2),R+=n(S.length,2),{fileRecord:c.LOCAL_FILE_HEADER+R+v+S,dirRecord:c.CENTRAL_FILE_HEADER+n(O,2)+R+n(y.length,2)+"\0\0\0\0"+n(T,4)+n(i,4)+v+S+y}}var a=e("../utils"),o=e("../stream/GenericWorker"),s=e("../utf8"),u=e("../crc32"),c=e("../signature");function l(e,t,r,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(l,o),l.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},l.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},l.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},l.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,i=function(e,t,r,i,o){var s=a.transformTo("string",o(i));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(e,2)+n(e,2)+n(t,4)+n(r,4)+n(s.length,2)+s}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},l.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},l.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},l.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},l.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},l.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=l},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){"use strict";var n=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var a=new i(t.streamFiles,r,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,r){o++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),s=r.options.compressionOptions||t.compressionOptions||{},u=r.dir,c=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:e,dir:u,date:c,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(a)})),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){"use strict";var n=e("./utils"),i=e("./external"),a=e("./utf8"),o=e("./zipEntries"),s=e("./stream/Crc32Probe"),u=e("./nodejsUtils");function c(e){return new i.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new s);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),u.isNode&&u.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip f
1ile",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new o(t);return r.load(e),r})).then((function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var a=0;a<n.length;a++)r.push(c(n[a]));return i.Promise.all(r)})).then((function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],u=s.fileNameStr,c=n.resolve(s.fileNameStr);r.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(r.file(c).unsafeOriginalName=u)}return i.zipComment.length&&(r.comment=i.zipComment),r}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../stream/GenericWorker");function a(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(a,i),a.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){"use strict";var n=e("readable-stream").Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),r&&r(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}e("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,r,n){"use strict";r.exports={isNode:"undefined"!=typeof t,newBufferFrom:function(e,r){if(t.from&&t.from!==Uint8Array.from)return t.from(e,r);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,r)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var r=new t(e);return r.fill(0),r},isBuffer:function(e){return t.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){"use strict";function n(e,t,r){var n,i=a.getTypeOf(t),s=a.extend(r||{},u);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=g(e)),s.createFolders&&(n=p(e))&&v.call(this,n,!0);var d="string"===i&&!1===s.binary&&!1===s.base64;r&&void 0!==r.binary||(s.binary=!d),(t instanceof c&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string");var m=null;m=t instanceof c||t instanceof o?t:h.isNode&&h.isStream(t)?new f(e,t):a.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var b=new l(e,m,s);this.files[e]=b}var i=e("./utf8"),a=e("./utils"),o=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),u=e("./defaults"),c=e("./compressedObject"),l=e("./zipObject"),d=e("./generate"),h=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},g=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},v=function(e,t){return t=void 0!==t?t:u.createFolders,e=g(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function m(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];
vendor: 8,473 bytes, line 1
1return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,n.call(this,e,t,r),this;if(m(e)){var i=e;return this.filter((function(e,t){return!t.dir&&i.test(e)}))}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(m(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=v.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=a.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");a.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=d.generateWorker(this,r,n)}catch(e){(t=new o("error")).error(e)}return new s(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=b},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){"use strict";var n=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){"use strict";var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../support"),a=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new u(n.transformTo("uint8array",e)):new a(n.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK��",r.CENTRAL_FILE_HEADER="PK��",r.CENTRAL_DIRECTORY_END="PK��",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK��",r.ZIP64_CENTRAL_DIRECTORY_END="PK��",r.DATA_DESCRIPTOR="PK�\b"},{}],24:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../utils");function a(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,n),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../crc32");function a(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,n),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}
vendor: 5,851 bytes, line 1
1n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,r,n){"use strict";var i=e("../utils"),a=e("./ConvertWorker"),o=e("./GenericWorker"),s=e("../base64"),u=e("../support"),c=e("../external"),l=null;if(u.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,r){return new c.Promise((function(n,a){var o=[],u=e._internalType,c=e._outputType,l=e._mimeType;e.on("data",(function(e,t){o.push(e),r&&r(t)})).on("error",(function(e){o=[],a(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),r);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(c,function(e,r){var n,i=0,a=null,o=0;for(n=0;n<r.length;n++)o+=r[n].length;switch(e){case"string":return r.join("");case"array":return Array.prototype.concat.apply([],r);case"uint8array":for(a=new Uint8Array(o),n=0;n<r.length;n++)a.set(r[n],i),i+=r[n].length;return a;case"nodebuffer":return t.concat(r);default:throw new Error("concat : unsupported type '"+e+"'")}}(u,o),l);n(e)}catch(e){a(e)}o=[]})).resume()}))}function h(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,i.checkSupport(n),this._worker=e.pipe(new a(n)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){i.delay(t,arguments,r)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},e)}},r.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,r,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof t,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(i),n.blob=0===a.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){"use strict";for(var n=e("./utils"),i=e("./support"),a=e("./nodejsUtils"),o=e("./stream/GenericWorker"),s=new Array(256),u=0;u<256;u++)s[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function c(){o.call(this,"utf-8 decode"),this.leftOver=null}function l(){o.call(this,"utf-8 encode")}s[254]=s[254]=1,r.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var t,r,n,a,o,s=e.length,u=0;for(a=0;a<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(u):new Array(u),a=o=0;o<u;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,a,o=e.length,u=new Array(2*o);for(t=r=0;t<o;)if((i=e[t++])<128)u[r++]=i;else if(4<(a=s[i]))u[r++]=65533,t+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&t<o;)i=i<<6|63&e[t++],a--;
vendor: 15,372 bytes, line 1
11<a?u[r++]=65533:i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return u.length!==r&&(u.subarray?u=u.subarray(0,r):u.length=r),n.applyFromCharCode(u)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(c,o),c.prototype.processChunk=function(e){var t=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}(t),u=t;o!==t.length&&(i.uint8array?(u=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(u=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:r.utf8decode(u),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=c,n.inherits(l,o),l.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){"use strict";var n=e("./support"),i=e("./base64"),a=e("./nodejsUtils"),o=e("./external");function s(e){return e}function u(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(t,n){r.checkSupport("blob");try{return new Blob([t],{type:n})}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(n)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,a.allocBuffer(1)).length}catch(e){return!1}}()}};function l(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=c.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=c.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return c.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function d(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=l;var h={};h.string={string:s,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:function(e){return u(e,a.allocBuffer(e.length))}},h.array={string:l,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},h.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:l,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},h.nodebuffer={string:l,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var n=r.getTypeOf(t);return h[n][e](t)},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&a.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate((function(){e.apply(r||null,t||[])}))},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,a,s,c){return o.Promise.resolve(t).then((function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(t){var l=r.getTypeOf(t);return l?("arraybuffer"===l?t=r.transformTo("uint8array",t):"string"===l&&(c?t=i.decode(t):a&&!0!==s&&(t=function(e){return u(e,n.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):o.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){"use strict";var n=e("./reader/readerFor"),i=e("./utils"),a=e("./signature"),o=e("./zipEntry"),s=e("./support");function u(e){this.files=[],this.loadOptions=e}u.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){"use strict";var n=e("./reader/readerFor"),i=e("./utils"),a=e("./compressedObject"),o=e("./crc32"),s=e("./utf8"),u=e("./compressions"),c=e("./support");function l(e,t){this.options=e,this.loadOptions=t}l.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in u)if(Object.prototype.hasOwnProperty.call(u,t)&&u[t].magic===e)return u[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=l},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){"use strict";function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var i=e("./stream/StreamHelper"),a=e("./stream/DataWorker"),o=e("./utf8"),s=e("./compressedObject"),u=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var a=!this._dataBinary;a&&!n&&(t=t.pipe(new o.Utf8EncodeWorker)),!a&&n&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new u("error")).error(e)}return new i(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)}
vendor: 6,415 bytes, line 1
1,nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof u?this._data:new a(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],l=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<c.length;d++)n.prototype[c[d]]=l;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){"use strict";var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,o=new i(l),s=e.document.createTextNode("");o.observe(s,{characterData:!0}),r=function(){s.data=a=++a%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var u=new e.MessageChannel;u.port1.onmessage=l,r=function(){u.port2.postMessage(0)}}var c=[];function l(){var e,t;n=!0;for(var r=c.length;r;){for(t=c,c=[],e=-1;++e<r;)t[e]();r=c.length}n=!1}t.exports=function(e){1!==c.push(e)||n||r()}}).call(this,"undefined"!=typeof r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){"use strict";var n=e("immediate");function i(){}var a={},o=["REJECTED"],s=["FULFILLED"],u=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function l(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function d(e,t,r){n((function(){var n;try{n=t(r)}catch(n){return a.reject(e,n)}n===e?a.reject(e,new TypeError("Cannot resolve promise with itself")):a.resolve(e,n)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var r=!1;function n(t){r||(r=!0,a.reject(e,t))}function i(t){r||(r=!0,a.resolve(e,t))}var o=p((function(){t(i,n)}));"error"===o.status&&n(o.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===o)return this;var r=new this.constructor(i);return this.state!==u?d(r,this.state===s?e:t,this.outcome):this.queue.push(new l(r,e,t)),r},l.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){a.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},a.resolve=function(e,t){var r=p(h,t);if("error"===r.status)return a.reject(e,r.value);var n=r.value;if(n)f(e,n);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},c.reject=function(e){var t=new this(i);return a.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o=new Array(r),s=0,u=-1,c=new this(i);++u<r;)l(e[u],u);return c;function l(e,i){t.resolve(e).then((function(e){o[i]=e,++s!==r||n||(n=!0,a.resolve(c,o))}),(function(e){n||(n=!0,a.reject(c,e))}))}},c.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o,s=-1,u=new this(i);++s<r;)o=e[s],t.resolve(o).then((function(e){n||(n=!0,a.resolve(u,e))}),(function(e){n||(n=!0,a.reject(u,e))}));return u}},{immediate:36}],38:[function(e,t,r){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){"use strict";var n=e("./zlib/deflate"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/messages"),s=e("./zlib/zstream"),u=Object.prototype.toString,c=0,l=-1,d=0,h=8;function f(e){if(!(this instanceof f))return new f(e);this.options=i.assign({level:l,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==c)throw new Error(o[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=n.deflateSetDictionary(this.strm,p))!==c)throw new Error(o[r]);this._dict_set=!0}}function p(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}f.prototype.push=function(e,t){var r,o,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===u.call(e)?s.input=new 
vendor: 45,776 bytes, line 1
1Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(l),s.next_out=0,s.avail_out=l),1!==(r=n.deflate(s,o))&&r!==c)return this.onEnd(r),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==r);return 4===o?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==o||(this.onEnd(c),!(s.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=f,r.deflate=p,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){"use strict";var n=e("./zlib/inflate"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/constants"),s=e("./zlib/messages"),u=e("./zlib/zstream"),c=e("./zlib/gzheader"),l=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK)throw new Error(s[r]);this.header=new c,n.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}d.prototype.push=function(e,t){var r,s,u,c,d,h,f=this.strm,p=this.options.chunkSize,g=this.options.dictionary,v=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?f.input=a.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(p),f.next_out=0,f.avail_out=p),(r=n.inflate(f,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&g&&(h="string"==typeof g?a.string2buf(g):"[object ArrayBuffer]"===l.call(g)?new Uint8Array(g):g,r=n.inflateSetDictionary(this.strm,h)),r===o.Z_BUF_ERROR&&!0===v&&(r=o.Z_OK,v=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&r!==o.Z_STREAM_END&&(0!==f.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(u=a.utf8border(f.output,f.next_out),c=f.next_out-u,d=a.buf2string(f.output,u),f.next_out=c,f.avail_out=p-c,c&&i.arraySet(f.output,f.output,u,c,0),this.onData(d)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(v=!0)}while((0<f.avail_in||0===f.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(f.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=d,r.inflate=h,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(t=n=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),t=i=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(n)},{}],42:[function(e,t,r){"use strict";var n=e("./common"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function u(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,r.string2buf=function(e){var t,r,i,a,o,s=e.length,u=0;for(a=0;a<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(u),a=o=0;o<u;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t},r.buf2binstring=function(e){return u(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,a,s=t||e.length,c=new Array(2*s);for(r=n=0;r<s;)if((i=e[r++])<128)c[n++]=i;else if(4<(a=o[i]))c[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&r<s;)i=i<<6|63&e[r++],a--;1<a?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return u(c,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){for(r-=o=2e3<r?2e3:r;a=a+(i=i+t[n++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}},{}],44:[function(e,t,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var a=n,o=i+r;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,r){"use strict";var n,i=e("../utils/common"),a=e("./trees"),o=e("./adler32"),s=e("./crc32"),u=e("./messages"),c=0,l=4,d=0,h=-2,f=-1,p=4,g=2,v=8,m=9,b=286,y=30,D=19,w=2*b+1,x=15,S=3,F=258,C=F+S+1,E=42,k=113,_=1,A=2,T=3,O=4;function R(e,t){return e.msg=u[t],t}function U(e){return(e<<1)-(4<e?9:0)}function B(e){for(var t=e.length;0<=--t;)e[t]=0}function z(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function L(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,z(e.strm)}function I(e,t){e.pending_buf[e.pending++]=t}function M(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function P(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-C?e.strstart-(e.w_size-C):0,c=e.window,l=e.w_mask,d=e.prev,h=e.strstart+F,f=c[a+o-1],p=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(r=t)+o]===p&&c[r+o-1]===f&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<h);if(n=F-(h-a),a=h-F,o<n){if(e.match_start=t,s<=(o=n))break;f=c[a+o-1],p=c[a+o]}}}while((t=d[t&l])>u&&0!=--i);return o<=e.lookahead?o:e.lookahead}function N(e){var t,r,n,a,u,c,l,d,h,f,p=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-C)){for(i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=r=e.hash_size;n=e.head[--t],e.head[t]=p<=n?n-p:0,--r;);for(t=r=p;n=e.prev[--t],e.prev[t]=p<=n?n-p:0,--r;);a+=p}if(0===e.strm.avail_in)break;if(c=e.strm,l=e.window,d=e.strstart+e.lookahead,h=a,f=void 0,f=c.avail_in,h<f&&(f=h),r=0===f?0:(c.avail_in-=f,i.arraySet(l,c.input,c.next_in,f,d),1===c.state.wrap?c.adler=o(c.adler,l,f,d):2===c.state.wrap&&(c.adler=s(c.adler,l,f,d)),c.next_in+=f,c.total_in+=f,f),e.lookahead+=r,e.lookahead+e.insert>=S)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+S-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<S)););}while(e.lookahead<C&&0!==e.strm.avail_in)}function j(e,t){for(var r,n;;){if(e.lookahead<C){if(N(e),e.lookahead<C&&t===c)return _;if(0===e.lookahead)break}if(r=0,e.lookahead>=S&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-C&&(e.match_length=P(e,r)),e.match_length>=S)if(n=a._tr_tally(e,e.strstart-e.match_start,e.match_length-S),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=S){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(L(e,!1),0===e.strm.avail_out))return _}return e.insert=e.strstart<S-1?e.strstart:S-1,t===l?(L(e,!0),0===e.strm.avail_out?T:O):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?_:A}function G(e,t){for(var r,n,i;;){if(e.lookahead<C){if(N(e),e.lookahead<C&&t===c)return _;if(0===e.lookahead)break}if(r=0,e.lookahead>=S&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=S-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-C&&(e.match_length=P(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===S&&4096<e.strstart-e.match_start)&&(e.match_length=S-1)),e.prev_length>=S&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-S,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-S),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=S-1,e.strstart++,n&&(L(e,!1),0===e.strm.avail_out))return _}else if(e.match_available){if((n=a._tr_tally(e,0,e.window[e.strstart-1]))&&L(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return _}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<S-1?e.strstart:S-1,t===l?(L(e,!0),0===e.strm.avail_out?T:O):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?_:A}function H(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function W(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=v,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*w),this.dyn_dtree=new i.Buf16(2*(2*y+1)),this.bl_tree=new i.Buf16(2*(2*D+1)),B(this.dyn_ltree),B(this.dyn_dtree),B(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(x+1),this.heap=new i.Buf16(2*b+1),B(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*b+1),B(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function q(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=g,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:k,e.adler=2===t.wrap?0:1,t.last_flush=c,a._tr_init(t),d):R(e,h)}function X(e){var t=q(e);return t===d&&function(e){e.window_size=2*e.w_size,B(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=S-1,e.match_available=0,e.ins_h=0}(e.state),t}function Z(e,t,r,n,a,o){if(!e)return h;var s=1;if(t===f&&(t=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),a<1||m<a||r!==v||n<8||15<n||t<0||9<t||o<0||p<o)return R(e,h);8===n&&(n=9);var u=new W;return(e.state=u).strm=e,u.wrap=s,u.gzhead=null,u.w_bits=n,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=a+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+S-1)/S),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<a+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=o,u.method=r,X(e)}n=[new H(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(N(e),0===e.lookahead&&t===c)return _;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,L(e,!1),0===e.strm.avail_out))return _;if(e.strstart-e.block_start>=e.w_size-C&&(L(e,!1),0===e.strm.avail_out))return _}return e.insert=0,t===l?(L(e,!0),0===e.strm.avail_out?T:O):(e.strstart>e.block_start&&(L(e,!1),e.strm.avail_out),_)})),new H(4,4,8,4,j),new H(4,5,16,8,j),new H(4,6,32,32,j),new H(4,4,16,16,G),new H(8,16,32,32,G),new H(8,16,128,128,G),new H(8,32,128,256,G),new H(32,128,258,1024,G),new H(32,258,258,4096,G)],r.deflateInit=function(e,t){return Z(e,t,v,15,8,0)},r.deflateInit2=Z,r.deflateReset=X,r.deflateResetKeep=q,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?h:(e.state.gzhead=t,d):h},r.deflate=function(e,t){var r,i,o,u;if(!e||!e.state||5<t||t<0)return e?R(e,h):h;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==l)return R(e,0===e.avail_out?-5:h);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===E)if(2===i.wrap)e.adler=0,I(i,31),I(i,139),I(i,8),i.gzhead?(I(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),I(i,255&i.gzhead.time),I(i,i.gzhead.time>>8&255),I(i,i.gzhead.time>>16&255),I(i,i.gzhead.time>>24&255),I(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),I(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(I(i,255&i.gzhead.extra.length),I(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(I(i,0),I(i,0),I(i,0),I(i,0),I(i,0),I(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),I(i,3),i.status=k);else{var f=v+(i.w_bits-8<<4)<<8;f|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(f|=32),f+=31-f%31,i.status=k,M(i,f),0!==i.strstart&&(M(i,e.adler>>>16),M(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),z(e),o=i.pending,i.pending!==i.pending_buf_size));)I(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),z(e),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,I(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),z(e),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,I(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&z(e),i.pending+2<=i.pending_buf_size&&(I(i,255&e.adler),I(i,e.adler>>8&255),e.adler=0,i.status=k)):i.status=k),0!==i.pending){if(z(e),0===e.avail_out)return i.last_flush=-1,d}else if(0===e.avail_in&&U(t)<=U(r)&&t!==l)return R(e,-5);if(666===i.status&&0!==e.avail_in)return R(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==c&&666!==i.status){var p=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(N(e),0===e.lookahead)){if(t===c)return _;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(L(e,!1),0===e.strm.avail_out))return _}return e.insert=0,t===l?(L(e,!0),0===e.strm.avail_out?T:O):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?_:A}(i,t):3===i.strategy?function(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=F){if(N(e),e.lookahead<=F&&t===c)return _;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=S&&0<e.strstart&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){o=e.strstart+F;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=F-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=S?(r=a._tr_tally(e,1,e.match_length-S),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(L(e,!1),0===e.strm.avail_out))return _}return e.insert=0,t===l?(L(e,!0),0===e.strm.avail_out?T:O):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?_:A}(i,t):n[i.level].func(i,t);if(p!==T&&p!==O||(i.status=666),p===_||p===T)return 0===e.avail_out&&(i.last_flush=-1),d;if(p===A&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(B(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),z(e),0===e.avail_out))return i.last_flush=-1,d}return t!==l?d:i.wrap<=0?1:(2===i.wrap?(I(i,255&e.adler),I(i,e.adler>>8&255),I(i,e.adler>>16&255),I(i,e.adler>>24&255),I(i,255&e.total_in),I(i,e.total_in>>8&255),I(i,e.total_in>>16&255),I(i,e.total_in>>24&255)):(M(i,e.adler>>>16),M(i,65535&e.adler)),z(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?d:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&69!==t&&73!==t&&91!==t&&103!==t&&t!==k&&666!==t?R(e,h):(e.state=null,t===k?R(e,-3):d):h},r.deflateSetDictionary=function(e,t){var r,n,a,s,u,c,l,f,p=t.length;if(!e||!e.state)return h;if(2===(s=(r=e.state).wrap)||1===s&&r.status!==E||r.lookahead)return h;for(1===s&&(e.adler=o(e.adler,t,p,0)),r.wrap=0,p>=r.w_size&&(0===s&&(B(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new i.Buf8(r.w_size),i.arraySet(f,t,p-r.w_size,r.w_size,0),t=f,p=r.w_size),u=e.avail_in,c=e.next_in,l=e.input,e.avail_in=p,e.next_in=0,e.input=t,N(r);r.lookahead>=S;){for(n=r.strstart,a=r.lookahead-(S-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+S-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--a;);r.strstart=n,r.lookahead=S-1,N(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=S-1,r.match_available=0,e.next_in=c,e.input=l,e.avail_in=u,r.wrap=s,d},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){"use strict";t.exports=function(e,t){var r,n,i,a,o,s,u,c,l,d,h,f,p,g,v,m,b,y,D,w,x,S,F,C,E;r=e.state,n=e.next_in,C=e.input,i=n+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),u=r.dmax,c=r.wsize,l=r.whave,d=r.wnext,h=r.window,f=r.hold,p=r.bits,g=r.lencode,v=r.distcode,m=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{p<15&&(f+=C[n++]<<p,p+=8,f+=C[n++]<<p,p+=8),y=g[f&m];t:for(;;){if(f>>>=D=y>>>24,p-=D,0===(D=y>>>16&255))E[a++]=65535&y;else{if(!(16&D)){if(0==(64&D)){y=g[(65535&y)+(f&(1<<D)-1)];continue t}if(32&D){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&y,(D&=15)&&(p<D&&(f+=C[n++]<<p,p+=8),w+=f&(1<<D)-1,f>>>=D,p-=D),p<15&&(f+=C[n++]<<p,p+=8,f+=C[n++]<<p,p+=8),y=v[f&b];r:for(;;){if(f>>>=D=y>>>24,p-=D,!(16&(D=y>>>16&255))){if(0==(64&D)){y=v[(65535&y)+(f&(1<<D)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&y,p<(D&=15)&&(f+=C[n++]<<p,(p+=8)<D&&(f+=C[n++]<<p,p+=8)),u<(x+=f&(1<<D)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(f>>>=D,p-=D,(D=a-o)<x){if(l<(D=x-D)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(F=h,(S=0)===d){if(S+=c-D,D<w){for(w-=D;E[a++]=h[S++],--D;);S=a-x,F=E}}else if(d<D){if(S+=c+d-D,(D-=d)<w){for(w-=D;E[a++]=h[S++],--D;);if(S=0,d<w){for(w-=D=d;E[a++]=h[S++],--D;);S=a-x,F=E}}}else if(S+=d-D,D<w){for(w-=D;E[a++]=h[S++],--D;);S=a-x,F=E}for(;2<w;)E[a++]=F[S++],E[a++]=F[S++],E[a++]=F[S++],w-=3;w&&(E[a++]=F[S++],1<w&&(E[a++]=F[S++]))}else{for(S=a-x;E[a++]=E[S++],E[a++]=E[S++],E[a++]=E[S++],2<(w-=3););w&&(E[a++]=E[S++],1<w&&(E[a++]=E[S++]))}break}}break}}while(n<i&&a<s);n-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=f,r.bits=p}},{}],49:[function(e,t,r){"use strict";var n=e("../utils/common"),i=e("./adler32"),a=e("./crc32"),o=e("./inffast"),s=e("./inftrees"),u=1,c=2,l=0,d=-2,h=1,f=852,p=592;function g(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=h,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(f),t.distcode=t.distdyn=new n.Buf32(p),t.sane=1,t.back=-1,l):d}function b(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,m(e)):d}function y(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,b(e))):d}function D(e,t){var r,n;return e?(n=new v,(e.state=n).window=null,(r=y(e,t))!==l&&(e.state=null),r):d}var w,x,S=!0;function F(e){if(S){var t;for(w=new n.Buf32(512),x=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(u,e.lens,0,288,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(c,e.lens,0,32,x,0,e.work,{bits:5}),S=!1}e.lencode=w,e.lenbits=9,e.distcode=x,e.distbits=5}function C(e,t,r,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),n.arraySet(o.window,t,r-i,a,o.wnext),(i-=a)?(n.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}r.inflateReset=b,r.inflateReset2=y,r.inflateResetKeep=m,r.inflateInit=function(e){return D(e,15)},r.inflateInit2=D,r.inflate=function(e,t){var r,f,p,v,m,b,y,D,w,x,S,E,k,_,A,T,O,R,U,B,z,L,I,M,P=0,N=new n.Buf8(4),j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;12===(r=e.state).mode&&(r.mode=13),m=e.next_out,p=e.output,y=e.avail_out,v=e.next_in,f=e.input,b=e.avail_in,D=r.hold,w=r.bits,x=b,S=y,L=l;e:for(;;)switch(r.mode){case h:if(0===r.wrap){r.mode=13;break}for(;w<16;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(2&r.wrap&&35615===D){N[r.check=0]=255&D,N[1]=D>>>8&255,r.check=a(r.check,N,2,0),w=D=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&D)<<8)+(D>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&D)){e.msg="unknown compression method",r.mode=30;break}if(w-=4,z=8+(15&(D>>>=4)),0===r.wbits)r.wbits=z;else if(z>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<z,e.adler=r.check=1,r.mode=512&D?10:12,w=D=0;break;case 2:for(;w<16;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(r.flags=D,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=D>>8&1),512&r.flags&&(N[0]=255&D,N[1]=D>>>8&255,r.check=a(r.check,N,2,0)),w=D=0,r.mode=3;case 3:for(;w<32;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}r.head&&(r.head.time=D),512&r.flags&&(N[0]=255&D,N[1]=D>>>8&255,N[2]=D>>>16&255,N[3]=D>>>24&255,r.check=a(r.check,N,4,0)),w=D=0,r.mode=4;case 4:for(;w<16;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}r.head&&(r.head.xflags=255&D,r.head.os=D>>8),512&r.flags&&(N[0]=255&D,N[1]=D>>>8&255,r.check=a(r.check,N,2,0)),w=D=0,r.mode=5;case 5:if(1024&r.flags){for(;w<16;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}r.length=D,r.head&&(r.head.extra_len=D),512&r.flags&&(N[0]=255&D,N[1]=D>>>8&255,r.check=a(r.check,N,2,0)),w=D=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(b<(E=r.length)&&(E=b),E&&(r.head&&(z=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,f,v,E,z)),512&r.flags&&(r.check=a(r.check,f,E,v)),b-=E,v+=E,r.length-=E),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===b)break e;for(E=0;z=f[v+E++],r.head&&z&&r.length<65536&&(r.head.name+=String.fromCharCode(z)),z&&E<b;);if(512&r.flags&&(r.check=a(r.check,f,E,v)),b-=E,v+=E,z)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===b)break e;for(E=0;z=f[v+E++],r.head&&z&&r.length<65536&&(r.head.comment+=String.fromCharCode(z)),z&&E<b;);if(512&r.flags&&(r.check=a(r.check,f,E,v)),b-=E,v+=E,z)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;w<16;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(D!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}w=D=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;w<32;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}e.adler=r.check=g(D),w=D=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=m,e.avail_out=y,e.next_in=v,e.avail_in=b,r.hold=D,r.bits=w,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){D>>>=7&w,w-=7&w,r.mode=27;break}for(;w<3;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}switch(r.last=1&D,w-=1,3&(D>>>=1)){case 0:r.mode=14;break;case 1:if(F(r),r.mode=20,6!==t)break;D>>>=2,w-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}D>>>=2,w-=2;break;case 14:for(D>>>=7&w,w-=7&w;w<32;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if((65535&D)!=(D>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&D,w=D=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(E=r.length){if(b<E&&(E=b),y<E&&(E=y),0===E)break e;n.arraySet(p,f,v,E,m),b-=E,v+=E,y-=E,m+=E,r.length-=E;break}r.mode=12;break;case 17:for(;w<14;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(r.nlen=257+(31&D),D>>>=5,w-=5,r.ndist=1+(31&D),D>>>=5,w-=5,r.ncode=4+(15&D),D>>>=4,w-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;w<3;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}r.lens[j[r.have++]]=7&D,D>>>=3,w-=3}for(;r.have<19;)r.lens[j[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,I={bits:r.lenbits},L=s(0,r.lens,0,19,r.lencode,0,r.work,I),r.lenbits=I.bits,L){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;T=(P=r.lencode[D&(1<<r.lenbits)-1])>>>16&255,O=65535&P,!((A=P>>>24)<=w);){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(O<16)D>>>=A,w-=A,r.lens[r.have++]=O;else{if(16===O){for(M=A+2;w<M;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(D>>>=A,w-=A,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}z=r.lens[r.have-1],E=3+(3&D),D>>>=2,w-=2}else if(17===O){for(M=A+3;w<M;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}w-=A,z=0,E=3+(7&(D>>>=A)),D>>>=3,w-=3}else{for(M=A+7;w<M;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}w-=A,z=0,E=11+(127&(D>>>=A)),D>>>=7,w-=7}if(r.have+E>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;E--;)r.lens[r.have++]=z}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,I={bits:r.lenbits},L=s(u,r.lens,0,r.nlen,r.lencode,0,r.work,I),r.lenbits=I.bits,L){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,I={bits:r.distbits},L=s(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,I),r.distbits=I.bits,L){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=b&&258<=y){e.next_out=m,e.avail_out=y,e.next_in=v,e.avail_in=b,r.hold=D,r.bits=w,o(e,S),m=e.next_out,p=e.output,y=e.avail_out,v=e.next_in,f=e.input,b=e.avail_in,D=r.hold,w=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;T=(P=r.lencode[D&(1<<r.lenbits)-1])>>>16&255,O=65535&P,!((A=P>>>24)<=w);){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(T&&0==(240&T)){for(R=A,U=T,B=O;T=(P=r.lencode[B+((D&(1<<R+U)-1)>>R)])>>>16&255,O=65535&P,!(R+(A=P>>>24)<=w);){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}D>>>=R,w-=R,r.back+=R}if(D>>>=A,w-=A,r.back+=A,r.length=O,0===T){r.mode=26;break}if(32&T){r.back=-1,r.mode=12;break}if(64&T){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&T,r.mode=22;case 22:if(r.extra){for(M=r.extra;w<M;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}r.length+=D&(1<<r.extra)-1,D>>>=r.extra,w-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;T=(P=r.distcode[D&(1<<r.distbits)-1])>>>16&255,O=65535&P,!((A=P>>>24)<=w);){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(0==(240&T)){for(R=A,U=T,B=O;T=(P=r.distcode[B+((D&(1<<R+U)-1)>>R)])>>>16&255,O=65535&P,!(R+(A=P>>>24)<=w);){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}D>>>=R,w-=R,r.back+=R}if(D>>>=A,w-=A,r.back+=A,64&T){e.msg="invalid distance code",r.mode=30;break}r.offset=O,r.extra=15&T,r.mode=24;case 24:if(r.extra){for(M=r.extra;w<M;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}r.offset+=D&(1<<r.extra)-1,D>>>=r.extra,w-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===y)break e;if(E=S-y,r.offset>E){if((E=r.offset-E)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}k=E>r.wnext?(E-=r.wnext,r.wsize-E):r.wnext-E,E>r.length&&(E=r.length),_=r.window}else _=p,k=m-r.offset,E=r.length;for(y<E&&(E=y),y-=E,r.length-=E;p[m++]=_[k++],--E;);0===r.length&&(r.mode=21);break;case 26:if(0===y)break e;p[m++]=r.length,y--,r.mode=21;break;case 27:if(r.wrap){for(;w<32;){if(0===b)break e;b--,D|=f[v++]<<w,w+=8}if(S-=y,e.total_out+=S,r.total+=S,S&&(e.adler=r.check=r.flags?a(r.check,p,S,m-S):i(r.check,p,S,m-S)),S=y,(r.flags?D:g(D))!==r.check){e.msg="incorrect data check",r.mode=30;break}w=D=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;w<32;){if(0===b)break e;b--,D+=f[v++]<<w,w+=8}if(D!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}w=D=0}r.mode=29;case 29:L=1;break e;case 30:L=-3;break e;case 31:return-4;case 32:default:return d}return e.next_out=m,e.avail_out=y,e.next_in=v,e.avail_in=b,r.hold=D,r.bits=w,(r.wsize||S!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&C(e,e.output,e.next_out,S-e.avail_out)?(r.mode=31,-4):(x-=e.avail_in,S-=e.avail_out,e.total_in+=x,e.total_out+=S,r.total+=S,r.wrap&&S&&(e.adler=r.check=r.flags?a(r.check,p,S,e.next_out-S):i(r.check,p,S,e.next_out-S)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==x&&0===S||4===t)&&L===l&&(L=-5),L)},r.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,l},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?d:((r.head=t).done=!1,l):d},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?d:11===r.mode&&i(1,t,n,0)!==r.check?-3:C(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,l):d},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){"use strict";var n=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,u,c,l,d,h){var f,p,g,v,m,b,y,D,w,x=h.bits,S=0,F=0,C=0,E=0,k=0,_=0,A=0,T=0,O=0,R=0,U=null,B=0,z=new n.Buf16(16),L=new n.Buf16(16),I=null,M=0;for(S=0;S<=15;S++)z[S]=0;for(F=0;F<u;F++)z[t[r+F]]++;for(k=x,E=15;1<=E&&0===z[E];E--);if(E<k&&(k=E),0===E)return c[l++]=20971520,c[l++]=20971520,h.bits=1,0;for(C=1;C<E&&0===z[C];C++);for(k<C&&(k=C),S=T=1;S<=15;S++)if(T<<=1,(T-=z[S])<0)return-1;if(0<T&&(0===e||1!==E))return-1;for(L[1]=0,S=1;S<15;S++)L[S+1]=L[S]+z[S];for(F=0;F<u;F++)0!==t[r+F]&&(d[L[t[r+F]]++]=F);if(b=0===e?(U=I=d,19):1===e?(U=i,B-=257,I=a,M-=257,256):(U=o,I=s,-1),S=C,m=l,A=F=R=0,g=-1,v=(O=1<<(_=k))-1,1===e&&852<O||2===e&&592<O)return 1;for(;;){for(y=S-A,w=d[F]<b?(D=0,d[F]):d[F]>b?(D=I[M+d[F]],U[B+d[F]]):(D=96,0),f=1<<S-A,C=p=1<<_;c[m+(R>>A)+(p-=f)]=y<<24|D<<16|w|0,0!==p;);for(f=1<<S-1;R&f;)f>>=1;if(0!==f?(R&=f-1,R+=f):R=0,F++,0==--z[S]){if(S===E)break;S=t[r+d[F]]}if(k<S&&(R&v)!==g){for(0===A&&(A=k),m+=C,T=1<<(_=S-A);_+A<E&&!((T-=z[_+A])<=0);)_++,T<<=1;if(O+=1<<_,1===e&&852<O||2===e&&592<O)return 1;c[g=R&v]=k<<24|_<<16|m-l|0}}return 0!==R&&(c[m+R]=S-A<<24|64<<16|0),h.bits=k,0}},{"../utils/common":41}],51:[function(e,t,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){"use strict";var n=e("../utils/common"),i=0,a=1;function o(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,u=29,c=256,l=c+1+u,d=30,h=19,f=2*l+1,p=15,g=16,v=7,m=256,b=16,y=17,D=18,w=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],C=new Array(2*(l+2));o(C);var E=new Array(2*d);o(E);var k=new Array(512);o(k);var _=new Array(256);o(_);var A=new Array(u);o(A);var T,O,R,U=new Array(d);function B(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function z(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function L(e){return e<256?k[e]:k[256+(e>>>7)]}function I(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function M(e,t,r){e.bi_valid>g-r?(e.bi_buf|=t<<e.bi_valid&65535,I(e,e.bi_buf),e.bi_buf=t>>g-e.bi_valid,e.bi_valid+=r-g):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function P(e,t,r){M(e,r[2*t],r[2*t+1])}function N(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function j(e,t,r){var n,i,a=new Array(p+1),o=0;for(n=1;n<=p;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=N(a[s]++,s))}}function G(e){var t;for(t=0;t<l;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*m]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function H(e){8<e.bi_valid?I(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function W(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function q(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&W(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!W(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function X(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?P(e,i,t):(P(e,(a=_[i])+c+1,t),0!==(o=w[a])&&M(e,i-=A[a],o),P(e,a=L(--n),r),0!==(o=x[a])&&M(e,n-=U[a],o)),s<e.last_lit;);P(e,m,t)}function Z(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=f,r=0;r<u;r++)0!==a[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,r=e.heap_len>>1;1<=r;r--)q(e,a,r);for(i=u;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],q(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,q(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,u=t.dyn_tree,c=t.max_code,l=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,g=t.stat_desc.extra_base,v=t.stat_desc.max_length,m=0;for(a=0;a<=p;a++)e.bl_count[a]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<f;r++)v<(a=u[2*u[2*(n=e.heap[r])+1]+1]+1)&&(a=v,m++),u[2*n+1]=a,c<n||(e.bl_count[a]++,o=0,g<=n&&(o=h[n-g]),s=u[2*n],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(l[2*n+1]+o)));if(0!==m){do{for(a=v-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[v]--,m-=2}while(0<m);for(a=v;0!==a;a--)for(n=e.bl_count[a];0!==n;)c<(i=e.heap[--r])||(u[2*i+1]!==a&&(e.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),n--)}}(e,t),j(a,c,e.bl_count)}function $(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,c=4;for(0===o&&(u=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<u&&i===o||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*b]++):s<=10?e.bl_tree[2*y]++:e.bl_tree[2*D]++,a=i,c=(s=0)===o?(u=138,3):i===o?(u=6,3):(u=7,4))}function Y(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,c=4;for(0===o&&(u=138,c=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<u&&i===o)){if(s<c)for(;P(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==a&&(P(e,i,e.bl_tree),s--),P(e,b,e.bl_tree),M(e,s-3,2)):s<=10?(P(e,y,e.bl_tree),M(e,s-3,3)):(P(e,D,e.bl_tree),M(e,s-11,7));a=i,c=(s=0)===o?(u=138,3):i===o?(u=6,3):(u=7,4)}}o(U);var V=!1;function K(e,t,r,i){M(e,(s<<1)+(i?1:0),3),function(e,t,r,i){H(e),i&&(I(e,r),I(e,~r)),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}r._tr_init=function(e){V||(function(){var e,t,r,n,i,a=new Array(p+1);for(n=r=0;n<u-1;n++)for(A[n]=r,e=0;e<1<<w[n];e++)_[r++]=n;for(_[r-1]=n,n=i=0;n<16;n++)for(U[n]=i,e=0;e<1<<x[n];e++)k[i++]=n;for(i>>=7;n<d;n++)for(U[n]=i<<7,e=0;e<1<<x[n]-7;e++)k[256+i++]=n;for(t=0;t<=p;t++)a[t]=0;for(e=0;e<=143;)C[2*e+1]=8,e++,a[8]++;for(;e<=255;)C[2*e+1]=9,e++,a[9]++;for(;e<=279;)C[2*e+1]=7,e++,a[7]++;for(;e<=287;)C[2*e+1]=8,e++,a[8]++;for(j(C,l+1,a),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=N(e,5);T=new B(C,w,c+1,l,p),O=new B(E,x,0,d,p),R=new B(new Array(0),S,0,h,v)}(),V=!0),e.l_desc=new z(e.dyn_ltree,T),e.d_desc=new z(e.dyn_dtree,O),e.bl_desc=new z(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,G(e)},r._tr_stored_block=K,r._tr_flush_block=function(e,t,r,n){var o,s,u=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t<c;t++)if(0!==e.dyn_ltree[2*t])return a;return i}(e)),Z(e,e.l_desc),Z(e,e.d_desc),u=function(e){var t;for($(e,e.dyn_ltree,e.l_desc.max_code),$(e,e.dyn_dtree,e.d_desc.max_code),Z(e,e.bl_desc),t=h-1;3<=t&&0===e.bl_tree[2*F[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=r+5,r+4<=o&&-1!==t?K(e,t,r,n):4===e.strategy||s===o?(M(e,2+(n?1:0),3),X(e,C,E)):(M(e,4+(n?1:0),3),function(e,t,r,n){var i;for(M(e,t-257,5),M(e,r-1,5),M(e,n-4,4),i=0;i<n;i++)M(e,e.bl_tree[2*F[i]+1],3);Y(e,e.dyn_ltree,t-1),Y(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),X(e,e.dyn_ltree,e.dyn_dtree)),G(e),n&&H(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(_[r]+c+1)]++,e.dyn_dtree[2*L(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){M(e,2,3),P(e,m,C),function(e){16===e.bi_valid?(I(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,i){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var r,i,a,o,s=1,u={},c=!1,l=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,r="[object process]"==={}.toString.call(e.process)?function(e){n.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(o="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){a.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(f,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return u[s]=i,r(s),s++},d.clearImmediate=h}function h(e){delete u[e]}function f(e){if(c)setTimeout(f,0,e);else{var r=u[e];if(r){c=!0;try{!function(e){var r=e.callback,n=e.args;switch(n.length){case 0:r();break;case 1:r(n[0]);break;case 2:r(n[0],n[1]);break;case 3:r(n[0],n[1],n[2]);break;default:r.apply(t,n)}}(r)}finally{h(e),c=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&f(+t.data.slice(o.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))}).call(this,r("b639").Buffer,r("c8ba"),r("4362"))},c55c:function(e,t,r){var n=r("684d"),i=r("9017"),a=r("fcea")("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||void 0==(r=n(o)[a])?t:i(r)}},c64e:function(e,t,r){var n=r("e1f4"),i=r("2366");function a(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[a+s]=o[s];return t||i(o)}
1e.exports=a},c6a4:function(e,t,r){"use strict";var n=r("05b7"),i=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var a=r.call(e,t);if("object"!==typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},c6bc:function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},c869:function(e,t,r){var n=r("0b07"),i=r("2b3e"),a=n(i,"Set");e.exports=a},c87c:function(e,t){var r=Object.prototype,n=r.hasOwnProperty;function i(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}e.exports=i},c8fe:function(e,t,r){var n=r("f8af");function i(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}e.exports=i},cacd:function(e,t,r){var n=r("ad4f");e.exports=function(e){return Object(n(e))}},cb5a:function(e,t,r){var n=r("9638");function i(e,t){var r=e.length;while(r--)if(n(e[r][0],t))return r;return-1}e.exports=i},cb82:function(e,t,r){var n=r("ddab"),i=r("bf02"),a=r("cacd"),o=r("6680"),s=r("4697");e.exports=function(e,t){var r=1==e,u=2==e,c=3==e,l=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var g,v,m=a(t),b=i(m),y=n(s,p,3),D=o(b.length),w=0,x=r?f(t,D):u?f(t,0):void 0;D>w;w++)if((h||w in b)&&(g=b[w],v=y(g,w,m),e))if(r)x[w]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return w;case 2:x.push(g)}else if(l)return!1;return d?-1:c||l?l:x}}},cc45:function(e,t,r){var n=r("1a2d0"),i=r("b047"),a=r("99d3"),o=a&&a.isMap,s=o?i(o):n;e.exports=s},cd5d:function(e,t,r){"use strict";var n=r("0f5b"),i=r("4045e");e.exports=function(e,t,r){t in e?n.f(e,t,i(0,r)):e[t]=r}},cdd8:function(e,t,r){e.exports=!r("5bc9")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},d02c:function(e,t,r){var n=r("5e2e"),i=r("79bc"),a=r("7b83"),o=200;function s(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<o-1)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(e,t),this.size=r.size,this}e.exports=s},d235:function(e,t,r){var n=r("8f2c")("keys"),i=r("5e11");e.exports=function(e){return n[e]||(n[e]=i(e))}},d3270:function(e,t){function r(){return[]}e.exports=r},d3703:function(e,t,r){var n=r("253c"),i=r("1310"),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},d7ee:function(e,t,r){var n=r("c3fc"),i=r("b047"),a=r("99d3"),o=a&&a.isSet,s=o?i(o):n;e.exports=s},d8dc:function(e,t,r){var n=r("a2a2"),i=r("fcea")("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}},da03:function(e,t,r){var n=r("2b3e"),i=n["__core-js_shared__"];e.exports=i},dc57:function(e,t){var r=Function.prototype,n=r.toString;function i(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=i},dd4c:function(e,t,r){var n=r("c6bc"),i=r("3537"),a=r("0f5b").f,o=r("7d36").f,s=r("2c0b"),u=r("ffa4"),c=n.RegExp,l=c,d=c.prototype,h=/a/g,f=/a/g,p=new c(h)!==h;if(r("cdd8")&&(!p||r("5bc9")((function(){return f[r("fcea")("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")})))){c=function(e,t){var r=this instanceof c,n=s(e),a=void 0===t;return!r&&n&&e.constructor===c&&a?e:i(p?new l(n&&!a?e.source:e,t):l((n=e instanceof c)?e.source:e,n&&a?u.call(e):t),r?this:d,c)};for(var g=function(e){e in c||a(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},v=o(l),m=0;v.length>m;)g(v[m++]);d.constructor=c,c.prototype=d,r("72dc")(n,"RegExp",c)}r("00ee1")("RegExp")},ddab:function(e,t,r){var n=r("9017");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},e1f4:function(e,t){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);e.exports=function(){return r(n),n}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0===(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}}
1,e24b:function(e,t,r){var n=r("49f4"),i=r("1efc"),a=r("bbc0"),o=r("7a48"),s=r("2524");function u(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype["delete"]=i,u.prototype.get=a,u.prototype.has=o,u.prototype.set=s,e.exports=u},e41f:function(e,t,r){"use strict";var n=r("d282"),i=r("a142"),a=r("6605"),o=r("ad06"),s=Object(n["a"])("popup"),u=s[0],c=s[1];t["a"]=u({mixins:[Object(a["a"])()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var e=this,t=function(t){return function(r){return e.$emit(t,r)}};this.onClick=t("click"),this.onOpened=t("opened"),this.onClosed=t("closed")},methods:{onClickCloseIcon:function(e){this.$emit("click-close-icon",e),this.close()}},render:function(){var e,t=arguments[0];if(this.shouldRender){var r=this.round,n=this.position,a=this.duration,s="center"===n,u=this.transition||(s?"van-fade":"van-popup-slide-"+n),l={};if(Object(i["c"])(a)){var d=s?"animationDuration":"transitionDuration";l[d]=a+"s"}return t("transition",{attrs:{appear:this.transitionAppear,name:u},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],style:l,class:c((e={round:r},e[n]=n,e["safe-area-inset-bottom"]=this.safeAreaInsetBottom,e)),on:{click:this.onClick}},[this.slots(),this.closeable&&t(o["a"],{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:c("close-icon",this.closeIconPosition),on:{click:this.onClickCloseIcon}})])])}}})},e50d:function(e,t,r){r("d9e2");var n=r("7037")["default"];function i(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},e538:function(e,t,r){(function(e){var n=r("2b3e"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?n.Buffer:void 0,u=s?s.allocUnsafe:void 0;function c(e,t){if(t)return e.slice();var r=e.length,n=u?u(r):new e.constructor(r);return e.copy(n),n}e.exports=c}).call(this,r("62e4")(e))},e6cd:function(e,t,r){var n=r("965c"),i=r("b101"),a=r("533a");e.exports=function(e){var t=n(e),r=i.f;if(r){var o,s=r(e),u=a.f,c=0;while(s.length>c)u.call(e,o=s[c++])&&t.push(o)}return t}},e849:function(e,t,r){var n=r("684d");e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(o){var a=e["return"];throw void 0!==a&&n(a.call(e)),o}}},ea98:function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),a=r("1d80"),o=r("5926"),s=r("577e"),u=r("d039"),c=i("".charAt),l=u((function(){return"\ud842"!=="ð ®·".at(-2)}));n({target:"String",proto:!0,forced:l},{at:function(e){var t=s(a(this)),r=t.length,n=o(e),i=n>=0?n:r+n;return i<0||i>=r?void 0:c(t,i)}})},eac5:function(e,t){var r=Object.prototype;function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}e.exports=n},eb71:function(e,t,r){var n=r("910e");e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},ec69:function(e,t,r){var n=r("6fcd"),i=r("03dd"),a=r("30c9");function o(e){return a(e)?n(e):i(e)}e.exports=o},ec8c:function(e,t){function r(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}e.exports=r},ee4d:function(e,t,r){var n=r("51a1"),i=r("30d2"),a=r("9068")(!1),o=r("d235")("IE_PROTO");e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)r!=o&&n(s,r)&&c.push(r);while(t.length>
1u)n(s,r=t[u++])&&(~a(c,r)||c.push(r));return c}},efb6:function(e,t,r){var n=r("5e2e");function i(){this.__data__=new n,this.size=0}e.exports=i},f11e:function(e,t,r){var n=r("5e11")("meta"),i=r("910e"),a=r("51a1"),o=r("0f5b").f,s=0,u=Object.isExtensible||function(){return!0},c=!r("5bc9")((function(){return u(Object.preventExtensions({}))})),l=function(e){o(e,n,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,n)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[n].i},h=function(e,t){if(!a(e,n)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[n].w},f=function(e){return c&&p.NEED&&u(e)&&!a(e,n)&&l(e),e},p=e.exports={KEY:n,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},f4b8:function(e,t,r){var n=r("6f3b"),i=r("149f"),a=r("30d2"),o=r("61ba"),s=r("cd5d");n(n.S,"Object",{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),u=o.f,c=i(n),l={},d=0;while(c.length>d)r=u(n,t=c[d++]),void 0!==r&&s(l,t,r);return l}})},f71d:function(e,t,r){var n=r("910e"),i=r("92af"),a=r("fcea")("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&(t=t[a],null===t&&(t=void 0))),void 0===t?Array:t}},f758c:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f7aa:function(e,t,r){},f835:function(e,t,r){var n=r("684d"),i=r("38ed"),a=r("f758c"),o=r("d235")("IE_PROTO"),s=function(){},u="prototype",c=function(){var e,t=r("846a")("iframe"),n=a.length,i="<",o=">";t.style.display="none",r("2263").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+o+"document.F=Object"+i+"/script"+o),e.close(),c=e.F;while(n--)delete c[u][a[n]];return c()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[u]=n(e),r=new s,s[u]=null,r[o]=e):r=c(),void 0===t?r:i(r,t)}},f8af:function(e,t,r){var n=r("2474");function i(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}e.exports=i},f92e:function(e,t,r){"use strict";r("1b80"),r("1768");var n=/[a-z]{1,6}(?:[._][a-z]{1,2})?/i,i=n,a=/\!'#%&'\(\)*\+,\\\-\.\/:;<=>\?@\[\]\^_{|}~\$/,o=a,s=(r("dd4c"),function(e,t,r){return r=r||"","string"!==typeof e&&(e.global&&r.indexOf("g")<0&&(r+="g"),e.ignoreCase&&r.indexOf("i")<0&&(r+="i"),e.multiline&&r.indexOf("m")<0&&(r+="m"),e=e.source),new RegExp(e.replace(/#\{(\w+)\}/g,(function(e,r){var n=t[r]||"";return"string"!==typeof n&&(n=n.source),n})),r)}),u=/\x09-\x0D\x20\x85\xA0\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000/,c=u,l=s(/[#{spacesGroup}]/,{spacesGroup:c}),d=s("(^|#{spaces})(\\$)(#{cashtag})(?=$|\\s|[#{punct}])",{cashtag:i,spaces:l,punct:o},"gi"),h=d,f=function(e){if(!e||-1===e.indexOf("$"))return[];var t=[];return e.replace(h,(function(e,r,n,i,a,o){var s=a+r.length,u=s+i.length+1;t.push({cashtag:i,indices:[s,u]})})),t},p=(r("2fa4"),/[##]/),g=p,v=s(/^(?:#{hashSigns}|:\/\/)/,{hashSigns:g}),m=v,b=s(RegExp("(?:(?:한국|香港|澳門|新加坡|台灣|台湾|中國|中国|გე|ລາວ|ไทย|ලංකා|ഭാരതം|ಭಾರತ|భారత్|சிங்கப்பூர்|இலங்கை|இந்தியா|ଭାରତ|ભારત|ਭਾਰਤ|ভাৰত|ভারত|বাংলা|भारोत|भारतम्|भारत|ڀارت|پاکستان|موريتانيا|مليسيا|مصر|قطر|فلسطين|عمان|عراق|سورية|سودان|تونس|بھارت|بارت|ایران|امارات|المغرب|السعودية|الجزائر|البحرين|الاردن|հայ|қаз|укр|срб|рф|мон|мкд|ею|бел|бг|ευ|ελ|zw|zm|za|yt|ye|ws|wf|vu|vn|vi|vg|ve|vc|va|uz|uy|us|um|uk|ug|ua|tz|tw|tv|tt|tr|tp|to|tn|tm|tl|tk|tj|th|tg|tf|td|tc|sz|sy|sx|sv|su|st|ss|sr|so|sn|sm|sl|sk|sj|si|sh|sg|se|sd|sc|sb|sa|rw|ru|rs|ro|re|qa|py|pw|pt|ps|pr|pn|pm|pl|pk|ph|pg|pf|pe|pa|om|nz|nu|nr|np|no|nl|ni|ng|nf|ne|nc|na|mz|my|mx|mw|mv|mu|mt|ms|mr|mq|mp|mo|mn|mm|ml|mk|mh|mg|mf|me|md|mc|ma|ly|lv|lu|lt|ls|lr|lk|li|lc|lb|la|kz|ky|kw|kr|kp|kn|km|ki|kh|kg|ke|jp|jo|jm|je|it|is|ir|iq|io|in|im|il|ie|id|hu|ht|hr|hn|hm|hk|gy|gw|gu|gt|gs|gr|gq|gp|gn|gm|gl|gi|gh|gg|gf|ge|gd|gb|ga|fr|fo|fm|fk|fj|fi|eu|et|es|er|eh|eg|ee|ec|dz|do|dm|dk|dj|de|cz|cy|cx|cw|cv|cu|cr|co|cn|cm|cl|ck|ci|ch|cg|cf|cd|cc|ca|bz|by|bw|bv|bt|bs|br|bq|bo|bn|bm|bl|bj|bi|bh|bg|bf|be|bd|bb|ba|az|ax|aw|au|at|as|ar|aq|ao|an|am|al|ai|ag|af|ae|ad|ac)(?=[^0-9a-zA-Z@+-]|$))")),y=b,D=/\u202A-\u202E\u061C\u200E\u200F\u2066\u2067\u2068\u2069/,w=D,x=/\uFFFE\uFEFF\uFFFF/,S=x,F=function(e,t){return e.replace(/#\{(\w+)\}/g,(function(e,r){return t[r]||""}))},C=F("#{punct}#{spacesGroup}#{invalidCharsGroup}#{directionalMarkersGroup}",{punct:o,spacesGroup:c,invalidCharsGroup:S,directionalMarkersGroup:w}),E=C,k=s(/[^#{invalidDomainChars}]/,{invalidDomainChars:E}),_=k,A=s(/(?:(?:#{validDomainChars}(?:-|#{validDomainChars})*)?#{validDomainChars}\.)/,{validDomainChars:_}),T=A,O=s(RegExp("(?:(?:삼성|닷컴|닷넷|香格里拉|餐厅|食品|飞利浦|電訊盈科|集团|通販|购物|谷歌|诺基亚|联通|网络|网站|网店|网址|组织机构|移动|珠宝|点看|游戏|淡马锡|机构|書籍|时尚|新闻|政府|政务|招聘|手表|手机|我爱你|慈善|微博|广东|工行|家電|娱乐|天主教|大拿|大众汽车|在线|嘉里大酒店|嘉里|商标|商店|商城|公益|公司|八卦|健康|信息|佛山|企业|中文网|中信|世界|ポイント|ファッション|セール|ストア|コム|グーグル|クラウド|みんな|คอม|संगठन|नेट|कॉम|همراه|موقع|موبايلي|كوم|كاثوليك|عرب|شبكة|بيتك|بازار|العليان|ارامكو|اتصالات|ابوظبي|קום|сайт|рус|орг|онлайн|москва|ком|католик|дети|zuerich|zone|zippo|zip|zero|zara|zappos|yun|youtube|you|yokohama|yoga|yodobashi|yandex|yamaxun|yahoo|yachts|xyz|xxx|xperia|xin|xihuan|xfinity|xerox|xbox|wtf|wtc|wow|world|works|work|woodside|wolterskluwer|wme|winners|wine|windows|win|williamhill|wiki|wien|whoswho|weir|weibo|wedding|wed|website|weber|webcam|weatherchannel|weather|watches|watch|warman|wanggou|wang|walter|walmart|wales|vuelos|voyage|voto|voting|vote|volvo|volkswagen|vodka|vlaanderen|vivo|viva|vistaprint|vista|vision|visa|virgin|vip|vin|villas|viking|vig|video|viajes|vet|versicherung|vermögensberatung|vermögensberater|verisign|ventures|vegas|vanguard|vana|vacations|ups|uol|uno|university|unicom|uconnect|ubs|ubank|tvs|tushu|tunes|tui|tube|trv|trust|travelersinsurance|travelers|travelchannel|travel|training|trading|trade|toys|toyota|town|tours|total|toshiba|toray|top|tools|tokyo|today|tmall|tkmaxx|tjx|tjmaxx|tirol|tires|tips|tiffany|tienda|tickets|tiaa|theatre|theater|thd|teva|tennis|temasek|telefonica|telecity|tel|technology|tech|team|tdk|tci|taxi|tax|tattoo|tatar|tatamotors|target|taobao|talk|taipei|tab|systems|symantec|sydney|swiss|swiftcover|swatch|suzuki|surgery|surf|support|supply|supplies|sucks|style|study|studio|stream|store|storage|stockholm|stcgroup|stc|statoil|statefarm|statebank|starhub|star|staples|stada|srt|srl|spreadbetting|spot|sport|spiegel|space|soy|sony|song|solutions|solar|sohu|softw
1are|softbank|social|soccer|sncf|smile|smart|sling|skype|sky|skin|ski|site|singles|sina|silk|shriram|showtime|show|shouji|shopping|shop|shoes|shiksha|shia|shell|shaw|sharp|shangrila|sfr|sexy|sex|sew|seven|ses|services|sener|select|seek|security|secure|seat|search|scot|scor|scjohnson|science|schwarz|schule|school|scholarships|schmidt|schaeffler|scb|sca|sbs|sbi|saxo|save|sas|sarl|sapo|sap|sanofi|sandvikcoromant|sandvik|samsung|samsclub|salon|sale|sakura|safety|safe|saarland|ryukyu|rwe|run|ruhr|rugby|rsvp|room|rogers|rodeo|rocks|rocher|rmit|rip|rio|ril|rightathome|ricoh|richardli|rich|rexroth|reviews|review|restaurant|rest|republican|report|repair|rentals|rent|ren|reliance|reit|reisen|reise|rehab|redumbrella|redstone|red|recipes|realty|realtor|realestate|read|raid|radio|racing|qvc|quest|quebec|qpon|pwc|pub|prudential|pru|protection|property|properties|promo|progressive|prof|productions|prod|pro|prime|press|praxi|pramerica|post|porn|politie|poker|pohl|pnc|plus|plumbing|playstation|play|place|pizza|pioneer|pink|ping|pin|pid|pictures|pictet|pics|piaget|physio|photos|photography|photo|phone|philips|phd|pharmacy|pfizer|pet|pccw|pay|passagens|party|parts|partners|pars|paris|panerai|panasonic|pamperedchef|page|ovh|ott|otsuka|osaka|origins|orientexpress|organic|org|orange|oracle|open|ooo|onyourside|online|onl|ong|one|omega|ollo|oldnavy|olayangroup|olayan|okinawa|office|off|observer|obi|nyc|ntt|nrw|nra|nowtv|nowruz|now|norton|northwesternmutual|nokia|nissay|nissan|ninja|nikon|nike|nico|nhk|ngo|nfl|nexus|nextdirect|next|news|newholland|new|neustar|network|netflix|netbank|net|nec|nba|navy|natura|nationwide|name|nagoya|nadex|nab|mutuelle|mutual|museum|mtr|mtpc|mtn|msd|movistar|movie|mov|motorcycles|moto|moscow|mortgage|mormon|mopar|montblanc|monster|money|monash|mom|moi|moe|moda|mobily|mobile|mobi|mma|mls|mlb|mitsubishi|mit|mint|mini|mil|microsoft|miami|metlife|merckmsd|meo|menu|men|memorial|meme|melbourne|meet|media|med|mckinsey|mcdonalds|mcd|mba|mattel|maserati|marshalls|marriott|markets|marketing|market|map|mango|management|man|makeup|maison|maif|madrid|macys|luxury|luxe|lupin|lundbeck|ltda|ltd|lplfinancial|lpl|love|lotto|lotte|london|lol|loft|locus|locker|loans|loan|llp|llc|lixil|living|live|lipsy|link|linde|lincoln|limo|limited|lilly|like|lighting|lifestyle|lifeinsurance|life|lidl|liaison|lgbt|lexus|lego|legal|lefrak|leclerc|lease|lds|lawyer|law|latrobe|latino|lat|lasalle|lanxess|landrover|land|lancome|lancia|lancaster|lamer|lamborghini|ladbrokes|lacaixa|kyoto|kuokgroup|kred|krd|kpn|kpmg|kosher|komatsu|koeln|kiwi|kitchen|kindle|kinder|kim|kia|kfh|kerryproperties|kerrylogistics|kerryhotels|kddi|kaufen|juniper|juegos|jprs|jpmorgan|joy|jot|joburg|jobs|jnj|jmp|jll|jlc|jio|jewelry|jetzt|jeep|jcp|jcb|java|jaguar|iwc|iveco|itv|itau|istanbul|ist|ismaili|iselect|irish|ipiranga|investments|intuit|international|intel|int|insure|insurance|institute|ink|ing|info|infiniti|industries|inc|immobilien|immo|imdb|imamat|ikano|iinet|ifm|ieee|icu|ice|icbc|ibm|hyundai|hyatt|hughes|htc|hsbc|how|house|hotmail|hotels|hoteles|hot|hosting|host|hospital|horse|honeywell|honda|homesense|homes|homegoods|homedepot|holiday|holdings|hockey|hkt|hiv|hitachi|hisamitsu|hiphop|hgtv|hermes|here|helsinki|help|healthcare|health|hdfcbank|hdfc|hbo|haus|hangout|hamburg|hair|guru|guitars|guide|guge|gucci|guardian|group|grocery|gripe|green|gratis|graphics|grainger|gov|got|gop|google|goog|goodyear|goodhands|goo|golf|goldpoint|gold|godaddy|gmx|gmo|gmbh|gmail|globo|global|gle|glass|glade|giving|gives|gifts|gift|ggee|george|genting|gent|gea|gdn|gbiz|gay|garden|gap|games|game|gallup|gallo|gallery|gal|fyi|futbol|furniture|fund|fun|fujixerox|fujitsu|ftr|frontier|frontdoor|frogans|frl|fresenius|free|fox|foundation|forum|forsale|forex|ford|football|foodnetwork|food|foo|fly|flsmidth|flowers|florist|flir|flights|flickr|fitness|fit|fishing|fish|firmdale|firestone|fire|financial|finance|final|film|fido|fidelity|fiat|ferrero|ferrari|feedback|fedex|fast|fashion|farmers|farm|fans|fan|family|faith|fairwinds|fail|fage|extraspace|express|exposed|expert|exchange|everbank|events|eus|eurovision|etisalat|esurance|estate|esq|erni|ericsson|equipment|epson|epost|enterprises|engineering|engineer|energy|emerck|email|education|edu|edeka|eco|eat|earth|dvr|dvag|durban|dupont|duns|dunlop|duck|dubai|dtv|drive|download|dot|doosan|domains|doha|dog|dodge|doctor|docs|dnp|diy|dish|discover|discount|directory|direct|digital|diet|diamonds|dhl|dev|design|desi|dentist|dental|democrat|delta|deloitte|dell|delivery|degree|deals|dealer|deal|dds|dclk|day|datsun|dating|date|data|dance|dad|dabur|cyou|cymru|cuisinella|csc|cruises|cruise|crs|crown|cricket|creditunion|creditcard|credit|cpa|courses|coupons|coupon|country|corsica|coop|cool|cookingchannel|cooking|contractors|contact|consulting|construction|condos|comsec|computer|compare|c
1ompany|community|commbank|comcast|com|cologne|college|coffee|codes|coach|clubmed|club|cloud|clothing|clinique|clinic|click|cleaning|claims|cityeats|city|citic|citi|citadel|cisco|circle|cipriani|church|chrysler|chrome|christmas|chloe|chintai|cheap|chat|chase|charity|channel|chanel|cfd|cfa|cern|ceo|center|ceb|cbs|cbre|cbn|cba|catholic|catering|cat|casino|cash|caseih|case|casa|cartier|cars|careers|career|care|cards|caravan|car|capitalone|capital|capetown|canon|cancerresearch|camp|camera|cam|calvinklein|call|cal|cafe|cab|bzh|buzz|buy|business|builders|build|bugatti|budapest|brussels|brother|broker|broadway|bridgestone|bradesco|box|boutique|bot|boston|bostik|bosch|boots|booking|book|boo|bond|bom|bofa|boehringer|boats|bnpparibas|bnl|bmw|bms|blue|bloomberg|blog|blockbuster|blanco|blackfriday|black|biz|bio|bingo|bing|bike|bid|bible|bharti|bet|bestbuy|best|berlin|bentley|beer|beauty|beats|bcn|bcg|bbva|bbt|bbc|bayern|bauhaus|basketball|baseball|bargains|barefoot|barclays|barclaycard|barcelona|bar|bank|band|bananarepublic|banamex|baidu|baby|azure|axa|aws|avianca|autos|auto|author|auspost|audio|audible|audi|auction|attorney|athleta|associates|asia|asda|arte|art|arpa|army|archi|aramco|arab|aquarelle|apple|app|apartments|aol|anz|anquan|android|analytics|amsterdam|amica|amfam|amex|americanfamily|americanexpress|alstom|alsace|ally|allstate|allfinanz|alipay|alibaba|alfaromeo|akdn|airtel|airforce|airbus|aigo|aig|agency|agakhan|africa|afl|afamilycompany|aetna|aero|aeg|adult|ads|adac|actor|active|aco|accountants|accountant|accenture|academy|abudhabi|abogado|able|abc|abbvie|abbott|abb|abarth|aarp|aaa|onion)(?=[^0-9a-zA-Z@+-]|$))")),R=O,U=/(?:xn--[\-0-9a-z]+)/,B=U,z=s(/(?:(?:#{validDomainChars}(?:[_-]|#{validDomainChars})*)?#{validDomainChars}\.)/,{validDomainChars:_}),L=z,I=s(/(?:#{validSubdomain}*#{validDomainName}(?:#{validGTLD}|#{validCCTLD}|#{validPunycode}))/,{validDomainName:T,validSubdomain:L,validGTLD:R,validCCTLD:y,validPunycode:B}),M=I,P=/[0-9]+/,N=P,j=/\u0400-\u04FF/,G=j,H=/\xC0-\xD6\xD8-\xF6\xF8-\xFF\u0100-\u024F\u0253\u0254\u0256\u0257\u0259\u025B\u0263\u0268\u026F\u0272\u0289\u028B\u02BB\u0300-\u036F\u1E00-\u1EFF/,W=H,q=s(/[a-z#{cyrillicLettersAndMarks}0-9!\*';:=\+,\.\$\/%#\[\]\-\u2013_~@\|&#{latinAccentChars}]/i,{cyrillicLettersAndMarks:G,latinAccentChars:W}),X=q,Z=s("\\((?:#{validGeneralUrlPathChars}+|(?:#{validGeneralUrlPathChars}*\\(#{validGeneralUrlPathChars}+\\)#{validGeneralUrlPathChars}*))\\)",{validGeneralUrlPathChars:X},"i"),$=Z,Y=s(/[\+\-a-z#{cyrillicLettersAndMarks}0-9=_#\/#{latinAccentChars}]|(?:#{validUrlBalancedParens})/i,{cyrillicLettersAndMarks:G,latinAccentChars:W,validUrlBalancedParens:$}),V=Y,K=s("(?:(?:#{validGeneralUrlPathChars}*(?:#{validUrlBalancedParens}#{validGeneralUrlPathChars}*)*#{validUrlPathEndingChars})|(?:@#{validGeneralUrlPathChars}+/))",{validGeneralUrlPathChars:X,validUrlBalancedParens:$,validUrlPathEndingChars:V},"i"),Q=K,J=s(/(?:[^A-Za-z0-9@@$###{invalidCharsGroup}]|[#{directionalMarkersGroup}]|^)/,{invalidCharsGroup:S,directionalMarkersGroup:w}),ee=J,te=/[a-z0-9!?\*'@\(\);:&=\+\$\/%#\[\]\-_\.,~|]/i,re=te,ne=/[a-z0-9\-_&=#\/]/i,ie=ne,ae=s("((#{validUrlPrecedingChars})((https?:\\/\\/)?(#{validDomain})(?::(#{validPortNumber}))?(\\/#{validUrlPath}*)?(\\?#{validUrlQueryChars}*#{validUrlQueryEndingChars})?))",{validUrlPrecedingChars:ee,validDomain:M,validPortNumber:N,validUrlPath:Q,validUrlQueryChars:re,validUrlQueryEndingChars:ie},"gi"),oe=ae,se=/[-_.\/]$/,ue=se,ce=(r("5fdd"),r("1985")),le=r.n(ce),de=s(/(?:(?:[\-a-z0-9#{latinAccentChars}]+)\.)+(?:#{validGTLD}|#{validCCTLD}|#{validPunycode})/gi,{latinAccentChars:W,validGTLD:R,validCCTLD:y,validPunycode:B}),he=de,fe=63,pe="xn--",ge={toAscii:function(e){if(e.substring(0,4)!==pe||e.match(he)){for(var t=e.split("."),r=0;r<t.length;r++){var n=t[r],i=le.a.toASCII(n);if(i.length<1||i.length>fe)return}return t.join(".")}}},ve=ge,me=s(/^https?:\/\/t\.co\/([a-z0-9]+)(?:\?#{validUrlQueryChars}*#{validUrlQueryEndingChars})?/,{validUrlQueryChars:re,validUrlQueryEndingChars:ie},"i"),be=me,ye="https://",De={extractUrlsWithoutProtocol:!0},we=4096,xe=40,Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De;if(!e||(t.extractUrlsWithoutProtocol?!e.match(/\./):!e.match(/:/)))return[];var r=[],n=function(){var e=RegExp.$2,n=RegExp.$3,i=RegExp.$4,a=RegExp.$5,o=RegExp.$7,s=oe.lastIndex,u=s-n.length;if(!Fe(n,i||ye,a))return"continue";if(i){if(n.match(be)){var c=RegExp.$1;if(c&&c.length>xe)return"continue";n=RegExp.lastMatch,s=u+n.length}r.push({url:n,indices:[u,s]})}else{if(!t.extractUrlsWithoutProtocol||e.match(ue))return"continue";var l=null,d=0;
1if(a.replace(he,(function(e){var t=a.indexOf(e,d);d=t+e.length,l={url:e,indices:[u+t,u+d]},r.push(l)})),null==l)return"continue";o&&(l.url=n.replace(a,l.url),l.indices[1]=s)}};while(oe.exec(e))n();return r},Fe=function(e,t,r){var n=e.length,i=ve.toAscii(r);return!(!i||!i.length)&&(n=n+i.length-r.length,t.length+n<=we)},Ce=Se,Ee=(r("ab0a"),function(e){e.sort((function(e,t){return e.indices[0]-t.indices[0]}));for(var t=e[0],r=1;r<e.length;r++)t.indices[1]>e[r].indices[0]?(e.splice(r,1),r--):t=e[r]}),ke=/\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf30-\udf40\udf42-\udf49\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf]|\ud801[\udc00-\udc9d\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe\uddbf\ude00-\ude03\ude05\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude33\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48]|\ud804[\udc00-\udc46\udc7f-\udcba\udcd0-\udce8\udd00-\udd34\udd50-\udd73\udd76\udd80-\uddc4\uddda\ude00-\ude11\ude13-\ude37\udeb0-\udeea\udf01-\udf03\udf05-\udf0c\udf0f\udf10\udf13-\udf28\udf2a-\udf30\udf32\udf33\udf35-\udf39\udf3c-\udf44\udf47\udf48\udf4b-\udf4d\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc80-\udcc5\udcc7\udd80-\uddb5\uddb8-\uddc0\ude00-\ude40\ude44\ude80-\udeb7]|\ud806[\udca0-\udcdf\udcff\udec0-\udef8]|\ud808[\udc00-\udf98]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\udf00-\udf44\udf50-\udf7e\udf8f-\udf9f]|\ud82c[\udc00\udc01]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e\udc9f\udca2\udca5\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud83a[\udc00-\udcc4\udcd0-\udcd6]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef]/,_e=ke,Ae=/A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u052f\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u065f\u
1066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06ef\u06fa-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07ca-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0-\u08b2\u08e4-\u0963\u0971-\u0983\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7\u09c8\u09cb-\u09ce\u09d7\u09dc\u09dd\u09df-\u09e3\u09f0\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a70-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0b01-\u0b03\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f-\u0b63\u0b71\u0b82\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0c00-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c58\u0c59\u0c60-\u0c63\u0c81-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0cde\u0ce0-\u0ce3\u0cf1\u0cf2\u0d01-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d7a-\u0d7f\u0d82\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0edc-\u0edf\u0f00\u0f18\u0f19\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u103f\u1050-\u108f\u109a-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16f1-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772\u1773\u1780-\u17d3\u17d7\u17dc\u17dd\u180b-\u180d\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f\u1aa7\u1ab0-\u1abe\u1b00-\u1b4b\u1b6b-\u1b73\u1b80-\u1baf\u1bba-\u1bf3\u1c00-\u1c37\u1c4d-\u1c4f\u1c5a-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1cf8\u1cf9\u1d00-\u1df5\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u20d0-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2183\u2184\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005\u3006\u302a-\u302f\u3031-\u3035\u303b\u303c\u3041-\u3096\u3099\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua672\ua674-\ua67d\ua67f-\ua69d\ua69f-\ua6e5\ua6f0\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0\ua7b1\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c4\ua8e0-\ua8f7\ua8fb\ua90a-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf\ua9e0-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64\uab65\uabc0-\uabea\uabec\uabed\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf870-\uf87f\uf882\uf884-\uf89f\uf8b8\uf8c1-\uf8d6\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2d\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc/,Te=Ae,Oe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/gm,Re=Oe,Ue=s(/(?:[#{bmpLetterAndMarks}
1]|(?=#{nonBmpCodePairs})(?:#{astralLetterAndMarks}))/,{bmpLetterAndMarks:Te,nonBmpCodePairs:Re,astralLetterAndMarks:_e}),Be=Ue,ze=/\ud801[\udca0-\udca9]|\ud804[\udc66-\udc6f\udcf0-\udcf9\udd36-\udd3f\uddd0-\uddd9\udef0-\udef9]|\ud805[\udcd0-\udcd9\ude50-\ude59\udec0-\udec9]|\ud806[\udce0-\udce9]|\ud81a[\ude60-\ude69\udf50-\udf59]|\ud835[\udfce-\udfff]/,Le=ze,Ie=/0-9\u0660-\u0669\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0de6-\u0def\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1090-\u1099\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1a80-\u1a89\u1a90-\u1a99\u1b50-\u1b59\u1bb0-\u1bb9\u1c40-\u1c49\u1c50-\u1c59\ua620-\ua629\ua8d0-\ua8d9\ua900-\ua909\ua9d0-\ua9d9\ua9f0-\ua9f9\uaa50-\uaa59\uabf0-\uabf9\uff10-\uff19/,Me=Ie,Pe=/_\u200c\u200d\ua67e\u05be\u05f3\u05f4\uff5e\u301c\u309b\u309c\u30a0\u30fb\u3003\u0f0b\u0f0c\xb7/,Ne=Pe,je=s(/(?:[#{bmpLetterAndMarks}#{bmpNumerals}#{hashtagSpecialChars}]|(?=#{nonBmpCodePairs})(?:#{astralLetterAndMarks}|#{astralNumerals}))/,{bmpLetterAndMarks:Te,bmpNumerals:Me,hashtagSpecialChars:Ne,nonBmpCodePairs:Re,astralLetterAndMarks:_e,astralNumerals:Le}),Ge=je,He=/(?:[^\uD800-\uDFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF])/,We=He,qe=s(/(?:^|\uFE0E|\uFE0F|$|(?!#{hashtagAlphaNumeric}|&)#{codePoint})/,{codePoint:We,hashtagAlphaNumeric:Ge}),Xe=qe,Ze=s(/(#{hashtagBoundary})(#{hashSigns})(?!\uFE0F|\u20E3)(#{hashtagAlphaNumeric}*#{hashtagAlpha}#{hashtagAlphaNumeric}*)/gi,{hashtagBoundary:Xe,hashSigns:g,hashtagAlphaNumeric:Ge,hashtagAlpha:Be}),$e=Ze,Ye=function(e,t){if(t||(t={checkUrlOverlap:!0}),!e||!e.match(g))return[];var r=[];if(e.replace($e,(function(e,t,n,i,a,o){var s=o.slice(a+e.length);if(!s.match(m)){var u=a+t.length,c=u+i.length+1;r.push({hashtag:i,indices:[u,c]})}})),t.checkUrlOverlap){var n=Ce(e);if(n.length>0){var i=r.concat(n);Ee(i),r=[];for(var a=0;a<i.length;a++)i[a].hashtag&&r.push(i[a])}}return r},Ve=Ye,Ke=/[@ï¼ ]/,Qe=Ke,Je=s(/^(?:#{atSigns}|[#{latinAccentChars}]|:\/\/)/,{atSigns:Qe,latinAccentChars:W}),et=Je,tt=/(?:^|[^a-zA-Z0-9_!#$%&*@ï¼ ]|(?:^|[^a-zA-Z0-9_+~.-])(?:rt|RT|rT|Rt):?)/,rt=tt,nt=s("(#{validMentionPrecedingChars})(#{atSigns})([a-zA-Z0-9_]{1,20})(/[a-zA-Z][a-zA-Z0-9_-]{0,24})?",{validMentionPrecedingChars:rt,atSigns:Qe},"g"),it=nt,at=function(e){if(!e||!e.match(Qe))return[];var t=[];return e.replace(it,(function(e,r,n,i,a,o,s){var u=s.slice(o+e.length);if(!u.match(et)){a=a||"";var c=o+r.length,l=c+i.length+a.length+1;t.push({screenName:i,listSlug:a,indices:[c,l]})}})),t},ot=function(e,t){var r=Ce(e,t).concat(at(e)).concat(Ve(e,{checkUrlOverlap:!1})).concat(f(e));return 0==r.length?[]:(Ee(r),r)},st=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},ut={disabled:!0,readonly:!0,multiple:!0,checked:!0},ct={urlClass:!0,listClass:!0,usernameClass:!0,hashtagClass:!0,cashtagClass:!0,usernameUrlBase:!0,listUrlBase:!0,hashtagUrlBase:!0,cashtagUrlBase:!0,usernameUrlBlock:!0,listUrlBlock:!0,hashtagUrlBlock:!0,linkUrlBlock:!0,usernameIncludeSymbol:!0,suppressLists:!0,suppressNoFollow:!0,targetBlank:!0,suppressDataScreenName:!0,urlEntities:!0,symbolTag:!0,textWithSymbolTag:!0,urlTarget:!0,invisibleTagAttrs:!0,linkAttributeBlock:!0,linkTextBlock:!0,htmlEscapeNonEntities:!0},lt=function(e){var t={};for(var r in e){var n=e[r];ct[r]||(ut[r]&&(n=n?r:null),null!=n&&(t[r]=n))}return t},dt={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#39;"},ht=function(e){return e&&e.replace(/[&"'><]/g,(function(e){return dt[e]}))},ft=(r("26a3"),r("af01"),r("2c89"),{disabled:!0,readonly:!0,multiple:!0,checked:!0}),pt=function(e){var t="";for(var r in e){var n=e[r];ft[r]&&(n=n?r:null),null!=n&&(t+=" ".concat(ht(r),'="').concat(ht(n.toString()),'"'))}return t},gt=function(e,t,r,n){n.suppressNoFollow||(r.rel="nofollow"),n.linkAttributeBlock&&n.linkAttributeBlock(e,r),n.linkTextBlock&&(t=n.linkTextBlock(e,t));var i={text:t,attr:pt(r)};return F("<a#{attr}>#{text}</a>",i)},vt=function(e,t,r,n,i){var a=i.symbolTag?"<".concat(i.symbolTag,">").concat(t,"</").concat(i.symbolTag,">"):t;r=ht(r);var o=i.textWithSymbolTag?"<".concat(i.textWithSymbolTag,">").concat(r,"</").concat(i.textWithSymbolTag,">"):r;return i.usernameIncludeSymbol||!t.match(Qe)?gt(e,a+o,n,i):a+gt(e,o,n,i)},mt=function(e,t,r){var n=ht(e.cashtag),i=st(r.htmlAttrs||{});return i.href=r.cashtagUrlBase+n,i.title="$".concat(n),i["class"]=r.cashtagClass,r.targetBlank&&(i.target="_blank"),vt(e,"$",n,i,r)},bt=/[\u0600-\u06FF]|[\u0750-\u077F]|[\u0590-\u05FF]|[\uFE70-\uFEFF]/gm,yt=bt,Dt=function(e,t,r){var n=t.substring(e.indices[
10],e.indices[0]+1),i=ht(e.hashtag),a=st(r.htmlAttrs||{});return a.href=r.hashtagUrlBase+i,a.title="#".concat(i),a["class"]=r.hashtagClass,i.charAt(0).match(yt)&&(a["class"]+=" rtl"),r.targetBlank&&(a.target="_blank"),vt(e,n,i,a,r)},wt=function(e,t){var r=e.display_url,n=e.expanded_url,i=r.replace(/…/g,"");if(-1!=n.indexOf(i)){var a=n.indexOf(i),o={displayUrlSansEllipses:i,beforeDisplayUrl:n.substr(0,a),afterDisplayUrl:n.substr(a+i.length),precedingEllipsis:r.match(/^…/)?"…":"",followingEllipsis:r.match(/…$/)?"…":""};for(var s in o)o.hasOwnProperty(s)&&(o[s]=ht(o[s]));return o["invisible"]=t.invisibleTagAttrs,F("<span class='tco-ellipsis'>#{precedingEllipsis}<span #{invisible}>&nbsp;</span></span><span #{invisible}>#{beforeDisplayUrl}</span><span class='js-display-url'>#{displayUrlSansEllipses}</span><span #{invisible}>#{afterDisplayUrl}</span><span class='tco-ellipsis'><span #{invisible}>&nbsp;</span>#{followingEllipsis}</span>",o)}return r},xt=/^https?:\/\//i,St=xt,Ft=function(e,t,r){var n=e.url,i=n,a=ht(i),o=r.urlEntities&&r.urlEntities[n]||e;o.display_url&&(a=wt(o,r));var s=st(r.htmlAttrs||{});return n.match(St)||(n="http://".concat(n)),s.href=n,r.targetBlank&&(s.target="_blank"),r.urlClass&&(s["class"]=r.urlClass),r.urlTarget&&(s.target=r.urlTarget),!r.title&&o.display_url&&(s.title=o.expanded_url),gt(e,a,s,r)},Ct=function(e,t,r){var n=t.substring(e.indices[0],e.indices[0]+1),i=ht(e.screenName),a=ht(e.listSlug),o=e.listSlug&&!r.suppressLists,s=st(r.htmlAttrs||{});return s["class"]=o?r.listClass:r.usernameClass,s.href=o?r.listUrlBase+i+a:r.usernameUrlBase+i,o||r.suppressDataScreenName||(s["data-screen-name"]=i),r.targetBlank&&(s.target="_blank"),vt(e,n,o?i+a:i,s,r)},Et="tweet-url list-slug",kt="tweet-url username",_t="tweet-url hashtag",At="tweet-url cashtag",Tt=function(e,t,r){var n,i;r=st(r||{});if(r.hashtagClass=r.hashtagClass||_t,r.hashtagUrlBase=r.hashtagUrlBase||"https://twitter.com/search?q=%23",r.cashtagClass=r.cashtagClass||At,r.cashtagUrlBase=r.cashtagUrlBase||"https://twitter.com/search?q=%24",r.listClass=r.listClass||Et,r.usernameClass=r.usernameClass||kt,r.usernameUrlBase=r.usernameUrlBase||"https://twitter.com/",r.listUrlBase=r.listUrlBase||"https://twitter.com/",r.htmlAttrs=lt(r),r.invisibleTagAttrs=r.invisibleTagAttrs||"style='position:absolute;left:-9999px;'",r.urlEntities){for(n={},u=0,i=r.urlEntities.length;u<i;u++)n[r.urlEntities[u].url]=r.urlEntities[u];r.urlEntities=n}var a="",o=0;t.sort((function(e,t){return e.indices[0]-t.indices[0]}));for(var s=r.htmlEscapeNonEntities?ht:function(e){return e},u=0;u<t.length;u++){var c=t[u];a+=s(e.substring(o,c.indices[0])),c.url?a+=Ft(c,e,r):c.hashtag?a+=Dt(c,e,r):c.screenName?a+=Ct(c,e,r):c.cashtag&&(a+=mt(c,e,r)),o=c.indices[1]}return a+=s(e.substring(o,e.length)),a},Ot=function(e,t){var r=ot(e,{extractUrlsWithoutProtocol:!1});return Tt(e,r,t)},Rt=function(e,t){var r=f(e);return Tt(e,r,t)},Ut=function(e,t){var r=Ve(e);return Tt(e,r,t)},Bt=function(e,t){var r=Ce(e,{extractUrlsWithoutProtocol:!1});return Tt(e,r,t)},zt=function(e,t){var r=at(e);return Tt(e,r,t)},Lt=function(e,t,r){if(0!==t.length){var n=0,i=0;t.sort((function(e,t){return e.indices[0]-t.indices[0]}));var a=0,o=t[0];while(n<e.length){if(o.indices[0]===(r?n:i)){var s=o.indices[1]-o.indices[0];if(o.indices[0]=r?i:n,o.indices[1]=o.indices[0]+s,a++,a===t.length)break;o=t[a]}var u=e.charCodeAt(n);u>=55296&&u<=56319&&n<e.length-1&&(u=e.charCodeAt(n+1),u>=56320&&u<=57343&&n++),i++,n++}}},It=Lt,Mt=function(e,t){It(e,t,!1)},Pt=function(e,t,r){if(t.user_mentions)for(var n=0;n<t.user_mentions.length;n++)t.user_mentions[n].screenName=t.user_mentions[n].screen_name;if(t.hashtags)for(n=0;n<t.hashtags.length;n++)t.hashtags[n].hashtag=t.hashtags[n].text;if(t.symbols)for(n=0;n<t.symbols.length;n++)t.symbols[n].cashtag=t.symbols[n].text;var i=[];for(var a in t)i=i.concat(t[a]);return Mt(e,i),Tt(e,i,r)},Nt={version1:{version:1,maxWeightedTweetLength:140,scale:1,defaultWeight:1,transformedURLLength:23,ranges:[]},version2:{version:2,maxWeightedTweetLength:280,scale:100,defaultWeight:200,transformedURLLength:23,ranges:[{start:0,end:4351,weight:100},{start:8192,end:8205,weight:100},{start:8208,end:8223,weight:100},{start:8242,end:8247,weight:100}]},version3:{version:3,maxWeightedTweetLength:280,scale:100,defaultWeight:200,emojiParsingEnabled:!0,transformedURLLength:23,ranges:[{start:0,end:4351,weight:100},{start:8192,end:8205,weight:100},{start:8208,end:8223,weight:100},{start:8242,end:8247,weight:100}]},defaults:{version:3,maxWeightedTweetLength:280,scale:100,defaultWeight:200,emojiParsingEnabled:!0,transformedURLLength:23,ranges:[{start:0,end:4351,weight:100},{start:8192,end:8205,weight:100},{start:8208,end:8223,weight:100},{start:8242,end:8247,weight:100}]}},jt=function(e,t,r){if(0!=t.length){var n=0,i=0;
1t.sort((function(e,t){return e.indices[0]-t.indices[0]}));var a=0,o=t[0];while(n<e.length){if(o.indices[0]==(r?n:i)){var s=o.indices[1]-o.indices[0];if(o.indices[0]=r?i:n,o.indices[1]=o.indices[0]+s,a++,a==t.length)break;o=t[a]}var u=e.charCodeAt(n);u>=55296&&u<=56319&&n<e.length-1&&(u=e.charCodeAt(n+1),u>=56320&&u<=57343&&n++),i++,n++}}},Gt=function(e){for(var t=[],r=f(e),n=0;n<r.length;n++)t.push(r[n].cashtag);return t},Ht=function(e){for(var t=[],r=Ve(e),n=0;n<r.length;n++)t.push(r[n].hashtag);return t},Wt=function(e){for(var t,r=[],n=at(e),i=0;i<n.length;i++)t=n[i],""===t.listSlug&&r.push({screenName:t.screenName,indices:t.indices});return r},qt=function(e){for(var t=[],r=Wt(e),n=0;n<r.length;n++){var i=r[n].screenName;t.push(i)}return t},Xt=s(/^(?:#{spaces})*#{atSigns}([a-zA-Z0-9_]{1,20})/,{atSigns:Qe,spaces:l}),Zt=Xt,$t=function(e){if(!e)return null;var t=e.match(Zt);return!t||RegExp.rightContext.match(et)?null:t[1]},Yt=function(e,t){for(var r=[],n=Ce(e,t),i=0;i<n.length;i++)r.push(n[i].url);return r},Vt=(r("96ff"),function(e,t){var r=t.defaultWeight,n=t.ranges,i=r,a=e.charCodeAt(0);if(Array.isArray(n))for(var o=0,s=n.length;o<s;o++){var u=n[o];if(a>=u.start&&a<=u.end){i=u.weight;break}}return i}),Kt=Vt,Qt=function(e,t){It(e,t,!0)},Jt=(r("1fe9"),r("9262"),r("67fe6"),r("a53d"),s(/[#{invalidCharsGroup}]/,{invalidCharsGroup:S})),er=Jt,tr=function(e){return er.test(e)},rr=r("43ad"),nr=/^https:\/\//i,ir=nr,ar=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nt.defaults,r=Object.keys(t).length?t:Nt.defaults,n=r.defaultWeight,i=r.emojiParsingEnabled,a=r.scale,o=r.maxWeightedTweetLength,s=r.transformedURLLength,u="function"===typeof String.prototype.normalize?e.normalize():e,c=or(Ce(u)),l=i?or(Object(rr["parse"])(u)):[],d=u.length,h=0,f=0,p=!0,g=0;g<d;g++){if(c[g]){var v=c[g],m=v.url;v.indices;h+=s*a,g+=m.length-1}else if(i&&l[g]){var b=l[g],y=b.text;b.indices;h+=n,g+=y.length-1}else g+=sr(u,g)?1:0,h+=Kt(u.charAt(g),r);p&&(p=!tr(u.substring(g,g+1))),p&&h<=o*a&&(f=g)}h/=a,p=p&&h>0&&h<=o;var D=Math.floor(h/o*1e3),w=e.length-u.length;return f+=w,{weightedLength:h,valid:p,permillage:D,validRangeStart:0,validRangeEnd:f,displayRangeStart:0,displayRangeEnd:e.length>0?e.length-1:0}},or=function(e){return e.reduce((function(e,t){return e[t.indices[0]]=t,e}),{})},sr=function(e,t){if(t<e.length-1){var r=e.charCodeAt(t),n=e.charCodeAt(t+1);return 55296<=r&&r<=56319&&56320<=n&&n<=57343}return!1},ur=ar,cr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nt.defaults;return ur(e,t).weightedLength},lr=cr,dr=function(e){return e.replace(Re," ").length},hr=function(e){for(var t,r,n=e.split("<"),i=[],a=0;a<n.length;a+=1)if(r=n[a],r){t=r.split(">");for(var o=0;o<t.length;o+=1)i.push(t[o])}else i.push("");return i},fr=function(e,t,r){var n="em";if(t=t||[],r=r||{},0===t.length)return e;var i,a,o,s,u,c,l,d=r.tag||n,h=["<".concat(d,">"),"</".concat(d,">")],f=hr(e),p="",g=0,v=f[0],m=0,b=0,y=!1,D=v,w=[];for(i=0;i<t.length;i+=1)for(a=0;a<t[i].length;a+=1)w.push(t[i][a]);for(o=0;o<w.length;o+=1){s=w[o],u=h[o%2],c=!1;while(null!=v&&s>=m+v.length)p+=D.slice(b),y&&s===m+D.length&&(p+=u,c=!0),f[g+1]&&(p+="<".concat(f[g+1],">")),m+=D.length,b=0,g+=2,v=f[g],D=v,y=!1;c||null==v?c||(c=!0,p+=u):(l=s-m,p+=D.slice(b,l)+u,b=l,y=o%2===0)}if(null!=v)for(b<D.length&&(p+=D.slice(b)),o=g+1;o<f.length;o+=1)p+=o%2===0?f[o]:"<".concat(f[o],">");return p},pr=(r("a500"),r("fc30"),r("f4b8"),r("b7d2"),r("a013"),r("b8d7"),r("9523")),gr=r.n(pr);function vr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vr(r,!0).forEach((function(t){gr()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vr(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var br=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nt.defaults;if(!e)return"empty";var r=mr({},Nt.defaults,{},t),n=r.maxWeightedTweetLength;return lr(e,r)>n?"too_long":!!tr(e)&&"invalid_characters"},yr=function(e){if(!e)return!1;var t=Ht(e);return 1===t.length&&t[0]===e.slice(1)},Dr=s(/^#{validMentionOrList}$/,{validMentionOrList:it}),wr=function(e){var t=e.match(Dr);return!(!t||""!=t[1]||!t[4])},xr=function(e,t){return!br(e,t)},Sr=/[a-z\u0400-\u04FF0-9\-._~]/i,Fr=Sr,Cr=/(?:%[0-9a-f]{2})/i,Er=Cr,kr=/[!$&'()*+,;=]/i,_r=kr,Ar=s("(?:#{validateUrlUnreserved}
1|#{validateUrlPctEncoded}|#{validateUrlSubDelims}|:)*",{validateUrlUnreserved:Fr,validateUrlPctEncoded:Er,validateUrlSubDelims:_r},"i"),Tr=Ar,Or=/(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?)/i,Rr=Or,Ur=/(?:[a-z](?:[a-z0-9\-]*[a-z0-9])?)/i,Br=Ur,zr=/(?:[a-z0-9](?:[a-z0-9_\-]*[a-z0-9])?)/i,Lr=zr,Ir=s(/(?:(?:#{validateUrlSubDomainSegment}\.)*(?:#{validateUrlDomainSegment}\.)#{validateUrlDomainTld})/i,{validateUrlSubDomainSegment:Lr,validateUrlDomainSegment:Rr,validateUrlDomainTld:Br}),Mr=Ir,Pr=/(?:[0-9]|(?:[1-9][0-9])|(?:1[0-9]{2})|(?:2[0-4][0-9])|(?:25[0-5]))/i,Nr=Pr,jr=s(/(?:#{validateUrlDecOctet}(?:\.#{validateUrlDecOctet}){3})/i,{validateUrlDecOctet:Nr}),Gr=jr,Hr=/(?:\[[a-f0-9:\.]+\])/i,Wr=Hr,qr=s("(?:#{validateUrlIpv4}|#{validateUrlIpv6})",{validateUrlIpv4:Gr,validateUrlIpv6:Wr},"i"),Xr=qr,Zr=s("(?:#{validateUrlIp}|#{validateUrlDomain})",{validateUrlIp:Xr,validateUrlDomain:Mr},"i"),$r=Zr,Yr=/[0-9]{1,5}/,Vr=Yr,Kr=s("(?:(#{validateUrlUserinfo})@)?(#{validateUrlHost})(?::(#{validateUrlPort}))?",{validateUrlUserinfo:Tr,validateUrlHost:$r,validateUrlPort:Vr},"i"),Qr=Kr,Jr=s("(?:#{validateUrlUnreserved}|#{validateUrlPctEncoded}
1|#{validateUrlSubDelims}|[:|@])",{validateUrlUnreserved:Fr,validateUrlPctEncoded:Er,validateUrlSubDelims:_r},"i"),en=Jr,tn=s(/(#{validateUrlPchar}|\/|\?)*/i,{validateUrlPchar:en}),rn=tn,nn=s(/(\/#{validateUrlPchar}*)*/i,{validateUrlPchar:en}),an=nn,on=s(/(#{validateUrlPchar}|\/|\?)*/i,{validateUrlPchar:en}),sn=on,un=/(?:[a-z][a-z0-9+\-.]*)/i,cn=un,ln=s("^(?:([^:/?#]+):\\/\\/)?([^/?#]*)([^?#]*)(?:\\?([^#]*))?(?:#(.*))?$","i"),dn=ln,hn=/(?:(?:[a-z0-9]|[^\u0000-\u007f])(?:(?:[a-z0-9_\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i,fn=hn,pn=/(?:(?:[a-z0-9]|[^\u0000-\u007f])(?:(?:[a-z0-9\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i,gn=pn,vn=/(?:(?:[a-z]|[^\u0000-\u007f])(?:(?:[a-z0-9\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i,mn=vn,bn=s(/(?:(?:#{validateUrlUnicodeSubDomainSegment}\.)*(?:#{validateUrlUnicodeDomainSegment}\.)#{validateUrlUnicodeDomainTld})/i,{validateUrlUnicodeSubDomainSegment:fn,validateUrlUnicodeDomainSegment:gn,validateUrlUnicodeDomainTld:mn}),yn=bn,Dn=s("(?:#{validateUrlIp}|#{validateUrlUnicodeDomain})",{validateUrlIp:Xr,validateUrlUnicodeDomain:yn},"i"),wn=Dn,xn=s("(?:(#{validateUrlUserinfo})@)?(#{validateUrlUnicodeHost})(?::(#{validateUrlPort}))?",{validateUrlUserinfo:Tr,validateUrlUnicodeHost:wn,validateUrlPort:Vr},"i"),Sn=xn;function Fn(e,t,r){return r?!e||e.match(t)&&RegExp["$&"]===e:"string"===typeof e&&e.match(t)&&RegExp["$&"]===e}var Cn=function(e,t,r){if(null==t&&(t=!0),null==r&&(r=!0),!e)return!1;var n=e.match(dn);if(!n||n[0]!==e)return!1;var i=n[1],a=n[2],o=n[3],s=n[4],u=n[5];return!!((!r||Fn(i,cn)&&i.match(/^https?$/i))&&Fn(o,an)&&Fn(s,sn,!0)&&Fn(u,rn,!0))&&(t&&Fn(a,Sn)||!t&&Fn(a,Qr))},En=function(e){if(!e)return!1;var t=qt(e);return 1===t.length&&t[0]===e.slice(1)},kn={astralLetterAndMarks:_e,astralNumerals:Le,atSigns:Qe,bmpLetterAndMarks:Te,bmpNumerals:Me,cashtag:i,codePoint:We,cyrillicLettersAndMarks:G,endHashtagMatch:m,endMentionMatch:et,extractUrl:oe,hashSigns:g,hashtagAlpha:Be,hashtagAlphaNumeric:Ge,hashtagBoundary:Xe,hashtagSpecialChars:Ne,invalidChars:er,invalidCharsGroup:S,invalidDomainChars:E,invalidUrlWithoutProtocolPrecedingChars:ue,latinAccentChars:W,nonBmpCodePairs:Re,punct:o,rtlChars:yt,spaces:l,spacesGroup:c,urlHasHttps:ir,urlHasProtocol:St,validAsciiDomain:he,validateUrlAuthority:Qr,validateUrlDecOctet:Nr,validateUrlDomain:Mr,validateUrlDomainSegment:Rr,validateUrlDomainTld:Br,validateUrlFragment:rn,validateUrlHost:$r,validateUrlIp:Xr,validateUrlIpv4:Gr,validateUrlIpv6:Wr,validateUrlPath:an,validateUrlPchar:en,validateUrlPctEncoded:Er,validateUrlPort:Vr,validateUrlQuery:sn,validateUrlScheme:cn,validateUrlSubDelims:_r,validateUrlSubDomainSegment:Lr,validateUrlUnencoded:dn,validateUrlUnicodeAuthority:Sn,validateUrlUnicodeDomain:yn,validateUrlUnicodeDomainSegment:gn,validateUrlUnicodeDomainTld:mn,validateUrlUnicodeHost:wn,validateUrlUnicodeSubDomainSegment:fn,validateUrlUnreserved:Fr,validateUrlUserinfo:Tr,validCashtag:h,validCCTLD:y,validDomain:M,validDomainChars:_,validDomainName:T,validGeneralUrlPathChars:X,validGTLD:R,validHashtag:$e,validMentionOrList:it,validMentionPrecedingChars:rt,validPortNumber:N,validPunycode:B,validReply:Zt,validSubdomain:L,validTcoUrl:be,validUrlBalancedParens:$,validUrlPath:Q,validUrlPathEndingChars:V,validUrlPrecedingChars:ee,validUrlQueryChars:re,validUrlQueryEndingChars:ie};r("57de"),r("b4b9");function _n(e,t,r){var n=dr(e),i=e.length-n;if(i>0){var a=Array.from(e),o=0===t?"":a.slice(0,t).join(""),s=a.slice(t,r).join("");return[o.length,o.length+s.length]}return[t,r]}t["a"]={autoLink:Ot,autoLinkCashtags:Rt,autoLinkEntities:Tt,autoLinkHashtags:Ut,autoLinkUrlsCustom:Bt,autoLinkUsernamesOrLists:zt,autoLinkWithJSON:Pt,configs:Nt,convertUnicodeIndices:jt,extractCashtags:Gt,extractCashtagsWithIndices:f,extractEntitiesWithIndices:ot,extractHashtags:Ht,extractHashtagsWithIndices:Ve,extractHtmlAttrsFromOptions:lt,extractMentions:qt,extractMentionsOrListsWithIndices:at,extractMentionsWithIndices:Wt,extractReplies:$t,extractUrls:Yt,extractUrlsWithIndices:Ce,getTweetLength:lr,getUnicodeTextLength:dr,hasInvalidCharacters:tr,hitHighlight:fr,htmlEscape:ht,isInvalidTweet:br,isValidHashtag:yr,isValidList:wr,isValidTweetText:xr,isValidUrl:Cn,isValidUsername:En,linkTextWithEntity:wt,linkToCashtag:mt,linkToHashtag:Dt,linkToMentionAndList:Ct,linkToText:gt,linkToTextWithSymbol:vt,linkToUrl:Ft,modifyIndicesFromUTF16ToUnicode:Qt,modifyIndicesFromUnicodeToUTF16:Mt,regexen:kn,removeOverlappingEntities:Ee,parseTweet:ur,splitTags:hr,standardizeIndices:_n,tagAttrs:pt}},fa21:function(e,t,r){var n=r("7530"),i=r("2dcb"),a=r("eac5");function o(e){return"function"!=typeof e.constructor||a(e)?{}:n(i(e))}e.exports=o},fba5:function(e,t,r){var n=r("cb5a");function i(e){return n(this.__data__,e)>-1}e.exports=i},fc30:function(e,t,r){var n=r("6f3b");
1n(n.S+n.F*!r("cdd8"),"Object",{defineProperties:r("38ed")})},fcea:function(e,t,r){var n=r("8f2c")("wks"),i=r("5e11"),a=r("c6bc").Symbol,o="function"==typeof a,s=e.exports=function(e){return n[e]||(n[e]=o&&a[e]||(o?a:i)("Symbol."+e))};s.store=n},ffa4:function(e,t,r){"use strict";var n=r("684d");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ffd6:function(e,t,r){var n=r("3729"),i=r("1310"),a="[object Symbol]";function o(e){return"symbol"==typeof e||i(e)&&n(e)==a}e.exports=o}}]);
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="83762e28-a652-53ce-82f5-87d0bc4ac17b")}catch(e){}}();
3//# sourceMappingURL=chunk-vendors~253ae210.08342eac22cde0ed0113.prod.1790220679234.js.map
4//# debugId=83762e28-a652-53ce-82f5-87d0bc4ac17b

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.