PageSourceSearch

https://indoorequal.org/preview.853f010f.js

js indoorequal.org collected 2026-10-02 06:30:29 UTC 196,384 bytes, 2 lines download raw bytes

1function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}var n=globalThis,r=n.parcelRequire94c2,i=r.register;i("aGwtm",function(t,n){e(t.exports,"fileFormats",()=>o),e(t.exports,"transform",()=>s);var i=r("720je"),a=r("5AeH1");let l=new Map([[r("8WnzC").transformOSMFile,{types:["application/vnd.openstreetmap.data+xml","application/xml"],ext:".osm"}],[i.transformGeoJSONFile,{types:["application/geo+json","application/json"],ext:".geojson"}],[a.transformIMDFFile,{types:["application/zip"],ext:".zip"}]]),o=[...l.values()].map(e=>e.ext);function s(e){return(function(e){for(let[t,n]of l)if(e.type){for(let r of n.types)if(e.type.startsWith(r))return t}else if(e.name.endsWith(n.ext))return t})(e)(e)}}),i("720je",function(t,n){e(t.exports,"readFileAsText",()=>h),e(t.exports,"transformGeoJSONFile",()=>c),e(t.exports,"transformGeoJSON",()=>f);var i=r("8Yc1C"),a=r("ifH1i"),l=r("2sK6q");function o(e){return e.split(";").flatMap(e=>{let t=e.match(/^(-?\d+)-(-?\d+)$/),n=e.match(/^(-?\d+\.?\d?)$/);if(t){let e=parseInt(t[1],10);return Array.from({length:parseInt(t[2],10)-e+1},(t,n)=>(e+n).toString())}if(n)return e}).filter(e=>e)}function s(e){return!!(0,l.poiClassAndSubclass)(e)}function u(e){let t;return(t=e.properties.repeat_on?o(e.properties.repeat_on):[],o(e.properties.level).concat(t)).map(t=>({...e,properties:{...e.properties,level:t}}))}function h(e){return new Promise((t,n)=>{let r=new FileReader;r.addEventListener("load",()=>{t(r.result)}),r.readAsText(e)})}async function c(e){return f(JSON.parse(await h(e)))}function f(e){let t=e.features.filter(e=>e.properties&&e.properties.level&&e.properties.level.match(/^-?\d+\.?\d*(;-?\d+\.?\d*)*$/)),n=t.filter(e=>["room","area","corridor","platform","wall","column"].includes(e.properties.indoor)).map(e=>({...e,properties:{...e.properties,class:e.properties.indoor,indoor:void 0,is_poi:s(e)}})).map(e=>["LineString","MultiLineString"].includes(e.geometry.type)&&"wall"!==e.properties.class?(0,i.lineToPolygon)(e):e).flatMap(u),r=t.filter(e=>"steps"===e.properties.highway).map(e=>({...e,properties:{...e.properties,class:e.properties.highway,highway:void 0}})).flatMap(u),o=t.filter(e=>s(e)).map((e,t)=>{let[n,r]=(0,l.poiClassAndSubclass)(e);return{...e,properties:{id:`poi_${t}`,...e.properties,class:n,subclass:r,"name:latin":e.properties.name}}}).map(e=>"Point"!==e.geometry.type?{...(0,a.centerOfMass)(e),properties:e.properties}:e).flatMap(u);return{area:{type:"FeatureCollection",features:n},area_name:{type:"FeatureCollection",features:n.filter(e=>!s(e))},transportation:{type:"FeatureCollection",features:r},poi:{type:"FeatureCollection",features:o}}}}),i("8Yc1C",function(t,n){e(t.exports,"lineToPolygon",()=>s);var i=r("5nw2g"),a=r("bbhjw"),l=r("gTp1X"),o=r("imCXT");function s(e,t={}){var n,r,i,h=t.properties,c=null==(n=t.autoComplete)||n,f=null==(r=t.orderCoords)||r;if(null!=(i=t.mutate)&&i||(e=(0,o.clone)(e)),"FeatureCollection"!==e.type)return u(e,h,c,f);var d=[];return e.features.forEach(function(e){d.push((0,a.getCoords)(u(e,{},c,f)))}),(0,l.multiPolygon)(d,h)}function u(e,t,n,r){t=t||("Feature"===e.type?e.properties:{});var o=(0,a.getGeom)(e),s=o.coordinates,u=o.type;if(!s.length)throw Error("line must contain coordinates");switch(u){case"LineString":return n&&(s=h(s)),(0,l.polygon)([s],t);case"MultiLineString":var c=[],f=0;return s.forEach(function(e){if(n&&(e=h(e)),r){var t,a,o,s=(a=(t=(0,i.bbox)((0,l.lineString)(e)))[0],o=t[1],Math.abs(a-t[2])*Math.abs(o-t[3]));s>f?(c.unshift(e),f=s):c.push(e)}else c.push(e)}),(0,l.polygon)(c,t);default:throw Error("geometry type "+u+" is not supported")}}function h(e){var t=e[0],n=t[0],r=t[1],i=e[e.length-1],a=i[0],l=i[1];return(n!==a||r!==l)&&e.push(t),e}}),i("bbhjw",function(t,n){function i(e){if(!e)throw Error("coord 
1is required");if(!Array.isArray(e)){if("Feature"===e.type&&null!==e.geometry&&"Point"===e.geometry.type)return[...e.geometry.coordinates];if("Point"===e.type)return[...e.coordinates]}if(Array.isArray(e)&&e.length>=2&&!Array.isArray(e[0])&&!Array.isArray(e[1]))return[...e];throw Error("coord must be GeoJSON Point or an Array of numbers")}function a(e){if(Array.isArray(e))return e;if("Feature"===e.type){if(null!==e.geometry)return e.geometry.coordinates}else if(e.coordinates)return e.coordinates;throw Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function l(e){return"Feature"===e.type?e.geometry:e}function o(e,t){return"FeatureCollection"===e.type?"FeatureCollection":"GeometryCollection"===e.type?"GeometryCollection":"Feature"===e.type&&null!==e.geometry?e.geometry.type:e.type}e(t.exports,"getCoord",()=>i),e(t.exports,"getCoords",()=>a),e(t.exports,"getGeom",()=>l),e(t.exports,"getType",()=>o),r("gTp1X")}),i("imCXT",function(t,n){function r(e){if(!e)throw Error("geojson is required");switch(e.type){case"Feature":return i(e);case"FeatureCollection":var t;let n;return n={type:"FeatureCollection"},Object.keys(t=e).forEach(e=>{switch(e){case"type":case"features":return;default:n[e]=t[e]}}),n.features=t.features.map(e=>i(e)),n;case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return a(e);default:throw Error("unknown GeoJSON type")}}function i(e){let t={type:"Feature"};return Object.keys(e).forEach(n=>{switch(n){case"type":case"properties":case"geometry":return;default:t[n]=e[n]}}),t.properties=function e(t){let n={};return t&&Object.keys(t).forEach(r=>{let i=t[r];"object"==typeof i?null===i?n[r]=null:Array.isArray(i)?n[r]=i.map(e=>e):n[r]=e(i):n[r]=i}),n}(e.properties),null==e.geometry?t.geometry=null:t.geometry=a(e.geometry),t}function a(e){let t={type:e.type};return(e.bbox&&(t.bbox=e.bbox),"GeometryCollection"===e.type)?t.geometries=e.geometries.map(e=>a(e)):t.coordinates=function e(t){return"object"!=typeof t[0]?t.slice():t.map(t=>e(t))}(e.coordinates),t}e(t.exports,"clone",()=>r)}),i("ifH1i",function(t,n){e(t.exports,"centerOfMass",()=>function e(t,n={}){switch((0,o.getType)(t)){case"Point":return(0,l.point)((0,o.getCoord)(t),n.properties);case"Polygon":var r,u,h,c,f,d,p,m,g=[];(0,s.coordEach)(t,function(e){g.push(e)});var y=(0,a.centroid)(t,{properties:n.properties}),b=y.geometry.coordinates,_=0,v=0,w=0,k=g.map(function(e){return[e[0]-b[0],e[1]-b[1]]});for(r=0;r<g.length-1;r++)c=(u=k[r])[0],d=u[1],f=(h=k[r+1])[0],w+=m=c*(p=h[1])-f*d,_+=(c+f)*m,v+=(d+p)*m;if(0===w)return y;var x=1/(.5*w*6);return(0,l.point)([b[0]+x*_,b[1]+x*v],n.properties);default:var E=(0,i.convex)(t);if(E)return e(E,{properties:n.properties});return(0,a.centroid)(t,{properties:n.properties})}});var i=r("kyd5c"),a=r("6DWqk"),l=r("gTp1X"),o=r("bbhjw"),s=r("46vlR")}),i("kyd5c",function(n,i){e(n.exports,"convex",()=>s);var a=r("gTp1X"),l=r("46vlR"),o=r("aTf05");function s(e,n={}){n.concavity=n.concavity||1/0;let r=[];if((0,l.coordEach)(e,e=>{r.push([e[0],e[1]])}),!r.length)return null;let i=(t(o))(r,n.concavity);return i.length>3?(0,a.polygon)([i],n.properties):null}}),i("aTf05",function(e,t){var n=r("lKqLV"),i=r("d6KvI"),a=r("aNI7I"),l=r("co64s").orient2d;function o(e,t,r){t=Math.max(0,void 0===t?2:t),r=r||0;var l=function(e){for(var t=e[0],n=e[0],r=e[0],i=e[0],l=0;l<e.length;l++){var o=e[l];o[0]<t[0]&&(t=o),o[0]>r[0]&&(r=o),o[1]<n[1]&&(n=o),o[1]>i[1]&&(i=o)}var s=[t,n,r,i],u=s.slice();for(l=0;l<e.length;l++)a(e[l],s)||u.push(e[l]);var h=u;h.sort(y);for(var f=[],d=0;d<h.length;d++){for(;f.length>=2&&0>=c(f[f.length-2],f[f.length-1],h[d]);)f.pop();f.push(h[d])}for(var p=[],m=h.length-1;m>=0;m--){for(;p.length>=2&&0>=c(p[p.length-2],p[p.length-1],h[m]);)p.pop();p.push(h[m])}return p.pop(),f.pop(),f.concat(p)}(e),o=new n(16);o.toBBox=function(e){return{minX:e[0],minY:e[1],maxX:e[0],maxY:e[1]}},o.compareMinX=function(e,t){return e[0]-t[0]},o.compareMinY=function(e,t){return e[1]-t[1]},o.load(e);for(var b,_=[],v=0;v<l.length;v++){var w=l[v];o.remove(w),b=d(w,b),_.push(b)}var k=new n(16);for(v=0;v<_.length;v++)k.insert(f(_[v]));for(var x=t*t,E=r*r;_.length;){var A=_.shift(),S=A.p,B=A.next.p,C=p(S,B);if(!(C<E)){var z=C/x;(w=function(e,t,n,r,a,l,o){for(var c=new i([],s),f=e.data;f;){for(var d=0;d<f.children.length;d++){var p=f.children[d],y=f.leaf?m(p,n,r):function(e,t,n){if(u(e,n)||u(t,n))return 0;var r=g(e[0],e[1],t[0],t[1],n.minX,n.minY,n.maxX,n.minY);if(0===r)return 0;var i=g(e[0],e[1],t[0],t[1],n.minX,n.minY,n.minX,n.maxY);if(0===i)return 0;var a=g(e[0],e[1],t[0],t[1],n.maxX,n.minY,n.maxX,n.maxY);if(0===a)return 0;var l=g(e[0],e[1],t[0],t[1],n.minX,n.maxY,n.maxX,n.maxY);return 0===l?0:Math.min(r,i,a,l)}(n,r,p);y>l||c.push({node:p,dist:y})}for(;c.length&&!c.peek().node.children;){var b=c.pop(),_=b.node,v=m(_,t,n),w=m(_,r,a);if(b.dist<v&&b.dist<w&&h(n,_,o)&&h(r,_,o))return _}(f=c.pop())&&(f=f.node)}return null}(o,A.prev.p,S,B,A.next.next.p,z,k))&&Math.min(p(w,S),p(w,B))<=z&&(_.push(A),_.push(d(w,A)),o.remove(w),k.remove(A),k.insert(f(A)),k.insert(f(A.next)))}}A=b;var I=[];do I.push(A.p),A=A.next;while(A!==b)return I.push(A.p),I}
1function s(e,t){return e.dist-t.dist}function u(e,t){return e[0]>=t.minX&&e[0]<=t.maxX&&e[1]>=t.minY&&e[1]<=t.maxY}function h(e,t,n){for(var r,i,a,l,o=Math.min(e[0],t[0]),s=Math.min(e[1],t[1]),u=Math.max(e[0],t[0]),h=Math.max(e[1],t[1]),f=n.search({minX:o,minY:s,maxX:u,maxY:h}),d=0;d<f.length;d++){if(r=f[d].p,i=f[d].next.p,a=e,r!==(l=t)&&i!==a&&c(r,i,a)>0!=c(r,i,l)>0&&c(a,l,r)>0!=c(a,l,i)>0)return!1}return!0}function c(e,t,n){return l(e[0],e[1],t[0],t[1],n[0],n[1])}function f(e){var t=e.p,n=e.next.p;return e.minX=Math.min(t[0],n[0]),e.minY=Math.min(t[1],n[1]),e.maxX=Math.max(t[0],n[0]),e.maxY=Math.max(t[1],n[1]),e}function d(e,t){var n={p:e,prev:null,next:null,minX:0,minY:0,maxX:0,maxY:0};return t?(n.next=t.next,n.prev=t,t.next.prev=n,t.next=n):(n.prev=n,n.next=n),n}function p(e,t){var n=e[0]-t[0],r=e[1]-t[1];return n*n+r*r}function m(e,t,n){var r=t[0],i=t[1],a=n[0]-r,l=n[1]-i;if(0!==a||0!==l){var o=((e[0]-r)*a+(e[1]-i)*l)/(a*a+l*l);o>1?(r=n[0],i=n[1]):o>0&&(r+=a*o,i+=l*o)}return(a=e[0]-r)*a+(l=e[1]-i)*l}function g(e,t,n,r,i,a,l,o){var s,u,h,c,f=n-e,d=r-t,p=l-i,m=o-a,g=e-i,y=t-a,b=f*f+d*d,_=f*p+d*m,v=p*p+m*m,w=f*g+d*y,k=p*g+m*y,x=b*v-_*_,E=x,A=x;0===x?(u=0,E=1,c=k,A=v):(u=_*k-v*w,c=b*k-_*w,u<0?(u=0,c=k,A=v):u>E&&(u=E,c=k+_,A=v)),c<0?(c=0,0>-w?u=0:-w>b?u=E:(u=-w,E=b)):c>A&&(c=A,-w+_<0?u=0:-w+_>b?u=E:(u=-w+_,E=b)),s=0===u?0:u/E;var S=(1-(h=0===c?0:c/A))*i+h*l-((1-s)*e+s*n),B=(1-h)*a+h*o-((1-s)*t+s*r);return S*S+B*B}function y(e,t){return e[0]===t[0]?e[1]-t[1]:e[0]-t[0]}i.default&&(i=i.default),e.exports=o,e.exports.default=o}),i("lKqLV",function(e,t){e.exports,e.exports=function(){function e(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function t(e,t){return e<t?-1:+(e>t)}var n=function(e){void 0===e&&(e=9),this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function r(e,t){i(e,0,e.children.length,t,e)}function i(e,t,n,r,i){i||(i=f(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var l=t;l<n;l++){var o=e.children[l];a(i,e.leaf?r(o):o)}return i}function a(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function o(e,t){return e.minY-t.minY}function s(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function u(e){return e.maxX-e.minX+(e.maxY-e.minY)}function h(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function c(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function f(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function d(n,r,i,a,l){for(var o=[r,i];o.length;)if(!((i=o.pop())-(r=o.pop())<=a)){var s=r+Math.ceil((i-r)/a/2)*a;(function t(n,r,i,a,l){for(;a>i;){if(a-i>600){var o=a-i+1,s=r-i+1,u=Math.log(o),h=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*h*(o-h)/o)*(s-o/2<0?-1:1),f=Math.max(i,Math.floor(r-s*h/o+c)),d=Math.min(a,Math.floor(r+(o-s)*h/o+c));t(n,r,f,d,l)}var p=n[r],m=i,g=a;for(e(n,i,r),l(n[a],p)>0&&e(n,i,a);m<g;){for(e(n,m,g),m++,g--;0>l(n[m],p);)m++;for(;l(n[g],p)>0;)g--}0===l(n[i],p)?e(n,i,g):e(n,++g,a),g<=r&&(i=g+1),r<=g&&(a=g-1)}})(n,s,r||0,i||n.length-1,l||t),o.push(r,s,s,i)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(e){var t=this.data,n=[];if(!c(e,t))return n;for(var r=this.toBBox,i=[];t;){for(var a=0;a<t.children.length;a++){var l=t.children[a],o=t.leaf?r(l):l;c(e,o)&&(t.leaf?n.push(l):h(e,o)?this._all(l,n):i.push(l))}t=i.pop()}return n},n.prototype.collides=function(e){var t=this.data;if(!c(e,t))return!1;for(var n=[];t;){for(var r=0;r<t.children.length;r++){var i=t.children[r],a=t.leaf?this.toBBox(i):i;if(c(e,a)){if(t.leaf||h(e,a))return!0;n.push(i)}}t=n.pop()}return!1},n.prototype.load=function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0;t<e.length;t++)this.insert(e[t]);return this}var n=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var r=this.data;this.data=n,n=r}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},n.prototype.insert=function(e){return e&&this._insert(e,this.data.height-1),this},n.prototype.clear=function(){return this.data=f([]),this},n.prototype.remove=function(e,t){if(!e)return this;for(var n,r,i,a=this.data,l=this.toBBox(e),o=[],s=[];a||o.length;){if(a||(a=o.pop(),r=o[o.length-1],n=s.pop(),i=!0),a.leaf){var u=function(e,t,n){if(!n)return t.indexOf(e);for(var r=0;r<t.length;r++)if(n(e,t[r]))return r;return -1}(e,a.children,t);
1if(-1!==u)return a.children.splice(u,1),o.push(a),this._condense(o),this}i||a.leaf||!h(a,l)?r?(n++,a=r.children[n],i=!1):a=null:(o.push(a),s.push(n),n=0,r=a,a=a.children[0])}return this},n.prototype.toBBox=function(e){return e},n.prototype.compareMinX=function(e,t){return e.minX-t.minX},n.prototype.compareMinY=function(e,t){return e.minY-t.minY},n.prototype.toJSON=function(){return this.data},n.prototype.fromJSON=function(e){return this.data=e,this},n.prototype._all=function(e,t){for(var n=[];e;)e.leaf?t.push.apply(t,e.children):n.push.apply(n,e.children),e=n.pop();return t},n.prototype._build=function(e,t,n,i){var a,l=n-t+1,o=this._maxEntries;if(l<=o)return r(a=f(e.slice(t,n+1)),this.toBBox),a;i||(i=Math.ceil(Math.log(l)/Math.log(o)),o=Math.ceil(l/Math.pow(o,i-1))),(a=f([])).leaf=!1,a.height=i;var s=Math.ceil(l/o),u=s*Math.ceil(Math.sqrt(o));d(e,t,n,u,this.compareMinX);for(var h=t;h<=n;h+=u){var c=Math.min(h+u-1,n);d(e,h,c,s,this.compareMinY);for(var p=h;p<=c;p+=s){var m=Math.min(p+s-1,c);a.children.push(this._build(e,p,m,i-1))}}return r(a,this.toBBox),a},n.prototype._chooseSubtree=function(e,t,n,r){for(;r.push(t),!t.leaf&&r.length-1!==n;){for(var i=1/0,a=1/0,l=void 0,o=0;o<t.children.length;o++){var u=t.children[o],h=s(u),c=(Math.max(u.maxX,e.maxX)-Math.min(u.minX,e.minX))*(Math.max(u.maxY,e.maxY)-Math.min(u.minY,e.minY))-h;c<a?(a=c,i=h<i?h:i,l=u):c===a&&h<i&&(i=h,l=u)}t=l||t.children[0]}return t},n.prototype._insert=function(e,t,n){var r=n?e:this.toBBox(e),i=[],l=this._chooseSubtree(r,this.data,t,i);for(l.children.push(e),a(l,r);t>=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(r,i,t)},n.prototype._split=function(e,t){var n=e[t],i=n.children.length,a=this._minEntries;this._chooseSplitAxis(n,a,i);var l=this._chooseSplitIndex(n,a,i),o=f(n.children.splice(l,n.children.length-l));o.height=n.height,o.leaf=n.leaf,r(n,this.toBBox),r(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(n,o)},n.prototype._splitRoot=function(e,t){this.data=f([e,t]),this.data.height=e.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(e,t,n){for(var r,a,l,o,u,h=1/0,c=1/0,f=t;f<=n-t;f++){var d=i(e,0,f,this.toBBox),p=i(e,f,n,this.toBBox),m=(a=void 0,l=void 0,a=Math.max(d.minX,p.minX),l=Math.max(d.minY,p.minY),Math.max(0,(o=Math.min(d.maxX,p.maxX))-a)*Math.max(0,Math.min(d.maxY,p.maxY)-l)),g=s(d)+s(p);m<h?(h=m,r=f,c=g<c?g:c):m===h&&g<c&&(c=g,r=f)}return r||n-t},n.prototype._chooseSplitAxis=function(e,t,n){var r=e.leaf?this.compareMinX:l,i=e.leaf?this.compareMinY:o;this._allDistMargin(e,t,n,r)<this._allDistMargin(e,t,n,i)&&e.children.sort(r)},n.prototype._allDistMargin=function(e,t,n,r){e.children.sort(r);for(var l=this.toBBox,o=i(e,0,t,l),s=i(e,n-t,n,l),h=u(o)+u(s),c=t;c<n-t;c++){var f=e.children[c];a(o,e.leaf?l(f):f),h+=u(o)}for(var d=n-t-1;d>=t;d--){var p=e.children[d];a(s,e.leaf?l(p):p),h+=u(s)}return h},n.prototype._adjustParentBBoxes=function(e,t,n){for(var r=n;r>=0;r--)a(t[r],e)},n.prototype._condense=function(e){for(var t=e.length-1,n=void 0;t>=0;t--)0===e[t].children.length?t>0?(n=e[t-1].children).splice(n.indexOf(e[t]),1):this.clear():r(e[t],this.toBBox)},n}()}),i("d6KvI",function(t,n){Object.defineProperty(t.exports,"__esModule",{value:!0,configurable:!0}),e(t.exports,"default",()=>r);class r{constructor(e=[],t=i){if(this.data=e,this.length=this.data.length,this.compare=t,this.length>0)for(let e=(this.length>>1)-1;e>=0;e--)this._down(e)}push(e){this.data.push(e),this.length++,this._up(this.length-1)}pop(){if(0===this.length)return;let e=this.data[0],t=this.data.pop();return this.length--,this.length>0&&(this.data[0]=t,this._down(0)),e}peek(){return this.data[0]}_up(e){let{data:t,compare:n}=this,r=t[e];for(;e>0;){let i=e-1>>1,a=t[i];if(n(r,a)>=0)break;t[e]=a,e=i}t[e]=r}_down(e){let{data:t,compare:n}=this,r=this.length>>1,i=t[e];for(;e<r;){let r=(e<<1)+1,a=t[r],l=r+1;if(l<this.length&&0>n(t[l],a)&&(r=l,a=t[l]),n(a,i)>=0)break;t[e]=a,e=r}t[e]=i}}function i(e,t){return e<t?-1:+(e>t)}}),i("aNI7I",function(e,t){var n=r("a2Nce"),i=r("fN2TF");e.exports=function(e,t,r,a){return t.length>0&&Array.isArray(t[0])?i(e,t,r,a):n(e,t,r,a)},e.exports.nested=i,e.exports.flat=n}),i("a2Nce",function(e,t){e.exports=function(e,t,n,r){var i=e[0],a=e[1],l=!1;void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=(r-n)/2,s=0,u=o-1;s<o;u=s++){var h=t[n+2*s+0],c=t[n+2*s+1],f=t[n+2*u+0],d=t[n+2*u+1];c>a!=d>a&&i<(f-h)*(a-c)/(d-c)+h&&(l=!l)}return l}}),i("fN2TF",function(e,t){e.exports=function(e,t,n,r){var i=e[0],a=e[1],l=!1;void 0===n&&(n=0),void 0===r&&(r=t.length);for(var o=r-n,s=0,u=o-1;s<o;u=s++){var h=t[s+n][0],c=t[s+n][1],f=t[u+n][0],d=t[u+n][1];c>a!=d>a&&i<(f-h)*(a-c)/(d-c)+h&&(l=!l)}return l}}),i("co64s",function(e,t){e.exports,function(e){function t(e,t,n,r,i){let a,l,o,s,u=t[0],h=r[0],c=0,f=0;h>u==h>-u?(a=u,u=t[++c]):(a=h,h=r[++f]);let d=0;if(c<e&&f<n)for(h>u==h>-u?(o=a-((l=u+a)-u),u=t[++c]):(o=a-((l=h+a)-h),h=r[++f]),a=l,0!==o&&(i[d++]=o);c<e&&f<n;)h>u==h>-u?(o=a-((l=a+u)-(s=l-a))+(u-s),u=t[++c]):(o=a-((l=a+h)-(s=l-a))+(h-s),h=r[++f]),a=l,0!==o&&(i[d++]=o);for(;c<e;)o=a-((l=a+u)-(s=l-a))+(u-s),u=t[++c],a=l,0!==o&&(i[d++]=o);for(;f<n;)o=a-((l=a+h)-(s=l-a))+(h-s),h=r[++f],a=l,0!==o&&(i[d++]=o);return 0===a&&0!==d||(i[d++]=a),d}function n(e){return new Float64Array(e)}let r=n(4),i=n(8),a=n(12),l=n(16),o=n(4);e.orient2d=function(e,n,s,u,h,c){let f=(n-c)*(s-h),d=(e-h)*(u-c),p=f-d;if(0===f||0===d||f>0!=d>0)return p;let m=Math.abs(f+d);return Math.abs(p)>=33306690738754716e-32*m?p:-function(e,n,s,u,h,c,f){let d,p,m,g,y,b,_,v,w,k,x,E,A,S,B,C,z,I,O=e-h,T=s-h,R=n-c,F=u-c;y=(B=(v=O-(_=(b=0x8000001*O)-(b-O)))*(k=F-(w=(b=0x8000001*F)-(b-F)))-((S=O*F)-_*w-v*w-_*k))-(x=B-(z=(v=R-(_=(b=0x8000001*R)-(b-R)))*(k=T-(w=(b=0x8000001*T)-(b-T)))-((C=R*T)-_*w-v*w-_*k))),r[0]=B-(x+y)+(y-z),y=(A=S-((E=S+x)-(y=E-S))+(x-y))-(x=A-C),r[1]=A-(x+y)+(y-C),y=(I=E+x)-E,r[2]=E-(I-y)+(x-y),r[3]=I;let j=function(e){let t=e[0];for(let n=1;n<4;n++)t+=e[n];return t}(r),L=22204460492503146e-32*f;if(j>=L||-j>=L||(d=e-(O+(y=e-O))+(y-h),m=s-(T+(y=s-T))+(y-h),p=n-(R+(y=n-R))+(y-c),g=u-(F+(y=u-F))+(y-c),0===d&&0===p&&0===m&&0===g)||(L=11093356479670487e-47*f+33306690738754706e-32*Math.abs(j),(j+=O*g+F*d-(R*m+T*p))>=L||-j>=L))return j;y=(B=(v=d-(_=(b=0x8000001*d)-(b-d)))*(k=F-(w=(b=0x8000001*F)-(b-F)))-((S=d*F)-_*w-v*w-_*k))-(x=B-(z=(v=p-(_=(b=0x8000001*p)-(b-p)))*(k=T-(w=(b=0x8000001*T)-(b-T)))-((C=p*T)-_*w-v*w-_*k))),o[0]=B-(x+y)+(y-z),y=(A=S-((E=S+x)-(y=E-S))+(x-y))-(x=A-C),o[1]=A-(x+y)+(y-C),y=(I=E+x)-E,o[2]=E-(I-y)+(x-y),o[3]=I;let U=t(4,r,4,o,i);y=(B=(v=O-(_=(b=0x8000001*O)-(b-O)))*(k=g-(w=(b=0x8000001*g)-(b-g)))-((S=O*g)-_*w-v*w-_*k))-(x=B-(z=(v=R-(_=(b=0x8000001*R)-(b-R)))*(k=m-(w=(b=0x8000001*m)-(b-m)))-((C=R*m)-_*w-v*w-_*k))),o[0]=B-(x+y)+(y-z),y=(A=S-((E=S+x)-(y=E-S))+(x-y))-(x=A-C),o[1]=A-(x+y)+(y-C),y=(I=E+x)-E,o[2]=E-(I-y)+(x-y),o[3]=I;let M=t(U,i,4,o,a);y=(B=(v=d-(_=(b=0x8000001*d)-(b-d)))*(k=g-(w=(b=0x8000001*g)-(b-g)))-((S=d*g)-_*w-v*w-_*k))-(x=B-(z=(v=p-(_=(b=0x8000001*p)-(b-p)))*(k=m-(w=(b=0x8000001*m)-(b-m)))-((C=p*m)-_*w-v*w-_*k))),o[0]=B-(x+y)+(y-z),y=(A=S-((E=S+x)-(y=E-S))+(x-y))-(x=A-C),o[1]=A-(x+y)+(y-C),y=(I=E+x)-E,o[2]=E-(I-y)+(x-y),o[3]=I;let P=t(M,a,4,o,l);return l[P-1]}(e,n,s,u,h,c,m)},e.orient2dfast=function(e,t,n,r,i,a){return(t-a)*(n-i)-(e-i)*(r-a)}
1,Object.defineProperty(e,"__esModule",{value:!0})}(e.exports)}),i("6DWqk",function(t,n){e(t.exports,"centroid",()=>l);var i=r("gTp1X"),a=r("46vlR");function l(e,t={}){let n=0,r=0,o=0;return(0,a.coordEach)(e,function(e){n+=e[0],r+=e[1],o++},!0),(0,i.point)([n/o,r/o],t.properties)}}),i("2sK6q",function(n,i){e(n.exports,"poiClassAndSubclass",()=>l);var a=r("6rHYV");function l(e){let n=Object.entries(e.properties).find(([e,n])=>(t(a))[e]&&(t(a))[e].includes(n));if(n){var r,i,l,o;let t,[a,s]=n;return[(r=s,i=a,["accessories","antiques","beauty","bed","boutique","camera","carpet","charity","chemist","coffee","computer","convenience","copyshop","cosmetics","garden_centre","doityourself","erotic","electronics","fabric","florist","frozen_food","furniture","video_games","video","general","gift","hardware","hearing_aids","hifi","ice_cream","interior_decoration","jewelry","kiosk","lamps","mall","massage","motorcycle","mobile_phone","newsagent","optician","outdoor","perfumery","perfume","pet","photo","second_hand","shoes","sports","stationery","tailor","tattoo","ticket","tobacco","toys","travel_agency","watches","weapons","wholesale","locksmith","tea","frame","ticket","kitchen","houseware","fashion_accessories","variety_store"].includes(r)?"shop":["townhall","public_building","courthouse","community_centre"].includes(r)?"town_hall":["golf","golf_course","miniature_golf"].includes(r)?"golf":["fast_food","food_court"].includes(r)?"fast_food":["park","bbq"].includes(r)?r:["bus_stop","bus_station"].includes(r)?"bus":"station"===r&&"railway"===mapping_key||["halt","tram_stop","subway"].includes(r)?"railway":["subway_entrance","train_station_entrance"].includes(r)?"entrance":["camp_site","caravan_site"].includes(r)?"campsite":["laundry","dry_cleaning"].includes(r)?"laundry":["greengrocer"].includes(r)?"greengrocer":["supermarket","deli","delicatessen","department_store","marketplace","seafood","cheese"].includes(r)?"grocery":["books","library"].includes(r)?"library":["university","college"].includes(r)?"college":["hotel","motel","bed_and_breakfast","guest_house","hostel","chalet","alpine_hut","dormitory"].includes(r)?"lodging":["chocolate","confectionery"].includes(r)?"pastry":["post_box","post_office"].includes(r)?"post":["cafe"].includes(r)?"cafe":["school","kindergarten"].includes(r)?"school":["alcohol","beverages","wine"].includes(r)?"alcohol_shop":["bar","nightclub"].includes(r)?"bar":["marina","dock"].includes(r)?"harbor":["car","car_repair","taxi"].includes(r)?"car":["hospital","nursing_home","clinic"].includes(r)?"hospital":["grave_yard","cemetery"].includes(r)?"cemetery":["attraction","viewpoint"].includes(r)?"attraction":["biergarten","pub"].includes(r)?"beer":["music","musical_instrument"].includes(r)?"music":["american_football","stadium","soccer"].includes(r)?"stadium":["art","artwork","gallery","arts_centre"].includes(r)?"art_gallery":["bag","clothes","leather"].includes(r)?"clothing_store":["swimming_area","swimming"].includes(r)?"swimming":["castle","ruins"].includes(r)?"castle":["bank","bureau_de_change","atm"].includes(r)?"bank":["door","entrance"].includes(i)?"entrance":["exhibit"].includes(i)?"exhibit":["craft"].includes(i)?"craft":r),(l=e,(t={information:"information",place_of_worship:"religion",pitch:"sport",vending_machine:"vending"})[o=s]?l.properties[t[o]]:o)]}return null}}),i("6rHYV",function(e,t){e.exports=JSON.parse('{"aerialway":["station"],"aeroway":["gate"],"amenity":["ticket_validator","photo_booth","bench","atm","car_rental","piano","bureau_de_change","vending_machine","arts_centre","bank","bar","bbq","bicycle_parking","bicycle_rental","biergarten","bus_station","cafe","cinema","clinic","college","community_centre","courthouse","dentist","doctors","embassy","fast_food","ferry_terminal","fire_station","food_court","fuel","grave_yard","hospital","ice_cream","kindergarten","library","marketplace","motorcycle_parking","nightclub","nursing_home","parking","pharmacy","place_of_worship","police","post_box","post_office","prison","pub","public_building","recycling","restaurant","school","shelter","swimming_pool","taxi","telephone","theatre","toilets","townhall","university","veterinary","waste_basket"],"barrier":["bollard","border_control","cycle_barrier","gate","lift_gate","sally_port","stile","toll_booth"],"craft":["caterer","shoemaker","tailor","brewery","confectionery","dressmaker","electronics_repair"],"door":["yes","no","hinged","sliding","overhead"],"emergency":["defibrillator","phone","fire_extinguisher"],"entrance":["yes","main","staircase","home","service","emergency","exit","shop","building"],"exhibit":["artwork","history"],"highway":["elevator"],"landuse":["basin","brownfield","cemetery","reservoir","winter_sports"],"leisure":["dog_park","escape_game","garden","golf_course","ice_r
1ink","hackerspace","marina","miniature_golf","park","pitch","playground","sports_centre","stadium","swimming_area","swimming_pool","water_park"],"office":["government"],"railway":["halt","station","subway_entrance","train_station_entrance","tram_stop"],"shop":["leather","variety_store","fashion_accessories","houseware","seafood","pastry","cheese","kitchen","ticket","frame","tea","locksmith","accessories","alcohol","antiques","art","bag","bakery","beauty","bed","beverages","bicycle","books","boutique","butcher","camera","car","car_repair","car_parts","carpet","charity","chemist","chocolate","clothes","coffee","computer","confectionery","convenience","copyshop","cosmetics","deli","delicatessen","department_store","doityourself","dry_cleaning","electronics","erotic","fabric","florist","frozen_food","furniture","garden_centre","general","gift","greengrocer","hairdresser","hardware","hearing_aids","hifi","ice_cream","interior_decoration","jewelry","kiosk","lamps","laundry","mall","massage","mobile_phone","motorcycle","music","musical_instrument","newsagent","optician","outdoor","perfume","perfumery","pet","photo","second_hand","shoes","sports","stationery","supermarket","tailor","tattoo","ticket","tobacco","toys","travel_agency","video","video_games","watches","weapons","wholesale","wine"],"sport":["american_football","archery","athletics","australian_football","badminton","baseball","basketball","beachvolleyball","billiards","bmx","boules","bowls","boxing","canadian_football","canoe","chess","climbing","climbing_adventure","cricket","cricket_nets","croquet","curling","cycling","disc_golf","diving","dog_racing","equestrian","fatsal","field_hockey","free_flying","gaelic_games","golf","gymnastics","handball","hockey","horse_racing","horseshoes","ice_hockey","ice_stock","judo","karting","korfball","long_jump","model_aerodrome","motocross","motor","multi","netball","orienteering","paddle_tennis","paintball","paragliding","pelota","racquet","rc_car","rowing","rugby","rugby_league","rugby_union","running","sailing","scuba_diving","shooting","shooting_range","skateboard","skating","skiing","soccer","surfing","swimming","table_soccer","table_tennis","team_handball","tennis","toboggan","volleyball","water_ski","yoga"],"tourism":["alpine_hut","aquarium","artwork","attraction","bed_and_breakfast","camp_site","caravan_site","chalet","gallery","guest_house","hostel","hotel","information","motel","museum","picnic_site","theme_park","viewpoint","zoo"]}')}),i("5AeH1",function(n,i){e(n.exports,"transformIMDFFile",()=>d);var a=r("4rsKR"),l=r("ifH1i"),o=r("fxsdn"),s=r("2sK6q");let u={brick:"column",column:"column",concrete:"column",structure:"column",unenclosedarea:"area",walkway:"corridor"},h={"3dprinting":null,acai:null,accessories:{shop:"accessories"},accounting:null,acnetreatment:null,acupuncture:null,adoptionservices:null,adulteducation:null,adultentertainment:null,adultstore:null,advertising:null,advisoryservices:null,afghani:null,african:null,agritourism:null,airfield:null,airline:null,"airport.regional":null,airportloungebar:null,airportshuttle:null,airsoft:null,allergies:null,alternativemedicine:null,"american.modern":null,amusementpark:null,"amusementpark.ride":null,animalshelter:null,antiques:null,apmstop:null,appliances:null,arabian:null,"arabian.pizza":null,arcade:null,archery:null,architecture:null,argentine:null,armenian:null,artgallery:null,artinstruction:null,"arts.entertainment":null,artsandcrafts:null,artschool:null,artstudio:null,"artstudio.rental":null,artsupplies:null,asianfusion:null,astrologist:null,asturian:null,atm:null,"atm.cryptocurrency":null,audiovideoequipment:null,auditory:null,australian:null,"australian.modern":null,austrian:null,"austrian.schnitzel":null,"auto.accessibilityequipment":null,"auto.bodyshop":null,"auto.carbuyer":null,"auto.carshare":null,"auto.carwash":null,"auto.dealer.boat":null,"auto.dealer.car":null,"auto.dealer.motorcycle":null,"auto.dealer.rv":null,"auto.dentrepair.mobile":null,"auto.detailing":null,"auto.electric":null,"auto.evcharge":null,"auto.evcharge.dcfast":null,"auto.evcharge.tesla":null,"auto.glass":null,"auto.oilchange":null,"auto.parts":null,"auto.repair":null,"auto.repair.transmission":null,"auto.repair.wheelrim":null,"auto.repair.windshield":null,"auto.servicestation":null,"auto.shipping":null,"auto.stereoinstallation":null,"auto.tires":null,"auto.upholstery":null,automotive:null,autopartssupplies:null,babyclothesandsupplies:null,bagels:null,bakedgoods:null,ballonservices:null,bangladeshi:null,bank:null,bar:null,barbecue:null,barber:null,barfood:null,barreclass:null,baseballfield:null,bathingarea:null,batteries:null,battingcages:null,beach:null,beautysalon:null,beautyspas:null,bedbreakfast:null,beerbar:null,beergarden:null,beerhall:null,beerwineandspirits:null,beerwinespirits:null,beisl:null,belgian:null,"belgian.flemish":null,bengali:null,beveragestore:null,"bicycle.repair":null,bicyclerental:null,bicycleshop:null,bikesandequipment:null,billingservices:null,bingo:null,biryani:null,bistro:null,blacksea:null,blinds:null,blooddonation:null,blooddonationcenter:null,bodycontouring:null,bodypiercing:null,books:null,booksmagazinesmusicvideo:null,botanicalgarden:null,bowlingalley:null,boxing:null,brazilian:null,"brazilian.centralbrazil":null,"brazilian.empanadas":null,"brazilian.northeasternbrazil":null,"brazilian.northernbrazil":null,breakfastandbrunch:null,brewery:null,brewpub:null,bridalstore:null,british:null,bubbletea:null,buffet:null,buildingsupplies:null,bulgarian:null,bulkmedicalbilling:null,bungeejumping:null,burgers:null,burmese:null,businesscampus:null,businessconsulting:null,busrental:null,busstop:null,butcher:null,cabinets:null,cafe:null,cafeteria:null,cajun:null,cakes:null,calligraphy:null,cambodian:null,"canadian.modern":null,candy:null,"candy.dagashi":null,cannabisdispensary:null,canteen:null,cardioclasses:null,cardiology:null,"cards.stationery":null,careercounseling:null,caribbean:null,caricaturist:null,carouselride:null,carpet:null,carrental:{amenity:"car_rental"},catering:null,cellphoneaccessories:null,challengecourse:null,champagnebar:null,cheese:null,cheesesteaks:null,chickenshop:null,chickenwings:null,childbirthschool:null,childcare:null,chilean:null,chimneycake
1s:null,chinese:null,"chinese.cantonese":null,"chinese.dimsum":null,"chinese.fuzhou":null,"chinese.hainan":null,"chinese.hakka":null,"chinese.henghwa":null,"chinese.hokkien":null,"chinese.hunan":null,"chinese.pekinese":null,"chinese.shanghainese":null,"chinese.szechuan":null,"chinese.teochew":null,chinesebazaar:null,chiropractic:null,chocolate:null,christmastrees:null,churros:null,cider:null,cigarbar:null,cinema:null,cityhall:null,climbing:null,clinic:null,clockrepair:null,clothing:{shop:"clothes"},"clothing.bespoke":{shop:"clothes"},"clothing.childrens":{shop:"clothes"},"clothing.mens":{shop:"clothes"},"clothing.plussize":{shop:"clothes"},"clothing.womens":{shop:"clothes"},cocktailbar:null,coffee:{shop:"coffee"},"coffee.tea":{shop:"coffee"},coffeeroaster:null,coffeeteasupplies:null,coincashingkiosk:null,college:null,colombian:null,comedyclub:null,comfortfood:null,comicbooks:null,commercialrealestate:null,commissionedartists:null,communitybookbox:null,communitycenter:null,computersandaccessories:null,conceptshop:null,concourse:null,condominium:null,congee:null,constructionequipmentrental:null,contractors:null,conveniencestore:{shop:"convenience"},conveyorsushi:null,"cooking.instruction":null,cookingschool:null,copyshop:{shop:"copyshop"},corporateheadquarters:null,corporateoffices:null,corsican:null,cosmetics:null,cosmeticsurgery:null,cosmetologyschool:null,costumes:null,countertopinstallation:null,countryclub:null,courier:null,crepes:null,cryotherapy:null,cuban:null,culturalcenter:null,cupcakes:null,currencyexchange:null,customcakes:null,custommerchandise:null,cyclingclass:null,cypriot:null,czech:null,danceclub:null,danceschool:null,dancestudio:null,dancewear:null,danish:null,datarecovery:null,dayspa:null,"dealer.usedvehicle":null,delicatessen:null,"delicatessen.sandwiches":null,dentalhygiene:null,dentistry:null,"dentistry.cosmetic":null,"dentistry.general":null,"dentistry.pediatric":null,departmentstore:null,deptartmentstore:null,dermatology:null,desserts:null,diagnosticimaging:null,diagnosticservices:null,dialysis:null,dietician:null,digitizingservices:null,diner:null,dinnertheater:null,discountstore:null,distillery:null,divebar:null,diyfood:null,dmv:null,dominican:null,donair:null,donationcenter:null,donuts:null,doorsalesandinstallation:null,drivingrange:null,drivingschool:null,drycleaning:null,drycleaninglaundry:null,dumplings:null,dumpsterrental:null,dutyfree:null,earnosethroat:null,easterneuropean:null,eatertainment:null,editorialservices:null,education:null,educationservices:null,egyptian:null,electricians:null,electronicappliances:null,electronicparts:null,electronicsrepair:null,elementaryschool:null,embroiderycrochet:null,emergencymedicine:null,emissionstesting:null,empanadas:null,employmentagency:null,endodontics:null,engraving:null,escapegame:null,ethiopian:null,ethnicgrocerystore:null,"european.modern":null,eventplanning:null,eventspace:null,experiences:null,eyelashes:null,"eyewear.opticians":null,fabricstore:null,fairground:null,falafel:null,familyfriendly:null,familyfuncenter:null,familymedicine:null,familyplanning:null,familyrestaurant:null,farm:null,farmersmarket:null,fashion:null,fashionaccessories:null,fastfood:{amenity:"fastfood"},fencing:null,fengshui:null,ferry:null,fieldofplay:null,filipino:null,financialservices:null,fingerprinting:null,firearmstrainingschool:null,fish:null,fishandchips:null,fitnessbootcamp:null,fitnessequipment:null,fitnessinstruction:null,fixedbaseoperator:null,flatbread:null,flightinstructionschool:null,floatspa:null,flooringinstallationandrepair:null,floraldesign:null,florist:null,florists:null,flowers:null,fondue:null,foodcourt:null,fooddelivery:null,foodstand:null,foodtruck:null,formalwear:null,"formalwear.rental":null,freiduria:null,french:null,"french.alsatian":null,"french.auvergnat":null,"french.baguette":null,"french.berrichon":null,"french.bourguignon":null,"french.brasserie":null,"french.lyonnais":null,"french.nicois":null,"french.provencal":null,friterie:null,frozenfoods:null,fruitandvegetables:null,fuelstation:null,funeralservices:null,furclothing:null,furniture:{shop:"furniture"},"furniture.rental":null,furniturestore:{shop:"furniture"},gardening:null,gastroenterology:null,gastropubs:null,gelato:null,georgian:null,german:null,"german.baden":null,"german.bavarian":null,"german.currysausage":null,"german.easterngerman":null,"german.fischbroetchen":null,"german.franconian":null,"german.hessian":null,"german.heuriger":null,"german.northerngerman":null,"german.palatine":null,"german.rhinelandian":null,"german.swabian":null,giblets:null,giftshops:null,glutenfree:null,gokarting:null,goldmerchants:null,golf:null,"golf.instruction":null,golfequipment:null,golfshop:null,gourmetfood:null,gourmetmarket:null,graphicaldesign:null,greek:null,grillingequipment:null,grocery:null,"grocery.asian":null,"grocery.chinese":null,"grocery.indian":null,"grocery.japanese":null,"grocery.korean":null,"grocery.persian":null,grocerystore:null,guitarstore:null,gunrange:null,gunsandammo:null,gym:null,gymnastics:null,hairblowout:null,hair
1cutsstyling:null,"haircutsstyling.mens":null,hairextensions:null,hairloss:null,hairremoval:null,"hairremoval.laser":null,"hairremoval.threading":null,"hairremoval.waxing":null,hairstylist:null,haitian:null,halal:null,hardware:null,hats:null,hauntedhouse:null,hawaiian:null,headshop:null,healthcare:null,healthcarecenter:null,healthyfoods:null,hearingaidproviders:null,hearingaids:null,hennaartist:null,herbalmedicine:null,herbsandspices:null,highschool:null,himalayan:null,hobbyshop:null,holidaydecorations:null,homeandgarden:null,homeappliancerepair:null,homeautomation:null,homecleaning:null,homedecor:null,homedevelopers:null,homegarden:null,homehealthcare:null,homeopathy:null,hometheaterinstallation:null,honey:null,"hongkong.cafe":null,hookahbar:null,horsequipment:null,hospital:null,hostel:null,hotdogs:null,hotel:null,"hotel.business":null,"hotel.capsule":null,hotelbar:null,hotpot:null,hottubandpool:null,housingcooperative:null,hungarian:null,huntingfishingsupplies:null,hvac:null,hypermarket:null,iberian:null,icecream:null,importedfood:null,indian:null,"indian.andhra":null,"indian.assamese":null,"indian.awadhi":null,"indian.bihari":null,"indian.chettinad":null,"indian.goan":null,"indian.gujarat":null,"indian.hyderabadi":null,"indian.kerala":null,"indian.konkan":null,"indian.lucknowi":null,"indian.maharashtrian":null,"indian.malwani":null,"indian.mangalorean":null,"indian.northindian":null,"indian.oriya":null,"indian.rajasthani":null,"indian.southindian":null,indonesian:null,informationtechnology:null,installmentloanservices:null,insulationinstallation:null,insurance:null,"insurance.auto":null,"insurance.health":null,"insurance.home":null,"insurance.life":null,interiordesign:null,internalmedicine:null,internationalfood:null,internetbooth:null,internetcafe:null,internetserviceprovider:null,investmentbanking:null,irish:null,irishpub:null,israeli:null,italian:null,"italian.abruzzese":null,"italian.altoatesine":null,"italian.apulian":null,"italian.calabrian":null,"italian.cucinacampana":null,"italian.diner":null,"italian.emilian":null,"italian.friulan":null,"italian.lumbard":null,"italian.napoletana":null,"italian.norcinerie":null,"italian.piedmont":null,"italian.roman":null,"italian.sardinian":null,"italian.sicilian":null,"italian.tuscan":null,"italian.venetian":null,ivhydration:null,izakaya:null,japanese:null,"japanese.bento":null,"japanese.blowfish":null,"japanese.curry":null,"japanese.donburi":null,"japanese.gyudon":null,"japanese.handrolls":null,"japanese.horumon":null,"japanese.kushikatsu":null,"japanese.nikkei":null,"japanese.oden":null,"japanese.okonomiyaki":null,"japanese.onigiri":null,"japanese.oyakodon":null,"japanese.ramen":null,"japanese.shabushabu":null,"japanese.soba":null,"japanese.sukiyaki":null,"japanese.takoyaki":null,"japanese.tempura":null,"japanese.teppanyaki":null,"japanese.tonkatsu":null,"japanese.udon":null,"japanese.unagi":null,"japanese.westernjapanese":null,"japanese.yakiniku":null,"japanese.yakitori":null,japanesesweets:null,jewelry:null,jewelryrepair:null,jewish:null,juicebar:null,kaiseki:null,karaoke:null,kashmiri:null,kebab:null,kidsactivities:null,kimonos:null,kindergarten:null,kiosk:null,"kiosk.food":null,kitchenandbath:null,kitchenincubator:null,knifesharpening:null,knittingsupplies:null,kopitiam:null,korean:null,kosher:null,kurdish:null,laboratorytesting:null,landmark:null,landscaping:null,languageschool:null,laotian:null,lasereyesurgery:null,lasertag:null,latinamerican:null,laundromat:null,laundryservices:null,lawyer:null,"lawyer.business":null,"lawyer.criminaldefense":null,"lawyer.divorce":null,"lawyer.estateplanning":null,"lawyer.immigration":null,"lawyer.litigation":null,"lawyer.personalinjury":null,"lawyer.realestate":null,"lawyer.tax":null,"lawyer.willtrustprobate":null,"lawyer.workerscomp":null,leathergoods:null,lebanese:null,legalservices:null,library:null,lifecoach:null,lighting:null,ligurian:null,limo:null,linens:null,lingerie:null,livestocksales:null,localservices:null,locksmith:null,lotterystand:null,loungebar:null,luggage:null,luggagestorage:null,macaron:null,magicians:null,mailboxcenter:null,makeupartist:null,malaysian:null,mamak:null,manicurists:null,marketing:null,martialarts:null,massageschool:null,massagetherapist:null,massagetherapy:null,maternitywear:null,mattresses:null,mauritian:null,meatballs:null,medicalcenter:null,medicalspa:null,medicalsupplies:null,mediterranean:null,mexican:null,"mexican.easternmexican":null,"mexican.jaliscan":null,"mexican.modern":null,"mexican.northernmexican":null,"mexican.oaxacan":null,"mexican.pueblan":null,"mexican.yucatan":null,middleeastern:null,militarybase:null,milkbar:null,milkshakes:null,minigolf:null,mobilephonerepair:null,mobilephones:null,moneytransferservices:null,mongolian:null,moroccan:null,mortgagebroker:null,motorcyclingclothing:null,"movierental.kiosk":null,mughlai:null,"museum.art":null,"museum.children":null,"museum.history":null,musicalinstruments:null,musicalinstrumentservices:null,musicvenue:null,musicvideo:null,naga:null,nasilemak:null,naturopathy:null,nepalese:null,newspapersandmagazines:null,newzealand:null,nicaraguan:null,nightfood:null,nonprofit:null,noodles:null,"northamerican.traditional":null,norwegian:null,notarypublic:null,"nurseries.gardening":null,nyonya:null,obg
1yn:null,observatory:null,occupationaltherapy:null,officebuilding:null,officeequipmentandsupplies:null,okinawan:null,oliveoil:null,opensandwiches:null,"opera.ballet":null,opthamalogy:null,opticians:null,optometry:null,oralsurgery:null,organicfood:null,oriental:null,orthodontics:null,orthopedics:null,orthotics:null,osteopathy:null,ottoman:null,outdoorfurniture:null,outdoorgear:null,outletmall:null,outletstore:null,oxygenbar:null,pachinko:null,packagelocker:null,packing:null,packingsupplies:null,paella:null,painmanagement:null,paintandsip:null,painting:null,paintstores:null,paintyourownpottery:null,pakistani:null,parentingschool:null,parking:null,parks:null,parma:null,parsi:null,partycharacters:null,"partyequipment.rental":null,partysupplies:null,passportvisaservices:null,pasta:null,pathology:null,pawn:null,paydayloan:null,pediatrics:null,performingarts:null,perfume:null,periodontics:null,permanentmakeup:null,persian:null,personalcare:null,personalshopper:null,personaltrainer:null,peruvian:null,pets:null,"pets.adoption":null,"pets.boarding":null,"pets.grooming":null,"pets.photography":null,"pets.sitting":null,"pets.training":null,"pets.transportation":null,petstore:null,"petstore.fish":null,"petstore.reptile":null,pharmacy:null,pharmacystore:null,phonechargingstation:null,"photobooth.rental":null,photography:null,"photography.event":null,"photography.session":null,photographyequipment:null,photographystore:null,physicaltherapy:null,physician:null,piadina:null,pianobar:null,pianostore:null,pictureframing:null,pilates:null,pita:null,pizza:{amenity:"restaurant"},placeofworship:null,"placeofworship.church":null,"placeofworship.mosque":null,"placeofworship.synagogue":null,"placeofworship.unitarian":null,planetarium:null,plasticsurgery:null,playcenter:null,playground:null,playsets:null,plaza:null,podiatrists:null,podiatry:null,poke:null,poledancingschool:null,policestation:null,"policestation.koban":null,polish:null,"polish.pierogis":null,poolcleaning:null,poolhall:null,pooltablesupplies:null,popcorn:null,popup:null,popupshops:null,portuguese:null,"portuguese.alentejo":null,"portuguese.algarve":null,"portuguese.azores":null,"portuguese.beira":null,"portuguese.fadohouse":null,"portuguese.madeira":null,"portuguese.minho":null,"portuguese.ribatejo":null,"portuguese.trasosmontes":null,postoffice:null,"postoffice.authorizedagent":null,potatoes:null,poutineries:null,prenatal:null,preschool:null,pretzels:null,preventivemedicine:null,printmedia:null,privateinvestigation:null,privatejetcharter:null,privateschool:null,privateshuttlebus:null,professionalservices:null,professionalsportsteam:null,propertymanagement:null,psychiatrists:null,psychiatry:null,psychic:null,psychology:null,pub:{amenity:"pub"},publicart:null,publiclibrary:null,"publicservices.government":null,publictransport:null,puertorican:null,pulmonology:null,punjabi:null,racetrack:null,radiology:null,radiostation:null,rawfood:null,"realestate.agents":null,"realestate.services":null,realestateagents:null,"realestateagents.commercial":null,realestateservices:null,recordingstudio:null,recreation:null,recreationcenter:null,recyclingcenter:null,reflexology:null,religiousitems:null,"rental.videoandgame":null,researchanddevelopment:null,residentialapartments:null,restaurant:{amenity:"restaurant"},retirementhome:null,reunionnese:null,reupholstery:null,riceshop:null,rideshare:null,robatayaki:null,rockclimbing:null,rodizio:null,romanian:null,roofing:null,rotisseriechicken:null,rugs:null,russian:null,sakebar:null,salad:null,salvadoran:null,sandwiches:null,sauna:null,scandinavian:null,scandinaviandesign:null,school:null,scottish:null,screenprinting:null,"screenprinting.tshirt":null,seafood:null,seafoodmarket:null,securitysystems:null,selfstorage:null,senegalese:null,seniorcenter:null,serbianandcroatian:null,sewingalterations:null,sharedofficespace:null,shavedice:null,shavedsnow:null,shippingcenters:null,shippingdropbox:null,shoerepair:null,shoes:{shop:"shoes"},shoeshine:null,shoestore:{shop:"shoes"},shopping:{shop:"supermarket"},shoppingpassage:null,shutterinstallation:null,signature:null,signmaking:null,silentdisco:null,singaporean:null,skatepark:null,
1skatingequipment:null,skatingrink:null,skiequipment:null,skincare:null,skydiving:null,sleepwear:null,slovakian:null,soccer:null,socialclub:null,socialservices:null,softwaredevelopment:null,solarinstallation:null,sommeliers:null,soulfood:null,soup:null,southafrican:null,southernunitedstates:null,southwestunitedstates:null,souvenirs:null,spanish:null,"spanish.andalusian":null,"spanish.basque":null,"spanish.catalan":null,"spanish.galician":null,specialtyfood:null,specialtyschool:null,spinclass:null,spiritualproducts:null,sportinggoods:null,sportsbar:null,sportsclub:null,"sportsequipment.rental":null,sportsgoods:null,sportsmedicine:null,sportsschool:null,sportswear:null,srilankan:null,stationery:null,steak:null,stockings:null,streetvendor:null,structuralengineers:null,subwaystation:null,supermarket:{shop:"supermarket"},supperclub:null,surfacerefinishing:null,surfing:null,surfingequipment:null,surgeon:null,sushi:{amenity:"restaurant"},swedish:null,"swedish.traditional":null,swimminginstruction:null,swimmingpool:null,swimwear:null,swiss:null,syrian:null,taberna:null,tabletopgames:null,tableware:null,tacos:{amenity:"fast_food"},taiwanese:null,taiyaki:null,talentagencies:null,tamales:null,tanningbeds:null,tanningservices:null,tapas:null,"tapas.smallplate":null,tattoo:{shop:"tattoo"},"tattoo.removal":null,taxi:{amenity:"taxi"},taxistand:null,taxoffice:null,taxservices:null,tea:{shop:"tea"},teachersupplies:null,teambuilding:null,teethwhitening:null,telecommunications:null,televisionserviceproviders:null,televisionstation:null,"tennis.instruction":null,terminal:null,"terminal.bus":null,testpreparationschool:null,texmex:null,thai:null,"theater.drivein":null,"theater.movie":null,themedcafe:null,thriftstore:null,tibetan:null,tickets:null,tikibar:null,titleloan:null,tobaccoshop:{shop:"tobacco"},tofu:null,touristattraction:null,tours:null,"tours.boat":null,"tours.bus":null,"tours.scooter":null,"tours.walking":null,towncarservice:null,toys:null,toystore:null,traditionalchinesemedicine:null,trainserviceprovider:null,trainstation:null,trampolining:null,transitlounge:null,translationservices:null,transportationservices:null,trattoria:null,travelagent:null,travelservices:null,trinidadian:null,trophyshops:null,truckrental:null,tuina:null,turkish:null,"turkish.cheekufta":null,"turkish.gozleme":null,"turkish.homemadefood":null,"turkish.lahmacun":null,"turkish.ravioli":null,tutoring:null,ukrainian:null,uniforms:null,urgentcare:null,usedbooks:null,utilities:null,uzbek:null,vacationhome:null,"vacationhome.agent":null,valetservices:null,vapeshops:null,vascularmedicine:null,vegan:null,vegetarian:null,vendingmachine:null,"vendingmachine.beverage":null,venezuelan:null,venison:null,veteransorganization:null,veterinarian:null,videofilmproduction:null,videogamesandconsoles:null,vietnamese:null,vintageclothing:null,vinylrecords:null,virtualreality:null,visitorcenter:null,vitaminssupplements:null,vocalcoach:null,vocationalschool:null,waffles:null,walkinclinic:null,warehouse:null,watches:null,watchrepair:null,waterpark:null,waterpurification:null,webdesign:null,weddingchappel:null,weddingplanning:null,weightloss:null,welsh:null,whiskeybar:null,wholesalemerchant:null,wholesaler:null,wigs:null,windowinstallation:null,winebar:null,winery:null,winetasting:null,wok:null,wraps:null,yoga:null,youthclub:null,yugoslav:null},c={amphitheater:null,animalreliefarea:null,arrivalgate:null,atm:{amenity:"atm"},babychanging:null,baggagecarousel:null,"baggagecarousel.intl":null,baggagecarts:null,baggageclaim:null,"baggageclaim.oversize":null,baggagerecheck:null,baggagestorage:null,boardinggate:null,"boardinggate.aircraft":null,"boardinggate.bus":null,"boardinggate.ferry":null,"boardinggate.train":null,bus:null,"bus.muni":null,"bus.national":null,businesscenter:null,cabin:null,caregiver:null,carrental:null,cashier:null,changemachine:null,checkin:null,"checkin.desk":null,"checkin.desk.oversizebaggage":null,"checkin.desk.transfer":null,"checkin.selfservice":null,childplayarea:null,coinlocker:null,copymachine:null,defibrillator:{emergency:"defibrillator"},drinkingfountain:null,eatingdrinking:null,elevator:null,emergencyshelter:null,entry:null,escalator:null,exhibit:null,faregate:null,"faregate.oversized":null,fieldofplay:null,"fieldofplay.americanfootball":null,"fieldofplay.baseball":null,"fieldofplay.basketball":null,"fieldofplay.fieldhockey":null,"fieldofplay.icehockey":null,"fieldofplay.rugby":null,"fieldofplay.soccer":null,"fieldofplay.softball":null,"fieldofplay.tennis":null,"fieldofplay.trackfield":null,"fieldofplay.volleyball":null,firealarmpullstation:null,fireextinguisher:null,firstaid:null,fittingroom:null,foodservice:null,gatearea:null,groundtransportation:null,guestservices:null,handsanitizerstation:null,healthscreening:null,hoteling:null,immigration:null,information:{tourism:"information"},"information.bid":{tourism:"information"},"information.carrental":{tourism:"information"},"information.hotel":{tourism:"information"},"information.mufid":{tourism:"information"},"information.mufid.arrivals":{tourism:"information"},"information.mufid.departures":{tourism:"information"},"information.transit":{tourism:"information"},landmark:null,library:null,limo:null,lostandfound:null,mailbox:null,meditation:null,meetingpoint:null,mobilityrescue:null,mothersroom:null,movingwalkway:null,paidarea:null,parkandride:null,parking:null,"parking.bicycle":null,"parking.compact":null,"parking.ev":null,"parking.longterm":null,"parking.motorcycle":null,"parking.shortterm":null,"parking.waitingarea":null,payphone:null,pedestriancrossing:null,peoplemover:null,phone:{amenity:"telephone"},"phone.emergency":null,photobooth:null,platform:null,police:null,powerchargingstation:null,prayerroom:null,"prayerroom.buddhism":null,"prayerroom.christianity":null,"prayerroom.hinduism":null,"prayerroom.islam":null,"prayerroom.islam.female":null,"prayerroom.islam.male":null,"prayerroom.judaism":null,"prayerroom.shintoism":null,"prayerroom.sikh":null,"prayerroom.taoic":null,privatelounge:null,productreturn:null,"rail.muni":null,"rail.national":null,ramp:null,"reception.desk":null,recreation:null,restroom:{amenity:"toilets"},"restroom.family":{amenity:"toilets"},"restroom.female":{amenity:"toilets"},"restroom.female.wheelchair":{amenity:"toilets",wheelchair:"yes"},"restroom.male":{amenity:"toilets"},"restroom.male.wheelchair":{amenity:"toilets",wheelchair:"yes"},"restroom.transgender":{amenity:"toilets"},"restroom.transgender.wheelchair":{amenity:"toilets",wheelchair:"yes"},"restroom.unisex":{amenity:"toilets"},"restroom.unisex.wheelchair":{amenity:"toilets",wheelchair:"yes"},"restroom.wheelchair":{amenity:"toilets",wheelchair:"yes"}
1,rideshare:null,seat:null,seating:null,security:null,"security.checkpoint":null,"security.inspection":null,service:null,shower:null,shuttle:null,sleepbox:null,smokingarea:null,stairs:null,storage:null,strollerrental:null,studentadmissions:null,studentservices:null,swimmingpool:null,"swimmingpool.children":null,"swimmingpool.family":null,taxi:null,ticketing:null,"ticketing.airline":null,"ticketing.bus":null,"ticketing.bus.muni":null,"ticketing.bus.national":null,"ticketing.rail":null,"ticketing.rail.muni":null,"ticketing.rail.national":null,"ticketing.shuttle":null,traintrack:null,transit:null,unspecified:null,valet:null,vendingmachine:{amenity:"vending_machine"},"vendingmachine.trainticket":{amenity:"vending_machine",vending:"public_transport_tickets"},wheelchairassist:null,wifi:null,yoga:null};async function f(e,t){return JSON.parse(await e.file(t).async("string"))}async function d(e){var n,r,i,d,p,m,g,y,b,_;let v,w,k=await (t(a)).loadAsync(e),x=await f(k,"level.geojson"),E=await f(k,"unit.geojson"),A=await f(k,"occupant.geojson"),S=await f(k,"anchor.geojson"),B=await f(k,"opening.geojson"),C=await f(k,"amenity.geojson"),z=x.features.reduce((e,t)=>(e[t.id]=t.properties.short_name.en,e),{}),I=(n=S.features,r=A.features,i=C.features,v=r.filter(e=>h[e.properties.category]).map((e,t)=>n.find(t=>t.id===e.properties.anchor_id).properties.unit_id),w=i.filter(e=>c[e.properties.category]).flatMap((e,t)=>e.properties.unit_ids),(t(o))(v.concat(w)));return{area:{type:"FeatureCollection",features:(d=E.features,d.map(e=>{var t;return{...e,properties:{...e.properties,class:u[t=e.properties.category]?u[t]:"room",is_poi:I.includes(e.id),access:["employeesonly","restricted"].includes(e.properties.restriction)||"nonpublic"===e.properties.category?"no":"yes",level:z[e.properties.level_id]}}}))},poi:{type:"FeatureCollection",features:[...(p=E.features,m=S.features,g=A.features,g.filter(e=>h[e.properties.category]).map((e,t)=>{let n=m.find(t=>t.id===e.properties.anchor_id),r=p.find(e=>e.id===n.properties.unit_id),i=h[e.properties.category],a={geometry:n.geometry,properties:{id:`poi_${t}`,...i,name:e.properties.name.en,"name:latin":e.properties.name.en,level:z[r.properties.level_id],opening_hours:e.properties.hours,website:e.properties.website,phone:e.properties.phone}},[l,o]=(0,s.poiClassAndSubclass)(a);return{...a,properties:{...a.properties,class:l,subclass:o}}})),...(y=E.features,b=C.features,b.filter(e=>c[e.properties.category]).map((e,t)=>{let n=y.find(t=>e.properties.unit_ids.includes(t.id)),r=c[e.properties.category],i={...e,properties:{id:`poi_amenity_${t}`,...r,name:e.properties.name?.en,"name:latin":e.properties?.name?.en,level:z[n.properties.level_id],opening_hours:e.properties.hours,website:e.properties.website,phone:e.properties.phone}},[a,l]=(0,s.poiClassAndSubclass)(i);return{...i,properties:{...i.properties,class:a,subclass:l}}})),...(_=B.features,_.map((e,t)=>{let n=(0,l.centerOfMass)(e);return{...e,...n,properties:{id:`poi_door_${t}`,door:"yes",class:"entrance",subclass:"door",level:z[e.properties.level_id]}}}))]}}}}),i("4rsKR",function(e,t){var i=r("a2JVk").Buffer,a=r("dG1h2");e.exports=(function e(t,n,r){function i(l,o){if(!n[l]){if(!t[l]){var s=void 0;if(!o&&s)return s(l,!0);if(a)return a(l,!0);var u=Error("Cannot find module '"+l+"'");throw u.code="MODULE_NOT_FOUND",u}var h=n[l]={exports:{}};t[l][0].call(h.exports,function(e){return i(t[l][1][e]||e)},h,h.exports,e,t,n,r)}return n[l].exports}for(var a=void 0,l=0;l<r.length;l++)i(r[l]);return i})({1:[function(e,t,n){var r=e("./utils"),i=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,i,l,o,s,u,h=[],c=0,f=e.length,d=f,p="string"!==r.getTypeOf(e);c<e.length;)d=f-c,i=p?(t=e[c++],n=c<f?e[c++]:0,c<f?e[c++]:0):(t=e.charCodeAt(c++),n=c<f?e.charCodeAt(c++):0,c<f?e.charCodeAt(c++):0),l=t>>2,o=(3&t)<<4|n>>4,s=1<d?(15&n)<<2|i>>6:64,u=2<d?63&i:64,h.push(a.charAt(l)+a.charAt(o)+a.charAt(s)+a.charAt(u));return h.join("")},n.decode=function(e){var t,n,r,l,o,s,u=0,h=0,c="data:";if(e.substr(0,c.length)===c)throw Error("Invalid base64 input, it looks like a data url.");var f,d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&d--,e.charAt(e.length-2)===a.charAt(64)&&d--,d%1!=0)throw Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|d):Array(0|d);u<e.length;)t=a.indexOf(e.charAt(u++))<<2|(l=a.indexOf(e.charAt(u++)))>>4,n=(15&l)<<4|(o=a.indexOf(e.charAt(u++)))>>2,r=(3&o)<<6|(s=a.indexOf(e.charAt(u++))),f[h++]=t,64!==o&&(f[h++]=n),64!==s&&(f[h++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e("./external"),i=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),l=e("./stream/DataLengthProbe");function o(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}o.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new l("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new l("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?0xedb88320^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n){var r=0+n;e^=-1;for(var a=0;a<r;a++)e=e>>>8^i[255&(e^t[a])];return -1^e}(0|t,e,e.length):function(e,t,n){var r=0+n;e^=-1;for(var a=0;a<r;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return -1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){t.exports={Promise:"u">typeof Promise?Promise:e("lie")}},{lie:37}],7:[function(e,t,n){var r="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Uint32Array,i=e("pako"),a=e("./utils"),l=e("./stream/GenericWorker"),o=r?"uint8array":"array";function s(e,t){l.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",a.inherits(s,l),s.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(o,e.data),!1)},s.prototype.flush=function(){l.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)}
vendor: 6,397 bytes, line 1
1,s.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},s.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})}},n.compressWorker=function(e){return new s("Deflate",e)},n.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,l,h){var c,f,d,p,m=e.file,g=e.compression,y=h!==o.utf8encode,b=a.transformTo("string",h(m.name)),_=a.transformTo("string",o.utf8encode(m.name)),v=m.comment,w=a.transformTo("string",h(v)),k=a.transformTo("string",o.utf8encode(v)),x=_.length!==m.name.length,E=k.length!==v.length,A="",S="",B="",C=m.dir,z=m.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var O=0;t&&(O|=8),!y&&(x||E)&&(O|=2048);var T=0,R=0;C&&(T|=16),"UNIX"===l?(R=798,T|=(c=m.unixPermissions,f=c,c||(f=C?16893:33204),(65535&f)<<16)):(R=20,T|=63&(m.dosPermissions||0)),d=(z.getUTCHours()<<6|z.getUTCMinutes())<<5|z.getUTCSeconds()/2,p=(z.getUTCFullYear()-1980<<4|z.getUTCMonth()+1)<<5|z.getUTCDate(),x&&(S=r(1,1)+r(s(b),4)+_,A+="up"+r(S.length,2)+S),E&&(B=r(1,1)+r(s(w),4)+k,A+="uc"+r(B.length,2)+B);var F="";return F+="\n\0",F+=r(O,2),F+=g.magic,F+=r(d,2),F+=r(p,2),F+=r(I.crc32,4),F+=r(I.compressedSize,4),F+=r(I.uncompressedSize,4),F+=r(b.length,2),F+=r(A.length,2),{fileRecord:u.LOCAL_FILE_HEADER+F+b+A,dirRecord:u.CENTRAL_FILE_HEADER+r(R,2)+F+r(w.length,2)+"\0\0\0\0"+r(T,4)+r(i,4)+b+A+w}}var a=e("../utils"),l=e("../stream/GenericWorker"),o=e("../utf8"),s=e("../crc32"),u=e("../signature");function h(e,t,n,r){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(h,l),h.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,l.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},h.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:u.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var e,t,n,i,l=this.bytesWritten,o=0;o<this.dirRecords.length;o++)this.push({data:this.dirRecords[o],meta:{percent:100}});var s=this.bytesWritten-l,h=(e=this.dirRecords.length,t=this.zipComment,n=this.encodeFileName,i=a.transformTo("string",n(t)),u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(s,4)+r(l,4)+r(i.length,2)+i);this.push({data:h,meta:{percent:100}})},h.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},h.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},h.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},h.prototype.error=function(e){var t=this._sources;if(!l.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},h.prototype.lock=function(){l.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=h},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e("../compressions"),i=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var a=new i(t.streamFiles,n,t.platform,t.encodeFileName),l=0;try{e.forEach(function(e,n){l++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw Error(n+" is not a valid compression method !");return i}(n.options.compression,t.compression),o=n.options.compressionOptions||t.compressionOptions||{},s=n.dir,u=n.date;n._compressWorker(i,o).withStreamInfo("file",{name:e,dir:s,date:u,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)}),a.entriesCount=l}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw 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 r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e("./utils"),i=e("./external"),a=e("./utf8"),l=e("./zipEntries"),o=e("./stream/Crc32Probe"),s=e("./nodejsUtils");t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),s.isNode&&s.isStream(e)?i.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip f
1ile",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new l(t);return n.load(e),n}).then(function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var a=0;a<r.length;a++)n.push(function(e){return new i.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new o);r.on("error",function(e){n(e)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}(r[a]));return i.Promise.all(n)}).then(function(e){for(var i=e.shift(),a=i.files,l=0;l<a.length;l++){var o=a[l],s=o.fileNameStr,u=r.resolve(o.fileNameStr);n.file(u,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:t.createFolders}),o.dir||(n.file(u).unsafeOriginalName=s)}return i.zipComment.length&&(n.comment=i.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var r=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)}r.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,n){var r=e("readable-stream").Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on("data",function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:void 0!==i,newBufferFrom:function(e,t){if(i.from&&i.from!==Uint8Array.from)return i.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new i(e,t)},allocBuffer:function(e){if(i.alloc)return i.alloc(e);var t=new i(e);return t.fill(0),t},isBuffer:function(e){return i.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){function r(e,t,n){var r,i=a.getTypeOf(t),o=a.extend(n||{},s);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(e=m(e)),o.createFolders&&(r=p(e))&&g.call(this,r,!0);var c="string"===i&&!1===o.binary&&!1===o.base64;n&&void 0!==n.binary||(o.binary=!c),(t instanceof u&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",i="string");var y=null;y=t instanceof u||t instanceof l?t:f.isNode&&f.isStream(t)?new d(e,t):a.prepareContent(e,t,o.binary,o.optimizedBinaryString,o.base64);var b=new h(e,y,o);this.files[e]=b}var i=e("./utf8"),a=e("./utils"),l=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),s=e("./defaults"),u=e("./compressedObject"),h=e("./zipObject"),c=e("./generate"),f=e("./nodejsUtils"),d=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):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:s.createFolders,e=m(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}t.exports={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")}
vendor: 4,260 bytes, line 1
1,forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(1!=arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(y(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(y(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},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 n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=a.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw Error("No output type specified.");a.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=c.generateWorker(this,n,r)}catch(e){(t=new l("error")).error(e)}return new o(t,n.type||"string",n.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)}}},{"./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,n){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){var r=e("./DataReader");function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return -1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===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,n){var r=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 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,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.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,n){var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),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}
vendor: 2,440 bytes, line 1
1,t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),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,n){var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),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,n){var r=e("../utils"),i=e("../support"),a=e("./ArrayReader"),l=e("./StringReader"),o=e("./NodeBufferReader"),s=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new o(e):i.uint8array?new s(r.transformTo("uint8array",e)):new a(r.transformTo("array",e)):new l(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){var r=e("./GenericWorker"),i=e("../utils");function a(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,r),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,n){var r=e("./GenericWorker"),i=e("../crc32");function a(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,r),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,n){var r=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}
vendor: 7,484 bytes, line 1
1r.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,n){var r=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=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.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,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.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,n){function r(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}r.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 n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw 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 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=r},{}],29:[function(e,t,n){var r=e("../utils"),a=e("./ConvertWorker"),l=e("./GenericWorker"),o=e("../base64"),s=e("../support"),u=e("../external"),h=null;if(s.nodestream)try{h=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,t,n){var i=t;switch(t){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=t,this._mimeType=n,r.checkSupport(i),this._worker=e.pipe(new a(i)),e.lock()}catch(e){this._worker=new l("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){var t;return t=this,new u.Promise(function(n,a){var l=[],s=t._internalType,u=t._outputType,h=t._mimeType;t.on("data",function(t,n){l.push(t),e&&e(n)}).on("error",function(e){l=[],a(e)}).on("end",function(){try{var e=function(e,t,n){switch(e){case"blob":return r.newBlob(r.transformTo("arraybuffer",t),n);case"base64":return o.encode(t);default:return r.transformTo(e,t)}}(u,function(e,t){var n,r=0,a=null,l=0;for(n=0;n<t.length;n++)l+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(a=new Uint8Array(l),n=0;n<t.length;n++)a.set(t[n],r),r+=t[n].length;return a;case"nodebuffer":return i.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}(s,l),h);n(e)}catch(e){a(e)}l=[]}).resume()})},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){r.delay(t,arguments,n)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=c},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="u">typeof ArrayBuffer&&"u">typeof Uint8Array,n.nodebuffer=void 0!==i,n.uint8array="u">typeof Uint8Array,"u"<typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(e){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(r),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,n){for(var r=e("./utils"),i=e("./support"),a=e("./nodejsUtils"),l=e("./stream/GenericWorker"),o=Array(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(){l.call(this,"utf-8 decode"),this.leftOver=null}function h(){l.call(this,"utf-8 encode")}o[254]=o[254]=1,n.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var t,n,r,a,l,o=e.length,s=0;for(a=0;a<o;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(s):Array(s),a=l=0;l<s;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(r=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[l++]=n:(n<2048?t[l++]=192|n>>>6:(n<65536?t[l++]=224|n>>>12:(t[l++]=240|n>>>18,t[l++]=128|n>>>12&63),t[l++]=128|n>>>6&63),t[l++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,a,l=e.length,s=Array(2*l);for(t=n=0;t<l;)if((i=e[t++])<128)s[n++]=i;else if(4<(a=o[i]))s[n++]=65533,t+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&t<l;)i=i<<6|63&e[t++],a--;
vendor: 4,611 bytes, line 1
11<a?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return s.length!==n&&(s.subarray?s=s.subarray(0,n):s.length=n),r.applyFromCharCode(s)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(u,l),u.prototype.processChunk=function(e){var t=r.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 l=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}(t),s=t;l!==t.length&&(i.uint8array?(s=t.subarray(0,l),this.leftOver=t.subarray(l,t.length)):(s=t.slice(0,l),this.leftOver=t.slice(l,t.length))),this.push({data:n.utf8decode(s),meta:e.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=u,r.inherits(h,l),h.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e("./support"),i=e("./base64"),a=e("./nodejsUtils"),l=e("./external");function o(e){return e}function s(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(e,t){n.checkSupport("blob");try{return new Blob([e],{type:t})}catch(n){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch(e){throw Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,a.allocBuffer(1)).length}catch(e){return!1}}()}};function h(e){var t=65536,r=n.getTypeOf(e),i=!0;if("uint8array"===r?i=u.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=u.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return u.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function c(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=h;var f={};f.string={string:o,array:function(e){return s(e,Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,a.allocBuffer(e.length))}},f.array={string:h,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},f.arraybuffer={string:function(e){return h(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:h,array:function(e){return c(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return a.newBufferFrom(e)}},f.nodebuffer={string:h,array:function(e){return c(e,Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:o},n.transformTo=function(e,t){return(t=t||"",e)?(n.checkSupport(e),f[n.getTypeOf(t)][e](t)):t},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var i=t[r];"."===i||""===i&&0!==r&&r!==t.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&a.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;
vendor: 4,127 bytes, line 1
1n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,a,o,u){return l.Promise.resolve(t).then(function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"u">typeof FileReader?new l.Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)}):e}).then(function(t){var h,c=n.getTypeOf(t);return c?("arraybuffer"===c?t=n.transformTo("uint8array",t):"string"===c&&(u?t=i.decode(t):a&&!0!==o&&(t=s(h=t,r.uint8array?new Uint8Array(h.length):Array(h.length)))),t):l.Promise.reject(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,n){var r=e("./reader/readerFor"),i=e("./utils"),a=e("./signature"),l=e("./zipEntry"),o=e("./support");function s(e){this.files=[],this.loadOptions=e}s.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},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=o.uint8array?"uint8array":"array",n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},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,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},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 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 l({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 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)?Error("Corrupted zip: can't find end of central directory"):Error("Can't find end of central directory : is this a zip f
1ile ? 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 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 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 n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var r=e("./reader/readerFor"),i=e("./utils"),a=e("./compressedObject"),l=e("./crc32"),o=e("./utf8"),s=e("./compressions"),u=e("./support");function h(e,t){this.options=e,this.loadOptions=t}h.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw 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 s)if(Object.prototype.hasOwnProperty.call(s,t)&&s[t].magic===e)return s[t];return null}(this.compressionMethod)))throw 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 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=r(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&&
vendor: 2,317 bytes, line 1
1(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;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=r(e.value);return 1!==t.readInt(1)||l(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||l(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null}},t.exports=h},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e("./stream/StreamHelper"),a=e("./stream/DataWorker"),l=e("./utf8"),o=e("./compressedObject"),s=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var a=!this._dataBinary;a&&!r&&(t=t.pipe(new l.Utf8EncodeWorker)),!a&&r&&(t=t.pipe(new l.Utf8DecodeWorker))}catch(e){(t=new s("error")).error(e)}return new i(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)}
1,nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof o&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new l.Utf8EncodeWorker)),o.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof s?this._data:new a(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<u.length;c++)r.prototype[u[c]]=h;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,l=new i(h),o=e.document.createTextNode("");l.observe(o,{characterData:!0}),n=function(){o.data=a=++a%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){h(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(h,0)};else{var s=new e.MessageChannel;s.port1.onmessage=h,n=function(){s.port2.postMessage(0)}}var u=[];function h(){var e,t;r=!0;for(var n=u.length;n;){for(t=u,u=[],e=-1;++e<n;)t[e]();n=u.length}r=!1}t.exports=function(e){1!==u.push(e)||r||n()}}).call(this,void 0!==n?n:"u">typeof self?self:"u">typeof window?window:{})},{}],37:[function(e,t,n){var r=e("immediate");function i(){}var a={},l=["REJECTED"],o=["FULFILLED"],s=["PENDING"];function u(e){if("function"!=typeof e)throw TypeError("resolver must be a function");this.state=s,this.queue=[],this.outcome=void 0,e!==i&&d(this,e)}function h(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function c(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return a.reject(e,t)}r===e?a.reject(e,TypeError("Cannot resolve promise with itself")):a.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var n=!1;function r(t){n||(n=!0,a.reject(e,t))}function i(t){n||(n=!0,a.resolve(e,t))}var l=p(function(){t(i,r)});"error"===l.status&&r(l.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=u).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===o||"function"!=typeof t&&this.state===l)return this;var n=new this.constructor(i);return this.state!==s?c(n,this.state===o?e:t,this.outcome):this.queue.push(new h(n,e,t)),n},h.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},h.prototype.otherCallFulfilled=function(e){c(this.promise,this.onFulfilled,e)},h.prototype.callRejected=function(e){a.reject(this.promise,e)},h.prototype.otherCallRejected=function(e){c(this.promise,this.onRejected,e)},a.resolve=function(e,t){var n=p(f,t);if("error"===n.status)return a.reject(e,n.value);var r=n.value;if(r)d(e,r);else{e.state=o,e.outcome=t;for(var i=-1,l=e.queue.length;++i<l;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=l,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return a.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var l=Array(n),o=0,s=-1,u=new this(i);++s<n;)!function(e,i){t.resolve(e).then(function(e){l[i]=e,++o!==n||r||(r=!0,a.resolve(u,l))},function(e){r||(r=!0,a.reject(u,e))})}(e[s],s);return u},u.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var t,n=e.length,r=!1;if(!n)return this.resolve([]);for(var l=-1,o=new this(i);++l<n;)t=e[l],this.resolve(t).then(function(e){r||(r=!0,a.resolve(o,e))},function(e){r||(r=!0,a.reject(o,e))});return o}},{immediate:36}],38:[function(e,t,n){var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var r=e("./zlib/deflate"),i=e("./utils/common"),a=e("./utils/strings"),l=e("./zlib/messages"),o=e("./zlib/zstream"),s=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t,n=this.options;n.raw&&0<n.windowBits?n.windowBits=-n.windowBits:n.gzip&&0<n.windowBits&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var h=r.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(0!==h)throw Error(l[h]);if(n.header&&r.deflateSetHeader(this.strm,n.header),n.dictionary){if(t="string"==typeof n.dictionary?a.string2buf(n.dictionary):"[object ArrayBuffer]"===s.call(n.dictionary)?new Uint8Array(n.dictionary):n.dictionary,0!==(h=r.deflateSetDictionary(this.strm,t)))throw Error(l[h]);this._dict_set=!0}}function h(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg||l[n.err];return n.result}u.prototype.push=function(e,t){var n,l,o=this.strm,u=this.options.chunkSize;if(this.ended)return!1;l=t===~~t?t:4*(!0===t),"string"==typeof e?o.input=a.string2buf(e):"[object ArrayBuffer]"===s.call(e)?o.input=new 
vendor: 6,153 bytes, line 1
1Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new i.Buf8(u),o.next_out=0,o.avail_out=u),1!==(n=r.deflate(o,l))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==l&&2!==l)||("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(o.output,o.next_out))):this.onData(i.shrinkBuf(o.output,o.next_out)))}while((0<o.avail_in||0===o.avail_out)&&1!==n)return 4===l?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==l||(this.onEnd(0),o.avail_out=0,!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("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},n.Deflate=u,n.deflate=h,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,h(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var r=e("./zlib/inflate"),i=e("./utils/common"),a=e("./utils/strings"),l=e("./zlib/constants"),o=e("./zlib/messages"),s=e("./zlib/zstream"),u=e("./zlib/gzheader"),h=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(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 s,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==l.Z_OK)throw Error(o[n]);this.header=new u,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var n=new c(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}c.prototype.push=function(e,t){var n,o,s,u,c,f,d=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;o=t===~~t?t:!0===t?l.Z_FINISH:l.Z_NO_FLUSH,"string"==typeof e?d.input=a.binstring2buf(e):"[object ArrayBuffer]"===h.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(p),d.next_out=0,d.avail_out=p),(n=r.inflate(d,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&m&&(f="string"==typeof m?a.string2buf(m):"[object ArrayBuffer]"===h.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,f)),n===l.Z_BUF_ERROR&&!0===g&&(n=l.Z_OK,g=!1),n!==l.Z_STREAM_END&&n!==l.Z_OK)return this.onEnd(n),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&n!==l.Z_STREAM_END&&(0!==d.avail_in||o!==l.Z_FINISH&&o!==l.Z_SYNC_FLUSH)||("string"===this.options.to?(s=a.utf8border(d.output,d.next_out),u=d.next_out-s,c=a.buf2string(d.output,s),d.next_out=u,d.avail_out=p-u,u&&i.arraySet(d.output,d.output,s,u,0),this.onData(c)):this.onData(i.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(g=!0)}while((0<d.avail_in||0===d.avail_out)&&n!==l.Z_STREAM_END)return n===l.Z_STREAM_END&&(o=l.Z_FINISH),o===l.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l.Z_OK):o!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),d.avail_out=0,!0)},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){e===l.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},n.Inflate=c,n.inflate=f,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},n.ungzip=f},{"./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,n){var r="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.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,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,l;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(l=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)a=e[t],l.set(a,i),i+=a.length;return l}},a={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(r)},{}],42:[function(e,t,n){var r=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 l=new r.Buf8(256),o=0;o<256;o++)l[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function s(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",l=0;l<t;l++)n+=String.fromCharCode(e[l]);return n}l[254]=l[254]=1,n.string2buf=function(e){var t,n,i,a,l,o=e.length,s=0;for(a=0;a<o;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(s),a=l=0;l<s;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[l++]=n:(n<2048?t[l++]=192|n>>>6:(n<65536?t[l++]=224|n>>>12:(t[l++]=240|n>>>18,t[l++]=128|n>>>12&63),t[l++]=128|n>>>6&63),t[l++]=128|63&n);return t},n.buf2binstring=function(e){return s(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,a,o=t||e.length,u=Array(2*o);for(n=r=0;n<o;)if((i=e[n++])<128)u[r++]=i;else if(4<(a=l[i]))u[r++]=65533,n+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&n<o;)i=i<<6|63&e[n++],a--;
11<a?u[r++]=65533:i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return s(u,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+l[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e,a=e>>>16&65535,l=0;0!==n;){for(n-=l=2e3<n?2e3:n;a=a+(i=i+t[r++]|0)|0,--l;);i%=65521,a%=65521}return i|a<<16}},{}],44:[function(e,t,n){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,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?0xedb88320^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=i+n;e^=-1;for(var l=i;l<a;l++)e=e>>>8^r[255&(e^t[l])];return -1^e}},{}],46:[function(e,t,n){var r,i=e("../utils/common"),a=e("./trees"),l=e("./adler32"),o=e("./crc32"),s=e("./messages");function u(e,t){return e.msg=s[t],t}function h(e){return(e<<1)-9*(4<e)}function c(e){for(var t=e.length;0<=--t;)e[t]=0}function f(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function d(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,f(e.strm)}function p(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 g(e,t){var n,r,i=e.max_chain_length,a=e.strstart,l=e.prev_length,o=e.nice_match,s=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,h=e.w_mask,c=e.prev,f=e.strstart+258,d=u[a+l-1],p=u[a+l];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do if(u[(n=t)+l]===p&&u[n+l-1]===d&&u[n]===u[a]&&u[++n]===u[a+1]){a+=2,n++;do;while(u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&u[++a]===u[++n]&&a<f)if(r=258-(f-a),a=f-258,l<r){if(e.match_start=t,o<=(l=r))break;d=u[a+l-1],p=u[a+l]}}while((t=c[t&h])>s&&0!=--i)return l<=e.lookahead?l:e.lookahead}function y(e){var t,n,r,a,s,u,h,c,f,d,p=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-262)){for(i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;r=e.head[--t],e.head[t]=p<=r?r-p:0,--n;);for(t=n=p;r=e.prev[--t],e.prev[t]=p<=r?r-p:0,--n;);a+=p}if(0===e.strm.avail_in)break;if(u=e.strm,h=e.window,c=e.strstart+e.lookahead,d=void 0,(f=a)<(d=u.avail_in)&&(d=f),n=0===d?0:(u.avail_in-=d,i.arraySet(h,u.input,u.next_in,d,c),1===u.state.wrap?u.adler=l(u.adler,h,d,c):2===u.state.wrap&&(u.adler=o(u.adler,h,d,c)),u.next_in+=d,u.total_in+=d,d),e.lookahead+=n,e.lookahead+e.insert>=3)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+3-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function b(e,t){for(var n,r;;){if(e.lookahead<262){if(y(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=g(e,n)),e.match_length>=3)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=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;
1else r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(d(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(d(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}function _(e,t){for(var n,r,i;;){if(e.lookahead<262){if(y(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=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=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=g(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-3,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),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+3-1])&e.hash_mask,n=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=2,e.strstart++,r&&(d(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=a._tr_tally(e,0,e.window[e.strstart-1]))&&d(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(d(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}function v(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,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=8,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(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),c(this.dyn_ltree),c(this.dyn_dtree),c(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),c(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),c(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 k(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=+(2!==t.wrap),t.last_flush=0,a._tr_init(t),0):u(e,-2)}function x(e){var t,n=k(e);return 0===n&&((t=e.state).window_size=2*t.w_size,c(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function E(e,t,n,r,a,l){if(!e)return -2;var o=1;if(-1===t&&(t=6),r<0?(o=0,r=-r):15<r&&(o=2,r-=16),a<1||9<a||8!==n||r<8||15<r||t<0||9<t||l<0||4<l)return u(e,-2);8===r&&(r=9);var s=new w;return(e.state=s).strm=e,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=a+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new i.Buf8(2*s.w_size),s.head=new i.Buf16(s.hash_size),s.prev=new i.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new i.Buf8(s.pending_buf_size),s.d_buf=+s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=l,s.method=n,x(e)}r=[new v(0,0,0,0,function(e,t){var n=65535;for(65535>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,d(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(d(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(d(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(d(e,!1),e.strm.avail_out),1)}),new v(4,4,8,4,b),new v(4,5,16,8,b),new v(4,6,32,32,b),new v(4,4,16,16,_),new v(8,16,32,32,_),new v(8,16,128,128,_),new v(8,32,128,256,_),new v(32,128,258,1024,_),new v(32,258,258,4096,_)],n.deflateInit=function(e,t){return E(e,t,8,15,8,0)},n.deflateInit2=E,n.deflateReset=x,n.deflateResetKeep=k,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},n.deflate=function(e,t){var n,i,l,s;if(!e||!e.state||5<t||t<0)return e?u(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return u(e,0===e.avail_out?-5:-2);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,+!!i.gzhead.text+2*!!i.gzhead.hcrc+4*!!i.gzhead.extra+8*!!i.gzhead.name+16*!!i.gzhead.comment),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:4*(2<=i.strategy||i.level<2)),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=o(e.adler,i.pending_buf,i.pending,0)),i.gz
1index=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:4*(2<=i.strategy||i.level<2)),p(i,3),i.status=113);else{var g=8+(i.w_bits-8<<4)<<8;g|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(g|=32),g+=31-g%31,i.status=113,m(i,g),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(l=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>l&&(e.adler=o(e.adler,i.pending_buf,i.pending-l,l)),f(e),l=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>l&&(e.adler=o(e.adler,i.pending_buf,i.pending-l,l)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){l=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>l&&(e.adler=o(e.adler,i.pending_buf,i.pending-l,l)),f(e),l=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,s)}while(0!==s)i.gzhead.hcrc&&i.pending>l&&(e.adler=o(e.adler,i.pending_buf,i.pending-l,l)),0===s&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){l=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>l&&(e.adler=o(e.adler,i.pending_buf,i.pending-l,l)),f(e),l=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,s)}while(0!==s)i.gzhead.hcrc&&i.pending>l&&(e.adler=o(e.adler,i.pending_buf,i.pending-l,l)),0===s&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&f(e),i.pending+2<=i.pending_buf_size&&(p(i,255&e.adler),p(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(f(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&h(t)<=h(n)&&4!==t)return u(e,-5);if(666===i.status&&0!==e.avail_in)return u(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var b=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(d(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(d(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,l,o=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(r=o[i=e.strstart-1])===o[++i]&&r===o[++i]&&r===o[++i]){l=e.strstart+258;do;while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<l)e.match_length=258-(l-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=a._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(d(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(d(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(d(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==b&&4!==b||(i.status=666),1===b||3===b)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===b&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(c(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),f(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&e.adler),p(i,e.adler>>8&255),p(i,e.adler>>16&255),p(i,e.adler>>24&255),p(i,255&e.total_in),p(i,e.total_in>>8&255),p(i,e.total_in>>16&255),p(i,e.total_in>>24&255)):(m(i,e.adler>>>16),m(i,65535&e.adler)),f(e),0<i.wrap&&(i.wrap=-i.wrap),+(0===i.pending))},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?u(e,-2):(e.state=null,113===t?u(e,-3):0):-2},n.deflateSetDictionary=function(e,t){var n,r,a,o,s,u,h,f,d=t.length;if(!e||!e.state||2===(o=(n=e.state).wrap)||1===o&&42!==n.status||n.lookahead)return -2;for(1===o&&(e.adler=l(e.adler,t,d,0)),n.wrap=0,d>=n.w_size&&(0===o&&(c(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new i.Buf8(n.w_size),i.arraySet(f,t,d-n.w_size,n.w_size,0),t=f,d=n.w_size),s=e.avail_in,u=e.next_in,h=e.input,e.avail_in=d,e.next_in=0,e.input=t,y(n);n.lookahead>=3;){for(r=n.strstart,a=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--a;);n.strstart=r,n.lookahead=2,y(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=u,e.input=h,e.avail_in=s,n.wrap=o,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){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,n){t.exports=function(e,t){var n,r,i,a,l,o,s,u,h,c,f,d,p,m,g,y,b,_,v,w,k,x,E,A,S;n=e.state,r=e.next_in,A=e.input,i=r+(e.avail_in-5),a=e.next_out,S=e.output,l=a-(t-e.avail_out),o=a+(e.avail_out-257),s=n.dmax,u=n.wsize,h=n.whave,c=n.wnext,f=n.window,d=n.hold,p=n.bits,m=n.lencode,g=n.distcode,y=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do for(p<15&&(d+=A[r++]<<p,p+=8,d+=A[r++]<<p,p+=8),_=m[d&y];;){if(d>>>=v=_>>>24,p-=v,0==(v=_>>>16&255))S[a++]=65535&_;else{if(!(16&v)){if(0==(64&v)){_=m[(65535&_)+(d&(1<<v)-1)];continue}if(32&v){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}for(w=65535&_,(v&=15)&&(p<v&&(d+=A[r++]<<p,p+=8),w+=d&(1<<v)-1,d>>>=v,p-=v),p<15&&(d+=A[r++]<<p,p+=8,d+=A[r++]<<p,p+=8),_=g[d&b];;){if(d>>>=v=_>>>24,p-=v,!(16&(v=_>>>16&255))){if(0==(64&v)){_=g[(65535&_)+(d&(1<<v)-1)];continue}e.msg="invalid distance code",n.mode=30;break e}if(k=65535&_,p<(v&=15)&&(d+=A[r++]<<p,(p+=8)<v&&(d+=A[r++]<<p,p+=8)),s<(k+=d&(1<<v)-1)){e.msg="invalid distance too far back",
vendor: 6,235 bytes, line 1
1n.mode=30;break e}if(d>>>=v,p-=v,(v=a-l)<k){if(h<(v=k-v)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(E=f,(x=0)===c){if(x+=u-v,v<w){for(w-=v;S[a++]=f[x++],--v;);x=a-k,E=S}}else if(c<v){if(x+=u+c-v,(v-=c)<w){for(w-=v;S[a++]=f[x++],--v;);if(x=0,c<w){for(w-=v=c;S[a++]=f[x++],--v;);x=a-k,E=S}}}else if(x+=c-v,v<w){for(w-=v;S[a++]=f[x++],--v;);x=a-k,E=S}for(;2<w;)S[a++]=E[x++],S[a++]=E[x++],S[a++]=E[x++],w-=3;w&&(S[a++]=E[x++],1<w&&(S[a++]=E[x++]))}else{for(x=a-k;S[a++]=S[x++],S[a++]=S[x++],S[a++]=S[x++],2<(w-=3););w&&(S[a++]=S[x++],1<w&&(S[a++]=S[x++]))}break}}break}while(r<i&&a<o)r-=w=p>>3,d&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<o?o-a+257:257-(a-o),n.hold=d,n.bits=p}},{}],49:[function(e,t,n){var r=e("../utils/common"),i=e("./adler32"),a=e("./crc32"),l=e("./inffast"),o=e("./inftrees");function s(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){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 r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(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=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):-2}function c(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,h(e)):-2}function f(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?-2:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,c(e))):-2}function d(e,t){var n;return e?((e.state=new u).window=null,0!==(n=f(e,t))&&(e.state=null),n):-2}var p,m,g=!0;function y(e,t,n,i){var a,l=e.state;return null===l.window&&(l.wsize=1<<l.wbits,l.wnext=0,l.whave=0,l.window=new r.Buf8(l.wsize)),i>=l.wsize?(r.arraySet(l.window,t,n-l.wsize,l.wsize,0),l.wnext=0,l.whave=l.wsize):(i<(a=l.wsize-l.wnext)&&(a=i),r.arraySet(l.window,t,n-i,a,l.wnext),(i-=a)?(r.arraySet(l.window,t,n-i,i,0),l.wnext=i,l.whave=l.wsize):(l.wnext+=a,l.wnext===l.wsize&&(l.wnext=0),l.whave<l.wsize&&(l.whave+=a))),0}n.inflateReset=c,n.inflateReset2=f,n.inflateResetKeep=h,n.inflateInit=function(e){return d(e,15)},n.inflateInit2=d,n.inflate=function(e,t){var n,u,h,c,f,d,b,_,v,w,k,x,E,A,S,B,C,z,I,O,T,R,F,j,L=0,U=new r.Buf8(4),M=[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 -2;12===(n=e.state).mode&&(n.mode=13),f=e.next_out,h=e.output,b=e.avail_out,c=e.next_in,u=e.input,d=e.avail_in,_=n.hold,v=n.bits,w=d,k=b,R=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;v<16;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(2&n.wrap&&35615===_){U[n.check=0]=255&_,U[1]=_>>>8&255,n.check=a(n.check,U,2,0),v=_=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&_)<<8)+(_>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&_)){e.msg="unknown compression method",n.mode=30;break}if(v-=4,T=8+(15&(_>>>=4)),0===n.wbits)n.wbits=T;else if(T>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<T,e.adler=n.check=1,n.mode=512&_?10:12,v=_=0;break;case 2:for(;v<16;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(n.flags=_,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=_>>8&1),512&n.flags&&(U[0]=255&_,U[1]=_>>>8&255,n.check=a(n.check,U,2,0)),v=_=0,n.mode=3;case 3:for(;v<32;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}n.head&&(n.head.time=_),512&n.flags&&(U[0]=255&_,U[1]=_>>>8&255,U[2]=_>>>16&255,U[3]=_>>>24&255,n.check=a(n.check,U,4,0)),v=_=0,n.mode=4;case 4:for(;v<16;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}n.head&&(n.head.xflags=255&_,n.head.os=_>>8),512&n.flags&&(U[0]=255&_,U[1]=_>>>8&255,n.check=a(n.check,U,2,0)),v=_=0,n.mode=5;case 5:if(1024&n.flags){for(;v<16;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}n.length=_,n.head&&(n.head.extra_len=_),512&n.flags&&(U[0]=255&_,U[1]=_>>>8&255,n.check=a(n.check,U,2,0)),v=_=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(d<(x=n.length)&&(x=d),x&&(n.head&&(T=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),r.arraySet(n.head.extra,u,c,x,T)),512&n.flags&&(n.check=a(n.check,u,x,c)),d-=x,c+=x,n.length-=x),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===d)break e;for(x=0;T=u[c+x++],n.head&&T&&n.length<65536&&(n.head.name+=String.fromCharCode(T)),T&&x<d;);if(512&n.flags&&(n.check=a(n.check,u,x,c)),d-=x,c+=x,T)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===d)break e;for(x=0;T=u[c+x++],n.head&&T&&n.length<65536&&(n.head.comment+=String.fromCharCode(T)),T&&x<d;);if(512&n.flags&&(n.check=a(n.check,u,x,c)),d-=x,c+=x,T)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;v<16;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(_!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}v=_=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;v<32;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}e.adler=n.check=s(_),v=_=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=f,e.avail_out=b,e.next_in=c,e.avail_in=d,n.hold=_,n.bits=v,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){_>>>=7&v,v-=7&v,n.mode=27;break}for(;v<3;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}switch(n.last=1&_,v-=1,3&(_>>>=1)){case 0:n.mode=14;break;case 1:if(function(e){if(g){var t;for(p=new r.Buf32(512),m=new r.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(o(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;o(2,e.lens,0,32,m,0,e.work,{bits:5}),g=!1}
vendor: 4,177 bytes, line 1
1e.lencode=p,e.lenbits=9,e.distcode=m,e.distbits=5}(n),n.mode=20,6!==t)break;_>>>=2,v-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}_>>>=2,v-=2;break;case 14:for(_>>>=7&v,v-=7&v;v<32;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if((65535&_)!=(_>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&_,v=_=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(x=n.length){if(d<x&&(x=d),b<x&&(x=b),0===x)break e;r.arraySet(h,u,c,x,f),d-=x,c+=x,b-=x,f+=x,n.length-=x;break}n.mode=12;break;case 17:for(;v<14;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(n.nlen=257+(31&_),v-=5,n.ndist=1+(31&(_>>>=5)),v-=5,n.ncode=4+(15&(_>>>=5)),_>>>=4,v-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;v<3;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}n.lens[M[n.have++]]=7&_,_>>>=3,v-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,F={bits:n.lenbits},R=o(0,n.lens,0,19,n.lencode,0,n.work,F),n.lenbits=F.bits,R){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;B=(L=n.lencode[_&(1<<n.lenbits)-1])>>>16&255,C=65535&L,!((S=L>>>24)<=v);){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(C<16)_>>>=S,v-=S,n.lens[n.have++]=C;else{if(16===C){for(j=S+2;v<j;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(_>>>=S,v-=S,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}T=n.lens[n.have-1],x=3+(3&_),_>>>=2,v-=2}else if(17===C){for(j=S+3;v<j;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}v-=S,T=0,x=3+(7&(_>>>=S)),_>>>=3,v-=3}else{for(j=S+7;v<j;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}v-=S,T=0,x=11+(127&(_>>>=S)),_>>>=7,v-=7}if(n.have+x>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=T}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,F={bits:n.lenbits},R=o(1,n.lens,0,n.nlen,n.lencode,0,n.work,F),n.lenbits=F.bits,R){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,F={bits:n.distbits},R=o(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,F),n.distbits=F.bits,R){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=d&&258<=b){e.next_out=f,e.avail_out=b,e.next_in=c,e.avail_in=d,n.hold=_,n.bits=v,l(e,k),f=e.next_out,h=e.output,b=e.avail_out,c=e.next_in,u=e.input,d=e.avail_in,_=n.hold,v=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;B=(L=n.lencode[_&(1<<n.lenbits)-1])>>>16&255,C=65535&L,!((S=L>>>24)<=v);){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(B&&0==(240&B)){for(z=S,I=B,O=C;B=(L=n.lencode[O+((_&(1<<z+I)-1)>>z)])>>>16&255,C=65535&L,!(z+(S=L>>>24)<=v);){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}_>>>=z,v-=z,n.back+=z}if(_>>>=S,v-=S,n.back+=S,n.length=C,0===B){n.mode=26;break}if(32&B){n.back=-1,n.mode=12;break}if(64&B){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&B,n.mode=22;case 22:if(n.extra){for(j=n.extra;v<j;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}n.length+=_&(1<<n.extra)-1,_>>>=n.extra,v-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;B=(L=n.distcode[_&(1<<n.distbits)-1])>>>16&255,C=65535&L,!((S=L>>>24)<=v);){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(0==(240&B)){for(z=S,I=B,O=C;B=(L=n.distcode[O+((_&(1<<z+I)-1)>>z)])>>>16&255,C=65535&L,!(z+(S=L>>>24)<=v);){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}_>>>=z,v-=z,n.back+=z}if(_>>>=S,v-=S,n.back+=S,64&B){e.msg="invalid distance code",n.mode=30;break}n.offset=C,n.extra=15&B,n.mode=24;case 24:if(n.extra){for(j=n.extra;v<j;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}n.offset+=_&(1<<n.extra)-1,_>>>=n.extra,v-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===b)break e;if(x=k-b,n.offset>x){if((x=n.offset-x)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}E=x>n.wnext?(x-=n.wnext,n.wsize-x):n.wnext-x,x>n.length&&(x=n.length),A=n.window}else A=h,E=f-n.offset,x=n.length;for(b<x&&(x=b),b-=x,n.length-=x;h[f++]=A[E++],--x;);0===n.length&&(n.mode=21);break;case 26:if(0===b)break e;
1h[f++]=n.length,b--,n.mode=21;break;case 27:if(n.wrap){for(;v<32;){if(0===d)break e;d--,_|=u[c++]<<v,v+=8}if(k-=b,e.total_out+=k,n.total+=k,k&&(e.adler=n.check=n.flags?a(n.check,h,k,f-k):i(n.check,h,k,f-k)),k=b,(n.flags?_:s(_))!==n.check){e.msg="incorrect data check",n.mode=30;break}v=_=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;v<32;){if(0===d)break e;d--,_+=u[c++]<<v,v+=8}if(_!==(0|n.total)){e.msg="incorrect length check",n.mode=30;break}v=_=0}n.mode=29;case 29:R=1;break e;case 30:R=-3;break e;case 31:return -4;default:return -2}return e.next_out=f,e.avail_out=b,e.next_in=c,e.avail_in=d,n.hold=_,n.bits=v,(n.wsize||k!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&y(e,e.output,e.next_out,k-e.avail_out)?(n.mode=31,-4):(w-=e.avail_in,k-=e.avail_out,e.total_in+=w,e.total_out+=k,n.total+=k,n.wrap&&k&&(e.adler=n.check=n.flags?a(n.check,h,k,e.next_out-k):i(n.check,h,k,e.next_out-k)),e.data_type=n.bits+64*!!n.last+128*(12===n.mode)+256*(20===n.mode||15===n.mode),(0==w&&0===k||4===t)&&0===R&&(R=-5),R)},n.inflateEnd=function(e){if(!e||!e.state)return -2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?-2:((n.head=t).done=!1,0):-2},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?-2:11===n.mode&&i(1,t,r,0)!==n.check?-3:y(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var r=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],l=[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],o=[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,n,s,u,h,c,f){var d,p,m,g,y,b,_,v,w,k=f.bits,x=0,E=0,A=0,S=0,B=0,C=0,z=0,I=0,O=0,T=0,R=null,F=0,j=new r.Buf16(16),L=new r.Buf16(16),U=null,M=0;for(x=0;x<=15;x++)j[x]=0;for(E=0;E<s;E++)j[t[n+E]]++;for(B=k,S=15;1<=S&&0===j[S];S--);if(S<B&&(B=S),0===S)return u[h++]=0x1400000,u[h++]=0x1400000,f.bits=1,0;for(A=1;A<S&&0===j[A];A++);for(B<A&&(B=A),x=I=1;x<=15;x++)if(I<<=1,(I-=j[x])<0)return -1;if(0<I&&(0===e||1!==S))return -1;for(L[1]=0,x=1;x<15;x++)L[x+1]=L[x]+j[x];for(E=0;E<s;E++)0!==t[n+E]&&(c[L[t[n+E]]++]=E);if(b=0===e?(R=U=c,19):1===e?(R=i,F-=257,U=a,M-=257,256):(R=l,U=o,-1),x=A,y=h,z=E=T=0,m=-1,g=(O=1<<(C=B))-1,1===e&&852<O||2===e&&592<O)return 1;for(;;){for(_=x-z,w=c[E]<b?(v=0,c[E]):c[E]>b?(v=U[M+c[E]],R[F+c[E]]):(v=96,0),d=1<<x-z,A=p=1<<C;u[y+(T>>z)+(p-=d)]=_<<24|v<<16|w,0!==p;);for(d=1<<x-1;T&d;)d>>=1;if(0!==d?(T&=d-1,T+=d):T=0,E++,0==--j[x]){if(x===S)break;x=t[n+c[E]]}if(B<x&&(T&g)!==m){for(0===z&&(z=B),y+=A,I=1<<(C=x-z);C+z<S&&!((I-=j[C+z])<=0);)C++,I<<=1;if(O+=1<<C,1===e&&852<O||2===e&&592<O)return 1;u[m=T&g]=B<<24|C<<16|y-h}}return 0!==T&&(u[y+T]=x-z<<24|4194304),f.bits=B,0}},{"../utils/common":41}],51:[function(e,t,n){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,n){var r=e("../utils/common");function i(e){for(var t=e.length;0<=--t;)e[t]=0}var a=[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],l=[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],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],s=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],u=Array(576);i(u);var h=Array(60);i(h);var c=Array(512);i(c);var f=Array(256);i(f);var d=Array(29);i(d);var p,m,g,y=Array(30);function b(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function _(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function v(e){return e<256?c[e]:c[256+(e>>>7)]}
vendor: 7,850 bytes, line 1
1function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,w(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function x(e,t,n){k(e,n[2*t],n[2*t+1])}function E(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function A(e,t,n){var r,i,a=Array(16),l=0;for(r=1;r<=15;r++)a[r]=l=l+n[r-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=E(a[o]++,o))}}function S(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function B(e){8<e.bi_valid?w(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 C(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function z(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&C(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!C(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function I(e,t,n){var r,i,o,s,u=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*u]<<8|e.pending_buf[e.d_buf+2*u+1],i=e.pending_buf[e.l_buf+u],u++,0===r?x(e,i,t):(x(e,(o=f[i])+256+1,t),0!==(s=a[o])&&k(e,i-=d[o],s),x(e,o=v(--r),n),0!==(s=l[o])&&k(e,r-=y[o],s)),u<e.last_lit;);x(e,256,t)}function O(e,t){var n,r,i,a=t.dyn_tree,l=t.stat_desc.static_tree,o=t.stat_desc.has_stree,s=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<s;n++)0!==a[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,o&&(e.static_len-=l[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;1<=n;n--)z(e,a,n);for(i=s;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],z(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,z(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,l,o,s=t.dyn_tree,u=t.max_code,h=t.stat_desc.static_tree,c=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(a=0;a<=15;a++)e.bl_count[a]=0;for(s[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)p<(a=s[2*s[2*(r=e.heap[n])+1]+1]+1)&&(a=p,m++),s[2*r+1]=a,u<r||(e.bl_count[a]++,l=0,d<=r&&(l=f[r-d]),o=s[2*r],e.opt_len+=o*(a+l),c&&(e.static_len+=o*(h[2*r+1]+l)));if(0!==m){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,m-=2}while(0<m)for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)u<(i=e.heap[--n])||(s[2*i+1]!==a&&(e.opt_len+=(a-s[2*i+1])*s[2*i],s[2*i+1]=a),r--)}}(e,t),A(a,u,e.bl_count)}function T(e,t,n){var r,i,a=-1,l=t[1],o=0,s=7,u=4;for(0===l&&(s=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=l,l=t[2*(r+1)+1],++o<s&&i===l||(o<u?e.bl_tree[2*i]+=o:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):o<=10?e.bl_tree[34]++:e.bl_tree[36]++,a=i,u=(o=0)===l?(s=138,3):i===l?(s=6,3):(s=7,4))}function R(e,t,n){var r,i,a=-1,l=t[1],o=0,s=7,u=4;for(0===l&&(s=138,u=3),r=0;r<=n;r++)if(i=l,l=t[2*(r+1)+1],!(++o<s&&i===l)){if(o<u)for(;x(e,i,e.bl_tree),0!=--o;);else 0!==i?(i!==a&&(x(e,i,e.bl_tree),o--),x(e,16,e.bl_tree),k(e,o-3,2)):o<=10?(x(e,17,e.bl_tree),k(e,o-3,3)):(x(e,18,e.bl_tree),k(e,o-11,7));a=i,u=(o=0)===l?(s=138,3):i===l?(s=6,3):(s=7,4)}}i(y);var F=!1;function j(e,t,n,i){k(e,0+ +!!i,3),B(e),w(e,n),w(e,~n),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}n._tr_init=function(e){F||(function(){var e,t,n,r,i,s=Array(16);for(r=n=0;r<28;r++)for(d[r]=n,e=0;e<1<<a[r];e++)f[n++]=r;for(f[n-1]=r,r=i=0;r<16;r++)for(y[r]=i,e=0;e<1<<l[r];e++)c[i++]=r;for(i>>=7;r<30;r++)for(y[r]=i<<7,e=0;e<1<<l[r]-7;e++)c[256+i++]=r;for(t=0;t<=15;t++)s[t]=0;for(e=0;e<=143;)u[2*e+1]=8,e++,s[8]++;for(;e<=255;)u[2*e+1]=9,e++,s[9]++;for(;e<=279;)u[2*e+1]=7,e++,s[7]++;for(;e<=287;)u[2*e+1]=8,e++,s[8]++;for(A(u,287,s),e=0;e<30;e++)h[2*e+1]=5,h[2*e]=E(e,5);p=new b(u,a,257,286,15),m=new b(h,l,0,30,15),g=new b([],o,0,19,7)}(),F=!0),e.l_desc=new _(e.dyn_ltree,p),e.d_desc=new _(e.dyn_dtree,m),e.bl_desc=new _(e.bl_tree,g),e.bi_buf=0,e.bi_valid=0,S(e)},n._tr_stored_block=j,n._tr_flush_block=function(e,t,n,r){var i,a,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=0xf3ffc07f;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),O(e,e.l_desc),O(e,e.d_desc),l=function(e){var t;for(T(e,e.dyn_ltree,e.l_desc.max_code),T(e,e.dyn_dtree,e.d_desc.max_code),O(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*s[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?j(e,t,n,r):4===e.strategy||a===i?(k(e,2+ +!!r,3),I(e,u,h)):(k(e,4+ +!!r,3),function(e,t,n,r){var i;for(k(e,t-257,5),k(e,n-1,5),k(e,r-4,4),i=0;i<r;i++)k(e,e.bl_tree[2*s[i]+1],3);R(e,e.dyn_ltree,t-1),R(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),I(e,e.dyn_ltree,e.dyn_dtree)),S(e),r&&B(e)},n._tr_tally=function(e,t,n){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&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(f[n]+256+1)]++,e.dyn_dtree[2*v(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){k(e,2,3),x(e,256,u),16===e.bi_valid?(w(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)}},{"../utils/common":41}],53:[function(e,t,n){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,r){(function(e){!function(e){if(!e.setImmediate){var t,n,r,i,l=1,o={},s=!1,u=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,t="[object process]"===({}).toString.call(e.process)?function(e){a.nextTick(function(){f(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(n=u.documentElement,function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):function(e){setTimeout(f,0,e)}:(i="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",d,!1):e.attachEvent("onmessage",d),function(t){e.postMessage(i+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var n=Array(arguments.length-1),r=0;r<n.length;r++)n[r]=arguments[r+1];var i={callback:e,args:n};return o[l]=i,t(l),l++},h.clearImmediate=c}function c(e){delete o[e]}function f(e){if(s)setTimeout(f,0,e);else{var t=o[e];if(t){s=!0;try{var n=t.callback,r=t.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(void 0,r)}}finally{c(e),s=!1}}}}function d(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&f(+t.data.slice(i.length))}}("u"<typeof self?void 0===e?this:e:self)}).call(this,void 0!==n?n:"u">typeof self?self:"u">typeof window?window:{})},{}]},{},[10])(10)}),i("a2JVk",function(t,n){e(t.exports,"Buffer",()=>i,e=>i=e),e(t.exports,"INSPECT_MAX_BYTES",()=>a,e=>a=e);var i,a,l=r("czzCW"),o=r("gvDHl");let s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function u(e){if(e>
vendor: 21,037 bytes, line 1
10x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,h.prototype),t}function h(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e){var r=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!h.isEncoding(i))throw TypeError("Unknown encoding: "+i);let n=0|y(r,i),a=u(n),l=a.write(r,i);return l!==n&&(a=a.slice(0,l)),a}if(ArrayBuffer.isView(e)){var a=e;if(N(a,Uint8Array)){let e=new Uint8Array(a);return m(e.buffer,e.byteOffset,e.byteLength)}return p(a)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(N(e,ArrayBuffer)||e&&N(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(N(e,SharedArrayBuffer)||e&&N(e.buffer,SharedArrayBuffer)))return m(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return h.from(l,t,n);let o=function(e){if(h.isBuffer(e)){let t=0|g(e.length),n=u(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?u(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void 0}(e);if(o)return o;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return h.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function f(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return f(e),u(e<0?0:0|g(e))}function p(e){let t=e.length<0?0:0|g(e.length),n=u(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function m(e,t,n){let r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),h.prototype),r}function g(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function y(e,t){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||N(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return M(e).length;default:if(i)return r?-1:U(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=D[e[r]];return i}(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":var i,a,o;return i=this,a=t,o=n,0===a&&o===i.length?l.fromByteArray(i):l.fromByteArray(i.slice(a,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){let r=e.slice(t,n),i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}(this,t,n);default:if(r)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){var a;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(a=n*=1)!=a&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length)if(i)return -1;else n=e.length-1;else if(n<0)if(!i)return -1;else n=0;if("string"==typeof t&&(t=h.from(t,r)),h.isBuffer(t))return 0===t.length?-1:w(e,t,n,r,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,n);else return Uint8Array.prototype.lastIndexOf.call(e,t,n);return w(e,[t],n,r,i)}throw TypeError("val must be string, number or Buffer")}function w(e,t,n,r,i){let a,l=1,o=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;l=2,o/=2,s/=2,n/=2}function u(e,t){return 1===l?e[t]:e.readUInt16BE(t*l)}if(i){let r=-1;for(a=n;a<o;a++)if(u(e,a)===u(t,-1===r?0:a-r)){if(-1===r&&(r=a),a-r+1===s)return r*l}else -1!==r&&(a-=a-r),r=-1}else for(n+s>o&&(n=o-s),a=n;a>=0;a--){let n=!0;for(let r=0;r<s;r++)if(u(e,a+r)!==u(t,r)){n=!1;break}if(n)return a}return -1}function k(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],a=null,l=t>239?4:t>223?3:t>191?2:1;if(i+l<=n){let n,r,o,s;switch(l){case 1:t<128&&(a=t);break;case 2:(192&(n=e[i+1]))==128&&(s=(31&t)<<6|63&n)>127&&(a=s);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(s=(15&t)<<12|(63&n)<<6|63&r)>2047&&(s<55296||s>57343)&&(a=s);break;case 4:n=e[i+1],r=e[i+2],o=e[i+3],(192&n)==128&&(192&r)==128&&(192&o)==128&&(s=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&o)>65535&&s<1114112&&(a=s)}}null===a?(a=65533,l=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=l}var a=r;let l=a.length;if(l<=4096)return String.fromCharCode.apply(String,a);let o="",s=0;for(;s<l;)o+=String.fromCharCode.apply(String,a.slice(s,s+=4096));return o}function x(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function E(e,t,n,r,i,a){if(!h.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function A(e,t,n,r,i){R(t,r,i,e,n,7);let a=Number(t&BigInt(0xffffffff));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let l=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n++]=l,l>>=8,e[n++]=l,l>>=8,e[n++]=l,l>>=8,e[n++]=l,n}function S(e,t,n,r,i){R(t,r,i,e,n,7);let a=Number(t&BigInt(0xffffffff));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let l=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n+3]=l,l>>=8,e[n+2]=l,l>>=8,e[n+1]=l,l>>=8,e[n]=l,n+8}function B(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function C(e,t,n,r,i){return t*=1,n>>>=0,i||B(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function z(e,t,n,r,i){return t*=1,n>>>=0,i||B(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}i=h,a=50,h.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!h.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}}),h.poolSize=8192,h.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(e,t,n){return(f(e),e<=0)?u(e):void 0!==t?"string"==typeof n?u(e).fill(t,n):u(e).fill(t):u(e)},h.allocUnsafe=function(e){return d(e)},h.allocUnsafeSlow=function(e){return d(e)},h.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==h.prototype},h.compare=function(e,t){if(N(e,Uint8Array)&&(e=h.from(e,e.offset,e.byteLength)),N(t,Uint8Array)&&(t=h.from(t,t.offset,t.byteLength)),!h.isBuffer(e)||!h.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},h.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},h.concat=function(e,t){let n;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return h.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;let r=h.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(N(t,Uint8Array))i+t.length>r.length?(h.isBuffer(t)||(t=h.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(h.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},h.byteLength=y,h.prototype._isBuffer=!0,h.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)_(this,t,t+1);return this},h.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},h.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},h.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?k(this,0,e):b.apply(this,arguments)},h.prototype.toLocaleString=h.prototype.toString,h.prototype.equals=function(e){if(!h.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===h.compare(this,e)},h.prototype.inspect=function(){let e="",t=a;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},s&&(h.prototype[s]=h.prototype.inspect),h.prototype.compare=function(e,t,n,r,i){if(N(e,Uint8Array)&&(e=h.from(e,e.offset,e.byteLength)),!h.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let a=i-r,l=n-t,o=Math.min(a,l),s=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<o;++e)if(s[e]!==u[e]){a=s[e],l=u[e];break}return a<l?-1:+(l<a)},h.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},h.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},h.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},h.prototype.write=function(e,t,n,r){var i,a,l,o,s,u,h,c;if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let d=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let a=e.length-n;r?(r=Number(r))>a&&(r=a):r=a;let l=t.length;for(r>l/2&&(r=l/2),i=0;i<r;++i){var o;let r=parseInt(t.substr(2*i,2),16);if((o=r)!=o)break;e[n+i]=r}return i}(this,e,t,n);case"utf8":case"utf-8":return i=t,a=n,P(U(e,this.length-i),this,i,a);case"ascii":case"latin1":case"binary":return l=t,o=n,P(function(e){let t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,l,o);case"base64":return s=t,u=n,P(M(e),this,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=t,c=n,P(function(e,t){let n,r,i=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i.push(n%256),i.push(r);return i}(e,this.length-h),this,h,c);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},h.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,h.prototype),r},h.prototype.readUintLE=h.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r},h.prototype.readUintBE=h.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},h.prototype.readUint8=h.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},h.prototype.readBigUInt64LE=W(function(e){F(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&j(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),h.prototype.readBigUInt64BE=W(function(e){F(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&j(e,this.length-8);let r=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),h.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},h.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);let r=t,i=1,a=this[e+--r];for(;r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},h.prototype.readInt8=function(e,t){return(e>>>=0,t||x(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},h.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},h.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},h.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},h.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},h.prototype.readBigInt64LE=W(function(e){F(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&j(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),h.prototype.readBigInt64BE=W(function(e){F(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&j(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+n)}),h.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),o.read(this,e,!0,23,4)},h.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),o.read(this,e,!1,23,4)},h.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),o.read(this,e,!0,52,8)},h.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),o.read(this,e,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;E(this,e,t,n,r,0)}let i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},h.prototype.writeUintBE=h.prototype.writeUIntBE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;E(this,e,t,n,r,0)}let i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},h.prototype.writeUint8=h.prototype.writeUInt8=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,1,255,0),this[t]=255&e,t+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},h.prototype.writeBigUInt64LE=W(function(e,t=0){return A(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeBigUInt64BE=W(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeIntLE=function(e,t,n,r){if(e*=1,t>>>=0,!r){let r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}let i=0,a=1,l=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===l&&0!==this[t+i-1]&&(l=1),this[t+i]=(e/a|0)-l&255;return t+n},h.prototype.writeIntBE=function(e,t,n,r){if(e*=1,t>>>=0,!r){let r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}let i=n-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a|0)-l&255;return t+n},h.prototype.writeInt8=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},h.prototype.writeInt16LE=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},h.prototype.writeInt16BE=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeInt32LE=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},h.prototype.writeInt32BE=function(e,t,n){return e*=1,t>>>=0,n||E(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},h.prototype.writeBigInt64LE=W(function(e,t=0){return A(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeBigInt64BE=W(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeFloatLE=function(e,t,n){return C(this,e,t,!0,n)},h.prototype.writeFloatBE=function(e,t,n){return C(this,e,t,!1,n)},h.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},h.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},h.prototype.copy=function(e,t,n,r){if(!h.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},h.prototype.fill=function(e,t,n,r){let i;if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!h.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){let t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{let a=h.isBuffer(e)?e:h.from(e,r),l=a.length;
1if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%l]}return this};let I={};function O(e,t,n){I[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function T(e){let t="",n=e.length,r=+("-"===e[0]);for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function R(e,t,n,r,i,a){if(e>n||e<t){let r,i="bigint"==typeof t?"n":"";throw r=a>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(a+1)*8}${i}`:`>= -(2${i} ** ${(a+1)*8-1}${i}) and < 2 ** ${(a+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new I.ERR_OUT_OF_RANGE("value",r,e)}F(i,"offset"),(void 0===r[i]||void 0===r[i+a])&&j(i,r.length-(a+1))}function F(e,t){if("number"!=typeof e)throw new I.ERR_INVALID_ARG_TYPE(t,"number",e)}function j(e,t,n){if(Math.floor(e)!==e)throw F(e,n),new I.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new I.ERR_BUFFER_OUT_OF_BOUNDS;throw new I.ERR_OUT_OF_RANGE(n||"offset",`>= ${+!!n} and <= ${t}`,e)}O("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),O("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),O("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>0x100000000?i=T(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=T(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let L=/[^+/0-9A-Za-z-_]/g;function U(e,t){let n;t=t||1/0;let r=e.length,i=null,a=[];for(let l=0;l<r;++l){if((n=e.charCodeAt(l))>55295&&n<57344){if(!i){if(n>56319||l+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return a}function M(e){return l.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function P(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function N(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let D=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function W(e){return"u"<typeof BigInt?Y:e}function Y(){throw Error("BigInt not supported")}}),i("czzCW",function(t,n){e(t.exports,"toByteArray",()=>r,e=>r=e),e(t.exports,"fromByteArray",()=>i,e=>i=e);for(var r=function(e){var t,n,r=function(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}(e),i=r[0],a=r[1],s=new o((i+a)*3/4-a),u=0,h=a>0?i-4:i;for(n=0;n<h;n+=4)t=l[e.charCodeAt(n)]<<18|l[e.charCodeAt(n+1)]<<12|l[e.charCodeAt(n+2)]<<6|l[e.charCodeAt(n+3)],s[u++]=t>>16&255,s[u++]=t>>8&255,s[u++]=255&t;return 2===a&&(t=l[e.charCodeAt(n)]<<2|l[e.charCodeAt(n+1)]>>4,s[u++]=255&t),1===a&&(t=l[e.charCodeAt(n)]<<10|l[e.charCodeAt(n+1)]<<4|l[e.charCodeAt(n+2)]>>2,s[u++]=t>>8&255,s[u++]=255&t),s},i=function(e){for(var t,n=e.length,r=n%3,i=[],l=0,o=n-r;l<o;l+=16383)i.push(function(e,t,n){for(var r,i=[],l=t;l<n;l+=3)r=(e[l]<<16&0xff0000)+(e[l+1]<<8&65280)+(255&e[l+2]),i.push(a[r>>18&63]+a[r>>12&63]+a[r>>6&63]+a[63&r]);return i.join("")}(e,l,l+16383>o?o:l+16383));return 1===r?i.push(a[(t=e[n-1])>>2]+a[t<<4&63]+"=="):2===r&&i.push(a[(t=(e[n-2]<<8)+e[n-1])>>10]+a[t>>4&63]+a[t<<2&63]+"="),i.join("")},a=[],l=[],o="u">typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",u=0,h=s.length;u<h;++u)a[u]=s[u],l[s.charCodeAt(u)]=u;l[45]=62,l[95]=63}),i("gvDHl",function(t,n){var r,i;e(t.exports,"read",()=>r,e=>r=e),e(t.exports,"write",()=>i,e=>i=e),r=function(e,t,n,r,i){var a,l,o=8*i-r-1,s=(1<<o)-1,u=s>>1,h=-7,c=n?i-1:0,f=n?-1:1,d=e[t+c];for(c+=f,a=d&(1<<-h)-1,d>>=-h,h+=o;h>0;a=256*a+e[t+c],c+=f,h-=8);for(l=a&(1<<-h)-1,a>>=-h,h+=r;h>0;l=256*l+e[t+c],c+=f,h-=8);if(0===a)a=1-u;else{if(a===s)return l?0/0:(d?-1:1)*2e308;l+=Math.pow(2,r),a-=u}return(d?-1:1)*l*Math.pow(2,a-r)},i=function(e,t,n,r,i,a){var l,o,s,u=8*a-i-1,h=(1<<u)-1,c=h>>1,f=5960464477539062e-23*(23===i),d=r?0:a-1,p=r?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||1/0===t?(o=+!!isNaN(t),l=h):(l=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-l))<1&&(l--,s*=2),l+c>=1?t+=f/s:t+=f*Math.pow(2,1-c),t*s>=2&&(l++,s/=2),l+c>=h?(o=0,l=h):l+c>=1?(o=(t*s-1)*Math.pow(2,i),l+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,i),l=0));i>=8;e[n+d]=255&o,d+=p,o/=256,i-=8);for(l=l<<i|o,u+=i;u>0;e[n+d]=255&l,d+=p,l/=256,u-=8);e[n+d-p]|=128*m}}),i("dG1h2",function(e,t){var n,r,i,a=e.exports={};function l(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:l}catch(e){n=l}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===l||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}var u=[],h=!1,c=-1;function f(){h&&i&&(h=!1,i.length?u=i.concat(u):c=-1,u.length&&d())}function d(){if(!h){var e=s(f);h=!0;for(var t=u.length;t;){for(i=u,u=[];++c<t;)i&&i[c].run();c=-1,t=u.length}i=null,h=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||h||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=m,a.addListener=m,a.once=m,a.off=m,a.removeListener=m,a.removeAllListeners=m,a.emit=m,a.prependListener=m,a.prependOnceListener=m,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}}),i("fxsdn",function(e,t){var r,i="__lodash_hash_undefined__",a=/^\[object .+?Constructor\]$/,l="object"==typeof n&&n&&n.Object===Object&&n,o="object"==typeof self&&self&&self.Object===Object&&self,s=l||o||Function("return this")();function u(e,t){return!!(e?e.length:0)&&function(e,t){if(t!=t){for(var n=h,r=e.length,i=-1;++i<r;)if(n(e[i],i,e))return i;return -1}for(var a=-1,l=e.length;++a<l;)if(e[a]===t)return a;return -1}(e,t)>-1}function h(e){return e!=e}function c(e,t){return e.has(t)}function f(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var d=Array.prototype,p=Function.prototype,m=Object.prototype,g=s["__core-js_shared__"],y=(r=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",b=p.toString,_=m.hasOwnProperty,v=m.toString,w=RegExp("^"+b.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=d.splice,x=R(s,"Map"),E=R(s,"Set"),A=R(Object,"create");function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function B(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function z(e){var t=-1,n=e?e.length:0;for(this.__data__=new C;++t<n;)this.add(e[t])}function I(e,t){for(var n,r,i=e.length;i--;){if(n=e[i][0],n===(r=t)||n!=n&&r!=r)return i}return -1}S.prototype.clear=function(){this.__data__=A?A(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t=this.__data__;if(A){var n=t[e];return n===i?void 0:n}return _.call(t,e)?t[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return A?void 0!==t[e]:_.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=A&&void 0===t?i:t,this},B.prototype.clear=function(){this.__data__=[]},B.prototype.delete=function(e){var t=this.__data__,n=I(t,e);return!(n<0)&&(n==t.length-1?t.pop():k.call(t,n,1),!0)},B.prototype.get=function(e){var t=this.__data__,n=I(t,e);return n<0?void 0:t[n][1]},B.prototype.has=function(e){return I(this.__data__,e)>-1},B.prototype.set=function(e,t){var n=this.__data__,r=I(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new S,map:new(x||B),string:new S}},C.prototype.delete=function(e){return T(this,e).delete(e)},C.prototype.get=function(e){return T(this,e).get(e)},C.prototype.has=function(e){return T(this,e).has(e)},C.prototype.set=function(e,t){return T(this,e).set(e,t),this},z.prototype.add=z.prototype.push=function(e){return this.__data__.set(e,i),this},z.prototype.has=function(e){return this.__data__.has(e)};var O=E&&1/f(new E([,-0]))[1]==1/0?function(e){return new E(e)}:function(){};function T(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function R(e,t){var n,r,i,l=null==e?void 0:e[t];return!(!F(l)||(n=l,y&&y in n))&&("[object Function]"==(i=F(r=l)?v.call(r):"")||"[object GeneratorFunction]"==i||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(l)?w:a).test(function(e){if(null!=e){try{return b.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(l))?l:void 0}function F(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return e&&e.length?function(e){var t=-1,n=u,r=e.length,i=!0,a=[],l=a;if(r>=200){var o=O(e);
1if(o)return f(o);i=!1,n=c,l=new z}else l=a;t:for(;++t<r;){var s=e[t],h=s;if(s=0!==s?s:0,i&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;a.push(s)}else n(l,h,void 0)||(l!==a&&l.push(h),a.push(s))}return a}(e):[]}}),i("8WnzC",function(t,n){e(t.exports,"transformOSMFile",()=>l);var i=r("cZ7jz"),a=r("720je");async function l(e){let t=await (0,a.readFileAsText)(e),n=(0,i.default)(t,{completeFeature:!0,renderTagged:!0,excludeWay:!1});return(0,a.transformGeoJSON)(n)}}),i("cZ7jz",function(t,n){let r,i;e(t.exports,"default",()=>j);var a,l,o,s,u,h,c,f,d=(e,t)=>()=>(e&&(t=e(e=0)),t);function p(e,t){if(e){let n=Object.assign({},e);if(t)for(let e of t)delete n[e];return n}return{}}function m(e){return e[e.length-1]}function g(e){return e.join(",")}function y(e,t,n){let r=e[t];r?r.push(n):e[t]=[n]}function b(e,t,n){let r=e[t],i=-1;r&&(i=r.indexOf(n)),i>=0&&r.splice(i,1)}function _(e,t){let n=e[t];return n&&n.length>0?n[0]:null}function v(e){return e.length>3&&g(e[0])===g(m(e))}function w(e,t,n){t=t||0,n=n||1;let r=e.reduce((n,r,i)=>e[n][t||0]>r[t||0]?n:i,0),i=r<=0?e.length-2:r-1,a=r>=e.length-1?1:r+1,l=e[i][t],o=e[r][t],s=e[a][t],u=e[i][n],h=e[r][n];return(o-l)*(e[a][n]-u)-(s-l)*(h-u)<0?"clockwise":"counterclockwise"}function k(e){return e.map(parseFloat)}var x=d(()=>{});function E(e){return null!==e.match(/^(.+?)\[(.+?)\]>$/g)}function A(e){let t=/^(.+?)\[(.+?)\]>$/g.exec(e);return t?{evt:t[1]+">",exp:t[2]}:{evt:e}}var S=d(()=>{a=class{constructor(e){this.queryParent=!1,this.progressive=!1,this.parentMap=new WeakMap,e&&(this.queryParent=!!e.queryParent,this.progressive=e.progressive,this.queryParent&&(this.parentMap=new WeakMap)),this.evtListeners={}}parse(e,t,n){n=n?n+".":"";let r=/<([^ >\/]+)(.*?)>/gm,i=[],a=r.exec(e);for(;a;){let l=a[1],o={$tag:l},s=n+l,u=a[2].trim(),h=!1;(u.endsWith("/")||l.startsWith("?")||l.startsWith("!"))&&(h=!0);let c=/([^ ]+?)="(.+?)"/g,f=/([^ ]+?)='(.+?)'/g,d=c.exec(u),p=!1;for(;d;)p=!0,o[d[1]]=d[2],d=c.exec(u);if(!p)for(d=f.exec(u);d;)p=!0,o[d[1]]=d[2],d=f.exec(u);if(p||""===u||(o.text=u),this.progressive&&this.emit(`<${s}>`,o,t),!h){let t=RegExp(`([^]+?)</${l}>`,"g");t.lastIndex=r.lastIndex;let n=t.exec(e);if(n&&n[1]){r.lastIndex=t.lastIndex;let e=this.parse(n[1],o,s);e.length>0?o.$innerNodes=e:o.$innerText=n[1]}}this.queryParent&&t&&this.parentMap.set(o,t),this.progressive&&this.emit(`</${s}>`,o,t),i.push(o),a=r.exec(e)}return i}getParent(e){return this.queryParent?this.parentMap.get(e):null}addListener(e,t){if(E(e)){let n=A(e);n.exp&&(t.condition=Function("node","return "+n.exp.replace(/(\$.+?)(?=[=!.])/g,"node.$&")+";")),e=n.evt}this.$addListener(e,t)}removeListener(e,t){E(e)&&(e=A(e).evt),this.$removeListener(e,t)}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}$addListener(e,t){let n=this.evtListeners[e];n?n.push(t):this.evtListeners[e]=[t]}$removeListener(e,t){let n=this.evtListeners[e],r=-1;n&&(r=n.indexOf(t)),r>=0&&n.splice(r,1)}emit(e,...t){let n=this.evtListeners[e];if(n)for(let e of n)e.condition?!0===e.condition.apply(null,t)&&e.apply(null,t):e.apply(null,t)}}}),B=d(()=>{l=class{constructor(e,t,n){this.type=e,this.id=t,this.refElems=n,this.tags={},this.props={id:this.getCompositeId()},this.refCount=0,this.hasTag=!1,n&&n.add(this.getCompositeId(),this)}addTags(e){this.tags=Object.assign(this.tags,e),this.hasTag=!0}addTag(e,t){this.tags[e]=t,this.hasTag=!0}addProp(e,t){this.props[e]=t}addProps(e){this.props=Object.assign(this.props,e)}getCompositeId(){return`${this.type}/${this.id}`}getProps(){return Object.assign(this.props,this.tags)}}}),C=d(()=>{B(),x(),o=class extends l{constructor(e,t){super("node",e,t)}setLatLng(e){this.latLng=e}toFeatureArray(){return this.latLng?[{type:"Feature",id:this.getCompositeId(),properties:this.getProps(),geometry:{type:"Point",coordinates:k([this.latLng.lon,this.latLng.lat])}}]:[]}getLatLng(){return this.latLng}}}),z=d(()=>{s=class{constructor(e,t,n,r){this.container=e,this.valueFunc=t,this.ctx=n,this.args=r}bind(){let e=this.valueFunc.apply(this.ctx,this.args),t=this.container.indexOf(this);if(t<0)return;let n=[t,1];e&&n.push(e),Array.prototype.splice.apply(this.container,n)}}});S(),C(),z();var I={building:{},highway:{whitelist:["services","rest_area","escape","elevator"]},natural:{blacklist:["coastline","cliff","ridge","arete","tree_row"]},landuse:{},waterway:{whitelist:["riverbank","dock","boatyard","dam"]},amenity:{},leisure:{},barrier:{whitelist:["city_wall","ditch","hedge","retaining_wall","wall","spikes"]},railway:{whitelist:["station","turntable","roundhouse","platform"]},area:{},boundary:{},man_made:{blacklist:["cutline","embankment","pipeline"]},power:{whitelist:["plant","substation","generator","transformer"]},place:{},shop:{},aeroway:{blacklist:["taxiway"]},tourism:{},historic:{},public_transport:{},office:{},"building:part":{},military:{},ruins:{},"area:highway":{},craft:{},golf:{},indoor:{}},O=d(()=>{B(),x(),u=class extends l{constructor(e,t){super("way",e,t),this.latLngArray=[],this.isPolygon=!1}addLatLng(e){this.latLngArray.push(e)}setLatLngArray(e){this.latLngArray=e}addNodeRef(e){let t=new s(this.latLngArray,e=>{let t=this.refElems.get(`node/${e}`);if(t)return t.refCount++,t.getLatLng()},this,[e]);this.latLngArray.push(t),this.refElems.addBinder(t)}addTags(e){for(let[t,n]of(super.addTags(e),Object.entries(e)))this.analyzeTag(t,n)}addTag(e,t){super.addTag(e,t),this.analyzeTag(e,t)}toCoordsArray(){return this.latLngArray.map(e=>[e.lon,e.lat])}toFeatureArray(){let e=this.toCoordsArray();if(e.length>1){let t=e.map(k),n={type:"Feature",id:this.getCompositeId(),properties:this.getProps(),geometry:{type:"LineString",coordinates:t}};return this.isPolygon&&v(t)&&("counterclockwise"!==w(t)&&t.reverse(),n.geometry={type:"Polygon",coordinates:[t]}),[n]}return[]}analyzeTag(e,t){let n=I[e];
1n&&(this.isPolygon=!0,n.whitelist?this.isPolygon=n.whitelist.indexOf(t)>=0:n.blacklist&&(this.isPolygon=!(n.blacklist.indexOf(t)>=0)))}}}),T=d(()=>{x(),h=class extends Array{constructor(){super(),this.firstMap={},this.lastMap={}}addWay(e){let t=e.toCoordsArray();t.length>0&&(this.push(t),y(this.firstMap,g(t[0]),t),y(this.lastMap,g(m(t)),t))}mergeWays(){let e=[],t=this.shift();for(;t;){let n;b(this.firstMap,g(t[0]),t),b(this.lastMap,g(m(t)),t);let r=t;do{let e=this.getNextWay(r);n=e.next;let t=e.mergeType;if(!n)continue;switch(this.splice(this.indexOf(n),1),b(this.firstMap,g(n[0]),n),b(this.lastMap,g(m(n)),n),t){case 0:r=r.concat(n.slice(1));break;case 1:n.reverse(),r=r.concat(n.slice(1));break;case 2:r.reverse(),r=r.concat(n.slice(1));break;case 3:(r=n.concat(r.slice(1))).reverse()}}while(n)e.push(r.map(k)),t=this.shift()}return e}getNextWay(e){let t=g(m(e)),n=g(e[0]),r=this.length>0?this[0]:null;if(r){let e=g(r[0]),i=g(m(r));if(t===e)return{next:r,mergeType:0};if(t===i)return{next:r,mergeType:1};if(n===e)return{next:r,mergeType:2};if(n===i)return{next:r,mergeType:3}}return(r=_(this.firstMap,t))?{next:r,mergeType:0}:{next:r=_(this.lastMap,t),mergeType:1}}toRings(e){let t=this.mergeWays(),n=[],r=t.shift();for(;r;)v(r)&&(w(r)!==e&&r.reverse(),n.push(r)),r=t.shift();return n}}}),R=d(()=>{B(),O(),T(),z(),x(),c=class extends l{constructor(e,t){super("relation",e,t),this.relations=[],this.nodes=[],this.bounds=void 0,this.ways=[],this.roles=[]}setBounds(e){this.bounds=e}addMember(e){switch(e.type){case"relation":let t=new s(this.relations,e=>{let t=this.refElems.get(`relation/${e}`);if(t)return t.refCount++,t},this,[e.ref]);this.relations.push(t),this.refElems.addBinder(t);break;case"way":if(e.role||(e.role=""),e.geometry){let t=new u(e.ref,this.refElems);t.setLatLngArray(e.geometry),t.refCount++,this.ways.push(t),this.roles.push(e.role)}else if(e.nodes){let t=new u(e.ref,this.refElems);for(let n of e.nodes)t.addNodeRef(n);t.refCount++,this.ways.push(t),this.roles.push(e.role)}else{let t=new s(this.ways,e=>{let t=this.refElems.get(`way/${e}`);if(t)return t.refCount++,t},this,[e.ref]);this.ways.push(t),this.roles.push(e.role),this.refElems.addBinder(t)}break;case"node":let n=null;if(e.lat&&e.lon){for(let[t,r]of((n=new o(e.ref,this.refElems)).setLatLng({lon:e.lon,lat:e.lat}),e.tags&&n.addTags(e.tags),Object.entries(e)))0>["id","type","lat","lon"].indexOf(t)&&n.addProp(t,r);n.refCount++,this.nodes.push(n)}else{let t=new s(this.nodes,e=>{let t=this.refElems.get(`node/${e}`);if(t)return t.refCount++,t},this,[e.ref]);this.nodes.push(t),this.refElems.addBinder(t)}}}constructStringGeometry(e){let t=e?e.mergeWays():[];return 0===t.length?null:{type:"MultiLineString",coordinates:t}}constructPolygonGeometry(e,t){let n=e?e.toRings("counterclockwise"):[],r=t?t.toRings("clockwise"):[];if(n.length>0){let e,t=[];for(e of n)t.push([e]);for(e=r.shift();e;){for(let r in n)if(function(e,t,n,r){n=n||0,r=r||1;let i=!1;for(let a=0,l=t.length-1;a<t.length;l=a++)(t[a][n]<=e[n]&&e[n]<t[l][n]||t[l][n]<=e[n]&&e[n]<t[a][n])&&e[r]<(t[l][r]-t[a][r])*(e[n]-t[a][n])/(t[l][n]-t[a][n])+t[a][r]&&(i=!i);return i}(e[0],n[r])){t[r].push(e);break}e=r.shift()}return 1===t.length?{type:"Polygon",coordinates:t[0]}:{type:"MultiPolygon",coordinates:t}}return null}collectAllWaysForRelation(e,t){let n=[...e.ways],r=[...e.roles];if(0===e.relations.length)return t.set(e.id,{ways:n,roles:r}),{ways:n,roles:r};for(let i of e.relations){if(!i)continue;t.has(i.id)||this.collectAllWaysForRelation(i,t);let e=t.get(i.id);for(let t=0;t<e.ways.length;t++)n.push(e.ways[t]),r.push(e.roles[t])}return t.set(e.id,{ways:n,roles:r}),{ways:n,roles:r}}toFeatureArray(){let e=[],t=[],n=[],r=new Map,i=this.collectAllWaysForRelation(this,r),a={type:"Feature",id:this.getCompositeId(),bbox:this.bounds,properties:this.getProps(),geometry:null};if(this.bounds||delete a.bbox,this.roles.some(e=>"outer"===e)){let t=new h,n=new h;for(let e=0;e<i.ways.length;e++){let r=i.ways[e],a=i.roles[e];"outer"===a?t.addWay(r):"inner"===a&&n.addWay(r)}let r=Object.assign({},a),l=this.constructPolygonGeometry(t,n);l&&(r.geometry=l,e.push(r))}else{let e=new h;for(let t of i.ways)e.addWay(t);let n=this.constructStringGeometry(e);if(n){let e=Object.assign({},a);
1e.geometry=n,t.push(e)}}for(let e of this.nodes)n=n.concat(e.toFeatureArray());return[...e,...t,...n]}}}),F=d(()=>{f=class extends Map{constructor(){super(),this.binders=[]}add(e,t){this.set(e,t)}addBinder(e){this.binders.push(e)}bindAll(){this.binders.forEach(e=>e.bind())}}}),j=(r=(e,t)=>{x(),C(),O(),R(),F(),t.exports=function(e,t){let{completeFeature:n,renderTagged:r,excludeWay:i}=function(e){if(!e)return{completeFeature:!1,renderTagged:!1,excludeWay:!0};let t=void 0===e.excludeWay||e.excludeWay;return{completeFeature:!!e.completeFeature,renderTagged:!!e.renderTagged,excludeWay:t}}(t),l=(d=e).elements?"json":d.indexOf("<osm")>=0?"xml":d.trim().startsWith("{")?"json-raw":"invalid",s=new f,h=[];if("json-raw"===l&&(l=(e=JSON.parse(e)).elements?"json":"invalid"),"json"===l){var d,m;for(let t of e.elements)switch(t.type){case"node":let e=new o(t.id,s);t.tags&&e.addTags(t.tags),e.addProps(p(t,["id","type","tags","lat","lon"])),e.setLatLng(t);break;case"way":let n=new u(t.id,s);if(t.tags&&n.addTags(t.tags),n.addProps(p(t,["id","type","tags","nodes","geometry"])),t.geometry)n.setLatLngArray(t.geometry);else if(t.nodes)for(let e of t.nodes)n.addNodeRef(e);break;case"relation":let r=new c(t.id,s);if(t.bounds&&r.setBounds([parseFloat(t.bounds.minlon),parseFloat(t.bounds.minlat),parseFloat(t.bounds.maxlon),parseFloat(t.bounds.maxlat)]),t.tags&&r.addTags(t.tags),r.addProps(p(t,["id","type","tags","bounds","members"])),t.members)for(let e of t.members)r.addMember(e)}}else{let t;
1"xml"===l&&(m=e,(t=new a({progressive:!0})).on("</osm.node>",e=>{let t=new o(e.id,s);for(let[n,r]of Object.entries(e))!n.startsWith("$")&&0>["id","lon","lat"].indexOf(n)&&t.addProp(n,r);if(t.setLatLng(e),e.$innerNodes)for(let n of e.$innerNodes)"tag"===n.$tag&&t.addTag(n.k,n.v)}),t.on("</osm.way>",e=>{let t=new u(e.id,s);for(let[n,r]of Object.entries(e))!n.startsWith("$")&&0>["id"].indexOf(n)&&t.addProp(n,r);if(e.$innerNodes)for(let n of e.$innerNodes)"nd"===n.$tag?n.lon&&n.lat?t.addLatLng(n):n.ref&&t.addNodeRef(n.ref):"tag"===n.$tag&&t.addTag(n.k,n.v)}),t.on("<osm.relation>",e=>new c(e.id,s)),t.on("</osm.relation.member>",(e,t)=>{let n=s.get(`relation/${t?.id}`),r={type:e.type,role:e.role?e.role:"",ref:e.ref};if(e.lat&&e.lon)for(let[t,n]of(r.lat=e.lat,r.lon=e.lon,r.tags={},Object.entries(e)))!t.startsWith("$")&&0>["type","lat","lon"].indexOf(t)&&(r[t]=n);if(e.$innerNodes){let t=[],n=[];for(let r of e.$innerNodes)r.lat&&r.lon?t.push(r):r.ref&&n.push(r.ref);t.length>0?r.geometry=t:n.length>0&&(r.nodes=n)}n.addMember(r)}),t.on("</osm.relation.bounds>",(e,t)=>{s.get(`relation/${t?.id}`).setBounds([parseFloat(e.minlon),parseFloat(e.minlat),parseFloat(e.maxlon),parseFloat(e.maxlat)])}),t.on("</osm.relation.tag>",(e,t)=>{s.get(`relation/${t?.id}`).addTag(e.k,e.v)}),t.parse(m))}for(let e of(s.bindAll(),s.values())){if(e.refCount>0&&(!e.hasTag||!r||e instanceof u&&i))continue;let t=e.toFeatureArray();if(e instanceof c&&!n&&t.length>0)return t[0].geometry;h=h.concat(t)}return{type:"FeatureCollection",features:h}}},()=>(i||(r((i={exports:{}}).exports,i),r=null),i.exports))()});
2//# sourceMappingURL=preview.853f010f.js.map

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.