@mescius/spread-sheets-io 17.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +18 -0
- package/dist/gc.spread.sheets.io.min.js +310 -0
- package/index.js +1 -0
- package/package.json +28 -0
@@ -0,0 +1,310 @@
|
|
1
|
+
/*!
|
2
|
+
*
|
3
|
+
* SpreadJS Library 17.0.0
|
4
|
+
*
|
5
|
+
* Copyright(c) MESCIUS inc. All rights reserved.
|
6
|
+
*
|
7
|
+
* Licensed under the SpreadJS Commercial License.
|
8
|
+
* us.sales@mescius.com
|
9
|
+
* https://developer.mescius.com/spreadjs
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
!function(e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e(require("@mescius/spread-sheets")):"function"==typeof define&&define.amd?define(["@mescius/spread-sheets"],e):"object"==typeof exports?exports.Spread=e(require("@mescius/spread-sheets")):e(GC)}(function(t){function n(e){var t,t,t=i[e];return void 0!==t||(t=i[e]={id:e,loaded:!1,exports:{}},r[e].call(t.exports,t,t.exports,n),t.loaded=!0),t.exports}var r,i,e;r={"./dist/plugins/io/crypto/AES.js":function(e,t){"use strict";var n,f,a,l,d,h,c,u,m,p,v,b,y,w,x,g,k,I,C,r,i,o,s;function F(e){for(var t,n,t=[],n=0;n<e.length;n+=4)t.push(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]);return t}function A(e){this.key=f(e),this.s1e()}function S(e){this.description="Electronic Code Block",this.name="ecb",this.c1e=new r(e)}function E(e,t){if(this.description="Cipher Block Chaining",this.name="cbc",t){if(16!==t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=f([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);this.f1e=f(t),this.c1e=new r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.u1e=void 0,f=n=function(e){var t,n,t=[];if("number"==typeof e)for(n=0;n<e;n++)t.push(0);else{for(n=0;n<e.length;n++)if(e[n]<0||256<=e[n]||"number"!=typeof e[n])throw new Error("invalid byte ("+e[n]+":"+n+")");if(e.slice)return e.slice(0);for(n=0;n<e.length;n++)t.push(e[n])}return t},a=function(e,t,n,r,i){null===n&&(n=0),null===i&&(i=e.length);for(var a=r=null===r?0:r;a<i;a++)t[n]=e[a],n++},l={16:10,24:12,32:14},d=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],h=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],c=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],u=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],m=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],p=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],v=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],b=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],y=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],w=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],x=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],g=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],k=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],I=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],C=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925],A.prototype.s1e=function(){var e,t,n,r,i,a,o,s,f,c,u,e=l[this.key.length];if(null===e)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");for(this.l1e=[],this.d1e=[],t=0;t<=e;t++)this.l1e.push([0,0,0,0]),this.d1e.push([0,0,0,0]);for(n=4*(e+1),r=this.key.length/4,i=F(this.key),t=0;t<r;t++)this.l1e[a=t>>2][t%4]=i[t],this.d1e[e-a][t%4]=i[t];for(o=0,s=r;s<n;){if(f=i[r-1],i[0]^=h[f>>16&255]<<24^h[f>>8&255]<<16^h[255&f]<<8^h[f>>24&255]^d[o]<<24,o+=1,8!=r)for(t=1;t<r;t++)i[t]^=i[t-1];else{for(t=1;t<r/2;t++)i[t]^=i[t-1];for(f=i[r/2-1],i[r/2]^=h[255&f]^h[f>>8&255]<<8^h[f>>16&255]<<16^h[f>>24&255]<<24,t=r/2+1;t<r;t++)i[t]^=i[t-1]}for(u=c=void(t=0);t<r&&s<n;)this.l1e[c=s>>2][u=s%4]=i[t],this.d1e[e-c][u]=i[t],t++,s++}for(c=1;c<e;c++)for(u=0;u<4;u++)f=this.d1e[c][u],this.d1e[c][u]=g[f>>24&255]^k[f>>16&255]^I[f>>8&255]^C[255&f]},A.prototype.encrypt=function(e){var t,n,r,i,a,o,s;if(16!==e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(t=this.l1e.length-1,n=[0,0,0,0],r=F(e),i=0;i<4;i++)r[i]^=this.l1e[0][i];for(a=1;a<t;a++){for(i=0;i<4;i++)n[i]=u[r[i]>>24&255]^m[r[(i+1)%4]>>16&255]^p[r[(i+2)%4]>>8&255]^v[255&r[(i+3)%4]]^this.l1e[a][i];r=n.slice(0)}for(o=f(16),i=0;i<4;i++)s=this.l1e[t][i],o[4*i]=255&(h[r[i]>>24&255]^s>>24),o[4*i+1]=255&(h[r[(i+1)%4]>>16&255]^s>>16),o[4*i+2]=255&(h[r[(i+2)%4]>>8&255]^s>>8),o[4*i+3]=255&(h[255&r[(i+3)%4]]^s);return o},A.prototype.decrypt=function(e){var t,n,r,i,a,o,s;if(16!==e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(t=this.d1e.length-1,n=[0,0,0,0],r=F(e),i=0;i<4;i++)r[i]^=this.d1e[0][i];for(a=1;a<t;a++){for(i=0;i<4;i++)n[i]=b[r[i]>>24&255]^y[r[(i+3)%4]>>16&255]^w[r[(i+2)%4]>>8&255]^x[255&r[(i+1)%4]]^this.d1e[a][i];r=n.slice(0)}for(o=f(16),i=0;i<4;i++)s=this.d1e[t][i],o[4*i]=255&(c[r[i]>>24&255]^s>>24),o[4*i+1]=255&(c[r[(i+3)%4]>>16&255]^s>>16),o[4*i+2]=255&(c[r[(i+2)%4]>>8&255]^s>>8),o[4*i+3]=255&(c[255&r[(i+1)%4]]^s);return o},r=A,S.prototype.encrypt=function(e){var t,n,r;if(e.length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(t=f(e.length),n=f(16),r=0;r<e.length;r+=16)a(e,n,0,r,r+16),n=this.c1e.encrypt(n),a(n,t,r,0,16);return t},S.prototype.decrypt=function(e){var t,n,r;if(e.length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(t=f(e.length),n=f(16),r=0;r<e.length;r+=16)a(e,n,0,r,r+16),n=this.c1e.decrypt(n),a(n,t,r,0,16);return t},i=S,E.prototype.encrypt=function(e){var t,n,r,i;if(e.length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(t=f(e.length),n=f(16),r=0;r<e.length;r+=16){for(a(e,n,0,r,r+16),i=0;i<16;i++)n[i]^=this.f1e[i];this.f1e=this.c1e.encrypt(n),a(this.f1e,t,r,0,16)}return t},E.prototype.decrypt=function(e){var t,n,r,i;if(e.length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(t=f(e.length),n=f(16),r=0;r<e.length;r+=16){for(a(e,n,0,r,r+16),n=this.c1e.decrypt(n),i=0;i<16;i++)t[r+i]=n[i]^this.f1e[i];a(e,this.f1e,0,r,r+16)}return t},t.u1e={AES:r,ModeOfOperation:s={ecb:i,cbc:E},util:{h1e:n}}},"./dist/plugins/io/crypto/SHA1.js":function(e,t){"use strict";var k,I,n;Object.defineProperty(t,"__esModule",{value:!0}),t.m1e=void 0,k=[-2147483648,8388608,32768,128],I=[24,16,8,0],t.m1e=n=function(e){var t,n,r,i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,t=[],s=0,f=!1,h=0,m=0,p=0,v=e.length,n=1732584193,r=4023233417,i=2562383102,a=271733878,o=3285377520;do{for(t[0]=s,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0,l=m;h<v&&l<64;++h)t[l>>2]|=e[h]<<I[3&l++];for(p+=l-m,m=l-64,h===v&&(t[l>>2]|=k[3&l],++h),s=t[16],v<h&&l<56&&(t[15]=p<<3,f=!0),d=16;d<80;++d)t[d]=(c=t[d-3]^t[d-8]^t[d-14]^t[d-16])<<1|c>>>31;for(b=n,y=r,w=i,x=a,g=o,d=0;d<20;d+=5)b=(c=(y=(c=(w=(c=(x=(c=(g=(c=b<<5|b>>>27)+(u=y&w|~y&x)+g+1518500249+t[d]<<0)<<5|g>>>27)+(u=b&(y=y<<30|y>>>2)|~b&w)+x+1518500249+t[d+1]<<0)<<5|x>>>27)+(u=g&(b=b<<30|b>>>2)|~g&y)+w+1518500249+t[d+2]<<0)<<5|w>>>27)+(u=x&(g=g<<30|g>>>2)|~x&b)+y+1518500249+t[d+3]<<0)<<5|y>>>27)+(u=w&(x=x<<30|x>>>2)|~w&g)+b+1518500249+t[d+4]<<0,w=w<<30|w>>>2;for(;d<40;d+=5)b=(c=(y=(c=(w=(c=(x=(c=(g=(c=b<<5|b>>>27)+(u=y^w^x)+g+1859775393+t[d]<<0)<<5|g>>>27)+(u=b^(y=y<<30|y>>>2)^w)+x+1859775393+t[d+1]<<0)<<5|x>>>27)+(u=g^(b=b<<30|b>>>2)^y)+w+1859775393+t[d+2]<<0)<<5|w>>>27)+(u=x^(g=g<<30|g>>>2)^b)+y+1859775393+t[d+3]<<0)<<5|y>>>27)+(u=w^(x=x<<30|x>>>2)^g)+b+1859775393+t[d+4]<<0,w=w<<30|w>>>2;for(;d<60;d+=5)b=(c=(y=(c=(w=(c=(x=(c=(g=(c=b<<5|b>>>27)+(u=y&w|y&x|w&x)+g-1894007588+t[d]<<0)<<5|g>>>27)+(u=b&(y=y<<30|y>>>2)|b&w|y&w)+x-1894007588+t[d+1]<<0)<<5|x>>>27)+(u=g&(b=b<<30|b>>>2)|g&y|b&y)+w-1894007588+t[d+2]<<0)<<5|w>>>27)+(u=x&(g=g<<30|g>>>2)|x&b|g&b)+y-1894007588+t[d+3]<<0)<<5|y>>>27)+(u=w&(x=x<<30|x>>>2)|w&g|x&g)+b-1894007588+t[d+4]<<0,w=w<<30|w>>>2;for(;d<80;d+=5)b=(c=(y=(c=(w=(c=(x=(c=(g=(c=b<<5|b>>>27)+(u=y^w^x)+g-899497514+t[d]<<0)<<5|g>>>27)+(u=b^(y=y<<30|y>>>2)^w)+x-899497514+t[d+1]<<0)<<5|x>>>27)+(u=g^(b=b<<30|b>>>2)^y)+w-899497514+t[d+2]<<0)<<5|w>>>27)+(u=x^(g=g<<30|g>>>2)^b)+y-899497514+t[d+3]<<0)<<5|y>>>27)+(u=w^(x=x<<30|x>>>2)^g)+b-899497514+t[d+4]<<0,w=w<<30|w>>>2}while(n=n+b<<0,r=r+y<<0,i=i+w<<0,a=a+x<<0,o=o+g<<0,!f);return new Uint8Array([16*(n>>28&15)+(n>>24&15),16*(n>>20&15)+(n>>16&15),16*(n>>12&15)+(n>>8&15),16*(n>>4&15)+(15&n),16*(r>>28&15)+(r>>24&15),16*(r>>20&15)+(r>>16&15),16*(r>>12&15)+(r>>8&15),16*(r>>4&15)+(15&r),16*(i>>28&15)+(i>>24&15),16*(i>>20&15)+(i>>16&15),16*(i>>12&15)+(i>>8&15),16*(i>>4&15)+(15&i),16*(a>>28&15)+(a>>24&15),16*(a>>20&15)+(a>>16&15),16*(a>>12&15)+(a>>8&15),16*(a>>4&15)+(15&a),16*(o>>28&15)+(o>>24&15),16*(o>>20&15)+(o>>16&15),16*(o>>12&15)+(o>>8&15),16*(o>>4&15)+(15&o)])}},"./dist/plugins/io/crypto/compoundFileBinaryFile.js":function(B,e,t){"use strict";var d,t,a,h,i,M,o,v,b,r,l,y,s,w,m,n,x,g,f,c,k,u,p,I,C,F,A,S,E,j,_,D,R,O,T,z,N;function P(){this.headerSignature=[208,207,17,224,161,177,26,225],this.headerCLSID=0,this.minorVersion=62,this.majorVersion=3,this.byteOrder=65534,this.sectorShift=9,this.miniSectorShift=6,this.reserved=0,this.numberOfDirectorySectors=0,this.numberOfFATSectors=-1,this.firstDirectorySectorLocation=-1,this.transactionSignatureNumber=0,this.miniStreamCutoffSize=4096,this.firstMiniFATSectorLocation=-1,this.numberOfMiniFATSectors=-1,this.firstDIFATSectorLocation=v,this.numberOfDIFATSectors=0}function U(){this.directoryEntryName=-1,this.directoryEntryNameLength=-1,this.objectType=0,this.colorFlag=0,this.leftSiblingID=b,this.rightSiblingID=b,this.childID=b,this.CLSID=0,this.stateBits=0,this.creationTime=0,this.modifiedTime=0,this.startingSectorLocation=0,this.streamSize=0}function L(e){var t,n,n,r;if(E(e)&&(t=s(e)))return n=f(t,e),n=c(t,n,e),r=u(t,n,e),S(t,e,n,r)}d=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r=0,i=t.length,a;r<i;r++)!a&&r in t||((a=a||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},Object.defineProperty(e,"__esModule",{value:!0}),e.p1e=e.v1e=void 0,t=t("Core"),a=t.Qoe.qoe,i=4294967290,M=268435452,o=4294967293,v=4294967294,b=4294967295,r=[208,207,17,224,161,177,26,225],l=P,y={headerSignature:h=8,headerCLSID:16,minorVersion:2,majorVersion:2,byteOrder:2,sectorShift:2,miniSectorShift:2,reserved:6,numberOfDirectorySectors:4,numberOfFATSectors:4,firstDirectorySectorLocation:4,transactionSignatureNumber:4,miniStreamCutoffSize:4,firstMiniFATSectorLocation:4,numberOfMiniFATSectors:4,firstDIFATSectorLocation:4,numberOfDIFATSectors:4,DIFAT:436},s=function(e){var t,n,r,i,a,o,s,t=new Uint16Array(e),n={},r=0;for(i in y)y.hasOwnProperty(i)&&(a=y[i]/2,o=t.slice(r,r+a),n[i]=2<a?o:o.reduce(s=function(e,t,n){return e+t*(1<<2*h*n)},0),r+=a);return n},w=function(e){return Math.pow(2,e.sectorShift)},m=function(e){return Math.pow(2,e.miniSectorShift)},n=512,x=function(e,t){return n+w(e)*t},g=function(e,t,n){var r,i,a,o,r=m(e),i=w(e)/r,a=Math.floor(t/i),o;return x(e,n[a])+t%i*r},f=function(e,t){var n,t,r,i,a,o,s,f,c,u,l,n=new Uint32Array(t),t=109,r=32/h,i=d([],Array.from(new Uint32Array(e.DIFAT.buffer)),!0);if(e.numberOfFATSectors>t)for(a=e.numberOfFATSectors-t,o=w(e)/r-1,s=e.firstDIFATSectorLocation,f=0;f<a;){for(c=x(e,s)/r,u=0,l=Math.min(o,a-f);u<l;u++)i.push(n[c+u]),f++;s=n[c+u]}return i.slice(0,e.numberOfFATSectors)},c=function(e,t,n){for(var r,i,a,o,s,f,r=new Uint32Array(n),i=32/h,a=[],o=0;o<t.length;o++)for(s=x(e,t[o])/i,f=0;f<w(e)/i;f++)a.push(r[s+f]);return a},k=function(e,t){for(var n=[],r=t;r<=i&&r!==b&&r!==v;)n.push(r),r=e[r];return n},u=function(e,t,n){for(var r,i,a,o,s,f,c,r=new Uint32Array(n),i=32/h,a=[],o=k(t,e.firstMiniFATSectorLocation),s=0;s<o.length;s++)for(f=x(e,o[s])/i,c=0;c<w(e)/i;c++)a.push(r[f+c]);return a},p={Unknown:0,Storage:1,Stream:2,RootStorage:5},I=U,C={directoryEntryName:64,directoryEntryNameLength:2,objectType:1,colorFlag:1,leftSiblingID:4,rightSiblingID:4,childID:4,CLSID:16,stateBits:4,creationTime:8,modifiedTime:8,startingSectorLocation:4,streamSize:8},F=function(e,t,n,r,i,a){var o,s,f,c,u,l,d,h,o=new Uint8Array(n.streamSize),s=new Uint8Array(t),f=m(e);if(n.streamSize<e.miniStreamCutoffSize)for(c=k(i,n.startingSectorLocation),l=u=0;l<c.length;l++)d=g(e,c[l],k(r,a[0].startingSectorLocation)),u+f>n.streamSize?o.set(s.slice(d,d+n.streamSize-u),u):(o.set(s.slice(d,d+f),u),u+=f);else for(h=k(r,n.startingSectorLocation),l=u=0;l<h.length;l++)d=x(e,h[l]),u+w(e)>n.streamSize?o.set(s.slice(d,d+n.streamSize-u),u):(o.set(s.slice(d,d+w(e)),u),u+=w(e));return o},A=function(e,t,n){var r,i,a,o,r=new I,i=new Uint16Array(t),a=n/2,o=function(e,t,n){return e+t*(1<<2*h*n)};return Object.keys(C).forEach(function(e){var t,n,t=Math.ceil(C[e]/2),n=i.slice(a,a+t);if(2<t)r[e]=n;else if("objectType"===e)r[e]=255&n[0],r.colorFlag=(65280&n[0])>>8;else{if("colorFlag"===e)return;r[e]=n.reduce(o,0)}a+=t}),r.directoryEntryName=Array.from(r.directoryEntryName).map(function(e){return String.fromCharCode(e)}).join(""),r.streamSize=r.streamSize.reduce(o,0),r},S=function(e,t,n,r){for(var i,a,o,s,f,c,u,l,i=[],a=k(n,e.firstDirectorySectorLocation),o=0;o<a.length;o++)for(s=x(e,a[o]),f=0;f<w(e)/128;f++)i.push(A(e,t,s+128*f));for(o=0;o<i.length;o++)(c=i[o]).objectType===p.Stream&&(c.mne=F(e,t,c,n,r,i));for(u={},o=0;o<i.length;o++)(c=i[o]).mne&&(u[l=c.directoryEntryName.substring(0,c.directoryEntryNameLength/2-1)]=c.mne);return u},E=function(e){for(var t,n,t=new Uint8Array(e),n=0;n<8;n++)if(t[n]!==r[n])return!1;return!0},e.v1e=L,j={rootEntry:{directoryEntryName:"Root Entry",objectType:5,childID:10,colorFlag:1},encryptedPackage:{directoryEntryName:"EncryptedPackage",objectType:2,colorFlag:1,rightSiblingID:2},dataSpaces:{directoryEntryName:"\x06DataSpaces",objectType:1,childID:4,colorFlag:1},version:{directoryEntryName:"Version",objectType:2,colorFlag:1,streamSize:76,mne:[60,0,0,0,77,0,105,0,99,0,114,0,111,0,115,0,111,0,102,0,116,0,46,0,67,0,111,0,110,0,116,0,97,0,105,0,110,0,101,0,114,0,46,0,68,0,97,0,116,0,97,0,83,0,112,0,97,0,99,0,101,0,115,0,1,0,0,0,1,0,0,0,1,0,0,0]},dataSpaceMap:{directoryEntryName:"DataSpaceMap",objectType:2,colorFlag:1,leftSiblingID:3,rightSiblingID:5,streamSize:112,mne:[8,0,0,0,1,0,0,0,104,0,0,0,1,0,0,0,0,0,0,0,32,0,0,0,69,0,110,0,99,0,114,0,121,0,112,0,116,0,101,0,100,0,80,0,97,0,99,0,107,0,97,0,103,0,101,0,50,0,0,0,83,0,116,0,114,0,111,0,110,0,103,0,69,0,110,0,99,0,114,0,121,0,112,0,116,0,105,0,111,0,110,0,68,0,97,0,116,0,97,0,83,0,112,0,97,0,99,0,101,0,0,0]},dataSpaceInfo:{directoryEntryName:"DataSpaceInfo",objectType:1,colorFlag:1,rightSiblingID:7,childID:6},strongEncryptionDataSpace:{directoryEntryName:"StrongEncryptionDataSpace",objectType:2,colorFlag:1,streamSize:64,mne:[8,0,0,0,1,0,0,0,50,0,0,0,83,0,116,0,114,0,111,0,110,0,103,0,69,0,110,0,99,0,114,0,121,0,112,0,116,0,105,0,111,0,110,0,84,0,114,0,97,0,110,0,115,0,102,0,111,0,114,0,109,0,0,0]},transformInfo:{directoryEntryName:"TransformInfo",objectType:1,childID:8,colorFlag:1},strongEncryptionTransform:{directoryEntryName:"StrongEncryptionTransform",objectType:1,colorFlag:1,childID:9},primary:{directoryEntryName:"\x06Primary",objectType:2,colorFlag:1,streamSize:200,mne:[88,0,0,0,1,0,0,0,76,0,0,0,123,0,70,0,70,0,57,0,65,0,51,0,70,0,48,0,51,0,45,0,53,0,54,0,69,0,70,0,45,0,52,0,54,0,49,0,51,0,45,0,66,0,68,0,68,0,53,0,45,0,53,0,65,0,52,0,49,0,67,0,49,0,68,0,48,0,55,0,50,0,52,0,54,0,125,0,78,0,0,0,77,0,105,0,99,0,114,0,111,0,115,0,111,0,102,0,116,0,46,0,67,0,111,0,110,0,116,0,97,0,105,0,110,0,101,0,114,0,46,0,69,0,110,0,99,0,114,0,121,0,112,0,116,0,105,0,111,0,110,0,84,0,114,0,97,0,110,0,115,0,102,0,111,0,114,0,109,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0]},encryptionInfo:{directoryEntryName:"EncryptionInfo",objectType:2,colorFlag:1,leftSiblingID:2,rightSiblingID:1}},_=function(){var t={};return Object.keys(j).forEach(function(e){t[e]=Object.assign(new I,j[e]),t[e].directoryEntryNameLength=2*(t[e].directoryEntryName.length+1)}),t},D=function(e,t,n){for(var r,i,r=e.length,i=0;i<t;i++)i===t-1?e.push(n?o:v):e.push(n?o:e.length+1);return r},R=function(n){var r,e,i,a,o,t,t,t,t,s,f,c,u,r=new l,e=[],i=[],a=[],o=w(r);for(Object.keys(n).forEach(function(e){var t=n[e].streamSize;t<=0||(t<r.miniStreamCutoffSize?n[e].startingSectorLocation=D(a,Math.ceil(t/m(r))):n[e].startingSectorLocation=D(i,Math.ceil(t/o)))}),t=Math.ceil(Object.keys(n).length/4),r.firstDirectorySectorLocation=D(i,t),t=Math.ceil(4*a.length/o),r.firstMiniFATSectorLocation=D(i,t),r.numberOfMiniFATSectors=t,t=Math.ceil(64*a.length/o),n.rootEntry.startingSectorLocation=D(i,t),n.rootEntry.streamSize=64*a.length,t=i.length,s=Math.ceil(4*i.length/o),f=D(i,s,!0),c=0;c<s;c++)e.push(f+c);return 109<(r.numberOfFATSectors=s)&&(u=Math.ceil(4*(s-109)/(o-4)),r.numberOfDIFATSectors=u,r.firstDIFATSectorLocation=D(i,u)),{headerInfo:r,DIFATList:e,FATList:i,miniFATList:a,needWriteFATListLength:t}},O=function(e,t){for(var n,r,n=[],r=0;r<Math.min(t,4);r++)n.push(e>>8*r&255);for(;n.length<t;)n.push(0);return n},T=function(n){var r,i,r=new Uint8Array(128),i=0;return Object.keys(C).forEach(function(e){var t,e,t=C[e];"number"==typeof n[e]?r.set(O(n[e],t),i):"string"==typeof n[e]&&(e=a(n[e]),r.set(e,i)),i+=t}),r},z=function(n){var r=[];return Object.keys(y).forEach(function(e){var t;"number"==typeof n[e]?(t=y[e],r.push.apply(r,O(n[e],t))):n[e]instanceof Array&&r.push.apply(r,n[e])}),r},e.p1e=N=function(e,t){var r,e,i,n,a,t,e,o,s,s,f,c,u,s,l,d,h,m,p,r=_();for(r.encryptionInfo.streamSize=e.length,r.encryptionInfo.mne=e,r.encryptedPackage.streamSize=t.length,r.encryptedPackage.mne=t,e=R(r),i=e.headerInfo,n=e.DIFATList,a=e.FATList,t=e.miniFATList,e=e.needWriteFATListLength,o=w(i),s=512+a.length*o,s=new ArrayBuffer(s),f=new Uint8Array(s),c=new Uint32Array(s),Object.keys(r).forEach(function(e){var e,t,n,e=r[e];2===e.objectType&&(t=e.startingSectorLocation,n=x(i,t),e.streamSize<i.miniStreamCutoffSize&&(n=g(i,t,k(a,r.rootEntry.startingSectorLocation))),f.set(e.mne,n))}),u=i.firstDirectorySectorLocation,Object.keys(r).forEach(function(e,t){var e,t,e=r[e],t=x(i,u+Math.floor(t/4))+t%4*128;f.set(T(e),t)}),c.set(t,x(i,i.firstMiniFATSectorLocation)/4),c.set(a.slice(0,e),x(i,n[0])/4),f.set(z(i)),s=512-y.DIFAT;n.length<109;)n.push(b);if(c.set(n.slice(0,109),s/4),109<n.length)for(d=4*(l=n.slice(109)).length/(o-4),h=0;h<d;h++)c.set(l.slice(m=127*h,p=127+m),x(i,i.firstDIFATSectorLocation+h)/4),h===d-1?c.set([v],x(i,i.firstDIFATSectorLocation+h)/4+127):c.set([i.firstDIFATSectorLocation+h+1],x(i,i.firstDIFATSectorLocation+h)/4+127);return f}},"./dist/plugins/io/crypto/ecma376AgileEncryption.js":function(B,i,e){"use strict";var t,r,o,a,s,f,c,h,u,m,l,d,p,v,b,y,w,x,g,k,M,I,C,F,A,S,E,N,j,_,D,P,R,O,T,U,z,n;function L(){this.saltSize=16,this.blockSize=16,this.keyBits=256,this.hashSize=64,this.cipherAlgorithm="AES",this.cipherChaining="ChainingModeCBC",this.hashAlgorithm="SHA512"}function G(){}function q(){var e=null!==n&&n.apply(this,arguments)||this;return e.spinCount=1e5,e}t=this&&this.__extends||(z=function(e,t){return(z=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}z(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n,r,i,n=1,r=arguments.length;n<r;n++)for(i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Object.defineProperty(i,"__esModule",{value:!0}),i.y1e=i.b1e=i.w1e=i.g1e=void 0,o=e("Core"),a=e("./dist/plugins/io/crypto/AES.js"),s=e("./dist/plugins/io/utils/xml-parser.js"),f=e("./dist/plugins/io/crypto/encryption.js"),c=o.Qoe.$oe,h=o.Qoe.Joe,u=o.Qoe.qoe,m=o.Qoe.r1e,l=o.Qoe.o1e,d=o.Qoe.Xoe,p=new Uint8Array([254,167,210,118,59,75,158,121]),v=new Uint8Array([215,170,15,109,48,97,52,78]),b=new Uint8Array([20,110,11,231,171,172,208,214]),y=new Uint8Array([95,178,173,1,12,185,225,246]),w=new Uint8Array([160,103,127,2,178,44,132,51]),g=G,t(q,n=x=L),k=q,i.g1e=M=function(e){var e,t,n,r,i,e=(0,s.parseXmlToObject)(String.fromCharCode.apply(String,Array.from(e.slice(8))));if(e&&(t=new x,n=new g,r=new k,(i=function(t,n){n&&t&&Object.keys(n).forEach(function(e){void 0!==n[e]&&(t[e]=n[e])})})(t,e.encryption.keyData.kSt),i(n,e.encryption.dataIntegrity.kSt),i(r,e.encryption.keyEncryptors.keyEncryptor.encryptedKey.kSt),t)&&n&&r)return{keyData:t,dataIntegrity:n,KeyEncryptor:r}},I=function(e){if("SHA512"===e)return function(e){var t;return new o.i1e(512).update(e).arrayBuffer()}},C=function(e,t,n){var r,i,a,r=t.KeyEncryptor.saltValue;for("string"==typeof r&&(r=h(r)),i=n(c(r,u(e))),a=0;a<+t.KeyEncryptor.spinCount;a++)i=n(c(m(a),new Uint8Array(i)));return new Uint8Array(i)},F=function(e,t,n,r){var r,t,n,r=r(c(new Uint8Array(t),n)),t=+e.KeyEncryptor.keyBits/8,n=new Uint8Array(t);return n.fill(54),n.set(new Uint8Array(r).slice(0,t)),n},A=function(e,t,n){var r,i,e,e,r=+e.KeyEncryptor.blockSize;if(n){if(!(e=I(e.KeyEncryptor.hashAlgorithm)))return;i=new Uint8Array(e(c(t,n)))}else i=t;return(e=new Uint8Array(r)).fill(54),e.set(i.slice(0,r)),e},S=function(e,t,n){var r;return new a.u1e.ModeOfOperation.cbc(t,n).decrypt(e)},E=function(e,t,n){var r;return new a.u1e.ModeOfOperation.cbc(t,n).encrypt(e)},i.w1e=N=function(e,t){var n,r,e,i,a,t,a,o,s,f,n=I(t.KeyEncryptor.hashAlgorithm);if(n&&(r=F(t,e,p,n),e=F(t,e,v,n),r)&&e){if(i=A(t,h(t.KeyEncryptor.saltValue)),a=h(t.KeyEncryptor.encryptedVerifierHashInput),t=h(t.KeyEncryptor.encryptedVerifierHashValue),a=new Uint8Array(S(a,r,i)),o=new Uint8Array(n(a)),s=S(t,e,i),o.length!==s.length)return!1;for(f=0;f<o.length;f++)if(o[f]!==s[f])return!1;return!0}},j=function(e,t,n){var t,n,t=F(e,t,b,n),n=A(e,h(e.KeyEncryptor.saltValue));return S(h(e.KeyEncryptor.encryptedKeyValue),t,n)},_=function(e,t){var t;return e.length>t?e:((t=new Uint8Array(t)).set(e),t)},D=function(i,a,o,s){var f,c,e,u,l,d,t,n,r,r,f=4096,c=i?0:8,e=Math.ceil((o.length-c)/f),u="string"==typeof a.keyData.saltValue?h(a.keyData.saltValue):a.keyData.saltValue,l=new Uint8Array(e*f+8-c),d=0;for(i&&(l.set(m(o.length)),l.set([0,0,0,0],4),d+=8),t=function(e){var t,n,t,n,e,r,t=f*e+c,n=Math.min(t+f,o.length),t=o.slice(t,n);t.length<f&&(t=_(t,f)),n=A(a,u,m(e)),e=(r=i?E:S)(t,s,n),l.set(e,d),d+=e.length},n=0;n<e;n++)t(n);return i?l:(r=function(e,t,n){return e+t*(1<<8*n)},r=o.slice(0,8).reduce(r),l.slice(0,r))},i.b1e=P=function(e,t,n){var r,n,n,r=I(e.KeyEncryptor.hashAlgorithm);return r?(n=C(n,e,r),(0,i.w1e)(n,e)?(n=j(e,n,r),{success:!0,data:D(!1,e,t,n)}):{success:!1,data:f.x1e.WrongPassword}):{success:!1,data:f.x1e.UnsupportedAlgorithm}},R=function(e){var t,n,r,i,e,a,a,o,o,a,t={KeyEncryptor:new k,dataIntegrity:new g,keyData:new x},n=t.KeyEncryptor;return n.saltValue=l(n.saltSize),t.keyData.saltValue=l(n.saltSize),(r=I(n.hashAlgorithm))?(i=l(n.keyBits/8),e=C(e,t,r),a=F(t,e,b,r),n.encryptedKeyValue=E(i,a,n.saltValue),a=l(n.saltSize),o=F(t,e,p,r),n.encryptedVerifierHashInput=E(a,o,n.saltValue),o=new Uint8Array(r(a)),a=F(t,e,v,r),n.encryptedVerifierHashValue=E(o,a,n.saltValue),{encryptionInfo:t,packageKey:i}):{}},O=function(e,t,n){var r,i,i,r,n,a,r=l(64),i=A(e,e.keyData.saltValue,y),i=E(r,t,i),r=new Uint8Array(new o.e1e(r,512,!0).update(n).arrayBuffer()),n=A(e,e.keyData.saltValue,w),a;return{encryptedHmacKey:i,encryptedHmacValue:E(r,t,n)}},T=function(e){var t,e,t,e,n,t,t=e.KeyEncryptor;return t.saltValue=d(t.saltValue),t.encryptedKeyValue=d(t.encryptedKeyValue),t.encryptedVerifierHashInput=d(t.encryptedVerifierHashInput),t.encryptedVerifierHashValue=d(t.encryptedVerifierHashValue),e.keyData.saltValue=d(e.keyData.saltValue),e.dataIntegrity.encryptedHmacKey=d(e.dataIntegrity.encryptedHmacKey),e.dataIntegrity.encryptedHmacValue=d(e.dataIntegrity.encryptedHmacValue),e={kSt:{xmlns:"http://schemas.microsoft.com/office/2006/encryption","xmlns:p":"http://schemas.microsoft.com/office/2006/keyEncryptor/password","xmlns:c":"http://schemas.microsoft.com/office/2006/keyEncryptor/certificate"},keyData:{kSt:r({},e.keyData)},dataIntegrity:{kSt:r({},e.dataIntegrity)},keyEncryptors:{keyEncryptor:{kSt:{uri:"http://schemas.microsoft.com/office/2006/keyEncryptor/password"},"p:encryptedKey":{kSt:r({},t)}}}},t=(0,s.convertObjectToXml)(e,"encryption"),e=(new TextEncoder).encode(t),n=8,(t=new Uint8Array(8+e.length)).set([4,0,4,0,64,0,0,0]),t.set(e,8),t},i.y1e=U=function(e,t){var t,n,t,e,t,r,t,i,t=R(t),n=t.encryptionInfo,t=t.packageKey;if(n)return e=D(!0,n,new Uint8Array(e),t),r=(t=O(n,t,e)).encryptedHmacKey,t=t.encryptedHmacValue,n.dataIntegrity.encryptedHmacKey=r,n.dataIntegrity.encryptedHmacValue=t,{encryptionInfoStream:i=T(n),encryptionPackage:e}}},"./dist/plugins/io/crypto/ecma376StandardEncryption.js":function(e,t,n){"use strict";var r,s,i,a,o,f,c,u,l,d,h,m,p;Object.defineProperty(t,"__esModule",{value:!0}),t.standardDecrypt=t.readStandardEncryptionInfoStream=void 0,r=n("./dist/plugins/io/crypto/AES.js"),s=n("./dist/plugins/io/crypto/SHA1.js"),i=n("Core"),a=n("./dist/plugins/io/crypto/encryption.js"),o=i.Qoe.$oe,f=i.Qoe.qoe,c=i.Qoe.r1e,t.readStandardEncryptionInfoStream=u=function(e){var e,t,n,e=new Uint32Array(new Uint8Array(e).buffer),t={},n=0;return t.encryptionVersionInfo=e[n++],t.encryptionHeaderFlags=e[n++],t.encryptionHeaderSize=e[n++],t.encryptionHeader={},t.encryptionHeader.flags=e[n++],t.encryptionHeader.sizeExtra=e[n++],t.encryptionHeader.algID=e[n++],t.encryptionHeader.algIDHash=e[n++],t.encryptionHeader.keySize=e[n++],t.encryptionHeader.providerType=e[n++],t.encryptionHeader.reserved1=e[n++],t.encryptionHeader.reserved2=e[n++],n=3+t.encryptionHeaderSize/4,t.encryptionVerifier={},t.encryptionVerifier.saltSize=e[n++],t.encryptionVerifier.salt=new Uint8Array(e.slice(n,4+n).buffer),n+=4,t.encryptionVerifier.encryptedVerifier=new Uint8Array(e.slice(n,4+n).buffer),n+=4,t.encryptionVerifier.verifierHashSize=e[n++],t.encryptionVerifier.encryptedVerifierHash=new Uint8Array(e.slice(n,4+n).buffer),t},l=function(e,t){for(var e,n,r,i,a,e=e.encryptionVerifier.salt,n=s.m1e,r=n(o(e,f(t))),i=0;i<5e4;i++)r=n(o(c(i),r));for(r=n(o(r,c(0))),a=[],i=0;i<64;i++)a.push(54);for(i=0;i<r.length;i++)a[i]^=r[i];return(r=n(a)).slice(0,16)},d=function(e,t){var t=new r.u1e.ModeOfOperation.ecb(t);return new Uint8Array(t.decrypt(e))},h=function(e,t,n){var r,i,a,o,r=s.m1e,i=d(e.encryptionVerifier.encryptedVerifier,t),a=d(e.encryptionVerifier.encryptedVerifierHash,t);for(i=r(i).slice(0,16),o=0;o<i.length;o++)if(i[o]!==a[o])return!1;return!0},m=function(e,t,n){var r,r,r=function(e,t,n){return e+t*(1<<8*n)},r=t.slice(0,8).reduce(r,0);return d(t.slice(8),n).slice(0,r)},t.standardDecrypt=p=function(e,t,n){var r=l(e,n);return h(e,r,n)?{success:!0,data:m(e,t,r)}:{success:!1,data:a.x1e.WrongPassword}}},"./dist/plugins/io/crypto/encryption.js":function(e,t,n){"use strict";var s,f,c,u,l,r,i,n;Object.defineProperty(t,"__esModule",{value:!0}),t.k1e=t.I1e=t.x1e=void 0,s=n("Core"),f=n("./dist/plugins/io/crypto/compoundFileBinaryFile.js"),c=n("./dist/plugins/io/crypto/ecma376AgileEncryption.js"),u=n("./dist/plugins/io/crypto/ecma376StandardEncryption.js"),(n=l=t.x1e||(t.x1e={}))[n.UnsupportedAlgorithm=0]="UnsupportedAlgorithm",n[n.WrongPassword=1]="WrongPassword",n[n.EmptyPassword=2]="EmptyPassword",n[n.UnsupportedFile=3]="UnsupportedFile",n[n.DamagedFiles=4]="DamagedFiles",t.I1e=r=function(e,t){var n,e,r,i,a,n,o;try{n=(0,f.v1e)(e)}catch(e){return{success:!1,data:l.UnsupportedFile}}if(!n)return{success:!1,data:l.UnsupportedFile};if(!t)return{success:!1,data:l.EmptyPassword};if(e=n.EncryptionInfo,r=s.Qoe.a1e(e,2,0),i=s.Qoe.a1e(e,2,2),n=n.EncryptedPackage,2!==i||3!==r&&4!==r){if(4===i&&4===r){if(!(o=(0,c.g1e)(e))||!n)return{success:!1,data:l.DamagedFiles};a=(0,c.b1e)(o,n,t)}}else{if(!(o=(0,u.readStandardEncryptionInfoStream)(e))||!n)return{success:!1,data:l.DamagedFiles};a=(0,u.standardDecrypt)(o,n,t)}return a},t.k1e=i=function(e,t){if(t){var n,e=e,e;if(e=(0,c.y1e)(e,t))return(0,f.p1e)(e.encryptionInfoStream,e.encryptionPackage)}}},"./dist/plugins/io/excel-parser.js":function(o,e,t){"use strict";var R,O,T,n,j,f,t,A,z,S,d,E,b,u,y,_,r,p,r,B,s;function c(e,t){var n,r,i;if(!e)return[];for(r in n=[],e)"count"!==r&&(i=e[r])&&t(i)&&n.push(i);return n}function a(e,t){return c(e,function(e){return e.fileType===t})}function F(e,t,n){S(e.docProps)&&(e.docProps={}),S(e.docProps.docPropsCore)&&(e.docProps.docPropsCore={}),e.docProps.docPropsCore[t]=n}function l(e,t,n){S(e.docProps)&&(e.docProps={}),S(e.docProps.docPropsApp)&&(e.docProps.docPropsApp={}),e.docProps.docPropsApp[t]=n}function P(e,t,n){var r;1===e.nodeType()&&F(t,n,e.readElementContentAsString(!0))}function U(e,t){var n,r,n=new O.XmlReader;for(n.setXml(e);n.read();)1===n.depth&&2!==n.elementType&&(-1!==(r=n.name()).indexOf(":")&&(r=n.name().split(":")[1]),P(n,t,r))}function L(e,t,n){var r,i,a,o,s,f;if(3!==e.elementType){for(r={},i=[],a=e.depth;e.read()&&!(e.depth<=a);)if(1===e.nodeType()&&"vector"===e.name()&&(h(e,r),3!==e.elementType))for(o=e.depth;e.read()&&!(e.depth<=o);)if(1===e.nodeType()&&3!==e.elementType){for(s=e.depth;e.read()&&!(e.depth<=s);)1===e.nodeType()&&((f={}).elementType=e.name(!0),f.value=e.readElementContentAsString(!0),i.push(f));r.workbookInfoArray=i}l(t,n,r)}}function G(e,t,n){var r,i,a,o,s;if(3!==e.elementType){for(r={},i=[],a=e.depth;e.read()&&!(e.depth<=a);)if(1===e.nodeType()&&"vector"===e.name()&&(h(e,r),3!==e.elementType)){for(o=e.depth;e.read()&&!(e.depth<=o);)1===e.nodeType()&&(s=e.readElementContentAsString(!0),i.push(s));r.sheetsNameArray=i}l(t,n,r)}}function h(e,t){for(;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"size":t.size=e.readContentAsInt(1);break;case"baseType":t.baseType=e.readContentAsString()}}function q(e,t,n){var r;1===e.nodeType()&&l(t,n,e.readElementContentAsString(!0))}function W(e,t){var n,r,n=new O.XmlReader;for(n.setXml(e);n.read();)if(1===n.depth&&2!==n.elementType)switch(r=n.name()){case"HeadingPairs":L(n,t,r);break;case"TitlesOfParts":G(n,t,r);break;default:q(n,t,r)}}function V(e,t){var n,r,i,a,o;if(3!==e.elementType&&1===e.nodeType()&&"property"===e.name()){for(n={};e.moveToNextAttribute();)r=e.readAttributeNameAsString(),i=e.readContentAsString(),n[r]=i;for(a=e.depth;e.read()&&!(e.depth<=a);)1===e.nodeType()&&(o={},r=e.name(!0),i=e.readElementContentAsString(!0),o[r]=i,n.propertyItemChildElement=o);t.push(n)}}function H(e,t){var n,r,n=new O.XmlReader;for(n.setXml(e),r=[];n.read();)1===n.depth&&2!==n.elementType&&V(n,r);S(t.docProps)&&(t.docProps={}),S(t.docProps.docPropsCustom)&&(t.docProps.docPropsCustom=[]),t.docProps.docPropsCustom=r}function D(e){var t,n,r,i,a,o,s,e,t=R.ExcelColor.EmptyColor,n=!1,r=-1,i=0,a="",o=-1;if(e&&e instanceof O.XmlReader)for(s=e;s.moveToNextAttribute();)switch(s.readAttributeNameAsString()){case"auto":n=s.readContentAsBoolean(!1);break;case"theme":r=s.readContentAsInt(-1);break;case"tint":i=s.readContentAsDouble(0);break;case"rgb":a=s.readContentAsString();break;case"indexed":o=s.readContentAsInt(-1)}else e&&(n=!!e.kSt.auto,e.kSt.theme&&(r=parseInt(e.kSt.theme,10)),e.kSt.tint&&(i=parseFloat(e.kSt.tint)),a=e.kSt.rgb||"",e.kSt.indexed)&&(o=parseInt(e.kSt.indexed,10));return n?(t.isAutoColor(!0),t):-1!==r?new R.ExcelColor(3,r,i):T.StringEx.Ji(a)?0<=o?new R.ExcelColor(1,o,0):t:(e=parseInt(a,16),new R.ExcelColor(2,e,i))}function Z(e,t,n){for(var r,i,a,o,s,f,c,u,l,d,d,h,m,p,r={foreColor:null},i="Calibri",a="normal",o="normal",s="14.7px",u=e.depth;e.read()&&!(e.depth<=u);)if(1===e.nodeType())switch(e.name()){case"b":o="bold";break;case"color":(l=D(e))!==R.ExcelColor.EmptyColor&&(r.foreColor=M(l));break;case"i":a="italic";break;case"rFont":for(;e.moveToNextAttribute();)i=_(e.readContentAsString());break;case"scheme":for(;e.moveToNextAttribute();)d=e.readContentAsString(),T.StringEx.Xi(d)||void 0===R.FontSchemeCategory[d.toLocaleLowerCase()]||("1"===(d=R.FontSchemeCategory[d.toLocaleLowerCase()])?(r.themeFont=R.THEME_HEADINGS,t&&(i=t)):"2"===d&&(r.themeFont=R.THEME_BODY,n)&&(i=n));break;case"strike":f=2;break;case"sz":for(;e.moveToNextAttribute();)s=Math.round(10*T.SJSColumnWidthHelper.pointToPixel(e.readContentAsDouble(0)))/10+"px";break;case"u":for(h=R.UnderLineStyle.single,c=1;e.moveToNextAttribute();)m=e.readContentAsString(),T.StringEx.Xi(m)||void 0===R.UnderLineStyle[m]||(h=R.UnderLineStyle[m]);2===h?c=8:0===h&&(c=0);break;case"vertAlign":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(p=e.readContentAsString())&&void 0!==R.VertAlign[p.toLocaleLowerCase()]&&(r.vertAlign=R.VertAlign[p.toLocaleLowerCase()])}return r.font=[a,o,s,i].join(" "),r.textDecoration=f===z?c:f|c,r}function x(e){for(var t,n,r,i,t=-1,n="",r="";e.moveToNextAttribute();)"numFmtId"===(i=e.readAttributeNameAsString())?t=e.readContentAsInt(-1):"formatCode"===i?n=e.readContentAsString():-1<i.indexOf("formatCode16")&&-1<(r=e.readContentAsString()).indexOf("[$-ja-JP-x-gannen]")&&(n=r);return n=E(T.Util.gr(n,"_x000a_","\n")),new R.ExcelNumberFormat(t,n)}function K(e,t,n){var r,i,a,i,o,s;if(3!==e.elementType)for(r=e.depth;e.read();){if(e.depth<=r)return;1===e.nodeType()&&"numFmt"===e.name()&&(i=x(e))&&0<i.numberFormatId&&(a=i.numberFormatCode,i=i.numberFormatId,s=t.push(JSON.stringify(o={n:i,c:a}))-1,a===z&&(a=T.ExtendedNumberFormatHelper.getFormatCode({numberFormatIndex:i})),n[i]={index:s,formatCode:a})}}function M(e){return e.isThemeColor()?R.ExcelColorHelper.getThemeColorName(e):R.ExcelColorHelper.toRGBColor(e)}function g(e,t,n,r,i,a,o,s){var f,c,u,l,d,h,m,p,v,b,y,w,x,x,g,k,I,C,F;if(3!==e.elementType){for(f="",c=!1,s||(u=0,d=l="normal",p=null),v=e.depth;e.read()&&!(e.depth<=v);)if(1===e.nodeType())switch(e.name()){case"b":for(b=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(b=e.readContentAsBoolean(-1));l=!0===b?"bold":"normal";break;case"name":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(h=_(E(e.readContentAsString())));break;case"u":for(y=1;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(w=e.readContentAsString(),T.StringEx.Xi(w)||"double"!==w?"none"===w&&(y=0):y=8);u|=y;break;case"scheme":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(x=e.readContentAsString(),T.StringEx.Xi(x)||void 0===R.FontSchemeCategory[x.toLocaleLowerCase()]||(p=0==(x=+R.FontSchemeCategory[x.toLocaleLowerCase()])?A:1==x?"Headings":"Body"));break;case"i":for(g=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(g=e.readContentAsBoolean(-1));d=!0===g?"italic":"normal";break;case"strike":for(k=!0;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(k=e.readContentAsBoolean(-1));k&&(u|=2);break;case"sz":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(m=T.SJSColumnWidthHelper.pointToPixel(e.readContentAsDouble(0),4)+"px");break;case"vertAlign":for(;e.moveToNextAttribute();)"val"===e.readAttributeNameAsString()&&(I=e.readContentAsString())&&void 0!==R.VertAlign[I.toLocaleLowerCase()]&&(f+="v:"+R.VertAlign[I.toLocaleLowerCase()]+",");break;case"color":c=!0,(C=D(e))!==R.ExcelColor.EmptyColor?f+="c:"+(F=a.getTextIndex(M(C)))+",":f+="c:"+(F=a.getTextIndex(A))+","}return f=(f=(f=(f=(f+="i:"+t.getTextIndex(d)+",")+("b:"+n.getTextIndex(l)+","))+("s:"+r.getTextIndex(m)+","))+("n:"+i.getTextIndex(h)+","))+("t:"+o.getTextIndex(p)+","),!1===c&&(f+="c:"+a.getTextIndex(A)+","),S(u)||(f+="d:"+u+","),f=f.substring(0,f.length-1)}}function X(e,t,n,r,i,a,o,s){if(3!==e.elementType)for(var f=e.depth;e.read();){if(e.depth<=f)return;1===e.nodeType()&&"font"===e.name()&&t.push(g(e,n,r,i,a,o,s))}}function J(e){return!e||e===R.FillPatternType.solid}function k(e,t,n){for(var r,i,a,o,s,f,c,u,l,d,r={},i=e.depth;e.read()&&!(e.depth<=i);){if(1===e.nodeType()&&"patternFill"===e.name()){for(;e.moveToNextAttribute();)"patternType"===e.readAttributeNameAsString()&&(a=e.readContentAsString())&&void 0!==R.FillPatternType[a]&&(r.t=R.FillPatternType[a]);if(3===e.elementType)break;for(o=e.depth,f=s=void 0;e.read()&&!(e.depth<=o);)1===e.nodeType()&&("fgColor"===e.name()&&(s=D(e)),"bgColor"===e.name())&&(f=D(e));return n&&(S(r.t)&&f&&(r.t=1),1===r.t)&&(s=f),J(r.t)&&s&&f===z?t.getTextIndex(M(s)):(s&&s!==R.ExcelColor.EmptyColor&&(!s.isIndexedColor()||64!==s.value()&&65!==s.value()?r.p=t.getTextIndex(M(s)):r.p=t.getTextIndex(z)),f&&f!==R.ExcelColor.EmptyColor&&(!f.isIndexedColor()||64!==f.value()&&65!==f.value()?r.b=t.getTextIndex(M(f)):r.b=t.getTextIndex(z)),JSON.stringify(r))}if(1===e.nodeType()&&"gradientFill"===e.name()){for(r.s=[];e.moveToNextAttribute();)switch(c=e.readAttributeNameAsString()){case"type":u=e.readContentAsString(),r.t="path"===u?"p":u;break;case"degree":r.d=e.readContentAsInt();break;case"left":r.l=e.readContentAsDouble();break;case"right":r.r=e.readContentAsDouble();break;case"top":r.a=e.readContentAsDouble();break;case"bottom":r.c=e.readContentAsDouble()}if(3===e.elementType)break;for(o=e.depth;e.read()&&!(e.depth<=o);)if("stop"===e.name()){for(l={},e.moveToNextAttribute()&&"position"===e.readAttributeNameAsString()&&(l.p=e.readContentAsDouble()),d=e.depth;e.read()&&!(e.depth<=d);)l.c=t.getTextIndex(M(D(e)));r.s.push(l)}}}return JSON.stringify(r)}function Y(e,t,n){if(3!==e.elementType)for(var r=e.depth;e.read();){if(e.depth<=r)return;1===e.nodeType()&&"fill"===e.name()&&(t.push(k(e,n)),0===t.length)&&t.push({patternType:0,fgColor:R.ExcelColor.EmptyColor,bgColor:R.ExcelColor.EmptyColor})}}function m(e,t){for(var n,r,i,n={s:0};e.moveToNextAttribute();)"style"===e.readAttributeNameAsString()&&(r=e.readContentAsString())&&void 0!==T.ExcelBorderStyle[r]&&(n.s=T.ExcelBorderStyle[r]);if(3!==e.elementType)for(i=e.depth;e.read()&&!(e.depth<=i);)1===e.nodeType()&&"color"===e.name()&&(n.c=t.getTextIndex(M(D(e))));return JSON.stringify(n)}function I(e,t,n){for(var r,i,a,o,s,f,r=e.depth,i="",a=!1,o=!1;e.moveToNextAttribute();)"diagonalUp"===(s=e.readAttributeNameAsString())?a=!0:"diagonalDown"===s&&(o=!0);if(3===e.elementType&&!a&&!o)return z;for(;e.read()&&!(e.depth<=r);)if(1===e.nodeType())switch(e.name()){case"top":i+="t:"+t.getTextIndex(m(e,n))+",";break;case"right":case"end":i+="r:"+t.getTextIndex(m(e,n))+",";break;case"bottom":i+="b:"+t.getTextIndex(m(e,n))+",";break;case"left":case"start":i+="l:"+t.getTextIndex(m(e,n))+",";break;case"vertical":i+="v:"+t.getTextIndex(m(e,n))+",";break;case"horizontal":i+="h:"+t.getTextIndex(m(e,n))+",";break;case"diagonal":f=t.getTextIndex(m(e,n)),a&&(i+="u:"+f+","),o&&(i+="d:"+f+",")}return i.substring(0,i.length-1)}function $(e,t,n,r){if(3!==e.elementType)for(var i=e.depth;e.read();){if(e.depth<=i)return;1===e.nodeType()&&"border"===e.name()&&t.push(I(e,n,r))}}function C(e){var t;return e.readContentAsBoolean(!1)?1:0}function Q(e,t,n,r,i,a){for(var o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,y,o={},s="";e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"numFmtId":(w=n[y=e.readContentAsInt(0)])===z&&(x=t.push(JSON.stringify({n:y}))-1,g=T.ExtendedNumberFormatHelper.getFormatCode({numberFormatIndex:y}),w=n[y]={index:x,formatCode:g}),r&&R.ExcelDateTimeHelper.y(w.formatCode)&&(r[i]=!0),s+=f="j:"+w.index+",";break;case"fontId":s+=c="f:"+e.readContentAsInt(0)+",";break;case"fillId":s+=u="c:"+e.readContentAsInt(0)+",";break;case"borderId":s+=l="b:"+e.readContentAsInt(0)+",";break;case"xfId":0<=(y=e.readContentAsInt(-1))&&(!S(a)&&S(a[y])&&(a[y]="1"),s+="n:"+y+",");break;case"quotePrefix":s+="q:"+(e.readContentAsBoolean(0)?1:0)+",";break;case"applyFont":s+="y:"+(d=C(e))+",";break;case"applyFill":s+="z:"+(h=C(e))+",";break;case"applyAlignment":s+="r:"+(m=C(e))+",";break;case"applyBorder":s+="e:"+(p=C(e))+",";break;case"applyProtection":s+="u:"+(v=C(e))+",";break;case"applyNumberFormat":s+="g:"+(b=C(e))+","}return s}function ee(e,t){for(var n,r,i,a,o,s,f,c,u,u,u,n=null,r=null,i=t?z:0,a=t?z:0,o=t?z:0,s=t?z:0,f=t?z:0,c="";e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"horizontal":n=e.readContentAsString();break;case"vertical":r=e.readContentAsString();break;case"textRotation":u=e.readContentAsString(),T.StringEx.Xi(u)||(255===(u=parseInt(u,10))?s=1:o=u=90<u?90-u:u);break;case"indent":u=e.readContentAsString(),T.StringEx.Xi(u)||(a=parseInt(u,10));break;case"shrinkToFit":f=e.readContentAsBoolean(!1)?1:0;break;case"wrapText":i=e.readContentAsBoolean(!1)?1:0}return i!==z&&(c+="w:"+i+","),a!==z&&(c+="i:"+a+","),s!==z&&(c+="va:"+s+","),o!==z&&(c+="x:"+o+","),f!==z&&(c+="s:"+f+","),(n=T.StringEx.Xi(n)&&!t?"general":n)&&(c+="h:"+R.ConverterHelper.toHorizontalAlignment(R.ExcelHorizontalAlignment[n])+","),(r=T.StringEx.Xi(r)&&!t?"bottom":r)&&(c+="v:"+R.ConverterHelper.toVerticalAlignment(R.ExcelVerticalAlignment[r])+","),c}function te(e,t){for(var n,r,i,a,n="",r=t?z:1;e.moveToNextAttribute();)"locked"===(i=e.readAttributeNameAsString())&&(a=e.readContentAsString(),T.StringEx.Ji(a)||"0"!==a&&"false"!==a||(r=0));return r!==z&&(n+="l:"+r+","),n}function N(e,t,n,r,i,a){var o,s,f,c,u,l;if(3!==e.elementType)for(o=e.depth,s=-1;e.read();){if((S(a)||!a.hasInit)&&e.depth<=o)return;if(1===e.nodeType()&&"xf"===e.name())if(s++,!S(a)&&a.hasInit&&"1"!==a[s])t.push("");else if(f=Q(e,n,r,i,s,a),3===e.elementType)f+="h:3,v:2,w:0,i:0,va:0,x:0,s:0,l:1",t.push(f);else{for(c=e.depth,l=u=!0;e.read()&&!(e.depth<=c);)1===e.nodeType()&&("alignment"===e.name()?(u=!1,f+=ee(e)):"protection"===e.name()&&(l=!1,f+=te(e)));u&&(f+="h:3,v:2,w:0,i:0,va:0,x:0,s:0,"),l&&(f+="l:1,"),t.push(f.substring(0,f.length-1))}}}function ne(e,t,n,r){var i,a,o;if(3!==e.elementType)for(i=e.depth;e.read();){if(e.depth<=i)return;if(1===e.nodeType()&&"cellStyle"===e.name()){for(a=void 0,o=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":a=E(e.readContentAsString());break;case"xfId":o=e.readContentAsInt(0)}(!r||n&&"1"===n[o])&&(t[a]=o)}}}function re(e,t,n,r,i,a,o,s,f,c,u,l,d,h,m,p){var v,b,y,w,w,y,w;if(3!==e.elementType){for(v=e.depth,b="";e.read()&&!(e.depth<=v);)if(1===e.nodeType())switch(e.name()){case"font":b+="f:"+t.getTextIndex(g(e,n,r,i,a,o,s,!0))+",";break;case"border":b+="b:"+f.getTextIndex(I(e,c,o))+",";break;case"fill":b+="c:"+u.getTextIndex(k(e,o,p))+",";break;case"numFmt":(y=x(e))&&0<y.numberFormatId&&(w={n:y.numberFormatId,c:y.numberFormatCode},w=l.push(JSON.stringify(w))-1,b+="j:"+(d[y.numberFormatId]=w)+",");break;case"alignment":(y=ee(e,!0))&&(b+="a:"+h.getTextIndex(y)+",");break;case"protection":(w=te(e,!0))&&(b+="pr:"+m.getTextIndex(w)+",")}return b.substring(0,b.length-1)}}function ie(e,t,n,r){var i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,w;if(3!==e.elementType){for(i=e.depth,a=new T.SimpleSharedStrings,o=new T.SimpleSharedStrings,s=new T.SimpleSharedStrings,f=new T.SimpleSharedStrings,c=new T.SimpleSharedStrings,u=new T.SimpleSharedStrings,l=[],d={},h=new T.SimpleSharedStrings,m=new T.SimpleSharedStrings,p=[],v=new T.SimpleSharedStrings,b=new T.SimpleSharedStrings,y=[];e.read()&&!(e.depth<=i);)1===e.nodeType()&&"dxf"===e.name()&&(w=re(e,u,o,s,f,c,t,n,m,a,h,l,d,v,b,r),y.push(w));return p=l.map(function(e,t){return"f:"+t}),{formatStrings:l,borders:m.wh(),borderItems:a.wh(),fontStyles:o.wh(),fontWeights:s.wh(),fontSizes:f.wh(),fontFamilies:c.wh(),fonts:u.wh(),fills:h.wh(),cellXfs:y,numFmts:p,alignments:v.wh(),protections:b.wh()}}}function ae(e){return(0,j.parseXmlToSJSObject)(e.readFullElement())}function oe(e,t){var n,r,i,a,o,s,f,c,u,l,d;if(3!==e.elementType){for(n=e.depth,s=new T.SimpleSharedStrings,f=new T.SimpleSharedStrings,c=new T.SimpleSharedStrings,u=new T.SimpleSharedStrings;e.read()&&!(e.depth<=n);)if(1===e.nodeType()&&"ext"===e.name())for(;e.moveToNextAttribute();)if("uri"===e.readAttributeNameAsString())switch(l=e.readContentAsString()){case"{46F421CA-312F-682f-3DD2-61675219B42D}":r=se(e,"dxfs",s,f,t);break;case"{A0A4C193-F2C1-4fcb-8827-314CF55A85BB}":i=se(e,"dxfs",c,u,t);break;case"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}":d=(0,j.parseXmlToObject)(e.readFullElement()).ext,S(d)||(a=d.slicerStyles);break;case"{9260A510-F301-46a8-8635-F512D64BE5F5}":d=(0,j.parseXmlToObject)(e.readFullElement()).ext,S(d)||(o=d.timelineStyles)}return{dxfsRecords:r,x15dxfsRecords:i,slicerStylesNode:a,timelineStylesNode:o,slicerSharedColors:s,slicerCommonSharedStrings:f,timelineSharedColors:c,timelineCommonSharedStrings:u}}}function se(e,t,n,r,i){var a,o;if(3!==e.elementType){for(o=e.depth;e.read()&&!(e.depth<=o);)1===e.nodeType()&&e.name()===t&&(a=ie(e,n,r,!0));return a}}function fe(e){var t;return e&&("index"===(t=e.split(":"))[0]?[t[1],t[2]]:void 0)}function ce(e){var t,e,t,t=+e[0],e=+e[1],t=R.ExcelColorHelper.colorFromIndex(0|t,255);return t&&R.ExcelColorHelper.updateTint(t,e).toString()}function ue(e){for(var t,n,r,i,i,t=e.td,n=0;n<t.length;n++)(i=fe(r=t[n]))&&(i=ce(i),e.td[n]=i,e.Lh[i]=e.Lh[r],delete e.Lh[r])}function le(e){var t,n,r,i,a,o,o,s,s;if(e)for(t=0,n=e.length;t<n;t++)if((r=e[t])&&r.richText&&0<r.richText.length)for(i=0,a=r.richText.length;i<a;i++)(s=(o=(o=r.richText[i])&&o.style)&&o.foreColor)&&(s=fe(s))&&(o.foreColor=ce(s))}function de(e){var t,n,r,i,a,o,s;if(3!==e.elementType)for(t=e.depth,n=[];e.read();){if(e.depth<=t)return;if(1===e.nodeType()&&"indexedColors"===e.name())for(r=e.depth,i=[];e.read();){if(e.depth<=r){if(0<(a=n.length)){for(R.ExcelColorHelper.useCustomPalette=!0,o=0;o<a;o++)i[o]=R.ExcelColorHelper.fromArgb(n[o]);R.ExcelColorHelper.customPalette=i}return}if(1===e.nodeType()){for(s=0;e.moveToNextAttribute();)"rgb"===e.readAttributeNameAsString()&&(s=parseInt(e.readContentAsString(),16));n.push(4278190080+(16777215&s))}}}}function he(e){return e=Array.isArray(e)?e:e?[e]:[]}function me(e){return e.kSt.name}function w(e){var t,n,t={c_:[]};for(n in e)e.hasOwnProperty(n)&&"count"!==n&&t.c_.push({Id:n,Type:e[n].fileType,Target:e[n].fileName,TargetMode:e[n].targetMode});return t}function pe(e){return e=(e=R.ExcelDateTimeHelper.Y0(e))instanceof Date?R.ExcelDateTimeHelper.o0(e):e}function ve(e){for(var t,n,r,i,a,o;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"r":t=T.IndexHelper.$i(e.readContentAsString());break;case"t":n=e.readContentAsString();break;case"s":r=e.readContentAsInt(0);break;case"v":i=!0;break;case"cm":a=e.readContentAsInt(0);break;case"vm":o=e.readContentAsInt(0)}return{cr:t,cellType:n,cellS:r,isSpillError:i=i&&!S(a),cellA:a,vmIndex:o}}function be(e,t,n,r,i){var a,o,s,f,c,u,l,o,o,a=e.readElementContentAsString();switch(t){case"b":s="1"===a;break;case"d":f=new Date(a);break;case"e":o=A,"#DIV/0!"===a?o=7:"#N/A"===a?o=42:"#NAME?"===a?o=29:"#NULL!"===a?o=0:"#NUM!"===a?o=36:"#REF!"===a?o=23:"#VALUE!"===a&&(o=15),o=o!==A?{error:a,code:o}:A,f=o=n?{error:"#SPILL!",code:99}:o;break;case"inlineStr":f="";break;case"s":l=+a;break;case"str":f=E(a);break;default:o=parseFloat(a),r[i]?u=pe(o):c=isNaN(o)?A:o}return{b:s,n:c,v:f,o:u,index:l}}function ye(e,t){var n,r,i;if("i"===t)for(r=e.depth;e.fastRead(),!(e.depth<=r)&&(i=e.buffer[e.rs],1==(1&e.elementType)&&"t"===i&&(n=E(e.readElementContentAsString())),e.depth>r););else"t"===t&&(n=E(e.readElementContentAsString()));return n}function we(e,t,n,r){var i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,C,F,A,k,i={n_:T.XFileConstants.bo},a=-1,o=0;if(n=n||{},3!==e.elementType){s=e.depth;do{if(e.fastRead(),e.depth<=s)break;for(f={},c=void 0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"r":c=e.readContentAsInt(0)-1;break;case"s":f.s=e.readContentAsInt(-1);break;case"collapsed":f.f=e.readContentAsBoolean(!1);break;case"hidden":f.v=e.readContentAsBoolean(!1);break;case"ht":f.h=e.readContentAsDouble(0);break;case"outlineLevel":f.l=e.readContentAsInt(0)}if(c!==z?a=c:a++,i[a]=f,3!==e.elementType){u=-1,l=e.depth;do{if(e.fastRead(),e.depth<=l)break;if(d={},m=(h=ve(e)).cr,p=h.cellType,v=h.isSpillError,b=h.cellS,y=h.cellA,w=h.vmIndex,d.s=b,d.a=y,d.u=v,m!==z?u=m:u++,3===e.elementType);else{x=e.depth;do{if(e.fastRead(),e.depth<=x)break;if(g=e.buffer[e.rs+e.Rne-1],1==(1&e.elementType)){if("v"===g)I=(k=be(e,p,v,n,d.s)).b,C=k.n,F=k.v,A=k.o,k=k.index,d.b=I,d.n=C,d.o=A,d.v=F===z?k:F;else if("f"===g){for(;e.moveToNextAttribute();)switch(e.buffer[e.x]){case"t":d.d=e.readContentAsString();break;case"r":d.r=e.readContentAsString();break;case"s":d.g=e.readContentAsInt(-1)}1===e.elementType&&(d.f=e.readElementContentAsString())}else"inlineStr"===p&&g&&(d.v=ye(e,g));S(w)||(d.v=xe(w,r))}}while(e.depth>x)}}while(f[u]=d,e.depth>l);o=Math.max(u+1,o)}}while(e.depth>s);i.rowCount=a+1,i.colCount=o}t.push(i)}function xe(e,a){var t,t,e,e,o,s,e,n,t,r,t=[].concat(a.metadata&&a.metadata.valueMetadata&&a.metadata.valueMetadata.bk);if(0<t.length&&(t=+(t[e-1]&&t[e-1].rc.kSt.v),e=a.richValueData)&&0<(e=[].concat(e.rvData.rv)).length)return o={name:"IMAGE",value:{clipY:0,clipX:0,vAlign:2,hAlign:0},typeName:"SparklineExValue"},s=e[t].v,e=+e[t].kSt.s,"_webimage"===(t=(n=[].concat(a.richValueStructureData.rvStructures.s))[e]).kSt.t&&(r=[].concat(t.k)).forEach(function(e,t){var e,n,r,n,i,n,i,e=e.kSt.n;"WebImageIdentifier"===e&&(n=+s[t].v,i=(n=(r=[].concat(a.richValueWebImageData.webImagesSrd.webImageSrd))[n]).address,n=n.blip,o.value.url=a.richValueWebImageData.rels[i.kSt["r:id"]],i=ge(a.richValueWebImageData.rels[n.kSt["r:id"]],a),o.value.imageBase64Data=i.blob),"Text"===e&&(o.value.altText=s[t].v),"ImageSizing"===e&&(o.value.drawType=+s[t].v),"ImageHeight"===e&&(o.value.height=+s[t].v),"ImageWidth"===e&&(o.value.width=+s[t].v)}),o}function ge(e,t){var n,r,r;if(e)return-1!==(r=(e=-1!==(r=e.lastIndexOf("/"))?e.substring(r+1):e).lastIndexOf("."))&&(n=e.substring(r+1)),{blob:r=(r=t.media[e])&&n?T.Util.Wr(r,n):r,type:n}}function ke(e,t){for(var n={n_:t,c_:[]};e.moveToNextAttribute();)n[e.readAttributeNameAsString()]=e.readContentAsString();return 3!==e.elementType&&(0,j.parseSJS)(e,n),n}function Ie(e,t,n,r,i,a){var o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,C,F,A,S,E,o={n_:"worksheet",c_:[],lossless:{}},s=new O.XmlReader;for(s.reset(),s.setXml(e),f=!1;s.read();)if(1===s.depth&&2!==s.elementType)switch(A=s.name()){case"sheetData":we(s,o.c_,i,a);break;case"extLst":for(S={n_:A,c_:[]};s.moveToNextAttribute();)S[s.readAttributeNameAsString()]=s.readContentAsString();3!==s.elementType&&((0,j.parseSJSWithSpecialTagHandler)(s,S,function(e,t,n){var e;if("dxf"===e)return f||(f=!0,c=new T.SimpleSharedStrings,u=new T.SimpleSharedStrings,l=new T.SimpleSharedStrings,d=new T.SimpleSharedStrings,h=new T.SimpleSharedStrings,m=new T.SimpleSharedStrings,p=new T.SimpleSharedStrings,v=new T.SimpleSharedStrings,b=[],y={},w=new T.SimpleSharedStrings,x=new T.SimpleSharedStrings,g=[],k=[],I=0,C=new T.SimpleSharedStrings,F=new T.SimpleSharedStrings),e=re(s,v,l,d,h,m,c,u,x,p,w,b,y,C,F),k.push(e),n.push({n_:"dxf",v:I}),I++,!0}),f&&(g=b.map(function(e,t){return"f:"+t}),E={formatStrings:b,borders:x.wh(),borderItems:p.wh(),fontStyles:l.wh(),fontWeights:d.wh(),fontSizes:h.wh(),fontFamilies:m.wh(),fonts:v.wh(),fills:w.wh(),cellXfs:k,numFmts:g,alignments:C.wh(),protections:F.wh()},S.lossless={sharedDxfs:E,sharedColors:c.wh(),commonSharedStrings:u.wh()}),o.c_.push(S));break;default:o.c_.push(ke(s,A))}return o}function Ce(e,t,n){var t=t(e.fileName);if(t)try{return(0,j.parseXmlToSJSObject)(t)}catch(e){}}function Fe(e,t,n,r){var i,a,o,s,o,f;if(e)for(a in i=void 0,e)"count"!==a&&(o=e[a])&&(i=(s=o.fileType)===T.RelationshipConstants.lc?o:i)&&(o=Ce(i,n,t),S(o)||(f=i.fileName.split("/").pop().slice(0,-4),r.tables||(r.tables={}),r.tables[f]=o))}function Ae(e,t,n,r){var i,a,o,s,s,o;if(e)for(i=c(e,function(e){return e.fileType===T.RelationshipConstants.dc||e.fileType===T.RelationshipConstants.vc}),a=0;a<i.length;a++)(s=(s=n((o=i[a]).fileName,!0))&&(0,j.parseXmlToCompactSJSObject)(s))&&(o=o.fileName.split("/").pop().slice(0,-4),r.ctrlProps||(r.ctrlProps={}),r.ctrlProps[o]=s)}function v(e,t,n){var t=t(e,!0);t&&(e=e.split("/").pop(),n.media||(n.media={}),n.media[e]=t)}function Se(e,t,n){var t,t,t=t(e,!0),t=t&&(0,j.parseXmlToCompactSJSObject)(t,{p:!0},{separator:!0});t&&(e=e.split("/").pop().slice(0,-4),n.charts||(n.charts={}),n.charts[e]=t)}function Ee(e,t,n){t=t.split("/").pop().slice(0,-4),n.drawings||(n.drawings={}),(n.drawings[t]=e).rels=w(e.relationFiles)}function je(e,t,n){var r,i,a,o,r=e&&e.relationFiles;if(r)for(i in r)"count"!==i&&(a=r[i])&&((o=a.fileType)===T.RelationshipConstants.Xr||o===T.RelationshipConstants.bc?v(a.fileName,t,n):o!==T.RelationshipConstants.Mc&&o!==T.RelationshipConstants.Cc&&o!==T.RelationshipConstants.Sc&&o!==T.RelationshipConstants.pc||Se(a.fileName,t,n))}function _e(e,t,n){var r,r,r=t(e.fileName,!0),r=r&&(0,j.parseXmlToCompactSJSObject)(r,{wsDr:!0,grpSp:!0,duotone:!0,p:!0});r&&(Ee(r,e.fileName,n),r.rels=w(e.relationFiles)),je(e,t,n)}function De(e,t,n){var r,r,r=t(e.fileName);(r=(r=r&&r.replace(/<br>(?!<\/br>)/g,"<br/>"))&&(0,j.parseXmlToSJSObject)(r))&&(Ee(r,e.fileName,n),r.rels=w(e.relationFiles)),je(e,t,n)}function Re(e,t,n,r){var i;e&&c(e,function(e){return e.fileType===T.RelationshipConstants.Fr||e.fileType===T.RelationshipConstants.gc}).forEach(function(e){_e(e,n,r)})}function Oe(e,t,n,r){var i;e&&a(e,T.RelationshipConstants.Vr).forEach(function(e){De(e,n,r)})}function Te(e,t,n,r){var e,n,n,i;e&&(e=a(e,T.RelationshipConstants.hc)[0])&&(n=(n=n(e.fileName))&&(0,j.parseXmlToSJSObject)(n))&&(r[i=e.fileName.split("/").pop().slice(0,-4)]=n)}function ze(e,t,n){var t=t(e.fileName);if(t)try{return(0,j.parseXmlToSJSObject)(t)}catch(e){}}function Be(e,t,n,r){var i,a,o,s,o,f;if(e)for(a in i=void 0,e)"count"!==a&&(o=e[a])&&(i=(s=o.fileType)===T.RelationshipConstants.yc?o:i)&&(o=ze(i,n,r),S(o)||(f=T.Util.vr(i.fileName),r.slicers||(r.slicers={}),r.slicers[f]=o))}function Me(e,t,n,r){var i,a,o,s,o,f;if(e)for(a in i=void 0,e)"count"!==a&&(o=e[a])&&(i=(s=o.fileType)===T.RelationshipConstants.Nc?o:i)&&(o=ze(i,n,r),S(o)||(f=T.Util.vr(i.fileName),r.timelines||(r.timelines={}),r.timelines[f]=o))}function Ne(e,t,n,r){var i,a,o,s,o,f;if(e)for(a in i=void 0,e)"count"!==a&&(o=e[a])&&(i=(s=o.fileType)===T.RelationshipConstants.oc?o:i)&&(o=Pe(i,n),S(o)||(f=i.fileName.split("/").pop().slice(0,-4),r.pivotTables||(r.pivotTables={}),r.pivotTables[f]=o))}function Pe(e,t){var t=t(e.fileName);if(t)try{return(0,j.parseXmlToSJSObject)(t)}catch(e){}}function i(e){this.r_=e||{},T.ExtendedNumberFormatHelper.resetBuiltInNumberFormat()}Object.defineProperty(e,"__esModule",{value:!0}),e.ExcelParser=e.readSJSPivotTableDefinition=void 0,R=t("./dist/plugins/io/utils/excel-utils.js"),O=t("./dist/plugins/io/utils/xml-reader.js"),T=t("Core"),n=t("Common"),j=t("./dist/plugins/io/utils/xml-parser.js"),f=t("./dist/plugins/io/utils/file-loader.js"),t=t("./dist/plugins/io/io-ns.js"),A=null,z=void 0,S=n.Common.lt.ht,d=T.Util.io,E=T.mt.n1,b=T.util.o1,u=T.util.go,y=T.util.xr,_=T.W.gpe,r=new n.Common.ResourceManager(T.SR,"Sheets"),p=r.getResource.bind(r),r=new n.Common.ResourceManager(t.SR,"IO"),B=r.getResource.bind(r),e.readSJSPivotTableDefinition=Ne,i.prototype.eee=function(e){var t,n,r,t=this.tee,n=e.toLowerCase();for(r in t)if(t.hasOwnProperty(r)&&r.toLowerCase()===n)return t[r]},i.prototype.nee=function(e,t){var n,e,n=e.substr("/"===e.charAt(0)?1:0),e=this.eee(e);return t||(this.tee[n]=A),e},i.prototype.parseXmlData=function(e){var t,n,r,t=this,n={};return t.tee=e,(r=new R.XFile("","")).ree(e),t.iee(r,n),t.aee(r,n),t.dl(),n},i.prototype.aee=function(e,t){var n=this,r=e.oee(T.RelationshipConstants.Ws),r;if(!(r=r||e.oee(T.RelationshipConstants.Qs)))throw new Error("Incorrect file format.");n.see(r,t),n.fee(r,t),n.cee(r,t),n.uee(r,t),n.lee(r,t),n.dee(r,t),n.hee(r,t),n.mee(r,t),n.pee(r,t),n.U4e(r,t),n.q4e(r,t),n.K4e(r,t),n.vee(r,t)},i.prototype.vee=function(l,d){var h,e,t,m,p,v,h=this,e=d.workbook,t=u(y(e,T.XFileConstants.mo),T.XFileConstants.ru);e.rels=w(l.relationFiles),(m=new T.SharedStrings).yh(d.sharedStrings),p=h.yee,0<t.length&&(d.sheets={},v=h.nee.bind(h),t.forEach(function(e,t){var n,r,r,i,a,o,s,f,c,u;if(e&&(n=e.name,r=e[T.XFileConstants.Ki],r=l.bee(r))&&(i=h.nee(r.fileName),a=r.relationFiles,h.wee={},i)){try{(o=Ie(i,a,n,m,h.xee,d)).rels=w(a),f=(s=r.fileName.split("/")).pop().slice(0,-4),c="worksheets"!==(c=s.pop())?c:T.XFileConstants.mo,d[c]||(d[c]={}),d[c][f]=o,p&&(o.lossless.definedNames=p[t]),(u=b(o,"sheetViews&sheetView"))&&(e.lossless||(e.lossless={}),e.lossless.tabSelected=u.tabSelected)}catch(e){}try{Fe(a,n,v,d)}catch(e){}try{Ae(a,n,v,d)}catch(e){}try{Re(a,n,v,d)}catch(e){}try{Oe(a,n,v,d)}catch(e){}try{Te(a,n,v,d)}catch(e){}try{Ne(a,n,v,d)}catch(e){}try{Be(a,n,v,d)}catch(e){}try{Me(a,n,v,d)}catch(e){}}})),d.sharedStrings=m.wh()},i.prototype.pee=function(e,t){var e,n,e,r,i,a,e=e.oee(T.RelationshipConstants.xc);if(e=e&&(n=this).nee(e.fileName))try{(i=(r=(0,j.parseXmlToObject)(e)).metadata)&&(a=he(i.metadataTypes.metadataType).map(me),n.gee={typeNames:a},t.metadata=i),t.allowDynamicArray=!0,t.workbook.lossless||(t.workbook.lossless={}),t.workbook.lossless.allowDynamicArray=!0}catch(e){}},i.prototype.U4e=function(e,t){var e,n,e,e=e.oee(T.RelationshipConstants.n2e);if(e=e&&(n=this).nee(e.fileName))try{t.richValueData=(0,j.parseXmlToObject)(e)}catch(e){}},i.prototype.q4e=function(e,t){var e,n,r,i,e=e.oee(T.RelationshipConstants.Wge);if(e&&(r=(n=this).nee(e.fileName)))try{t.richValueWebImageData=(0,j.parseXmlToObject)(r),i=e.relationFiles,n.X4e(i,t.richValueWebImageData,t)}catch(e){}},i.prototype.X4e=function(e,t,n){var r,i,a,o,s,r=this,i=r.nee.bind(r);if(e)for(a in t.rels={},e)"count"!==a&&(o=e[a])&&((s=o.fileType)===T.RelationshipConstants.pc&&"External"===o.targetMode&&(v(o.fileName,i,n),t.rels[a]=o.fileName),s===T.RelationshipConstants.Xr)&&(v(o.fileName,i,n),t.rels[a]=o.fileName)},i.prototype.K4e=function(e,t){var e,n,e,e=e.oee(T.RelationshipConstants.Yge);if(e=e&&(n=this).nee(e.fileName))try{t.richValueStructureData=(0,j.parseXmlToObject)(e)}catch(e){}},i.prototype.dee=function(e,t){var n,r,i,a,o,s,f,n=e.Fee(T.RelationshipConstants.ec);if(n){r=this;try{for(i=0;i<n.length;i++)a=n[i],t.pivotCache||(t.pivotCache={}),r.Cee(a,t),(o=r.nee(a.file.fileName))&&(s=(0,j.parseXmlToSJSObject)(o),f=a.file.fileName.split("/").pop().slice(0,-4),s.rels=w(a.file.relationFiles),t.pivotCache[f]=s)}catch(e){}}},i.prototype.Cee=function(e,t){var e,n,r,r,e;e&&(e=e.file.oee(T.RelationshipConstants.ic))&&(r=(n=this).nee(e.fileName))&&(r=(0,j.parseXmlToSJSObject)(r),t.pivotCache||(t.pivotCache={}),e=e.fileName.split("/").pop().slice(0,-4),t.pivotCache[e]=r)},i.prototype.lee=function(e,t){var n,e,r,i,a,o,s,f,c,u,l,n=this,e=n.nee(e.fileName);if(e)try{if(r=(0,j.parseXmlToSJSObject)(e),(a=(i=y(r,"definedNames"))&&i.c_)&&0<a.length){for(o=n.yee={},s=[],f=0,c=a;f<c.length;f++)(l=(u=c[f]).c_[0])&&(u.localSheetId?(o[u.localSheetId]||(o[u.localSheetId]=[]),o[u.localSheetId]):s).push(u);i.c_=s}t.workbook=r}catch(e){}},i.prototype.see=function(e,t){var n,e,n,r,i,a,o,n=e.oee(T.RelationshipConstants.$s);if(n=(n=n||e.oee(T.RelationshipConstants.tc))&&(e=this).nee(n.fileName))try{t.theme=(0,j.parseXmlToSJSObject)(n),(r=b(t.theme,"themeElements&fontScheme&majorFont&latin"))&&(i=_(r.typeface),r.typeface=i,e.Aee=i),(a=b(t.theme,"themeElements&fontScheme&minorFont&latin"))&&(o=_(a.typeface),a.typeface=o,e.See=o)}catch(e){}},i.prototype.hee=function(e,t){var n,e,r,i,a,o,s,s,o,n=this,e=e.Fee(T.RelationshipConstants.wc);if(e)for(r=0,i=e;r<i.length;r++)o=(a=i[r]).file.fileName,(s=n.nee(o))&&(s=(0,j.parseXmlToCompactSJSObject)(s),S(s)||(o=T.Util.vr(o),t.slicerCaches||(t.slicerCaches={}),t.slicerCaches[o]=s))},i.prototype.mee=function(e,t){var n,e,r,i,a,o,s,s,o,n=this,e=e.Fee(T.RelationshipConstants.kc);if(e)for(r=0,i=e;r<i.length;r++)o=(a=i[r]).file.fileName,(s=n.nee(o))&&(s=(0,j.parseXmlToCompactSJSObject)(s),S(s)||(o=T.Util.vr(o),t.timelineCaches||(t.timelineCaches={}),t.timelineCaches[o]=s))},i.prototype.fee=function(e,t){var n,r,i,a,o,s,f,c,u,l,n=e.Fee(T.RelationshipConstants.uc);if(n){for(r={},i=this,a=0;a<n.length;a++)if(o=n[a],s=i.nee(o.file.fileName))try{r[o.id]=(0,j.parseXmlToSJSObject)(s),f=o.file.relationFiles.rId1.fileName,f=T.mt.kfe(f,!0),c=Math.max(f.lastIndexOf("/"),f.lastIndexOf("\\"))+1,u=f.substr(c),"file:///"===(l="xl/externalLinks/"===(l=f.substr(0,c))?"":l).substr(0,8)&&(l=l.substr(8,c)),r[o.id].option={name:u,path:l}}catch(e){}t.externalLinks=r}},i.prototype.Eee=function(e,t){for(var n,r,i,a,o,s,f,c,u,l,n=this,r=t.sharedStrings=[],i=e.depth;e.read()&&!(e.depth<=i);)if(2!==e.elementType&&"si"===e.name()){for(a=e.depth,o="",s=[];e.read()&&!(e.depth<=a);)if(1===e.nodeType())if("t"===(f=e.name())&&1===e.elementType&&e.depth===a+1){for(c=void 0;e.moveToNextAttribute();)if("xml:space"===e.readAttributeNameAsString()&&"preserve"===e.readContentAsString()){c=!0;break}o=E(d(e.readElementContentAsString(c)))}else if("r"===f&&"P"!==e.buffer[e.rs+1]){for(u=e.depth,l={};e.read()&&!(e.depth<=u);)1===e.elementType&&("t"===e.buffer[e.rs]?(l.text=E(d(e.readElementContentAsString(!0))),o+=l.text):"r"===e.buffer[e.rs]&&(l.style=Z(e,n.Aee,n.See)));s.push(l)}0===s.length?r.push(o):r.push({value:E(o),richText:s})}},i.prototype.cee=function(e,t){var n,r,e,i,a,n=e.oee(T.RelationshipConstants.Xs);if((n=n||e.oee(T.RelationshipConstants.qs))&&(e=(r=this).nee(n.fileName)))try{for((i=new O.XmlReader).setXml(e);i.read();)"sst"===(a=i.name())&&r.Eee(i,t)}catch(e){}},i.prototype.uee=function(e,t){var n,r,e,i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,C,F,A,S,E,j,_,D,n=e.oee(T.RelationshipConstants.Ks);if((n=n||e.oee(T.RelationshipConstants.Js))&&(e=(r=this).nee(n.fileName,!0)))try{for((i=new O.XmlReader).setXml(e),a=!1===r.r_.includeUnusedStyles,o=new T.SimpleSharedStrings,s=new T.SimpleSharedStrings,f=new T.SimpleSharedStrings,c=new T.SimpleSharedStrings,u=new T.SimpleSharedStrings,l=new T.SimpleSharedStrings,d=new T.SimpleSharedStrings,h=[],m=[],p={},v=[],b=[],y=[],w=a?{hasInit:!1}:z,x=[],g={},A={},E="",j=S=F=C=I=k=void 0;i.read();)if(1===i.depth&&2!==i.elementType)switch(i.name()){case"numFmts":K(i,m,p);break;case"fonts":X(i,h,c,u,l,d,o,f);break;case"fills":Y(i,v,o);break;case"borders":$(i,b,s,o);break;case"cellStyleXfs":a?E=i.readFullElement():N(i,y,m,p);break;case"cellXfs":N(i,x,m,p,A,w),a&&(w.hasInit=!0,(_=new O.XmlReader).setXml(E),N(_,y,m,p,z,w));break;case"cellStyles":ne(i,g,w,a),S=y.length,r.setDefaultStyle(y,S,g,m,v,h,b,s,c,u,l,d,o,f);break;case"dxfs":r.jee&&(j=R.ConverterHelper.fromHtmlFont(r.jee.font)),I=ie(i,o,f);break;case"tableStyles":C=ae(i);break;case"extLst":F=oe(i,j);break;case"colors":de(i)}ue(o),le(t.sharedStrings),k=m.map(function(e,t){return"f:"+t}),r.xee=A,(D=t.styles={}).sharedColors=o.wh(),D.fills=v,D.formatStrings=m,D.numFmts=k,D.fontStyles=c.wh(),D.fontWeights=u.wh(),D.fontSizes=l.wh(),D.fontFamilies=d.wh(),D.fonts=h,D.borders=b,D.borderItems=s.wh(),D.commonSharedStrings=f.wh(),D.cellXfs=x,D.cellStyleXfs=y,D.namedStylesMap=g,D.dxfs=I,D.tableStyles=C,D.extLst=F,r._ee=S}catch(e){}},i.prototype.setDefaultStyle=function(e,t,n,r,i,a,o,s,f,c,u,l,d,h){var m,n,t,e,m=this,n=0<t?(t=n[p().NORMAL],R.SJSStyleHelper.styleIdentifiersToSpreadString(e[t||0],r,i,a,o,s.wh(),f.wh(),c.wh(),u.wh(),l.wh(),d.wh(),h)):{foreColor:"Text 1 0",themeFont:"Body",fontSize:"14.7px",fontFamily:"Calibri",locked:!0,textIndent:0,wordWrap:!1,vAlign:2,hAlign:3};n.themeFont&&(e=void 0,n.themeFont.toUpperCase()==="Headings".toUpperCase()?e=m.Aee:n.themeFont.toUpperCase()==="Body".toUpperCase()&&(e=m.See),e)&&(n.fontFamily=e),m.jee=n},i.prototype.iee=function(e,t){var n,r,i,e,n=this,r=e.oee(T.RelationshipConstants.Vs),i=e.oee(T.RelationshipConstants.Ys),e=e.oee(T.RelationshipConstants.Zs);r&&n.Dee(r,t),i&&n.Oee(i,t),e&&n.zee(e,t)},i.prototype.Dee=function(e,t){var n,e,n,e=this.nee(e.fileName,!0);if(e)try{U(e,t)}catch(e){}},i.prototype.Oee=function(e,t){var n,e,n,e=this.nee(e.fileName,!0);if(e)try{W(e,t)}catch(e){}},i.prototype.zee=function(e,t){var n,e,n,e=this.nee(e.fileName,!0);if(e)try{H(e,t)}catch(e){}},i.prototype.Bee=function(e,f,t,n,c,r){var u,i,a,o,s,l,d,h,m,p,v,b,y,w,x,g,k,I,C,F,A,S,E,j,_,D,R,u=this,i=f.row,a=f.col,o=f.rowCount,s=f.colCount;-1===o&&(o=T.XmlConstants.Io),-1===s&&(s=T.XmlConstants.xo),d=(i=(l=-1)===i?0:i)+o,h=(a=-1===a?0:a)+s,m=0,p=e.depth,b=!(v={});try{do{if(e.fastRead(),e.depth<=p)break;for(y=void 0;e.moveToNextAttribute();)"r"===e.readAttributeNameAsString()&&(y=e.readContentAsInt(0)-1);if(y!==z?l=y:l++,i<=l&&l<d){if(3!==e.elementType){v[l]||(v[l]={}),w=-1,x=e.depth;do{if(e.fastRead(),e.depth<=x)break;if(g=void 0,I=(k=ve(e)).cr,C=k.cellType,F=k.isSpillError,I!==z?w=I:w++,3!==e.elementType)if(a<=w&&w<h)for(A=e.depth;e.fastRead(),!(e.depth<=A)&&(S=e.buffer[e.rs],1==(1&e.elementType)&&("v"===S?(j=(E=be(e,C,F,{})).b,_=E.n,D=E.v,(R=E.index)!==z?(g={index:R},b=!0):g=j||D||_):"inlineStr"===C&&S&&(g=ye(e,S)),v[l][w]=g),e.depth>A););else if(3!==e.elementType)for(A=e.depth;e.read(),e.depth>A;);}while(e.depth>x);m=Math.max(m,w)}}else if(3!==e.elementType)for(x=e.depth;e.read(),e.depth>x;);}while(e.depth>p);b?t.ele(n,"xl/sharedStrings.xml",function(e){var t,n,r,i,a,o,s,t=new O.XmlReader;for(t.reset(),t.setXml(e);t.read();)if("sst"===t.name()){for(u.Eee(t,n={}),r=n.sharedStrings,i=-1===f.row?0:f.row;i<=l;i++)if(a=v[i])for(o=-1===f.col?0:f.col;o<=m;o++)(s=a[o])&&s.index!==z&&(a[o]=r[s.index]);c(v)}},r):c(v)}catch(e){r(B().GET_PARTIAL_VALUES_ERROR_MSG)}},i.prototype.Tee=function(e,t,n,r,i,a){var o,s,o=new O.XmlReader;for(o.reset(),o.setXml(e);o.read();)if(1===o.depth&&2!==o.elementType&&"sheetData"===(s=o.name())){if(3===o.elementType)return void a(B().GET_PARTIAL_VALUES_ERROR_MSG);this.Bee(o,r,t,n,i,a)}},i.prototype.Ree=function(e,t,n,r,i,a,o){var s,f,c,u,l,s,f=(0,j.parseXmlToSJSObject)(e).c_;if(f)for(c=this,u=0;u<f.length;u++)f[u].Id===t&&(l="xl/"+f[u].Target,n.ele(r,l,function(e){c.Tee(e,n,r,i,a,o)},o));else o(B().GET_PARTIAL_VALUES_ERROR_MSG)},i.prototype.Mee=function(e,r,i,a,o,s,f){var c,t,n;if(e)try{c=this,t=(0,j.parseXmlToSJSObject)(e),(n=u(y(t,"sheets"),"sheet")).length<=0?f(B().GET_PARTIAL_VALUES_ERROR_MSG):n.forEach(function(e,t){var n;e&&e.name===r&&(n=e["r:id"],i.ele(a,"xl/_rels/workbook.xml.rels",function(e){c.Ree(e,n,i,a,o,s,f)},f))})}catch(e){f(B().GET_PARTIAL_VALUES_ERROR_MSG)}else f(B().GET_PARTIAL_VALUES_ERROR_MSG)},i.prototype.Nee=function(e,n,r,i,a){var o=this,s=new f.tle,t=s.nle;t&&e?(t.onload=function(e){s.rle(e.target.result,function(t){s.ele(t,"xl/workbook.xml",function(e){o.Mee(e,n,s,t,r,i,a)},a)},a)},t.onerror=function(e){a(e)},t.readAsArrayBuffer&&t.readAsArrayBuffer(e)):a(B().GET_PARTIAL_VALUES_ERROR_MSG)},i.prototype.dl=function(){R.ExcelColorHelper.useCustomPalette=!1,R.ExcelColorHelper.customPalette=null},e.ExcelParser=i},"./dist/plugins/io/excel-saver.js":function(D,e,t){"use strict";var I,O,n,T,o,r,s,i,c,C,f,a,u,k,F,l,A,d,h,R,m,p,v,b,y,z,N,P,U,L,B,G,q,W,V,H,Z,K,X,w,x,g,J,Y;function $(){}function Q(){}function S(e){return"function"!=typeof e}function M(e,t,n){return e+"/"+N+"/"+t+"."+(n=n||B)+"."+L}function ee(r){var i=new T.XmlWriter;return i.writeDocument(),i.writeElement("cp:coreProperties",function(){i.writeAttributeString("xmlns:cp",O.XFileConstants.ks),i.writeAttributeString("xmlns:dc",O.XFileConstants.Ds),i.writeAttributeString("xmlns:dcterms",O.XFileConstants._s),i.writeAttributeString("xmlns:dcmitype",O.XFileConstants.Es),i.writeAttributeString("xmlns:xsi",O.XFileConstants.js)},function(){var t,e,n,t=r.docProps.docPropsCore,e=function(e){if(t.hasOwnProperty(e))switch(e){case"title":i.writeElement("dc:title",function(){},function(){i.writeValue(t[e])});break;case"subject":i.writeElement("dc:subject",function(){},function(){i.writeValue(t[e])});break;case"creator":i.writeElement("dc:creator",function(){},function(){i.writeValue(t[e])});break;case"keywords":i.writeElement("cp:keywords",function(){},function(){i.writeValue(t[e])});break;case"description":i.writeElement("dc:description",function(){},function(){i.writeValue(t[e])});break;case"lastModifiedBy":i.writeElement("cp:lastModifiedBy",function(){},function(){i.writeValue(t[e])});break;case"created":i.writeElement("dcterms:created",function(){i.writeAttributeString("xsi:type","dcterms:W3CDTF")},function(){i.writeValue(t[e])});break;case"modified":i.writeElement("dcterms:modified",function(){i.writeAttributeString("xsi:type","dcterms:W3CDTF")},function(){i.writeValue(t[e])});break;case"lastPrinted":i.writeElement("cp:lastPrinted",function(){},function(){i.writeValue(t[e])});break;case"category":i.writeElement("cp:category",function(){},function(){i.writeValue(t[e])});break;case"contentStatus":i.writeElement("cp:contentStatus",function(){},function(){i.writeValue(t[e])});break;case"language":i.writeElement("dc:language",function(){},function(){i.writeValue(t[e])});break;case"version":i.writeElement("cp:version",function(){},function(){i.writeValue(t[e])});break;case"revision":i.writeElement("cp:revision",function(){},function(){i.writeValue(t[e])})}};for(n in t)e(n)}),i.ile()}function te(r,i){r.writeElement("HeadingPairs",function(){},function(){r.writeElement("vt:vector",function(){r.writeAttributeString("size",i.HeadingPairs.size),r.writeAttributeString("baseType",i.HeadingPairs.baseType)},function(){for(var t,e,n,t=i.HeadingPairs.workbookInfoArray,e=function(e){r.writeElement("vt:variant",function(){},function(){r.writeElement(t[e].elementType,function(){},function(){r.writeValue(t[e].value)})})},n=0;n<t.length;n++)e(n)})})}function ne(r,i){r.writeElement("TitlesOfParts",function(){},function(){r.writeElement("vt:vector",function(){r.writeAttributeString("size",i.TitlesOfParts.size),r.writeAttributeString("baseType",i.TitlesOfParts.baseType)},function(){for(var t,e,n,t=i.TitlesOfParts.sheetsNameArray,e=function(e){r.writeElement("vt:lpstr",function(){},function(){r.writeValue(t[e])})},n=0;n<t.length;n++)e(n)})})}function re(e,t,n){var r=e.slice(0,1).toUpperCase()+e.slice(1);t.writeElement(r,function(){},function(){t.writeValue(n[e])})}function ie(n){var r=new T.XmlWriter;return r.writeDocument(),r.writeElement("Properties",function(){r.writeAttributeString("xmlns",O.XFileConstants.Ls),r.writeAttributeString("xmlns:vt",O.XFileConstants.Fs)},function(){var e,t,e=n.docProps.docPropsApp;for(t in e)if(e.hasOwnProperty(t)&&S(e[t]))switch(t){case"HeadingPairs":te(r,e);break;case"TitlesOfParts":ne(r,e);break;default:re(t,r,e)}}),r.ile()}function ae(r){var i=new T.XmlWriter;return i.writeDocument(),i.writeElement("Properties",function(){i.writeAttributeString("xmlns",O.XFileConstants.Gs),i.writeAttributeString("xmlns:vt",O.XFileConstants.Us)},function(){for(var t,e,n,t=r.docProps.docPropsCustom,e=function(e){var r=t[e];i.writeElement("property",function(){for(var e in r)"propertyItemChildElement"!==e&&S(r[e])&&i.writeAttributeString(e,r[e])},function(){var t,e,n,t=r.propertyItemChildElement,e=function(e){t.hasOwnProperty(e)&&S(t[e])&&i.writeElement(e,function(){},function(){i.writeValue(t[e])})};for(n in t)e(n)})},n=0;n<t.length;n++)e(n)}),i.ile()}function oe(e){e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Jpan"),e.writeAttributeString("typeface","\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hang"),e.writeAttributeString("typeface","\ub9d1\uc740 \uace0\ub515")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hans"),e.writeAttributeString("typeface","\u5b8b\u4f53")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hant"),e.writeAttributeString("typeface","\u65b0\u7d30\u660e\u9ad4")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Arab"),e.writeAttributeString("typeface","Times New Roman")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hebr"),e.writeAttributeString("typeface","Times New Roman")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Thai"),e.writeAttributeString("typeface","Tahoma")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Ethi"),e.writeAttributeString("typeface","Nyala")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Beng"),e.writeAttributeString("typeface","Vrinda")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Gujr"),e.writeAttributeString("typeface","Shruti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Khmr"),e.writeAttributeString("typeface","MoolBoran")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Knda"),e.writeAttributeString("typeface","Tunga")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Guru"),e.writeAttributeString("typeface","Raavi")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Cans"),e.writeAttributeString("typeface","Euphemia")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Cher"),e.writeAttributeString("typeface","Plantagenet Cherokee")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Yiii"),e.writeAttributeString("typeface","Microsoft Yi Baiti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Tibt"),e.writeAttributeString("typeface","Microsoft Himalaya")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Thaa"),e.writeAttributeString("typeface","MV Boli")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Deva"),e.writeAttributeString("typeface","Mangal")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Telu"),e.writeAttributeString("typeface","Gautami")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Taml"),e.writeAttributeString("typeface","Latha")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Syrc"),e.writeAttributeString("typeface","Estrangelo Edessa")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Orya"),e.writeAttributeString("typeface","Kalinga")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Mlym"),e.writeAttributeString("typeface","Kartika")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Laoo"),e.writeAttributeString("typeface","DokChampa")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Sinh"),e.writeAttributeString("typeface","Iskoola Pota")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Mong"),e.writeAttributeString("typeface","Mongolian Baiti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Viet"),e.writeAttributeString("typeface","Times New Roman")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Uigh"),e.writeAttributeString("typeface","Microsoft Uighur")})}function se(e){e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Jpan"),e.writeAttributeString("typeface","\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hang"),e.writeAttributeString("typeface","\ub9d1\uc740 \uace0\ub515")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hans"),e.writeAttributeString("typeface","\u5b8b\u4f53")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hant"),e.writeAttributeString("typeface","\u65b0\u7d30\u660e\u9ad4")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Arab"),e.writeAttributeString("typeface","Arial")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Hebr"),e.writeAttributeString("typeface","Arial")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Thai"),e.writeAttributeString("typeface","Tahoma")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Ethi"),e.writeAttributeString("typeface","Nyala")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Beng"),e.writeAttributeString("typeface","Vrinda")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Gujr"),e.writeAttributeString("typeface","Shruti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Khmr"),e.writeAttributeString("typeface","DaunPenh")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Knda"),e.writeAttributeString("typeface","Tunga")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Guru"),e.writeAttributeString("typeface","Raavi")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Cans"),e.writeAttributeString("typeface","Euphemia")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Cher"),e.writeAttributeString("typeface","Plantagenet Cherokee")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Yiii"),e.writeAttributeString("typeface","Microsoft Yi Baiti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Tibt"),e.writeAttributeString("typeface","Microsoft Himalaya")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Thaa"),e.writeAttributeString("typeface","MV Boli")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Deva"),e.writeAttributeString("typeface","Mangal")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Telu"),e.writeAttributeString("typeface","Gautami")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Taml"),e.writeAttributeString("typeface","Latha")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Syrc"),e.writeAttributeString("typeface","Estrangelo Edessa")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Orya"),e.writeAttributeString("typeface","Kalinga")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Mlym"),e.writeAttributeString("typeface","Kartika")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Laoo"),e.writeAttributeString("typeface","DokChampa")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Sinh"),e.writeAttributeString("typeface","Iskoola Pota")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Mong"),e.writeAttributeString("typeface","Mongolian Baiti")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Viet"),e.writeAttributeString("typeface","Arial")}),e.writeLeafElement("a:font",function(){e.writeAttributeString("script","Uigh"),e.writeAttributeString("typeface","Microsoft Uighur")})}function fe(e){var i,t,a,i=e.theme,t="string"==typeof(i=i||"Office")?i:i.name;return O.StringEx.Xi(t)&&(i="Office"),t&&"OFFICE"===t.toUpperCase()&&(t="Office Theme"),(a=new T.ale).writeDocument(),a.writeElement("a:theme",function(){a.writeAttributeString("xmlns:a",O.XFileConstants.ls),i&&i.name?a.writeAttributeString("name",t):"Office"===i?a.writeAttributeString("name","Office Theme"):a.writeAttributeString("name",i)},function(){a.writeElement("a:themeElements",A,function(){var e,t,n,r,e,e;i&&i.c_?(e=d(i,"themeElements&clrScheme"))?a.ole(e,C.NameSpaces.A):a.xml.addString(o.ThemeClrSchemes.Office):o.ThemeClrSchemes[i]?a.xml.addString(o.ThemeClrSchemes[i]):a.xml.addString(o.ThemeClrSchemes.Office),i&&i.c_?(t=d(i,"themeElements&fontScheme"),n="Calibri Light",r="Calibri",t&&((e=d(t,"majorFont&latin"))&&(n=e.typeface),e=d(t,"minorFont&latin"))&&(r=e.typeface),a.writeElement("a:fontScheme",function(){a.writeAttributeString("name",t.name||"Office")},function(){a.writeElement("a:majorFont",A,function(){a.writeLeafElement("a:"+I.FontLanguage[0],function(){a.writeAttributeString("typeface",n)}),a.writeLeafElement("a:"+I.FontLanguage[2],function(){a.writeAttributeString("typeface","")}),a.writeLeafElement("a:"+I.FontLanguage[1],function(){a.writeAttributeString("typeface","")}),oe(a)}),a.writeElement("a:minorFont",A,function(){a.writeLeafElement("a:"+I.FontLanguage[0],function(){a.writeAttributeString("typeface",r)}),a.writeLeafElement("a:"+I.FontLanguage[2],function(){a.writeAttributeString("typeface","")}),a.writeLeafElement("a:"+I.FontLanguage[1],function(){a.writeAttributeString("typeface","")}),se(a)})})):o.ThemeFontSchemes[i]?a.xml.addString(o.ThemeFontSchemes[i]):a.xml.addString(o.ThemeFontSchemes.Office),o.ThemeFmtSchemes[i]?a.xml.addString(o.ThemeFmtSchemes[i]):a.xml.addString(o.ThemeFmtSchemes.Office)}),a.writeLeafElement("a:objectDefaults"),a.writeLeafElement("a:extraClrSchemeLst")}),a.ile()}function E(e){return Math.random().toString(16).slice(-e)}function ce(){var e;return("{"+E(8)+"-"+E(4)+"-"+E(4)+"-"+E(4)+"-"+E(12)+"}").toUpperCase()}function j(e){return"object"==typeof e}function ue(e,t,n,r){var i="";return e!==A&&(i+=' s="'+e+'"'),n!==A&&(i+=' cm="'+n+'"'),t!==A&&(i+=' vm="'+t+'"'),r!==A&&(i+=' t="'+r+'"'),i}function le(e,t,n,r,i,a,o,s){var n;return(e===A||null===e||j(e))&&O.StringEx.Ji(t)&&k(s)?ue(n,r,i,a)+"/>":(n=ue(n,r,i,a)+">",k(s)?O.StringEx.Ji(t)||(n+=o?'<f t="array" ref="'+o+'">'+t+"</f>":"<f>"+t+"</f>"):n+=t?'<f t="shared" si="'+s+'" ref="'+o+'">'+t+"</f>":'<f t="shared" si="'+s+'"/>',e===A||null===e||j(e)||(n+=""===e?"<v></v>":"<v>"+e+"</v>"),n+"</c>")}function de(t,e,n){n!==A&&t.writeLeafElement(e,function(){var e;null===n||n.isAutoColor()?t.writeAttributeString("auto","1"):n.isIndexedColor()?t.writeAttributeString("indexed",n.value().toString()):n.isThemeColor()?(t.writeAttributeString("theme",n.value().toString()),0!==n.tint()&&t.writeAttributeString("tint",n.tint().toString())):n.isRGBColor()&&(e=n.value().toString(16),t.writeAttributeString("rgb",e.toUpperCase()),0!==n.tint())&&t.writeAttributeString("tint",n.tint().toString())})}function he(t,n){n&&t.writeElement("rPr",A,function(){var e;n.isBold&&t.writeLeafElement("b"),0<n.charSetIndex&&t.writeLeafElement("charset",function(){t.writeAttributeString("val",n.charSetIndex.toString())}),n.foreColor&&n.foreColor!==I.ExcelColor.EmptyColor&&de(t,"color",n.foreColor),n.isCondense&&t.writeLeafElement("condense"),n.isExtend&&t.writeLeafElement("extend"),k(n.fontFamilySet)||0===n.fontFamilySet||t.writeLeafElement("family",function(){t.writeAttributeString("val",n.fontFamilySet.toString())}),n.isItalic&&t.writeLeafElement("i"),n.isOutlineStyle&&t.writeLeafElement("outline",function(){t.writeAttributeString("val","1")}),O.StringEx.Xi(n.fontFamily)||t.writeLeafElement("rFont",function(){t.writeAttributeString("val",n.fontFamily)}),n.fontScheme&&0!==n.fontScheme&&t.writeLeafElement("scheme",function(){t.writeAttributeString("val",I.FontSchemeCategory[n.fontScheme])}),n.isShadowStyle&&t.writeLeafElement("shadow",function(){t.writeAttributeString("val","1")}),n.isStrikeOut&&t.writeLeafElement("strike"),(n.fontSize&&0!==n.fontSize||-1!==n.fontSize)&&0<(e=n.fontSize)&&t.writeLeafElement("sz",function(){t.writeAttributeString("val",e.toString())}),n.underLineStyle&&0!==n.underLineStyle&&(1===n.underLineStyle?t.writeLeafElement("u"):t.writeLeafElement("u",function(){t.writeAttributeString("val",I.UnderLineStyle[n.underLineStyle])})),n.vertAlign&&0!==n.vertAlign&&t.writeLeafElement("vertAlign",function(){t.writeAttributeString("val",I.VertAlign[n.vertAlign])})})}function me(a){var o,s,o=/(^\s+)|(\s+$)/,s=new T.XmlWriter;return s.writeDocument(),s.writeElement("sst",function(){s.writeAttributeString("xmlns",O.XFileConstants.Qu),s.writeAttributeString("count",""+a.length),s.writeAttributeString("uniqueCount",""+a.length)},function(){for(var e,t,n,e=function(e,t){var r,i,r=a[e];s.writeElement("si",A,function(){var n,e,t;if(r.richText)for(n=r.richText,e=function(e){var t=n[e].text;t!==A&&s.writeElement("r",A,function(){he(s,I.ConverterHelper.fromRichTextStyle(n[e].style)),t&&(i=o.test(t)),s.writeElement("t",function(){i&&s.writeAttributeString("xml:space","preserve")},function(){s.writeValue(F(l(t,!0)))})})},t=0;t<n.length;t++)e(t);else s.writeElement("t",function(){(i=o.test(r))&&s.writeAttributeString("xml:space","preserve")},function(){s.writeValue(F(l(r,!0)))})})},t=0,n=a.length;t<n;t++)e(t,n)}),s.ile()}function pe(e,t,n,r){(n||r)&&e.push('\txmlns:xlrd="'+O.XFileConstants.As+'"'),t&&e.push('\txmlns:xda="'+O.XFileConstants.Ts+'"'),e.push(">")}function ve(e,t,n,r){var i;e.push('\t<metadataTypes count="'+((t?1:0)+(n||r?1:0))+'">'),t&&e.push('\t\t<metadataType name="XLDAPR" '+g+' cellMeta="1"/>'),(n||r)&&e.push('\t\t<metadataType name="XLRICHVALUE" '+g+"/>"),e.push("\t</metadataTypes>")}function be(e,t,n){var r,i;if(t&&e.push('\t<futureMetadata name="XLDAPR" count="1"> <bk> <extLst> <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}"> <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/> </ext> </extLst> </bk> </futureMetadata>'),0<n){for(r='<futureMetadata name="XLRICHVALUE" count="'+n+'">',i=0;i<n;i++)r+='<bk> <extLst> <ext uri="{3e2802c4-a4d2-4d8b-9148-e3be6c30e623}"> <xlrd:rvb i="'.concat(i,'"/> </ext> </extLst> </bk>');e.push("\t"+r+" </futureMetadata>")}}function ye(e,t){var n,r,i,a,e,e,o,n=[],r=0<e,i=1<e,a=2<e,e=0<t.length;if(n.push('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),n.push("<metadata"),n.push('\txmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"'),pe(n,r,i,e),ve(n,r,i,e),be(n,r,e=t.length+(i?a?2:1:0)),r&&n.push('\t<cellMetadata count="1"> <bk> <rc t="1" v="0"/> </bk> </cellMetadata>'),0<e){for(n.push('\t<valueMetadata count="'+e+'">'),o=0;o<t.length;o++)n.push('<bk> <rc t="'.concat(i||a?2:1,'" v="').concat(o,'"/> </bk>'));i&&n.push('<bk> <rc t="2" v="'.concat(t.length,'"/> </bk>')),a&&n.push('<bk> <rc t="2" v="'.concat(t.length+1,'"/> </bk>')),n.push("</valueMetadata>")}return n.push("</metadata>"),n.join("\r\n")}function we(e){var t=[];return e.forEach(function(e){t.push(Object.keys(e.structureMap).join("-"))}),Array.from(new Set(t))}function xe(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><rvTypesInfo xmlns="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x" xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><global><keyFlags><key name="_Self"><flag name="ExcludeFromFile" value="1"/><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_DisplayString"><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_Flags"><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_Format"><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_SubLabel"><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_Attribution"><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_Icon"><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_Display"><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_CanonicalPropertyNames"><flag name="ExcludeFromCalcComparison" value="1"/></key><key name="_ClassificationId"><flag name="ExcludeFromCalcComparison" value="1"/></key></keyFlags></global><types><type name="_webimage"><keyFlags><key name="WebImageIdentifier"><flag name="ShowInCardView" value="0"/></key></keyFlags></type></types></rvTypesInfo>'}function ge(e,t,n){var r,i,a,n,o,s,f,f,r=[],i=e.length,a=1<n,n=2<n;for(r.push('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),r.push('<rvData xmlns="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" count="'+(i+(a?1:0))+'">'),o=1;o<=i;o++)s=e[o-1].structureMap,f=Object.keys(s).join("-"),f=t.indexOf(f),r.push('<rv s="'+f+'">'),r.push("<v>"+(o-1)+"</v>"),r.push("<v>1</v>"),r.push("<v>0</v>"),k(s.a)||r.push("<v>"+s.a+"</v>"),k(s.s)||r.push("<v>"+s.s+"</v>"),k(s.h)||r.push("<v>"+s.h+"</v>"),k(s.w)||r.push("<v>"+s.w+"</v>"),r.push("</rv>");return a&&!n&&(r.push('<rv s="'+t.length+'">'),r.push("<v>1</v>"),r.push("<v>8</v>"),r.push("<v>3</v>"),r.push("<v>1</v>"),r.push("</rv>")),r.push("</rvData>"),r.join("\r\n")}function ke(e){var t,n,r,i,t=[];for(t.push('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),t.push("<webImagesSrd"),t.push('xmlns="http://schemas.microsoft.com/office/spreadsheetml/2020/richdatawebimage"\txmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">'),n=e.length,i=r=1;i<=n;i++)t.push("<webImageSrd>"),t.push('<address r:id="rId'+r+'"/>'),t.push('<blip r:id="rId'+ ++r+'"/>'),r++,t.push("</webImageSrd>");return t.push("</webImagesSrd>"),t.join("\r\n")}function Ie(e,t){var n,t,r,i,n=[],t=1<t;for(n.push('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),n.push('<rvStructures xmlns="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" count="'+(e.length+(t?1:0))+'">'),r=0;r<e.length;r++)n.push('<s t="_webimage">'),n.push('<k n="WebImageIdentifier" t="i"/>'),n.push('<k n="CalcOrigin" t="i"/>'),n.push('<k n="ComputedImage" t="b"/>'),(i=e[r]).split("-").forEach(function(e){"a"===e&&n.push('<k n="Text" t="s"/>'),"s"===e&&n.push('<k n="ImageSizing" t="i"/>'),"h"===e&&n.push('<k n="ImageHeight"/>'),"w"===e&&n.push('<k n="ImageWidth"/>')}),n.push("</s>");return t&&n.push('<s t="_error"> <k n="colOffset" t="i"/> <k n="errorType" t="i"/> <k n="rwOffset" t="i"/> <k n="subType" t="i"/> </s>'),n.push("</rvStructures>"),n.join("\r\n")}function Ce(e,n){var t,t,t;return e.xmlns=O.XFileConstants.Qu,e["xmlns:r"]=O.XFileConstants.ss,t=h(e,b),t=R(t,v),n&&t&&t.forEach(function(e,t){n[t]&&(e[y]=n[t].rID)}),(t=new T.ale).writeDocument(),t.ole(e),t.ile()}function Fe(e){var t=new T.ale;return t.writeDocument(),(0,a.addPivotCacheDefinitionNameSpace)(e),t.ole(e),t.ile()}function Ae(e){var t=new T.ale;return t.writeDocument(),t.ole(e),t.ile()}function Se(e){var t=new T.ale;return t.writeDocument(),t.ole(e),t.ile()}function Ee(e){if(O.StringEx.Ji(e))return"";switch(e){case O.RelationshipConstants.Xs:return O.XFileConstants.Vo;case O.RelationshipConstants.Ks:return O.XFileConstants.Yo;case O.RelationshipConstants.$s:return O.XFileConstants.Zo;case O.RelationshipConstants.Ws:return O.XFileConstants.Wo;case O.RelationshipConstants.fo:return O.XFileConstants.Qo;case O.RelationshipConstants.uc:return O.XFileConstants.Ko;case O.RelationshipConstants.lc:return O.XFileConstants.Jo;case O.RelationshipConstants.hc:return O.XFileConstants.ca;case O.RelationshipConstants.Fr:return O.XFileConstants.Xo;case O.RelationshipConstants.dc:return O.XFileConstants.Ma;case O.RelationshipConstants.yc:return O.XFileConstants.ma;case O.RelationshipConstants.wc:return O.XFileConstants.ga;case O.RelationshipConstants.Mc:return O.XFileConstants.qo;case O.RelationshipConstants.Cc:return O.XFileConstants.$o;case O.RelationshipConstants.Ac:return O.XFileConstants.na;case O.RelationshipConstants.Ic:return O.XFileConstants.ta;case O.RelationshipConstants.Tc:return O.XFileConstants.ia;case O.RelationshipConstants.xc:return O.XFileConstants.Ss;case O.RelationshipConstants.Vs:return O.XFileConstants.Os;case O.RelationshipConstants.Ys:return O.XFileConstants.Ps;case O.RelationshipConstants.Zs:return O.XFileConstants.Hs;case O.RelationshipConstants.ec:return O.XFileConstants.ha;case O.RelationshipConstants.ic:return O.XFileConstants.da;case O.RelationshipConstants.oc:return O.XFileConstants.va;case O.RelationshipConstants.Nc:return O.XFileConstants.pa;case O.RelationshipConstants.kc:return O.XFileConstants.ba;case O.RelationshipConstants.SrV:return O.XFileConstants.SrV;case O.RelationshipConstants.zge:return O.XFileConstants.zge;case O.RelationshipConstants.Yge:return O.XFileConstants.Yge;case O.RelationshipConstants.n2e:return O.XFileConstants.Zge;case O.RelationshipConstants.Wge:return O.XFileConstants.Wge;default:return""}}function je(e){}function _e(e,t){var n,r,i,a,o,s,f,c;if(!e||!t)return!1;if(n=!0,!O.StringEx.Ji(t.fileName)&&(r=Ee(t.fileType),!O.StringEx.Ji(r))){for((i=new w).partName=t.fileName,i.contentType=r,a=!1,o=0,s=e.length;o<s;o++)if((f=e[o])instanceof w&&f.contentType===i.contentType&&f.partName===i.partName){a=!0;break}a||e.push(i)}if(t.relationFiles&&0<t.relationFiles.count)for(c in t.relationFiles)t.relationFiles.hasOwnProperty(c)&&"count"!==c&&(n=n&&_e(e,t.relationFiles[c]));return n}function De(e,t){var n,r,i,n=[],r=new x;return r.extension=O.XFileConstants.Go,r.contentType=O.XFileConstants.Uo,n.push(r),(r=new x).extension=O.XFileConstants.Ho,r.contentType=O.XFileConstants.zo,n.push(r),(r=new x).extension=O.XFileConstants.Cr,r.contentType=O.XFileConstants.Ca,n.push(r),t&&((r=new x).extension=O.XFileConstants.Yr,r.contentType=O.XFileConstants.wa,n.push(r)),(r=new x).extension=O.XFileConstants.Sa,r.contentType=O.XFileConstants.Ta,n.push(r),(r=new x).extension=O.XFileConstants.Aa,r.contentType=O.XFileConstants.Ia,n.push(r),(r=new x).extension=O.XFileConstants.xa,r.contentType=O.XFileConstants.Na,n.push(r),(r=new x).extension=O.XFileConstants._a,r.contentType=O.XFileConstants.Ea,n.push(r),(r=new x).extension=O.XFileConstants.ja,r.contentType=O.XFileConstants.Oa,n.push(r),(r=new x).extension=O.XFileConstants.Ra,r.contentType=O.XFileConstants.Ba,n.push(r),(r=new x).extension=O.XFileConstants.ka,r.contentType=O.XFileConstants.Da,n.push(r),(r=new x).extension=O.XFileConstants.La,r.contentType=O.XFileConstants.Fa,n.push(r),(r=new x).extension=O.XFileConstants.Pa,r.contentType=O.XFileConstants.Ga,n.push(r),(i=_e(n,e))?n:null}function Re(t,e,n,r,i,a,o,s){e.forEach(function(e){e&&I.SJSStyleHelper.writeDxf(t,e,n,r,i,a,o,s)})}function Oe(f,e){var c=e.dxfsRecords,u=e.slicerCommonSharedStrings,l=e.slicerSharedColors,t=e.slicerStyleNodes,d=e.x15dxfsRecords,h=e.timelineCommonSharedStrings,m=e.timelineSharedColors,n=e.timelineStyleNodes;f.writeElement("extLst",function(){k(c)||f.writeElement("ext",function(){f.writeAttributeString("uri","{46F421CA-312F-682f-3DD2-61675219B42D}"),f.writeAttributeString("xmlns:x14",O.XFileConstants.ms)},function(){var e,t,n,r,i,a,o,s,e=c.cellXfs;0<e.length?(t=I.SJSStyleHelper.convertColors(l),n=I.SJSStyleHelper.getNumFmts(c).numberFormats,r=I.SJSStyleHelper.getFills(c,t,!0),i=c&&I.SJSStyleHelper.getFonts(c,t,u),a=I.SJSStyleHelper.getBorders(c,t),o=I.SJSStyleHelper.getAlignments(c),s=I.SJSStyleHelper.getProtections(c),f.writeElement("x14:dxfs",function(){f.writeAttributeString("count",e.length)},function(){Re(f,e,n,r,i,a,o,s)})):f.writeLeafElement("x14:dxfs",function(){f.writeAttributeString("count","0")})}),k(t)||f.writeElement("ext",function(){f.writeAttributeString("uri","{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}"),f.writeAttributeString("xmlns:x14",O.XFileConstants.ms)},function(){0<t.length?f.writeElement("x14:slicerStyles",function(){f.writeAttributeString("defaultSlicerStyle","SlicerStyleLight1")},function(){t.forEach(function(t){f.writeElement("x14:slicerStyle",function(){f.writeAttributeString("name",t.name)},function(){var e;0<(null==(e=t.styleElements)?void 0:e.length)&&f.writeElement("x14:slicerStyleElements",function(){t.styleElements.forEach(function(e){f.writeLeafElement("x14:slicerStyleElement",function(){f.writeAttributeString("type",e.type),f.writeAttributeString("dxfId",e.dxfId)})})})})})}):f.writeLeafElement("x14:slicerStyles",function(){f.writeAttributeString("defaultSlicerStyle","SlicerStyleLight1")})}),k(d)||f.writeElement("ext",function(){f.writeAttributeString("uri","{A0A4C193-F2C1-4fcb-8827-314CF55A85BB}"),f.writeAttributeString("xmlns:x15",O.XFileConstants.Ms)},function(){var e,t,n,r,i,a,o,s,e=d.cellXfs;0<e.length?(t=I.SJSStyleHelper.convertColors(m),n=I.SJSStyleHelper.getNumFmts(d).numberFormats,r=I.SJSStyleHelper.getFills(d,t,!0),i=d&&I.SJSStyleHelper.getFonts(d,t,h),a=I.SJSStyleHelper.getBorders(d,t),o=I.SJSStyleHelper.getAlignments(d),s=I.SJSStyleHelper.getProtections(d),f.writeElement("x15:dxfs",function(){f.writeAttributeString("count",e.length)},function(){Re(f,e,n,r,i,a,o,s)})):f.writeLeafElement("x15:dxfs",function(){f.writeAttributeString("count","0")})}),k(n)||f.writeElement("ext",function(){f.writeAttributeString("uri","{9260A510-F301-46a8-8635-F512D64BE5F5}"),f.writeAttributeString("xmlns:x15",O.XFileConstants.Ms)},function(){0<n.length?f.writeElement("x15:timelineStyles",function(){f.writeAttributeString("defaultTimelineStyle","TimeSlicerStyleLight1")},function(){n.forEach(function(t){f.writeElement("x15:timelineStyle",function(){f.writeAttributeString("name",t.name)},function(){var e;0<(null==(e=t.styleElements)?void 0:e.length)&&f.writeElement("x15:timelineStyleElements",function(){t.styleElements.forEach(function(e){f.writeLeafElement("x15:timelineStyleElement",function(){f.writeAttributeString("type",e.type),f.writeAttributeString("dxfId",e.dxfId)})})})})})}):f.writeLeafElement("x15:timelineStyles",function(){f.writeAttributeString("defaultTimelineStyle","TimeSlicerStyleLight1")})})})}function Te(e){var n,t,r,i,a,o,s,f,c,o,u,s,n=e.chartSpace&&e.chartSpace.chart&&e.chartSpace.chart.plotArea,t;!!!n.plotAreaRegion&&n&&Array.isArray(n.valAx)&&2===n.valAx.length&&(r=[],k(n.layout)||r.push({layout:n.layout}),(i=["areaChart","area3DChart","bar3DChart","barChart","bubbleChart","doughnutChart","line3DChart","lineChart","ofPieChart","pie3DChart","pieChart","radarChart","scatterChart","stockChart","surface3DChart","surfaceChart"]).forEach(function(e){var t;k(n[e])||r.push(((t={})[e]=n[e],t))}),a=[],o=n.catAx,s=n.dateAx,f=n.valAx,c=n.serAx,o&&(a=a.concat(o)),o=void 0,(o=0<(a=s?a.concat(s):a).length?ze(a,f,0):o)&&(u=o.axisType,delete o.axisType,0===u?r.push({catAx:o}):1===u&&r.push({dateAx:o})),f&&r.push({valAx:f[0]}),f&&f[1]&&r.push({valAx:f[1]}),s=void 0,(s=ze(a,f,1))&&(u=s.axisType,delete s.axisType,0===u?r.push({catAx:s}):1===u&&r.push({dateAx:s})),c&&r.push({serAx:c[0]}),k(n.spPr)||r.push({spPr:n.spPr}),k(n.extLst)||r.push({extLst:n.extLst}),e.chartSpace.chart.plotArea={n_:"plotArea",c_:r})}function ze(e,t,n){for(var r,i,a,r=t[n].crossAx&&t[n].crossAx.val,i=0;i<e.length;i++)if(r===((a=e[i]).axId&&a.axId.val))return a}function Be(e,t,n,r){e.writeLeafElement(p,function(){e.writeAttributeString("Id",t),e.writeAttributeString("Type",n),e.writeAttributeString("Target",r)})}function Me(){}function _(e,t){this.Lee=e,this.LEt={},this.Uee=0,this.LEt=t,this.Pee=[],this.definedNames=[]}Object.defineProperty(e,"__esModule",{value:!0}),e.sle=void 0,I=t("./dist/plugins/io/utils/excel-utils.js"),O=t("Core"),n=t("Common"),T=t("./dist/plugins/io/utils/xml-writer.js"),o=t("./dist/plugins/io/utils/builtIn-resource.js"),r=t("./dist/plugins/io/utils/namespace/drawing.js"),s=t("./dist/plugins/io/utils/namespace/chart.js"),i=t("./dist/plugins/io/utils/namespace/vmlDrawing.js"),c=t("./dist/plugins/io/utils/namespace/sheet.js"),C=t("./dist/plugins/io/utils/namespace/common.js"),f=t("./dist/plugins/io/utils/namespace/slicer.js"),a=t("./dist/plugins/io/utils/namespace/pivot.js"),u=t("./dist/plugins/io/crypto/encryption.js"),k=n.Common.lt.ht,F=O.util.vo,l=O.Util.pr,A=void 0,d=O.util.o1,h=O.util.xr,R=O.util.go,m="../charts/",p=O.XFileConstants.Lr,v=O.XFileConstants.ru,b=O.XFileConstants.mo,y=O.XFileConstants.Ki,z=O.XFileConstants.Dr,N=O.XFileConstants.Eo,P=O.XFileConstants.za,U=O.XFileConstants.zr,L=O.XFileConstants.Ho,B=O.XFileConstants.Cr,G=O.XFileConstants.Yr,q=n.Common.zf.fJ,W=["firstRowStripe","secondRowStripe","firstColumnStripe","secondColumnStripe"],Z=40,K=62,X=H=20,w=$,x=Q,g='minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1"',J=Me,_.prototype.cle=function(e,t,n){var r,i,a,o,s,r=this;r.qee=e,r.Wee=e.workbook.lossless&&e.workbook.lossless.allowDynamicArray?1:0,i=e.workbook.lossless.richValueDataArray,a=new I.XFile("",""),o=new I.XFile(O.XFileConstants.Gu,O.RelationshipConstants.Ws),a.Vee(o),r.Hee(a),r.Zee(o),r.Kee(o),s=[],r.Xee(o),r.Jee(o),r.Yee(o),r.$ee(o),r.Qee(o,e.sharedStrings),r.ete(o,i),r.J4e(o,i),r.tte(),r.nte(o),r.rte(e,a),r.ite(a,0<r.Uee),r.ate(e),r.Lee.generateAsync({type:"arraybuffer",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",compression:"DEFLATE"}).then(function(e){r.LEt.password&&"string"==typeof r.LEt.password&&(e=(0,u.k1e)(e,r.LEt.password)),r.LEt.useArrayBuffer||(e=new Blob([e],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),t(e),r.L0()}).catch(function(e){n(e),r.L0()})},_.prototype.nte=function(s){var f,e,t,c,n,f=this,e,t,c=this.qee.pivotCache;c&&(n=Object.keys(c)).forEach(function(e){var t,n,r,i,a,e,o,e,o,t=c[e],n=O.XFileConstants.eu+"/"+e+"."+O.XFileConstants.Cr;"pivotCacheDefinition"===t.n_?(i=t.rels,delete t.rels,a=new I.XFile(n,O.RelationshipConstants.ec),s.Vee(a),r=Fe(t),i&&i.c_&&i.c_[0]&&i.c_[0].Target&&(e=O.XFileConstants.eu+"/"+O.XFileConstants.Eo+"/"+e+"."+O.XFileConstants.Cr+"."+O.XFileConstants.Ho,(o=new T.ale).writeDocument(),o.ole(i),f.Lee.file(e.substring(1),o.ile()),e=O.XFileConstants.eu+"/"+i.c_[0].Target,o=new I.XFile(e,O.RelationshipConstants.ic),a.Vee(o))):"pivotCacheRecords"===t.n_&&(r=Ae(t)),r&&f.Lee.file(n.substring(1),r)})},_.prototype.Kee=function(o){var e,s,f,t,c,n,e,s=this.qee.externalLinks,f=0;if(s)for(n in t=function(e){var e,t,n,r,n,i,a,i,n,i;Object.prototype.hasOwnProperty.call(s,e)&&(f++,e=s[e],t=O.XFileConstants.nu+"/"+O.XFileConstants.tu+f+"."+O.XFileConstants.Cr,n=new I.XFile(t,O.RelationshipConstants.uc),o.Vee(n),r=e.option.name,(n=e.option.path)&&0<n.length&&(i=n.substr(-1),r="/"===i||"\\"===i?n+r:n+"/"+r),r=O.mt.Nfe(r,!0),(a=new T.ale).writeDocument(),a.writeElement(z,function(){a.writeAttributeString("xmlns",O.XFileConstants._r)},function(){a.writeLeafElement(p,function(){a.writeAttributeString("Id","rId1"),a.writeAttributeString("Type",O.RelationshipConstants.fc),a.writeAttributeString("Target",r),a.writeAttributeString("TargetMode",O.XFileConstants.Cu)})}),i=O.XFileConstants.nu+"/"+O.XFileConstants.Eo+"/"+O.XFileConstants.tu+f+"."+O.XFileConstants.Cr+"."+O.XFileConstants.Ho,c.Lee.file(i.substring(1),a.ile()),delete e.option,(n=new T.ale).writeDocument(),n.ole(e),i=n.ile(),c.Lee.file(t.substring(1),i))},c=this,s)t(n)},_.prototype.ite=function(e,t){var r,i,r=De(e,t),i=new T.XmlWriter;i.writeDocument(),i.writeElement("Types",function(){i.writeAttributeString("xmlns",O.XFileConstants.fs)},function(){for(var e,t,n,e=function(e,t){var n=r[e];n instanceof x?i.writeLeafElement("Default",function(){i.writeAttributeString("Extension",n.extension),i.writeAttributeString("ContentType",n.contentType)}):n instanceof w&&i.writeLeafElement("Override",function(){i.writeAttributeString("PartName",n.partName),i.writeAttributeString("ContentType",n.contentType)})},t=0,n=r.length;t<n;t++)e(t,n)}),this.Lee.file(O.XFileConstants.Oo,i.ile())},_.prototype.rte=function(e,r){var i,a,t,o,t,n,s,f,c,u,l,d,h,m,p,v,b,b,y,w,x,g,k,I,C,F,A,S,E,j,_,D,R,i=new T.ale;for(i.writeDocument(),i.writeElement(z,function(){i.writeAttributeString("xmlns",O.XFileConstants._r)},function(){var e,t,n,e=r.relationFiles;if(e&&0<e.count)for(t in e)e.hasOwnProperty(t)&&"count"!==t&&(n=e[t],Be(i,t,n.fileType,n.fileName));else Be(i,"rId1",O.RelationshipConstants.Ws,"xl/workbook.xml")}),a=O.XFileConstants.Eo+"/."+O.XFileConstants.Ho,this.Lee.file(a,i.ile()),t=e.workbook.rels,(i=new T.ale).writeDocument(),i.ole(t),a="/xl/"+O.XFileConstants.Eo+"/workbook.xml."+O.XFileConstants.Ho,this.Lee.file(a.substring(1),i.ile()),o=e.sheets,t=Object.keys(o),n=function(e){var t,n,r,t,n=o[e].rels;n&&n.c_&&0<n.c_.length&&(r=n.c_,(i=new T.ale).writeDocument(),i.writeElement(z,function(){i.writeAttributeString("xmlns",O.XFileConstants._r)},function(){r.forEach(function(e){i.ole(e)})}),a=M(O.XFileConstants.Wa,e),s.Lee.file(a.substring(1),i.ile()))},s=this,f=0,c=t;f<c.length;f++)n(u=c[f]);if(l=e.drawings)for(h=0,m=d=Object.keys(l);h<m.length;h++)(b=(v=l[p=m[h]]).rels)&&((i=new T.ale).writeDocument(),i.ole(b),b=q(p,U),a=M(P,p,y=b?G:B),this.Lee.file(a.substring(1),i.ile()));if(w=e.charts)for(g=0,k=x=Object.keys(w);g<k.length;g++)(F=(C=w[I=k[g]]).rels)&&((i=new T.ale).writeDocument(),i.ole(F),a=M(O.XFileConstants.Ha,I),this.Lee.file(a.substring(1),i.ile()));if(A=e.pivotTables)for(E=0,j=S=Object.keys(A);E<j.length;E++)(R=(D=A[_=j[E]]).rels)&&((i=new T.ale).writeDocument(),i.ole(R),a=M(O.XFileConstants.iu,_),this.Lee.file(a.substring(1),i.ile()))},_.prototype.tte=function(){var e,t,n,r,i,t,e=this,t=e.definedNames,n=e.qee.workbook,r=d(n,"definedNames");0<t.length&&(r||n.c_.push(r={n_:"definedNames",c_:[]}),r.c_=r.c_.concat(t)),r&&r.c_.length<=0&&(i=[],n.c_.forEach(function(e){"object"==typeof e&&"definedNames"!==e.n_&&i.push(e)}),n.c_=i),O.util.Pr(n,O.WorkbookNodeOrder),t=Ce(e.qee.workbook,e.Pee),e.Lee.file(O.XFileConstants.Gu.substring(1),t)},_.prototype.ete=function(e,t){var n,r,i,i,a,i,a,n=this,r=n.Wee;(r||0<t.length)&&(i=(i=n.qee).workbook.rels&&i.workbook.rels.c_,a=O.XFileConstants.Zu,i.push({n_:O.XFileConstants.Lr,Id:"rId"+(i.length+1),Type:O.RelationshipConstants.xc,Target:a}),(i=new I.XFile(O.XFileConstants.jo+"/"+a,O.RelationshipConstants.xc)).target=a,e.Vee(i),a=ye(r,t),n.Lee.file(i.fileName.substring(1),a))},_.prototype.J4e=function(e,t){var n,r,n=this;t&&0<t.length&&(n.Y4e(t),r=we(t),n.$4e(e),n.Q4e(e,t),n.e8e(e,t,r),n.t8e(e,r))},_.prototype.Y4e=function(e){var r,i,t,r=new T.ale;r.writeDocument(),i=1,r.writeElement(z,function(){r.writeAttributeString("xmlns",O.XFileConstants._r)},function(){e.forEach(function(e){var t,n,t="rId"+i,n="rId"+ ++i;i++,r.writeLeafElement(p,function(){r.writeAttributeString("Id",t),r.writeAttributeString("Type",O.RelationshipConstants.pc),r.writeAttributeString("Target",e.url),r.writeAttributeString("TargetMode","External")}),r.writeLeafElement(p,function(){r.writeAttributeString("Id",n),r.writeAttributeString("Type",O.RelationshipConstants.Xr),r.writeAttributeString("Target","../media/"+e.imgFileName)})})}),t="/xl/richData/"+O.XFileConstants.Eo+"/rdRichValueWebImage.xml."+O.XFileConstants.Ho,this.Lee.file(t.substring(1),r.ile())},_.prototype.$4e=function(e){var t,n,n,r,n,r,t=this,n=t.qee,n=n.workbook.rels&&n.workbook.rels.c_,r=O.XFileConstants.Kge;n.push({n_:O.XFileConstants.Lr,Id:"rId"+(n.length+1),Type:O.RelationshipConstants.zge,Target:"richData/"+r}),(n=new I.XFile(O.XFileConstants.Qge+"/"+r,O.RelationshipConstants.zge)).target="../richData/"+r,e.Vee(n),r=xe(),t.Lee.file(n.fileName.substring(1),r)},_.prototype.Q4e=function(e,t){var n,r,r,i,r,i,n=this,r=n.qee,r=r.workbook.rels&&r.workbook.rels.c_,i=O.XFileConstants.Jge;r.push({n_:O.XFileConstants.Lr,Id:"rId"+(r.length+1),Type:O.RelationshipConstants.Wge,Target:"richData/"+i}),(r=new I.XFile(O.XFileConstants.Qge+"/"+i,O.RelationshipConstants.Wge)).target="../richData/"+i,e.Vee(r),i=ke(t),n.Lee.file(r.fileName.substring(1),i)},_.prototype.e8e=function(e,t,n){var r,i,i,a,i,a,r=this,i=r.qee,i=i.workbook.rels&&i.workbook.rels.c_,a=O.XFileConstants.Xge;i.push({n_:O.XFileConstants.Lr,Id:"rId"+(i.length+1),Type:O.RelationshipConstants.n2e,Target:"richData/"+a}),(i=new I.XFile(O.XFileConstants.Qge+"/"+a,O.RelationshipConstants.n2e)).target="../richData/"+a,e.Vee(i),a=ge(t,n,r.Wee),r.Lee.file(i.fileName.substring(1),a)},_.prototype.t8e=function(e,t){var n,r,r,i,r,i,n=this,r=n.qee,r=r.workbook.rels&&r.workbook.rels.c_,i=O.XFileConstants.qge;r.push({n_:O.XFileConstants.Lr,Id:"rId"+(r.length+1),Type:O.RelationshipConstants.Yge,Target:"richData/"+i}),(r=new I.XFile(O.XFileConstants.Qge+"/"+i,O.RelationshipConstants.Yge)).target="../richData/"+i,e.Vee(r),i=Ie(t,n.Wee),n.Lee.file(r.fileName.substring(1),i)},_.prototype.Hee=function(e){var t,n,r,r,r,t=this,n=t.qee;k(n.docProps)||(n.docProps.docPropsCore&&(r=new I.XFile(O.XFileConstants.Uu,O.RelationshipConstants.Vs),e.Vee(r),t.ote()),n.docProps.docPropsApp&&(r=new I.XFile(O.XFileConstants.Hu,O.RelationshipConstants.Ys),e.Vee(r),t.ste()),n.docProps.docPropsCustom&&(r=new I.XFile(O.XFileConstants.zu,O.RelationshipConstants.Zs),e.Vee(r),t.fte()))},_.prototype.ote=function(){var e,t,e,t=ee(this.qee);this.Lee.file(O.XFileConstants.Uu.substring(1),t)},_.prototype.ste=function(){var e,t,e,t=ie(this.qee);this.Lee.file(O.XFileConstants.Hu.substring(1),t)},_.prototype.fte=function(){var e,t,e,t=ae(this.qee);this.Lee.file(O.XFileConstants.zu.substring(1),t)},_.prototype.Zee=function(e){var t,e,t=new I.XFile(O.XFileConstants.Fu,O.RelationshipConstants.$s);e.Vee(t),e=fe(this.qee),this.Lee.file(O.XFileConstants.Yu.substring(1),e)},_.prototype.Xee=function(e){var i,a,o,s,t,n,e,n,f,c,u,l,d,h,m,p,n,v,b,y,w,x,g,k,i=this,a=i.qee,o=a.styles,s=o.dxfs,t=o.commonSharedStrings,n=new I.XFile(O.XFileConstants.Vu,O.RelationshipConstants.Ks);e.Vee(n),e=I.SJSStyleHelper.convertColors(o.sharedColors),n=I.SJSStyleHelper.getNumFmts(o),f=n.numberFormats,c=n.numberFormatMap,u=I.SJSStyleHelper.getFills(o,e),l=o&&I.SJSStyleHelper.getFonts(o,e,t),d=I.SJSStyleHelper.getBorders(o,e),h=I.SJSStyleHelper.getCellXfs(o.cellXfs),m=I.SJSStyleHelper.getCellXfs(o.cellStyleXfs),p=I.SJSStyleHelper.getCellStyles(o),n=I.SJSStyleHelper.getNumFmts(s,!0),v=n.numberFormats,b=I.SJSStyleHelper.getFills(s,e,!0),y=s&&I.SJSStyleHelper.getFonts(s,e,t),w=I.SJSStyleHelper.getBorders(s,e),x=I.SJSStyleHelper.getAlignments(s),g=I.SJSStyleHelper.getProtections(s),(k=new T.ale).writeDocument(),k.writeElement("styleSheet",function(){k.writeAttributeString("xmlns",O.XFileConstants.Qu),k.writeAttributeString("xmlns:mc",O.XFileConstants.Ku),k.writeAttributeString("xmlns:x14ac",O.XFileConstants.qu),k.writeAttributeString("mc:Ignorable",O.XFileConstants.$u)},function(){var e,t,n,r,t;0<f.length&&k.writeElement("numFmts",function(){k.writeAttributeString("count",f.length)},function(){f.forEach(function(e){I.SJSStyleHelper.writeNumFmt(k,e)})}),k.writeElement("fonts",function(){k.writeAttributeString("count",l.length)},function(){for(var e=0,t=l.length;e<t;e++)I.SJSStyleHelper.writeFont(k,l[e])}),k.writeElement("fills",function(){k.writeAttributeString("count",u.length)},function(){for(var e=0;e<u.length;e++)I.SJSStyleHelper.writeFill(k,u[e])}),k.writeElement("borders",function(){k.writeAttributeString("count",d.length)},function(){for(var e=0,t=d.length;e<t;e++)I.SJSStyleHelper.writeBorder(k,d[e])}),I.SJSStyleHelper.writeXFs(k,m,"cellStyleXfs",!0,c),I.SJSStyleHelper.writeXFs(k,h,"cellXfs",!1,c),I.SJSStyleHelper.writeCellStyles(k,p),e=s&&s.cellXfs,t=o.tableStyles,e&&0<e.length?k.writeElement("dxfs",function(){k.writeAttributeString("count",e.length)},function(){e.forEach(function(e){e&&I.SJSStyleHelper.writeDxf(k,e,v,b,y,w,x,g,A)})}):k.writeLeafElement("dxfs",function(){k.writeAttributeString("count","0")}),n=a.sheets,Object.keys(n).forEach(function(e){var e=n[e];e&&e.lossless&&e.lossless.definedNames&&(i.definedNames=i.definedNames.concat(e.lossless.definedNames))}),(r=new C.ule).fle(i),t&&0<t.count?k.ole(t):k.writeLeafElement("tableStyles",function(){k.writeAttributeString("count","0"),k.writeAttributeString("defaultTableStyle","TableStyleMedium2"),k.writeAttributeString("defaultPivotStyle","PivotStyleLight16")}),(t=o.extLst)&&Oe(k,t)}),i.Lee.file(O.XFileConstants.Vu.substring(1),k.ile())},_.prototype.Yee=function(e){var t,n,r,i,a,o,a,a,s,t,n=this.qee.slicerCaches;if(n&&!(n.length<=0))for(r=0,i=Object.keys(n);r<i.length;r++)o=n[a=i[r]],(0,f.addNameSpaceForSlicerCacheFile)(o),a=a+"."+O.XFileConstants.Cr,a=new I.XFile(O.XFileConstants.Ja+"/"+a,O.RelationshipConstants.wc),e.Vee(a),(s=new T.ale).writeDocument(),s.writeCompactSJSNode(o),this.Lee.file(a.fileName.substring(1),s.ile())},_.prototype.$ee=function(e){var t,n,r,i,a,o,a,a,s,t,n=this.qee.timelineCaches;if(n&&!(n.length<=0))for(r=0,i=Object.keys(n);r<i.length;r++)o=n[a=i[r]],(0,f.addNameSpaceForTimelineCacheFile)(o),a=a+"."+O.XFileConstants.Cr,a=new I.XFile(O.XFileConstants.qa+"/"+a,O.RelationshipConstants.kc),e.Vee(a),(s=new T.ale).writeDocument(),s.writeCompactSJSNode(o),this.Lee.file(a.fileName.substring(1),s.ile())},_.prototype.Jee=function(i){for(var a,e,o,s,t,f,n,a=this,e,o=this.qee,s=h(o.workbook,b).c_,t=function(e){var t,n,e,r,r,t=new J;t.name=s[e].name,t.sheetId=s[e].sheetId,t.index=e,n=new I.XFile(O.XFileConstants.Wa+"/"+O.XFileConstants.ru+t.sheetId+"."+O.XFileConstants.Cr,O.RelationshipConstants.fo),i.Vee(n),t.rID=s[e][y],f.Pee.push(t),(r=(e=o.sheets[v+t.sheetId]).rels.c_)&&r.forEach(function(e){var t,t,t=e.Target.match(/\d+/g),t=t&&t.join();e.Type===O.RelationshipConstants.lc?a.cte(o,t,n):e.Type===O.RelationshipConstants.Fr?a.ute(o,t,n):e.Type===O.RelationshipConstants.Vr?a.lte(o,t,n):e.Type===O.RelationshipConstants.hc?a.dte(o,t,n):e.Type===O.RelationshipConstants.oc?a.hte(o,t,n):e.Type===O.RelationshipConstants.yc?a.mte(o,t,n):e.Type===O.RelationshipConstants.Nc?a.pte(o,t,n):e.Type===O.RelationshipConstants.dc&&a.vte(o,t,n)}),(0,c.addNameSpaceForSheetFile)(e),r=f.yte(o,e,f.LEt),f.Lee.file(O.XFileConstants.Pu.substring(1)+"/sheet"+t.sheetId+"."+O.XFileConstants.Cr,r)},f=this,n=0;n<s.length;n++)t(n)},_.prototype.yte=function(e,t,n,r){var v,b,y,w,e,x,g,v=e.sharedStrings;if(t)return b=e.workbook.lossless.richValueDataArray,(y=new T.ale).writeDocument(),w=this.Wee||0,e=h(t,O.XFileConstants._u),x=e&&e.defaultRowHeight||X,g=e&&"1"===e.customHeight,y.writeElement("worksheet",function(){y.writeAttributeString("xmlns",O.XFileConstants.Qu),y.writeAttributeString("xmlns:r",O.XFileConstants.ss),y.writeAttributeString("xmlns:mc",O.XFileConstants.Ku),r&&r.attributes&&r.attributes.forEach(function(e){y.writeAttributeString(e.key,e.value)}),(t.r_||[]).forEach(function(e){var e=T.xmlRes[e];y.writeAttributeString(e.n_,e.v_)}),y.writeAttributeString("xmlns:x14ac",O.XFileConstants.qu),y.writeAttributeString("xmlns:xr",O.XFileConstants.os),y.writeAttributeString("xmlns:xr2",O.XFileConstants.as),y.writeAttributeString("xmlns:xr3",O.XFileConstants.us),y.writeAttributeString("xr:uid",ce()),y.writeAttributeString("mc:Ignorable",O.XFileConstants.ts)},function(){var e;t.c_.forEach(function(n){var e,r,t,i,d,a,o,s,f,c,u,l,h,m,p,s,e=n.n_;if(e===O.XFileConstants.bo){if(n)if(r=function(e,t,n,r,i,a){y.writeAttributeString("r",e),(g||t!==A&&t!==x)&&(y.writeAttributeString("ht",t!==A?t:x),y.writeAttributeString("customHeight","1")),n!==A&&(y.writeAttributeString("s",n),y.writeAttributeString("customFormat","1")),r!==A&&y.writeAttributeString("hidden",r),i!==A&&y.writeAttributeString("collapsed",i),a!==A&&y.writeAttributeString("outlineLevel",a)},t=n.rowCount,i=n.colCount,0===t)y.writeLeafElement("sheetData");else{for(a=!(d=0);d<t;){if(o=n[d]){a=!1;break}d++}a?y.writeLeafElement("sheetData"):y.writeElement("sheetData",A,function(){for(var e=function(){var u,l,e,t,u=n[d];if(!u)return"continue";for(e=!(l=0);l<i;){if((t=u[l])!==A){e=!1;break}l++}e?y.writeLeafElement("row",function(){r(d+1,u.h,u.s,u.v,u.f,u.l)}):y.writeElement("row",function(){r(d+1,u.h,u.s,u.v,u.f,u.l)},function(){for(var e=function(){var e,t,n,r,i,a,o,s,f,c,c,f,e=u[l];if(e===A)return"continue";t=e.f,a=i=r=n=void 0,o=e.a,k(e.v)?e.n!==A?r=e.n:e.b!==A?(n="b",r=e.b):e.o!==A&&(r=e.o):(r=e.v,s=v[r],!j(r)&&s!==A||(s=r),n="s",f=Array.isArray(s),c=!j(s),k(t)&&k(e.g)&&!e.t2||f||!c?f?(r=s.join(","),r=F(r),n="str"):"number"==typeof s?n=A:"str"===e.t?(n="str",r=F(r)):(a=99<=s.code,s.error&&(n="e",r=s.error),a&&(r=A,e.f&&(i=b.length+(e.r&&!e.c?1:2)),w<3)&&(w=o?2:3)):(r=F(s),n="str")),o&&w<1&&(w=1),a&&o&&e.r&&(c=e.r,e.r=c.substring(0,c.indexOf(":"))),0<=(f=b.findIndex(function(e){return e.f===t}))&&"e"===e.t&&(i=f+1,n="e"),y.writeValue('<c r="'+(O.IndexHelper.nr(l)+(d+1))+'"'+le(r,t,e.s,i||e.u,e.a,n,e.r,e.g))};l<i;l++)e()})};d<t;d++)e()})}}else e===O.XFileConstants.Au?((s=n.lossless)&&(p=m=void 0,m=s.sharedColors,m=I.SJSStyleHelper.convertColors(m),f=s.sharedDxfs,p=s.commonSharedStrings,s=I.SJSStyleHelper.getNumFmts(f,!0),c=s.numberFormats,u=I.SJSStyleHelper.getFills(f,m,!0),l=f&&I.SJSStyleHelper.getFonts(f,m,p),h=I.SJSStyleHelper.getBorders(f,m)),y.writeSJSNodeWithSpecialNodeHandler(n,function(e,t){var n,r,r,n=e.n_;if("dxf"===n)return r=e.v,r=f.cellXfs[r],I.SJSStyleHelper.writeDxf(y,r,c,u,l,h),!0;"conditionalFormattings"===n&&(0,C.addNameSpace)(e,C.NameSpaces.X14),("cfvo"===t&&"f"===n||"conditionalFormatting"===t&&"sqref"===n)&&(0,C.addNameSpace)(e,C.NameSpaces.XM)})):e===O.XFileConstants.ju?y.writeSJSNodeWithSpecialNodeHandler(n,function(e,t){"ext"===t&&"id"===e.n_&&(0,C.addNameSpace)(e,C.NameSpaces.X14)}):y.ole(n)})}),this.Wee=w,y.ile()},_.prototype.cte=function(e,t,n){var r,i,e,t,a,r=this,i,e=e.tables[O.XFileConstants.du+t];e&&(t=O.XFileConstants.du+t+"."+O.XFileConstants.Cr,(a=new I.XFile(O.XFileConstants.Qa+"/"+t,O.RelationshipConstants.lc)).target="../tables/"+t,n.Vee(a),r.wte(e,a.fileName))},_.prototype.ute=function(n,e,r){var i,t,e,t,e,a,e,i=this,t=n.drawings,e=O.XFileConstants.Wi+e,t=t&&t[e];t&&(e=e+"."+O.XFileConstants.Cr,(a=new I.XFile(O.XFileConstants.za+"/"+e,O.RelationshipConstants.Fr)).target="../drawings/"+e,r.Vee(a),this.xte(t,a.fileName),e=t.rels&&t.rels.c_)&&e.forEach(function(e){var t,t,t=e.Target.match(/\d+/g),t=t&&t.join();e.Type===O.RelationshipConstants.Mc?i.gte(n,t,r,!1):e.Type===O.RelationshipConstants.Cc&&i.gte(n,t,r,!0)})},_.prototype.gte=function(e,t,n,r){var i,e,t,e,a,o,a,o,n,o,r,n,e,r,o,n,i=this,e=e.charts,t=(r?O.XFileConstants.uu:O.XFileConstants.au)+t,e=e[t];e&&((0,s.addNameSpaceForChartFile)(e,r?"cx":"c"),Te(e),a=r?O.RelationshipConstants.Cc:O.RelationshipConstants.Mc,o=t+"."+O.XFileConstants.Cr,(a=new I.XFile(O.XFileConstants.Ha+"/"+o,a)).target=m+o,n.Vee(a),(o=new T.ale).writeDocument(),o.writeCompactSJSNode(e),i.Lee.file(a.fileName.substring(1),o.ile()),r)&&(n=O.XFileConstants.su+t.substr(7)+"."+O.XFileConstants.Cr,(o=new I.XFile(O.XFileConstants.Ha+"/"+n,O.RelationshipConstants.Ic)).target=m+n,r=void 0,r=e.chartSpace.fmtOvrs?JSON.parse('{"chartStyle":{"xmlns:cs":"http://schemas.microsoft.com/office/drawing/2012/chartStyle","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main","id":"395","axisTitle":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"categoryAxis":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}},"defRPr":{"sz":"900"}},"chartArea":{"mods":"allowNoFillOverride allowNoLineOverride","lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"bg1"}},"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}},"defRPr":{"sz":"1000"}},"dataLabel":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"dataLabelCallout":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"dk1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"lt1"}},"a:ln":{"a:solidFill":{"a:schemeClr":{"val":"dk1","a:lumMod":{"val":"25000"},"a:lumOff":{"val":"75000"}}}}},"defRPr":{"sz":"900"},"bodyPr":{"rot":"0","spcFirstLastPara":"1","vertOverflow":"clip","horzOverflow":"clip","vert":"horz","wrap":"square","lIns":"36576","tIns":"18288","rIns":"36576","bIns":"18288","anchor":"ctr","anchorCtr":"1","a:spAutoFit":{}}},"dataPoint":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0","styleClr":{"val":"auto"}},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"phClr"}}}},"dataPoint3D":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0","styleClr":{"val":"auto"}},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"phClr"}}}},"dataPointLine":{"lnRef":{"idx":"0","styleClr":{"val":"auto"}},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"28575","cap":"rnd","a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:round":{}}}},"dataPointMarker":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0","styleClr":{"val":"auto"}},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:ln":{"w":"9525","a:solidFill":{"a:schemeClr":{"val":"lt1"}}}}},"dataPointMarkerLayout":{"symbol":"circle","size":"5"},"dataPointWireframe":{"lnRef":{"idx":"0","styleClr":{"val":"auto"}},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"28575","cap":"rnd","a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:round":{}}}},"dataTable":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"spPr":{"a:ln":{"w":"9525","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}}}},"defRPr":{"sz":"900"}},"downBar":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"dk1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"dk1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"a:ln":{"w":"9525","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}}}}},"dropLine":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"35000"},"a:lumOff":{"val":"65000"}}},"a:round":{}}}},"errorBar":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"a:round":{}}}},"floor":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}}},"gridlineMajor":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}}},"gridlineMinor":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}}},"hiLoLine":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"75000"},"a:lumOff":{"val":"25000"}}},"a:round":{}}}},"leaderLine":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"35000"},"a:lumOff":{"val":"65000"}}},"a:round":{}}}},"legend":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"plotArea":{"mods":"allowNoFillOverride allowNoLineOverride","lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}}},"plotArea3D":{"mods":"allowNoFillOverride allowNoLineOverride","lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}}},"seriesAxis":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}},"defRPr":{"sz":"900"}},"seriesLine":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","a:solidFill":{"a:srgbClr":{"val":"D9D9D9"}},"a:round":{}}}},"title":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"1400"}},"trendline":{"lnRef":{"idx":"0","styleClr":{"val":"auto"}},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"19050","cap":"rnd","a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:prstDash":{"val":"sysDash"}}}},"trendlineLabel":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"upBar":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"dk1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"lt1"}},"a:ln":{"w":"9525","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}}}}},"valueAxis":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"wall":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}}}}}'):JSON.parse('{"chartStyle":{"xmlns:cs":"http://schemas.microsoft.com/office/drawing/2012/chartStyle","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main","id":"381","axisTitle":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"categoryAxis":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}},"defRPr":{"sz":"900"}},"chartArea":{"mods":"allowNoFillOverride allowNoLineOverride","lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"bg1"}},"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}},"defRPr":{"sz":"1000"}},"dataLabel":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"lt1"}},"defRPr":{"sz":"900"}},"dataLabelCallout":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"dk1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"lt1"}},"a:ln":{"a:solidFill":{"a:schemeClr":{"val":"dk1","a:lumMod":{"val":"25000"},"a:lumOff":{"val":"75000"}}}}},"defRPr":{"sz":"900"},"bodyPr":{"rot":"0","spcFirstLastPara":"1","vertOverflow":"clip","horzOverflow":"clip","vert":"horz","wrap":"square","lIns":"36576","tIns":"18288","rIns":"36576","bIns":"18288","anchor":"ctr","anchorCtr":"1","a:spAutoFit":{}}},"dataPoint":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0","styleClr":{"val":"auto"}},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:ln":{"w":"19050","a:solidFill":{"a:schemeClr":{"val":"lt1"}}}}},"dataPoint3D":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0","styleClr":{"val":"auto"}},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"phClr"}}}},"dataPointLine":{"lnRef":{"idx":"0","styleClr":{"val":"auto"}},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"28575","cap":"rnd","a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:round":{}}}},"dataPointMarker":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0","styleClr":{"val":"auto"}},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:ln":{"w":"9525","a:solidFill":{"a:schemeClr":{"val":"lt1"}}}}},"dataPointMarkerLayout":{"symbol":"circle","size":"5"},"dataPointWireframe":{"lnRef":{"idx":"0","styleClr":{"val":"auto"}},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"28575","cap":"rnd","a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:round":{}}}},"dataTable":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"spPr":{"a:ln":{"w":"9525","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}}}},"defRPr":{"sz":"900"}},"downBar":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"dk1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"dk1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"a:ln":{"w":"9525","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}}}}},"dropLine":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"35000"},"a:lumOff":{"val":"65000"}}},"a:round":{}}}},"errorBar":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"a:round":{}}}},"floor":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}}},"gridlineMajor":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}}},"gridlineMinor":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}}},"hiLoLine":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"75000"},"a:lumOff":{"val":"25000"}}},"a:round":{}}}},"leaderLine":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"35000"},"a:lumOff":{"val":"65000"}}},"a:round":{}}}},"legend":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"plotArea":{"mods":"allowNoFillOverride allowNoLineOverride","lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}}},"plotArea3D":{"mods":"allowNoFillOverride allowNoLineOverride","lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}}},"seriesAxis":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"spPr":{"a:ln":{"w":"9525","cap":"flat","cmpd":"sng","algn":"ctr","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}},"a:round":{}}},"defRPr":{"sz":"900"}},"seriesLine":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"9525","cap":"flat","a:solidFill":{"a:srgbClr":{"val":"D9D9D9"}},"a:round":{}}}},"title":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"1400"}},"trendline":{"lnRef":{"idx":"0","styleClr":{"val":"auto"}},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}},"spPr":{"a:ln":{"w":"19050","cap":"rnd","a:solidFill":{"a:schemeClr":{"val":"phClr"}},"a:prstDash":{"val":"sysDash"}}}},"trendlineLabel":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"upBar":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"dk1"}},"spPr":{"a:solidFill":{"a:schemeClr":{"val":"lt1"}},"a:ln":{"w":"9525","a:solidFill":{"a:schemeClr":{"val":"tx1","a:lumMod":{"val":"15000"},"a:lumOff":{"val":"85000"}}}}}},"valueAxis":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1","a:lumMod":{"val":"65000"},"a:lumOff":{"val":"35000"}}},"defRPr":{"sz":"900"}},"wall":{"lnRef":{"idx":"0"},"fillRef":{"idx":"0"},"effectRef":{"idx":"0"},"fontRef":{"idx":"minor","a:schemeClr":{"val":"tx1"}}}}}'),a.Vee(o),(n=new T.ale).writeDocument(),n.writeChartSJSNode(r,A,"cs:"),i.Lee.file(o.fileName.substring(1),n.ile()),e=O.XFileConstants.fu+t.substr(7)+"."+O.XFileConstants.Cr,(r=new I.XFile(O.XFileConstants.Ha+"/"+e,O.RelationshipConstants.Ac)).target=m+e,o=JSON.parse('{"colorStyle":{"xmlns:cs":"http://schemas.microsoft.com/office/drawing/2012/chartStyle","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main","meth":"cycle","id":"10","a:schemeClr":[{"val":"accent1"},{"val":"accent2"},{"val":"accent3"},{"val":"accent4"},{"val":"accent5"},{"val":"accent6"}],"variation":[{},{"a:lumMod":{"val":"60000"}},{"a:lumMod":{"val":"80000"},"a:lumOff":{"val":"20000"}},{"a:lumMod":{"val":"80000"}},{"a:lumMod":{"val":"60000"},"a:lumOff":{"val":"40000"}},{"a:lumMod":{"val":"50000"}},{"a:lumMod":{"val":"70000"},"a:lumOff":{"val":"30000"}},{"a:lumMod":{"val":"70000"}},{"a:lumMod":{"val":"50000"},"a:lumOff":{"val":"50000"}}]}}'),a.Vee(r),(n=new T.ale).writeDocument(),n.writeChartSJSNode(o,A,"cs:"),i.Lee.file(r.fileName.substring(1),n.ile()))},_.prototype.dte=function(e,t,n){var e,t,r,e=e[O.XFileConstants.ou+t];e&&(t=O.XFileConstants.ou+t+"."+O.XFileConstants.Cr,(r=new I.XFile(O.XFileConstants.jo+"/"+t,O.RelationshipConstants.hc)).target="../"+t,n.Vee(r),this.kte(e,r.fileName))},_.prototype.hte=function(e,t,n){var e,e,t,r,n,e=e.pivotTables;e&&(e=e[O.XFileConstants.Mu+t])&&(t="/xl/"+O.XFileConstants.Mu+"s/"+(O.XFileConstants.Mu+t)+"."+O.XFileConstants.Cr,r=new I.XFile(t,O.RelationshipConstants.oc),(0,a.addPivotTableNameSpace)(e),n.Vee(r),n=Se(e),this.Lee.file(t.substring(1),n))},_.prototype.lte=function(e,t,n){var r,e,t,i,r,e=e.drawings[O.XFileConstants.zr+t];e&&(this.Uee++,t=O.XFileConstants.zr+t+"."+O.XFileConstants.Yr,(i=new I.XFile(O.XFileConstants.za+"/"+t,O.RelationshipConstants.Vr)).target="../drawings/"+t,n.Vee(i),this.Ite(e,i.fileName))},_.prototype.vte=function(e,t,n){var r,e,t,e,t,i,r=this,e=e.ctrlProps,t=O.XFileConstants.lu+t,e=e[t];e&&(t=t+"."+O.XFileConstants.Cr,(i=new I.XFile(O.XFileConstants.$a+"/"+t,O.RelationshipConstants.dc)).target="../ctrlProps/"+t,n.Vee(i),r.Fte(e,i.fileName))},_.prototype.mte=function(e,t,n){var e,t,r,e=e.slicers[O.XFileConstants.vu+t];e&&(t=O.XFileConstants.vu+t+"."+O.XFileConstants.Cr,(r=new I.XFile(O.XFileConstants.Ka+"/"+t,O.RelationshipConstants.yc)).target="../slicers/"+t,n.Vee(r),this.Cte(e,r.fileName))},_.prototype.pte=function(e,t,n){var e,t,r,e=e.timelines[O.XFileConstants.gu+t];e&&(t=O.XFileConstants.gu+t+"."+O.XFileConstants.Cr,(r=new I.XFile(O.XFileConstants.Xa+"/"+t,O.RelationshipConstants.Nc)).target="../timelines/"+t,n.Vee(r),this.Cte(e,r.fileName))},_.prototype.Cte=function(e,t){var n=new T.ale;n.writeDocument(),n.writeChartSJSNode(e),this.Lee.file(t.substring(1),n.ile())},_.prototype.kte=function(e,t){var n=new T.ale;n.writeDocument(),n.ole(e),this.Lee.file(t.substring(1),n.ile())},_.prototype.Ite=function(e,t){(0,i.addNameSpaceForVmlDrawingFile)(e);var n=new T.ale;n.ole(e),this.Lee.file(t.substring(1),n.ile())},_.prototype.xte=function(e,t){(0,r.addNameSpaceForDrawingFile)(e);var n=new T.ale;n.writeDocument(),n.writeCompactSJSNode(e),this.Lee.file(t.substring(1),n.ile())},_.prototype.Fte=function(e,t){var n=new T.ale;n.writeDocument(),n.writeCompactSJSNode(e),this.Lee.file(t.substring(1),n.ile())},_.prototype.wte=function(e,t){var n=new T.ale;n.writeDocument(),n.ole(e),this.Lee.file(t.substring(1),n.ile())},_.prototype.Qee=function(e,t){var n,r,e,n=this;t.length<=0||(r=new I.XFile(O.XFileConstants.Lu,O.RelationshipConstants.Xs),e.Vee(r),e=me(t),n.Lee.file(O.XFileConstants.Lu.substring(1),e))},_.prototype.ate=function(e){var t,n,t=e.media;if(t)for(n in t)t.hasOwnProperty(n)&&this.Lee.file(O.XFileConstants.Ya.substring(1)+"/"+n,t[n],{base64:!0})},_.prototype.L0=function(){var e=this;e.qee=A,e.LEt=A,e.Pee=A,e.Lee=A},e.sle=_},"./dist/plugins/io/io-ns.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SR=void 0;var n=n("./dist/plugins/io/io.res.en.js");t.SR={en:n}},"./dist/plugins/io/io.entry.js":function(e,t,n){"use strict";var r,i,a,r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&("get"in i?t.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n("./dist/plugins/io/io-ns.js"),t),i(n("./dist/plugins/io/utils/errorcode.js"),t),i(n("./dist/plugins/io/utils/file-loader.js"),t),i(n("./dist/plugins/io/utils/excel-utils.js"),t),i(n("./dist/plugins/io/utils/xml-parser.js"),t),i(n("./dist/plugins/io/utils/xml-reader.js"),t),i(n("./dist/plugins/io/utils/builtIn-resource.js"),t),i(n("./dist/plugins/io/utils/xml-writer.js"),t),i(n("./dist/plugins/io/excel-parser.js"),t),i(n("./dist/plugins/io/excel-saver.js"),t),n("./dist/plugins/io/workbook-io.js"),i(n("./dist/plugins/io/loader.js"),t),(a=n("./dist/plugins/io/utils/namespace/releaseLc.js")).Vi()},"./dist/plugins/io/io.res.en.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXP_EMPTY_PASSWORD=t.EXP_WRONG_PASSWORD=t.GET_PARTIAL_VALUES_ERROR_MSG=t.EXP_FILE_FORMAT=t.EXP_IO=void 0,t.EXP_IO="File read and write exception.",t.EXP_FILE_FORMAT="Incorrect file format.",t.GET_PARTIAL_VALUES_ERROR_MSG="error file",t.EXP_WRONG_PASSWORD="The password you supplied is not correct.",t.EXP_EMPTY_PASSWORD="The Excel file cannot be opened because the workbook is password protected."},"./dist/plugins/io/loader.js":function(e,t,n){"use strict";var w,r,f,o,i,n,x,m,g,c,u,l,a,s,d,h,d,p,v,b;function y(e){var t;return e.split("/").pop().split(".").shift()}function k(e){var e,e,e=e.split("/"),e=e[e.length-2];return"worksheets"!==e?e:"sheets"}function I(e){e&&e({errorCode:i.ErrorCode.fileFormatError,errorMessage:p().GET_PARTIAL_VALUES_ERROR_MSG})}function C(e,t,n,i,a,r){var o,s,f,n,c,u,l,d,h,m,p,v,b,y,o=x(n,"sheetData");if(o){for(s=i.row,f=i.col,n=i.rowCount,c=i.colCount,-1===s&&(s=0),-1===f&&(f=0),-1===n&&(n=o.rowCount),-1===c&&(c=o.colCount),u=f+c,d=s+n,h=!(l={});s<d;s++)if(m=o[s])for(l[s]||(l[s]={}),p=f;p<u;p++)b=void 0,(v=m[p])!==g&&(v.v!==g?"number"==typeof(b=v.v)&&(h=!0,b={index:b}):b=v.b!==g?!!v.b:v.n,l[s][p]=b);h?(y=new w.SharedStrings,e.ele(t,"sharedStrings.json",function(e){var t,n,r;for(y.yh(JSON.parse(e)),s=i.row,f=i.col,-1===s&&(s=0),-1===f&&(f=0);s<d;s++)if(t=l[s])for(n=f;n<u;n++)(r=t[n])&&r.index!==g&&(l[s][n]=y.getText(r.index));a(l)},r)):a(l)}else I(r)}function F(e,t,n){for(var r,i,a,o,s,f,r=n.row,i=n.row+n.rowCount;r<i;r++)if(a=e[r])for(t[r]||(t[r]={}),o=n.col,s=n.col+n.colCount;o<s;o++)void 0!==(f=a[o])&&(t[r][o]=f)}function A(e){var t=function(e){var e,e,e=e.name;return!e||"sjs"===(e=e.split(".").pop())?w.OpenSaveFileType.sjs:-1!==s.indexOf(e)?w.OpenSaveFileType.excel:void 0};if("string"!=typeof e){if(!e.type)return t(e);switch(e.type.toLowerCase()){case"application/vnd.ms-excel":case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":case"application/vnd.ms-excel.sheet.macroenabled.12":return w.OpenSaveFileType.excel;case"application/zip":case"application/x-zip-compressed":return w.OpenSaveFileType.sjs;default:return t(e)}}}function S(e){e&&e({errorCode:i.ErrorCode.fileIOError,errorMessage:p().EXP_IO})}function E(e){e&&e({errorCode:i.ErrorCode.fileFormatError,errorMessage:p().EXP_FILE_FORMAT})}function j(e){e&&e({errorCode:i.ErrorCode.invalidPassword,errorMessage:p().EXP_WRONG_PASSWORD})}function _(e){e&&e({errorCode:i.ErrorCode.noPassword,errorMessage:p().EXP_EMPTY_PASSWORD})}function D(){var e=this;e.Ate={},e.Ste={},e.Ete={}}function R(e,t,n,r){b.getPartialValues(e,t,n,r)}function O(e,t,n){!e||a(t)||a(n)||(w.unknownFontMaxDigitWidthMap[t]||(w.unknownFontMaxDigitWidthMap[t]={}),w.unknownFontMaxDigitWidthMap[t][e]=n)}Object.defineProperty(t,"__esModule",{value:!0}),t.registerMaxDigitWidth=t.getPartialValues=t.Loader=t.F1e=t.C1e=t.jte=t._te=t.getFileType=void 0,w=n("Core"),r=n("Common"),f=n("./dist/plugins/io/utils/file-loader.js"),o=n("./dist/plugins/io/excel-parser.js"),i=n("./dist/plugins/io/utils/errorcode.js"),n=n("./dist/plugins/io/io-ns.js"),x=w.mt.xr,m=w.Util.Sr,g=void 0,c=w.Util.io,u=w.mt.n1,l=r.Common.zf,a=r.Common.lt.ht,s=["xlsx","xlsm","xls","xlw"],d=new r.Common.ResourceManager(w.SR,"Sheets"),h=d.getResource.bind(d),d=new r.Common.ResourceManager(n.SR,"IO"),p=d.getResource.bind(d),v=r.Common.zf.dT,t.getFileType=A,t._te=S,t.jte=E,t.C1e=j,t.F1e=_,D.prototype.setData=function(e,t){var n=this;n.Ete=e,n.Bte(e,t),n.Tte(e)},D.prototype.loadFile=function(e,t,n,r,i){var a=this,o=new f.tle,s=o.nle;s&&a.Dte(e,g,o,s,t,n,r,i)},D.prototype.Dte=function(r,e,t,n,i,a,o,s){var f,c,f=this;if(i=i||function(){},a=a||function(){},c=A(r),t.lle=function(e){var t,n,t="file";"string"==typeof r?t=r:r.name&&(t=r.name),s({progress:w.STEP_RATE.parseFile,step:l.I5(h().STEP.parseFile,[t])});try{setTimeout(function(){try{(c=o.fileType)===w.OpenSaveFileType.excel?n=f.Ote(e,o):c===w.OpenSaveFileType.sjs&&(n=f.zte(e)),n&&n.sheets?(f.Ete=n,f.Bte(n,o),f.Tte(n),i("file loaded")):E(a)}catch(e){E(a)}},0)}catch(e){E(a)}},t.dle=function(e){E(a)},n.onload=function(e){t.hle(e.target.result,c,g,a,o)},n.onerror=function(e){S(a)},n.readAsArrayBuffer)try{n.readAsArrayBuffer(r)}catch(e){E(a)}},D.prototype.Bte=function(t,e){var n,r,n,i,a,o,s,f,r=this.Ate;r.sharedStrings=t.sharedStrings,r.docProps=t.docProps,r.styles=t.styles,r.sheetCount=t.sheetCount,r.workbook=t.workbook,r.charts=t.charts,r.pivotCache=t.pivotCache,r.pivotTables=t.pivotTables,r.drawings=t.drawings,r.tables=t.tables,r.media=t.media,r.ctrlProps=t.ctrlProps,r.slicerCaches=t.slicerCaches,r.slicers=t.slicers,r.timelineCaches=t.timelineCaches,r.timelines=t.timelines,r.externalLinks=t.externalLinks,n=(t.sheets&&t.sheets.sheet1&&t.sheets.sheet1.lossless&&t.sheets.sheet1.lossless.theme?t.sheets.sheet1.lossless:t).theme,t.sheets&&t.sheets.sheet1&&t.sheets.sheet1.lossless&&t.sheets.sheet1.lossless.defaultStyle&&(r.sheets={sheet1:{lossless:{defaultStyle:t.sheets.sheet1.lossless.defaultStyle}}}),r.theme=n,i={},Object.keys(t).forEach(function(e){-1<e.indexOf(w.XFileConstants.ou)&&(i[e]=t[e])}),r.comments=i,t.tables&&(a={},o=t.sheets,Object.keys(o).forEach(function(e){var t,n,t=o[e],n=x(t,w.XFileConstants.Bu);n&&(a[e]={tablePart:n,sheetRels:t.rels})}),r.tableParts=a),s={},t.sheets&&(f=t.sheets,Object.keys(f).forEach(function(e){var t,n,t=f[e],n;t.lossless&&(t.lossless.addition||t.lossless.sheetType===w.SheetType.reportSheet)&&(s[e]=t)})),r.sheetTabParts=s,null!=(n=t.workbook.lossless)&&n.customData&&(e.customData=t.workbook.lossless.customData)},D.prototype.Tte=function(e){var t,n,r,i,a,o,a,a,a,s,f,a,t=x(e.workbook,w.XFileConstants.mo).c_,n=t.length,r=e.workbook.rels&&e.workbook.rels.c_;if(t&&r)for(i=0;i<n;i++)a=t[i],o=c(u(a.name)),a=a[w.XFileConstants.Ki],(a=(a=m(r,a))&&a.Target)&&(s=y(a),a=e[f=k(a)][s])&&(this.Ste[o]=a)},D.prototype.zte=function(s){var f={};return Object.keys(s).forEach(function(e){var t,n,r,i,a,o,t=e.split("/"),n=t.length;if(0!==n){for(r=f,i=0;i<n-1;i++)(a=t[i])&&(r=(r=f[a])||(f[a]={}));o=t[n-1],v(o,".json")?r[o.substring(0,o.length-5)]=JSON.parse(s[e]):0<o.length&&(r[o]=s[e])}}),f},D.prototype.Ote=function(e,t){var n;return new o.ExcelParser(t).parseXmlData(e)},D.prototype.Rte=function(){throw new Error("load file failed!")},D.prototype.getWorkbookSettings=function(e){var t=this;"string"!==t.Mte&&e(t.Ate,t.Ste)},D.prototype.getSheet=function(e,t){t(this.Ste[e])},D.prototype.getWholeData=function(e){e(this.Ete)},D.prototype.Nte=function(e,t,n,r,i){var a,o,a=this;r=r||function(){},i=i||function(){},(o=A(e))===w.OpenSaveFileType.excel?a.Nee(e,t,n,r,i):a.Lte(e,t,n,r,i)},D.prototype.getValues=function(e,o){var s={},f=this;return e.forEach(function(e){var t,n,r,i,a,t=e.filePath,n=e.name,r=o[t+n];r&&(s[n]||(s[n]={}),i=s[n],(a=e.items).forEach(function(e){var e,t,t;e&&e.source&&(t=(t=void 0)===(e=e.source).length?[e]:e).forEach(function(e){var t,n,t=e.sheetName;i[t]||(i[t]={}),n=i[t],f.Nte(r,t,new w.Range(e.row,e.col,e.rowCount,e.colCount),n)})}))}),s},D.prototype.Nee=function(e,t,n,r,i){var a;(new o.ExcelParser).Nee(e,t,n,r,i)},D.prototype.Lte=function(e,c,u,l,d){var h=new f.tle,t=h.nle;e&&t?(t.onload=function(e){h.rle(e.target.result,function(f){h.ele(f,"workbook.json",function(e){var e,t,n,r,i,a,o,s,s,o,s,o,e=JSON.parse(e),t,n=x(e,"sheets").c_,r=e.rels&&e.rels.c_;if(n&&r)for(i=0,a=r.length;i<a;i++)if((o=n[i])&&(s=o.name,c===s)){if(s=o["r:id"],!(s=(o=m(r,s))&&o.Target))return void I(d);o=s.split("/").pop(),h.ele(f,"sheets/"+o.split(".").shift()+".json",function(e){var e=JSON.parse(e);e?C(h,f,e,u,l,d):I(d)},d)}},d)},d)},t.readAsArrayBuffer&&t.readAsArrayBuffer(e)):I(d)},D.getPartialValues=function(d,h,m,p){var v,b,y,e,t,n;if(d)for(m=m||function(){},p=p||function(){},v=new D,b={},e=function(e,t){var n,e,i,a,r,o,s,f,c,u,l,n=d[e],e=n.filePath+n.name,i=h(e);if(!i||!n.items)return"continue";for(a=b[e]={},r=0,o=n.items.length;r<o;r++)for(s=n.items[r],f=s.source,c=function(e,t){var e=f[e],n=e.sheetName,r=new w.Range(e.row,e.col,e.rowCount,e.colCount);y++,v.Nte(i,n,r,function(e){a[n]||(a[n]={}),F(e,a[n],r),--y<=0&&m(b)},function(e){I(p)})},u=0,l=(f=Array.isArray(f)?f:[f]).length;u<l;u++)c(u,l)},t=y=0,n=d.length;t<n;t++)e(t,n)},D.prototype.dispose=function(){var e=this;e.Ute&&(clearTimeout(e.Ute),delete e.Ute),e.Mte=g,e.Ate=g,e.Ste=g,e.Ete=g,e.Pte=g,e.Gte=g,e.sheetsState=g,e.refSheetsState=g,e.qte=g,e.Wte=g},b=D,t.Loader=b,t.getPartialValues=R,t.registerMaxDigitWidth=O},"./dist/plugins/io/utils/builtIn-resource.js":function(e,t){"use strict";var n,r,i,a,o;function s(e,t,n,r,i,a,o,s,f,c,u,l,d){return'<a:clrScheme name="'+e+'"><a:dk1><a:sysClr val="windowText" lastClr="'+r+'"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="'+t+'"/></a:lt1><a:dk2><a:srgbClr val="'+i+'"/></a:dk2><a:lt2><a:srgbClr val="'+n+'"/></a:lt2><a:accent1><a:srgbClr val="'+a+'"/></a:accent1><a:accent2><a:srgbClr val="'+o+'"/></a:accent2><a:accent3><a:srgbClr val="'+s+'"/></a:accent3><a:accent4><a:srgbClr val="'+f+'"/></a:accent4><a:accent5><a:srgbClr val="'+c+'"/></a:accent5><a:accent6><a:srgbClr val="'+u+'"/></a:accent6><a:hlink><a:srgbClr val="'+l+'"/></a:hlink><a:folHlink><a:srgbClr val="'+d+'"/></a:folHlink></a:clrScheme>'}function f(e,t,n){return'<a:fontScheme name="'+e+'"><a:majorFont><a:latin typeface="'+t+'" panose="020F0302020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/><a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/><a:font script="Hans" typeface="\u5b8b\u4f53"/><a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:majorFont><a:minorFont><a:latin typeface="'+n+'" panose="020F0502020204030204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/><a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/><a:font script="Hans" typeface="\u5b8b\u4f53"/><a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:minorFont></a:fontScheme>'}function c(e){return'<a:fmtScheme name="'+e+'"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="1"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:shade val="51000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="80000"><a:schemeClr val="phClr"><a:shade val="93000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="94000"/><a:satMod val="135000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme>'}Object.defineProperty(t,"__esModule",{value:!0}),t.RelationsFile=t.ThemeFmtSchemes=t.ThemeFontSchemes=t.ThemeClrSchemes=t.BuiltInStylesResource=void 0,t.BuiltInStylesResource='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><numFmts count="4"><numFmt numFmtId="42" formatCode="_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)"/><numFmt numFmtId="41" formatCode="_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)"/><numFmt numFmtId="44" formatCode="_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)"/><numFmt numFmtId="43" formatCode="_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)"/></numFmts><fonts count="18"><font><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="18"/><color theme="3"/><name val="Cambria"/><family val="2"/><scheme val="major"/></font><font><b/><sz val="15"/><color theme="3"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="13"/><color theme="3"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color theme="3"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FF006100"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FF9C0006"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FF9C6500"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FF3F3F76"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color rgb="FF3F3F3F"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color rgb="FFFA7D00"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FFFA7D00"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color theme="0"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color rgb="FFFF0000"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><i/><sz val="11"/><color rgb="FF7F7F7F"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><b/><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font><font><sz val="11"/><color theme="0"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="33"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill><fill><patternFill patternType="solid"><fgColor rgb="FFC6EFCE"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFFFC7CE"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFFFEB9C"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFFFCC99"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFF2F2F2"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFA5A5A5"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFFFFFCC"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="4"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="4" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="4" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="4" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="5"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="5" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="5" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="5" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="6"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="6" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="6" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="6" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="7"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="7" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="7" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="7" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="8"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="8" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="8" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="8" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="9"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="9" tint="0.79998168889431442"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="9" tint="0.59999389629810485"/><bgColor indexed="65"/></patternFill></fill><fill><patternFill patternType="solid"><fgColor theme="9" tint="0.39997558519241921"/><bgColor indexed="65"/></patternFill></fill></fills><borders count="10"><border><left/><right/><top/><bottom/><diagonal/></border><border><left/><right/><top/><bottom style="thick"><color theme="4"/></bottom><diagonal/></border><border><left/><right/><top/><bottom style="thick"><color theme="4" tint="0.499984740745262"/></bottom><diagonal/></border><border><left/><right/><top/><bottom style="medium"><color theme="4" tint="0.39997558519241921"/></bottom><diagonal/></border><border><left style="thin"><color rgb="FF7F7F7F"/></left><right style="thin"><color rgb="FF7F7F7F"/></right><top style="thin"><color rgb="FF7F7F7F"/></top><bottom style="thin"><color rgb="FF7F7F7F"/></bottom><diagonal/></border><border><left style="thin"><color rgb="FF3F3F3F"/></left><right style="thin"><color rgb="FF3F3F3F"/></right><top style="thin"><color rgb="FF3F3F3F"/></top><bottom style="thin"><color rgb="FF3F3F3F"/></bottom><diagonal/></border><border><left/><right/><top/><bottom style="double"><color rgb="FFFF8001"/></bottom><diagonal/></border><border><left style="double"><color rgb="FF3F3F3F"/></left><right style="double"><color rgb="FF3F3F3F"/></right><top style="double"><color rgb="FF3F3F3F"/></top><bottom style="double"><color rgb="FF3F3F3F"/></bottom><diagonal/></border><border><left style="thin"><color rgb="FFB2B2B2"/></left><right style="thin"><color rgb="FFB2B2B2"/></right><top style="thin"><color rgb="FFB2B2B2"/></top><bottom style="thin"><color rgb="FFB2B2B2"/></bottom><diagonal/></border><border><left/><right/><top style="thin"><color theme="4"/></top><bottom style="double"><color theme="4"/></bottom><diagonal/></border></borders><cellStyleXfs count="47"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/><xf numFmtId="43" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="41" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="44" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="42" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="9" fontId="1" fillId="0" borderId="0" applyFont="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyNumberFormat="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="4" fillId="0" borderId="2" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="5" fillId="0" borderId="3" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="5" fillId="0" borderId="0" applyNumberFormat="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="6" fillId="2" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="7" fillId="3" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="8" fillId="4" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="9" fillId="5" borderId="4" applyNumberFormat="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="10" fillId="6" borderId="5" applyNumberFormat="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="11" fillId="6" borderId="4" applyNumberFormat="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="12" fillId="0" borderId="6" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="13" fillId="7" borderId="7" applyNumberFormat="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="14" fillId="0" borderId="0" applyNumberFormat="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="8" borderId="8" applyNumberFormat="0" applyFont="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="15" fillId="0" borderId="0" applyNumberFormat="0" applyFill="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="16" fillId="0" borderId="9" applyNumberFormat="0" applyFill="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="9" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="10" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="11" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="12" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="13" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="14" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="15" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="16" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="17" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="18" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="19" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="20" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="21" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="22" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="23" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="24" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="25" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="26" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="27" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="28" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="29" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="30" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="1" fillId="31" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/><xf numFmtId="0" fontId="17" fillId="32" borderId="0" applyNumberFormat="0" applyBorder="0" applyAlignment="0" applyProtection="0"/></cellStyleXfs><cellXfs count="47"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/><xf numFmtId="0" fontId="6" fillId="2" borderId="0" xfId="11"/><xf numFmtId="0" fontId="7" fillId="3" borderId="0" xfId="12"/><xf numFmtId="0" fontId="8" fillId="4" borderId="0" xfId="13"/><xf numFmtId="0" fontId="13" fillId="7" borderId="7" xfId="18"/><xf numFmtId="0" fontId="11" fillId="6" borderId="4" xfId="16"/><xf numFmtId="0" fontId="15" fillId="0" borderId="0" xfId="21"/><xf numFmtId="0" fontId="9" fillId="5" borderId="4" xfId="14"/><xf numFmtId="0" fontId="12" fillId="0" borderId="6" xfId="17"/><xf numFmtId="0" fontId="0" fillId="8" borderId="8" xfId="20" applyFont="1"/><xf numFmtId="0" fontId="14" fillId="0" borderId="0" xfId="19"/><xf numFmtId="0" fontId="10" fillId="6" borderId="5" xfId="15"/><xf numFmtId="0" fontId="1" fillId="14" borderId="0" xfId="28"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" xfId="7"/><xf numFmtId="0" fontId="4" fillId="0" borderId="2" xfId="8"/><xf numFmtId="0" fontId="5" fillId="0" borderId="3" xfId="9"/><xf numFmtId="0" fontId="5" fillId="0" borderId="0" xfId="10"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" xfId="6"/><xf numFmtId="0" fontId="16" fillId="0" borderId="9" xfId="22"/><xf numFmtId="0" fontId="1" fillId="10" borderId="0" xfId="24"/><xf numFmtId="0" fontId="1" fillId="18" borderId="0" xfId="32"/><xf numFmtId="0" fontId="1" fillId="22" borderId="0" xfId="36"/><xf numFmtId="0" fontId="1" fillId="26" borderId="0" xfId="40"/><xf numFmtId="0" fontId="1" fillId="30" borderId="0" xfId="44"/><xf numFmtId="0" fontId="1" fillId="11" borderId="0" xfId="25"/><xf numFmtId="0" fontId="1" fillId="15" borderId="0" xfId="29"/><xf numFmtId="0" fontId="17" fillId="12" borderId="0" xfId="26"/><xf numFmtId="0" fontId="17" fillId="9" borderId="0" xfId="23"/><xf numFmtId="43" fontId="0" fillId="0" borderId="0" xfId="1" applyFont="1"/><xf numFmtId="0" fontId="1" fillId="19" borderId="0" xfId="33"/><xf numFmtId="0" fontId="17" fillId="16" borderId="0" xfId="30"/><xf numFmtId="0" fontId="17" fillId="13" borderId="0" xfId="27"/><xf numFmtId="0" fontId="17" fillId="20" borderId="0" xfId="34"/><xf numFmtId="0" fontId="17" fillId="17" borderId="0" xfId="31"/><xf numFmtId="0" fontId="1" fillId="23" borderId="0" xfId="37"/><xf numFmtId="0" fontId="17" fillId="24" borderId="0" xfId="38"/><xf numFmtId="0" fontId="17" fillId="21" borderId="0" xfId="35"/><xf numFmtId="0" fontId="17" fillId="28" borderId="0" xfId="42"/><xf numFmtId="0" fontId="1" fillId="27" borderId="0" xfId="41"/><xf numFmtId="0" fontId="17" fillId="25" borderId="0" xfId="39"/><xf numFmtId="0" fontId="1" fillId="31" borderId="0" xfId="45"/><xf numFmtId="0" fontId="17" fillId="32" borderId="0" xfId="46"/><xf numFmtId="0" fontId="17" fillId="29" borderId="0" xfId="43"/><xf numFmtId="9" fontId="0" fillId="0" borderId="0" xfId="5" applyFont="1"/><xf numFmtId="42" fontId="0" fillId="0" borderId="0" xfId="4" applyFont="1"/><xf numFmtId="44" fontId="0" fillId="0" borderId="0" xfId="3" applyFont="1"/><xf numFmtId="41" fontId="0" fillId="0" borderId="0" xfId="2" applyFont="1"/></cellXfs><cellStyles count="47"><cellStyle name="20% - Accent1" xfId="24" builtinId="30"/><cellStyle name="20% - Accent2" xfId="28" builtinId="34"/><cellStyle name="20% - Accent3" xfId="32" builtinId="38"/><cellStyle name="20% - Accent4" xfId="36" builtinId="42"/><cellStyle name="20% - Accent5" xfId="40" builtinId="46"/><cellStyle name="20% - Accent6" xfId="44" builtinId="50"/><cellStyle name="40% - Accent1" xfId="25" builtinId="31"/><cellStyle name="40% - Accent2" xfId="29" builtinId="35"/><cellStyle name="40% - Accent3" xfId="33" builtinId="39"/><cellStyle name="40% - Accent4" xfId="37" builtinId="43"/><cellStyle name="40% - Accent5" xfId="41" builtinId="47"/><cellStyle name="40% - Accent6" xfId="45" builtinId="51"/><cellStyle name="60% - Accent1" xfId="26" builtinId="32"/><cellStyle name="60% - Accent2" xfId="30" builtinId="36"/><cellStyle name="60% - Accent3" xfId="34" builtinId="40"/><cellStyle name="60% - Accent4" xfId="38" builtinId="44"/><cellStyle name="60% - Accent5" xfId="42" builtinId="48"/><cellStyle name="60% - Accent6" xfId="46" builtinId="52"/><cellStyle name="Accent1" xfId="23" builtinId="29"/><cellStyle name="Accent2" xfId="27" builtinId="33"/><cellStyle name="Accent3" xfId="31" builtinId="37"/><cellStyle name="Accent4" xfId="35" builtinId="41"/><cellStyle name="Accent5" xfId="39" builtinId="45"/><cellStyle name="Accent6" xfId="43" builtinId="49"/><cellStyle name="Bad" xfId="12" builtinId="27"/><cellStyle name="Calculation" xfId="16" builtinId="22"/><cellStyle name="Check Cell" xfId="18" builtinId="23"/><cellStyle name="Comma" xfId="1" builtinId="3"/><cellStyle name="Comma [0]" xfId="2" builtinId="6"/><cellStyle name="Currency" xfId="3" builtinId="4"/><cellStyle name="Currency [0]" xfId="4" builtinId="7"/><cellStyle name="Explanatory Text" xfId="21" builtinId="53"/><cellStyle name="Good" xfId="11" builtinId="26"/><cellStyle name="Heading 1" xfId="7" builtinId="16"/><cellStyle name="Heading 2" xfId="8" builtinId="17"/><cellStyle name="Heading 3" xfId="9" builtinId="18"/><cellStyle name="Heading 4" xfId="10" builtinId="19"/><cellStyle name="Input" xfId="14" builtinId="20"/><cellStyle name="Linked Cell" xfId="17" builtinId="24"/><cellStyle name="Neutral" xfId="13" builtinId="28"/><cellStyle name="Normal" xfId="0" builtinId="0"/><cellStyle name="Note" xfId="20" builtinId="10"/><cellStyle name="Output" xfId="15" builtinId="21"/><cellStyle name="Percent" xfId="5" builtinId="5"/><cellStyle name="Title" xfId="6" builtinId="15"/><cellStyle name="Total" xfId="22" builtinId="25"/><cellStyle name="Warning Text" xfId="19" builtinId="11"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleLight16"/></styleSheet>',n="Gill Sans MT",r="Trebuchet MS",i="Franklin Gothic Book",t.ThemeClrSchemes={Default:s("Default",o="FFFFFF","EEECE1",a="000000","1F497D","4F81BD","C0504D","9BBB59","8064A2","4BACC6","F79646","0000FF","800080"),Office2007:s("Office2007",o,"EEECE1",a,"1F497D","4F81BD","C0504D","9BBB59","8064A2","4BACC6","F79646","0000FF","800080"),Office:s("Office",o,"E7E6E6",a,"44546A","5B9BD5","ED7D31","A5A5A5","FFC000","4472C4","70AD47","0563C1","954F72"),Apex:s("Apex",o,"C9C2D1",a,"69676D","CEB966","9CB084","6BB1C9","6585CF","7E6BC9","A379BB","410082","932968"),Aspect:s("Aspect",o,"E3DED1",a,"323232","F07F09","9F2936","1B587C","4E8542","604878","C19859","6B9F25","B26B02"),Concourse:s("Concourse",o,"DEF5FA",a,"464646","2DA2BF","DA1F28","EB641B","39639D","474B78","7D3C4A","FF8119","44B9E8"),Civic:s("Civic",o,"C5D1D7",a,"646B86","D16349","CCB400","8CADAE","8C7B70","8FB08C","D19049","00A3D6","694F07"),Oriel:s("Oriel",o,"FFF39D",a,"575F6D","FE8637","7598D9","B32C16","F5CD2D","AEBAD5","777C84","D2611C","3B435B"),Origin:s("Origin",o,"DDE9EC",a,"464653","727CA3","9FB8CD","D2DA7A","FADA7A","B88472","8E736A","B292CA","6B5680"),Paper:s("Paper",o,"FEFAC9",a,"444D26","A5B592","F3A447","E7BC29","D092A7","9C85C0","809EC2","8E58B6","7F6F6F"),Solstice:s("Solstice",o,"E7DEC9",a,"4F271C","3891A7","FEB80A","C32D2E","84AA33","964305","475A8D","8DC765","AA8A14"),Technic:s("Technic",o,"D4D2D0",a,"3B3B3B","6EA0B0","CCAF0A","8D89A4","748560","9E9273","7E848D","00C8C3","A116E0"),Trek:s("Trek",o,"FBEEC9",a,"4E3B30","F0A22E","A5644E","B58B80","C3986D","A19574","C17529","AD1F1F","FFC42F"),Urban:s("Urban",o,"DEDEDE",a,"424456","53548A","438086","A04DA3","C4652D","8B5D3D","5C92B5","67AFBD","C2A874"),Verve:s("Verve",o,"D2D2D2",a,"666666","FF388C","E40059","9C007F","68007F","005BD3","00349E","17BBFD","FF79C2"),Equity:s("Equity",o,"E9E5DC",a,"696464","D34817","9B2D1F","A28E6A","956251","918485","855D5D","CC9900","96A9A9"),Flow:s("Flow",o,"DBF5F9",a,"04617B","0F6FC6","009DD9","0BD0D9","10CF9B","7CCA62","A5C249","E2D700","85DFD0"),Foundry:s("Foundry",o,"EAEBDE",a,"676A55","72A376","B0CCB0","A8CDD7","C0BEAF","CEC597","E8B7B7","DB5353","903638"),Median:s("Median",o,"EBDDC3",a,"775F55","94B6D2","DD8047","A5AB81","D8B25C","7BA79D","968C8C","F7B615","704404"),Metro:s("Metro",o,"D6ECFF",a,"4E5B6F","7FD13B","EA157A","FEB80A","00ADDC","738AC8","1AB39F","EB8803","5F7791"),Module:s("Module",o,"D4D4D6",a,"5A6378","F0AD00","60B5CC","E66C7D","6BB76D","E88651","C64847","168BBA","680000"),Opulent:s("Opulent",o,"F4E7ED",a,"B13F9A","B83D68","AC66BB","DE6C36","F9B639","CF6DA4","FA8D3D","FFDE66","D490C5")},t.ThemeFontSchemes={Default:f("Default","Cambria","Calibri"),Office:f("Office","Calibri Light","Calibri"),Office2007:f("Office2007","Cambria","Calibri"),Apex:f("Apex","Lucida Sans","Book Antiqua"),Aspect:f("Aspect","Verdana","Verdana"),Concourse:f("Concourse","Lucida Sans Unicode","Lucida Sans Unicode"),Civic:f("Civic","Georgia","Georgia"),Oriel:f("Oriel","Century Schoolbook","Century Schoolbook"),Origin:f("Origin","Bookman Old Style",n),Paper:f("Paper","Constantia","Constantia"),Solstice:f("Solstice",n,n),Technic:f("Technic",i,"Arial"),Trek:f("Trek","Franklin Gothic Medium",i),Urban:f("Urban",r,"Georgia"),Verve:f("Verve","Century Gothic","Century Gothic"),Equity:f("Equity",i,"Perpetua"),Flow:f("Flow","Calibri","Constantia"),Foundry:f("Foundry","Rockwell","Rockwell"),Median:f("Median","Tw Cen MT","Tw Cen MT"),Metro:f("Metro","Consolas","Corbel"),Module:f("Module","Corbel","Corbel"),Opulent:f("Opulent",r,r)},t.ThemeFmtSchemes={},["Default","Office","Office2007","Apex","Aspect","Concourse","Civic","Oriel","Origin","Paper","Solstice","Technic","Trek","Urban","Verve","Equity","Flow","Foundry","Median","Metro","Module","Opulent"].forEach(function(e){t.ThemeFmtSchemes[e]=c(e)}),t.RelationsFile='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>'},"./dist/plugins/io/utils/errorcode.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorCode=void 0,t.ErrorCode={fileIOError:0,fileFormatError:1,noPassword:2,invalidPassword:3}},"./dist/plugins/io/utils/excel-utils.js":function(B,e,t){"use strict";var h,f,t,v,b,m,M,N,i,P,p,y,a,r,o,s,c,u,l,d,w,U,x,g,k,I,C,L,G,n,q,W,V,t,t,t,t,t,t,t,t;function H(){}function F(e,t,n,r,i,a){var o=this;o.a=e,o.r=t,o.g=n,o.b=r,o.i=i,o.t=a}function Z(e){var t,n,r,e,i,a,o,a,o,s,e,t=this,n=e.r,r=e.g,e=e.b,i=Math.max(Math.max(n,r),e),a=Math.min(Math.min(n,r),e),o=i+a;t.luminosity=parseInt(((240*o+255)/510).toString(),10),0==(a=i-a)?(t.saturation=0,t.hue=160):(t.luminosity<=120?t.saturation=parseInt(((240*a+o/2)/o).toString(),10):t.saturation=parseInt(((240*a+(510-o)/2)/(510-o)).toString(),10),o=(40*(i-n)+a/2)/a,s=(40*(i-r)+a/2)/a,e=(40*(i-e)+a/2)/a,t.hue=n===i?parseInt((e-s).toString(),10):r===i?parseInt((80+o-e).toString(),10):parseInt((160+s-o).toString(),10),t.hue<0&&(t.hue+=240),240<t.hue&&(t.hue-=240))}function A(e,t,n){var r=this;if(3===e&&11<t&&241!==t&&242!==t&&243!==t&&244!==t&&255!==t)throw new Error("themeColorIndexError");if(1<n||n<-1)throw new Error("colorTintError");1===e&&32767===t&&(r.Vte=!0),r.xrt=e||2,r._x=t||0,r.rft=n||0}function S(){}function E(e){var e=e.getTimezoneOffset();return e=-485===e?-485-43/60:e}function j(){}function _(){}function D(e,t,n,r,i,a){var o=this;o.fontColor=t,o.fontName=e,o.fontFamily=n,o.isAutoColor=!1,o.isBold=r,o.isItalic=i,o.isOutlineStyle=!1,o.isShadowStyle=!1,o.isStrikeOut=!1,o.fontScheme=0,o.fontSize=a,o.charSetIndex=0,o.underLineStyle=0,o.vertAlign=0,o.Hte=null}function R(t,e,n){void 0!==n&&t.writeLeafElement(e,function(){var e;null===n||n.isAutoColor()?t.writeAttributeString("auto","1"):n.isIndexedColor()?t.writeAttributeString("indexed",n.value().toString()):n.isThemeColor()?(t.writeAttributeString("theme",n.value().toString()),0!==n.tint()&&t.writeAttributeString("tint",n.tint().toString())):n.isRGBColor()&&(e=n.value().toString(16),t.writeAttributeString("rgb",e.toUpperCase()),0!==n.tint())&&t.writeAttributeString("tint",n.tint().toString())})}function K(e,t,n,r,i,a,o,s,f){switch(t){case"b":e.fontWeight=i[n];break;case"i":e.fontStyle=r[n];break;case"s":e.fontSize=a[n];break;case"n":e.fontFamily=o[n];break;case"c":e.foreColor=s[n];break;case"v":e.vertAlign=!!n;break;case"t":e.themeFont=f.getText(+n);break;case"d":e.textDecoration=n}}function X(e,t,n,r){switch(t){case"l":e.borderLeft=r[n];break;case"r":e.borderRight=r[n];break;case"t":e.borderTop=r[n];break;case"b":e.borderBottom=r[n];break;case"u":e.diagonalUp=r[n];break;case"d":e.diagonalDown=r[n]}}function O(){}function T(e,t){this.numberFormatId=e,this.numberFormatCode=t}function z(e,t){this.fileName=e,this.fileType=t,this.relationFiles={count:0}}Object.defineProperty(e,"__esModule",{value:!0}),e.XFile=e.ExcelNumberFormat=e.SJSStyleHelper=e.ExcelFont=e.ConverterHelper=e.ExcelDateTimeHelper=e.ExcelColorHelper=e.ExcelColor=e.FontLanguage=e.TextDirection=e.ExcelHorizontalAlignment=e.ExcelVerticalAlignment=e.FillPatternType=e.VertAlign=e.UnderLineStyle=e.FontSchemeCategory=e.THEME_BODY=e.THEME_HEADINGS=void 0,h=t("Core"),f=t("./dist/plugins/io/utils/xml-parser.js"),t=t("Common"),v=t.Common.lt.ht,b=void 0,m=null,M=h.Util.ro,N=h.Util.ao,i=h.SJSColumnWidthHelper.pixelToPoint,P=h.Util.oo,p="bold",y="italic",a="Calibri",r=[1,2,3,0,6,7],e.THEME_HEADINGS="Headings",e.THEME_BODY="Body",(t=o=e.FontSchemeCategory||(e.FontSchemeCategory={}))[t.none=0]="none",t[t.major=1]="major",t[t.minor=2]="minor",t[t.ninched=255]="ninched",(t=s=e.UnderLineStyle||(e.UnderLineStyle={}))[t.none=0]="none",t[t.single=1]="single",t[t.double=2]="double",t[t.singleaccounting=3]="singleaccounting",t[t.doubleaccounting=4]="doubleaccounting",(t=c=e.VertAlign||(e.VertAlign={}))[t.baseLine=0]="baseLine",t[t.superscript=1]="superscript",t[t.subscript=2]="subscript",(t=u=e.FillPatternType||(e.FillPatternType={}))[t.none=0]="none",t[t.solid=1]="solid",t[t.darkGray=2]="darkGray",t[t.mediumGray=3]="mediumGray",t[t.lightGray=4]="lightGray",t[t.gray125=5]="gray125",t[t.gray0625=6]="gray0625",t[t.darkHorizontal=7]="darkHorizontal",t[t.darkVertical=8]="darkVertical",t[t.darkDown=9]="darkDown",t[t.darkUp=10]="darkUp",t[t.darkGrid=11]="darkGrid",t[t.darkTrellis=12]="darkTrellis",t[t.lightHorizontal=13]="lightHorizontal",t[t.lightVertical=14]="lightVertical",t[t.lightDown=15]="lightDown",t[t.lightUp=16]="lightUp",t[t.lightGrid=17]="lightGrid",t[t.lightTrellis=18]="lightTrellis",(t=l=e.ExcelVerticalAlignment||(e.ExcelVerticalAlignment={}))[t.top=0]="top",t[t.center=1]="center",t[t.bottom=2]="bottom",t[t.justify=3]="justify",t[t.distributed=4]="distributed",(t=d=e.ExcelHorizontalAlignment||(e.ExcelHorizontalAlignment={}))[t.general=0]="general",t[t.left=1]="left",t[t.center=2]="center",t[t.right=3]="right",t[t.fill=4]="fill",t[t.justify=5]="justify",t[t.centerContinuous=6]="centerContinuous",t[t.distributed=7]="distributed",(t=w=e.TextDirection||(e.TextDirection={}))[t.accordingToContext=0]="accordingToContext",t[t.leftToRight=1]="leftToRight",t[t.rightToLeft=2]="rightToLeft",(t=U=e.FontLanguage||(e.FontLanguage={}))[t.latin=0]="latin",t[t.cs=1]="cs",t[t.ea=2]="ea",t[t.sym=3]="sym",x=H,F.prototype.toString=function(){var e=this;return v(e.i)?255===e.a?"#"+e.getColorUnitString(e.r)+e.getColorUnitString(e.g)+e.getColorUnitString(e.b):"rgba("+e.r+","+e.g+","+e.b+","+e.a+")":"index:"+e.i+":"+e.t},F.prototype.getColorUnitString=function(e){var e=e.toString(16);return e=1===e.length?"0"+e:e},F.hueToRGB=function(e,t,n){return n<0&&(n+=240),240<n&&(n-=240),n<40?e+((t-e)*n+20)/40:n<120?t:n<160?e+((t-e)*(160-n)+20)/40:e},F.fromHLS=function(e,t,n){var r,i,a,o,s;return 0===n?r=i=a=parseInt(255*t/240,10):(s=o=void 0,o=2*t-(s=t<=120?(t*(240+n)+120)/240:t+n-(t*n+120)/240),r=parseInt((255*F.hueToRGB(o,s,e+80)+120)/240,10),i=parseInt((255*F.hueToRGB(o,s,e)+120)/240,10),a=parseInt((255*F.hueToRGB(o,s,e-80)+120)/240,10)),new F(255,r,i,a)},g=F,Z.prototype.toColor=function(){return g.fromHLS(this.hue,this.luminosity,this.saturation)},k=Z,A.prototype.colorType=function(){return this.xrt},A.prototype.value=function(){return this._x},A.prototype.tint=function(){return this.rft},A.prototype.isAutoColor=function(e){var t=this;if(0===arguments.length)return t.Vte;"boolean"==typeof e&&e!==t.Vte&&(t.Vte=e)},A.prototype.isIndexedColor=function(){return 1===this.xrt},A.prototype.isRGBColor=function(){return 2===this.xrt},A.prototype.isThemeColor=function(){return 3===this.xrt},A.prototype.equals=function(e){return this===e||!!e&&this.xrt===e.colorType()&&this.value()===e.value()&&this.tint()===e.tint()&&this.isAutoColor()===e.isAutoColor()},A.EmptyColor=new A,I=A,e.ExcelColor=I,S.getThemeColorName=function(e){var t;return e&&3===e.colorType()?(t=Math.round(100*e.tint()),0===e.value()||243===e.value()?"Background 1 "+t:1===e.value()||241===e.value()?"Text 1 "+t:2===e.value()||244===e.value()?"Background 2 "+t:3===e.value()||242===e.value()?"Text 2 "+t:4===e.value()?"Accent 1 "+t:5===e.value()?"Accent 2 "+t:6===e.value()?"Accent 3 "+t:7===e.value()?"Accent 4 "+t:8===e.value()?"Accent 5 "+t:9===e.value()?"Accent 6 "+t:10===e.value()?"hyperlink":11===e.value()?"followedHyperlink":null):null},S.getThemeColorIndex=function(e,t){return"Background 1"===e.substring(0,12)?t?243:0:"Text 1"===e.substring(0,6)?t?241:1:"Background 2"===e.substring(0,12)?t?244:2:"Text 2"===e.substring(0,6)?t?242:3:"Accent 1"===e.substring(0,8)?4:"Accent 2"===e.substring(0,8)?5:"Accent 3"===e.substring(0,8)?6:"Accent 4"===e.substring(0,8)?7:"Accent 5"===e.substring(0,8)?8:"Accent 6"===e.substring(0,8)?9:"hyperlink"===e?10:"followedHyperlink"===e?11:void 0},S.Zte=function(){return S.Kte=S.Kte?S.Kte:{}},S.getExcelThemeColor=function(e){var t,n,r,r;return h.StringEx.Ji(e)?I.EmptyColor:(t=S.Zte())[e]?t[e]:(n=0,3<=(r=e.split(" ")).length&&(n=parseFloat(r[2]),isNaN(n)||(n/=100)),r=new I(3,S.getThemeColorIndex(e),n),t[e]=r)},S.toRGBColor=function(e){return e?S.getRGBColor(e).toString():null},S.colorFromIndex=function(e,t){var n,n,r,i,a;return 32767===e?new g(0,0,0,0):(n=S.palette,e<0||e>=n.length?new g(255,0,0,0):S.useCustomPalette?S.customPalette[e]!==b?S.customPalette[e]:64===e?new g(255,0,0,0):new g(65===e?255:0,255,255,255):(n=n[e],new g(t,r=n>>16&255,i=n>>8&255,a=255&n)))},S.updateTint=function(e,t){var e,n,n;return 0===t?e:(e=new k(e),0<t?(n=240-e.luminosity,g.fromHLS(e.hue,e.luminosity+(n=n*t),e.saturation)):(n=e.luminosity*-t,g.fromHLS(e.hue,e.luminosity-n,e.saturation)))},S.getRGBColor=function(e){var t,t;return null===e||e===b?new g(0,255,255,255):e.isAutoColor()?new g(255,0,0,0):e.isIndexedColor()?new g(b,b,b,b,0|e.value(),e.tint()):e.isRGBColor()?(t=4278190080+(16777215&e.value()),t=S.fromArgb(t),S.updateTint(t,e.tint())):e.isThemeColor()?S.getThemeColorName(e):new g(0,255,255,255)},S.fromArgb=function(e){return new g(e>>24&255,e>>16&255,e>>8&255,255&e)},S.getRGBAColorData=function(e){var e=S.fromArgb(e.value());return{rgb:e.getColorUnitString(e.r)+e.getColorUnitString(e.g)+e.getColorUnitString(e.b),alpha:e.a}},S.Xte=function(){return S.Jte=S.Jte?S.Jte:{}},S.fromHtmlColor=function(e){var t,n,r,r,i,a;if(e)return"string"!=typeof e?e:(t=S.Xte())[e]?t[e]:(r="#"===(n=e.toLowerCase()).substring(0,1)?(7===n.length?n="#ff"+n.substring(1):4===n.length&&(n="#ff"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),parseInt(n.substring(1,n.length),16)):"rgb("===n.substring(0,4)?(r=n.indexOf("("),i=n.indexOf(")"),a=n.substring(r+1,i).split(","),255*Math.pow(16,6)+parseInt(a[0],10)*Math.pow(16,4)+parseInt(a[1],10)*Math.pow(16,2)+parseInt(a[2],10)):"rgba("===n.substring(0,5)?(r=n.indexOf("("),i=n.indexOf(")"),a=n.substring(r+1,i).split(","),parseInt(255*parseFloat(a[3]),10)*Math.pow(16,6)+parseInt(a[0],10)*Math.pow(16,4)+parseInt(a[1],10)*Math.pow(16,2)+parseInt(a[2],10)):S.Yte[n]||parseInt(n,10),t[e]=r)},S.isThemeColor=function(e){if(!e||"string"!=typeof e)return!1;var t;switch((e=e.toLowerCase())[0]){case"b":return 0===e.indexOf("background ");case"t":return 0===e.indexOf("text ");case"a":return 0===e.indexOf("accent ");case"h":return 0===e.indexOf("hyperlink");case"f":return 0===e.indexOf("followedhyperlink");default:return!1}},S.mixTranslucentColor=function(e,t){var n,r,i,t;return 255===t.a?t:0===t.a?e:(n=Math.round((255-e.a)*t.a/255),r=S.getMaxInt(e.a,t.a,e.r,t.r,n+e.a),i=S.getMaxInt(e.a,t.a,e.g,t.g,n+e.a),t=S.getMaxInt(e.a,t.a,e.b,t.b,n+e.a),new g(Math.round(n+e.a),r,i,t))},S.getMaxInt=function(e,t,n,r,i){return 0===i?0:(t*r+(255-t)*e*n/255)/i},S.toExcelColor=function(e,t){var e;return e instanceof I?e:(t===b&&(t=16777215),e===b?null:S.isThemeColor(e)?S.getExcelThemeColor(e):(e=S.fromHtmlColor(e))!==t?S.fromColorToExcelColor(S.fromArgb(e)):null)},S.toExcelBackColor=function(e,t){var n,r;if("object"==typeof e)if(e.stops)for(n=e,r=0;r<n.stops.length;r++)n.stops[r].color=S.toExcelColor(n.stops[r].color);else n={patternType:e.type,fgColor:S.toExcelColor(e.patternColor||"#000000"),bgColor:S.toExcelColor(e.backgroundColor||"#FFFFFF")};else n=e?{patternType:1,fgColor:S.toExcelColor(e),bgColor:S.toExcelColor(t?"#000000":"#FFFFFF")}:{patternType:0,fgColor:new I(1,64,0),bgColor:new I(1,65,0)};return n},S.toExcelIndexedColor=function(e){var e;return e?(e=S.getPaletteColorIndex(e,63),new I(1,e)):null},S.fromColorToExcelColor=function(e){var t,n,r,t,n;return 255!==(e=S.mixTranslucentColor(S.fromArgb(16777215),e)).a&&(t=S.$te,n=Math.round(t.r-e.a+e.a/255*e.r),r=Math.round(t.g-e.a+e.a/255*e.g),t=Math.round(t.b-e.a+e.a/255*e.b),e=new g(255,n,r,t)),n=e.a*Math.pow(16,6)+e.r*Math.pow(16,4)+e.g*Math.pow(16,2)+e.b,new I(2,n,0)},S.getClosestColorIndex=function(e,t){var n,r,i,a,o,s,f,a;for(t===b&&(t=64),n=-1,r=Number.MAX_VALUE,i=Math.min(S.palette.length-1,t);0<=i;i--)s=(65280&(a=S.palette[i]))>>8,f=255&a,(a=Math.abs(.3*((o=(16711680&a)>>16)-e.r))+Math.abs(.59*(s-e.g))+Math.abs(.11*(f-e.b)))<r&&(r=a,n=i);return n},S.getPaletteColorIndex=function(e,t){return t===b&&(t=64),e.isThemeColor()?S.getClosestColorIndex(S.getRGBColor(new I(3,e.value(),0))):S.getClosestColorIndex(S.getRGBColor(e),t)},S.toColorSchemeIndex=function(e){return"ACCENT1"===e?4:"ACCENT2"===e?5:"ACCENT3"===e?6:"ACCENT4"===e?7:"ACCENT5"===e?8:"ACCENT6"===e?9:"DK1"===e?1:"DK2"===e?3:"LT1"===e?0:"LT2"===e?2:"HLIK"===e?10:"FOLHLINK"===e?11:"PHCLR"===e?240:"BG1"===e?243:"BG2"===e?244:"TX1"===e?241:"TX2"===e?242:255},S.scRgbTosRgb=function(e){return e<=0?0:e<=.0031308?255*e*12.92+.5:e<1?255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5:255},S.convertHLSToRGB=function(e,t,n){var r,i,a,o,t,r=0,i=0,a=0;return a=0===n?i=r=255*t/255|0:(o=void 0,t=2*t-(o=t<=127?(t*(255+n)+127)/255:t+n-(t*n+127)/255),r=parseInt(((255*S.hueToRGB(t,o,e+85)+127)/255).toString(),10),i=parseInt(((255*S.hueToRGB(t,o,e)+127)/255).toString(),10),parseInt(((255*S.hueToRGB(t,o,e-85)+127)/255).toString(),10)),new g(0,r=(r=0<r?r:0)<255?r:255,i=(i=0<i?i:0)<255?i:255,a=255<(a=0<a?a:0)?a:255)},S.hueToRGB=function(e,t,n){return n<0&&(n+=255),255<n&&(n-=255),n<42?e+((t-e)*n+21)/42:n<127?t:n<170?e+((t-e)*(170-n)+21)/42:e},S.fromPresetColorVal=function(e){var e=S.Yte[e];return e!==b?S.fromArgb(e):null},S.Kte=null,S.Jte=null,S.useCustomPalette=!1,S.customPalette=null,S.palette=[4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4286578688,4278222848,4278190208,4286611456,4286578816,4278222976,4290822336,4286611584,4288256511,4288230246,4294967244,4291624959,4284874854,4294934656,4278216396,4291611903,4278190208,4294902015,4294967040,4278255615,4286578816,4286578688,4278222976,4278190335,4278242559,4291624959,4291624908,4294967193,4288269567,4294941132,4291598847,4294954137,4281558783,4281584844,4288269312,4294953984,4294940928,4294927872,4284901017,4288059030,4278203238,4281571686,4278203136,4281545472,4288230144,4288230246,4281545625,4281545523,4278190080],S.$te=new g(255,255,255,255),S.Yte={aliceblue:4293982463,antiquewhite:4294634455,aqua:4278255615,aquamarine:4286578644,azure:4293984255,beige:4294309340,bisque:4294960324,black:4278190080,blanchedalmond:4294962125,blue:4278190335,blueviolet:4287245282,brown:4289014314,burlywood:4292786311,cadetblue:4284456608,chartreuse:4286578432,chocolate:4291979550,coral:4294934352,cornflowerblue:4284782061,cornsilk:4294965468,crimson:4292613180,cyan:4278255615,darkblue:4278190219,darkcyan:4278225803,darkgoldenrod:4290283019,darkgray:4289309097,darkgreen:4278215680,darkkhaki:4290623339,darkmagenta:4287299723,darkolivegreen:4283788079,darkorange:4294937600,darkorchid:4288230092,darkred:4287299584,darksalmon:4293498490,darkseagreen:4287609999,darkslateblue:4282924427,darkslategray:4281290575,darkturquoise:4278243025,darkviolet:4287889619,deeppink:4294907027,deepskyblue:4278239231,dimgray:4285098345,dodgerblue:4280193279,feldspar:4291924597,firebrick:4289864226,floralwhite:4294966e3,forestgreen:4280453922,fuchsia:4294902015,gainsboro:4292664540,ghostwhite:4294506751,gold:4294956800,goldenrod:4292519200,gray:4286611584,green:4278222848,greenyellow:4289593135,honeydew:4293984240,hotpink:4294928820,"indianred ":4291648604,"indigo ":4283105410,ivory:4294967280,khaki:4293977740,lavender:4293322490,lavenderblush:4294963445,lawngreen:4286381056,lemonchiffon:4294965965,lightblue:4289583334,lightcoral:4293951616,lightcyan:4292935679,lightgoldenrodyellow:4294638290,lightgrey:4292072403,lightgreen:4287688336,lightpink:4294948545,lightsalmon:4294942842,lightseagreen:4280332970,lightskyblue:4287090426,lightslateblue:4286869759,lightslategray:4286023833,lightsteelblue:4289774814,lightyellow:4294967264,lime:4278255360,limegreen:4281519410,linen:4294635750,magenta:4294902015,maroon:4286578688,mediumaquamarine:4284927402,mediumblue:4278190285,mediumorchid:4290401747,mediumpurple:4287852760,mediumseagreen:4282168177,mediumslateblue:4286277870,mediumspringgreen:4278254234,mediumturquoise:4282962380,mediumvioletred:4291237253,midnightblue:4279834992,mintcream:4294311930,mistyrose:4294960353,moccasin:4294960309,navajowhite:4294958765,navy:4278190208,oldlace:4294833638,olive:4286611456,olivedrab:4285238819,orange:4294944e3,orangered:4294919424,orchid:4292505814,palegoldenrod:4293847210,palegreen:4288215960,paleturquoise:4289720046,palevioletred:4292374675,papayawhip:4294963157,peachpuff:4294957753,peru:4291659071,pink:4294951115,plum:4292714717,powderblue:4289781990,purple:4286578816,red:4294901760,rosybrown:4290547599,royalblue:4282477025,saddlebrown:4287317267,salmon:4294606962,sandybrown:4294222944,seagreen:4281240407,seashell:4294964718,sienna:4288696877,silver:4290822336,skyblue:4287090411,slateblue:4285160141,slategray:4285563024,snow:4294966010,springgreen:4278255487,steelblue:4282811060,tan:4291998860,teal:4278222976,thistle:4292394968,tomato:4294927175,turquoise:4282441936,violet:4293821166,violetred:4291829904,wheat:4294303411,white:4294967295,whitesmoke:4294309365,yellow:4294967040,yellowgreen:4288335154,transparent:16777215},C=S,e.ExcelColorHelper=C,j.w=function(e){return"/OADate("+e+")/"},j.bte=function(e){var t;return"string"==typeof e&&"/OADate("===e.substr(0,8)&&(t=parseFloat(e.substr(8,e.length-8-1-1)),isNaN(t)||(e=t)),e},j.o0=function(e){return e!==b&&e!==m&&(e="number"!=typeof e&&"string"!=typeof e?e:new Date(e))instanceof Date?(1440*e.getTime()+3181192704e6-864e5*E(e))/124416e6:0},j.Y0=function(e){var t,n,r,t,e,r,i,a,o,e,t=e-25569,n,r=0<=t?1:-1,t=E(new Date(864e5*t)),e=(864e5*e*1440+r-3181192704e6+864e5*t)/1440,r=new Date(e),i=0<=t?1:-1,a,o=E(new Date(e+36e5*i));if(t!==o)if(e=new Date(e+60*(o-t)*1e3),o<t){if(-1==i||o===E(r))return e=999===e.getMilliseconds()?new Date(e.valueOf()+1):e}else if(t<o&&(1==i||o===E(r)))return e=999===e.getMilliseconds()?new Date(e.valueOf()+1):e;return r=999===r.getMilliseconds()?new Date(r.valueOf()+1):r},j.y=function(e){var t,n,r,i,a,o,s;if(!e||" "===e)return!1;if(0===e.length)return!1;if(-1!==(e=(e=(e=(e=e.toUpperCase()).replace(/(\[.*\])+/g," ")).replace(/"[^"]*"/g," ")).replace(/(\*.|_.|\\.)+/g," ")).indexOf("GENERAL"))return!1;for(r=!(t=-1),i=null,a=n=0;a<e.length;a++){if("["===(o=e[a]))for(;o=e[a],++a<e.length&&"]"!==o;);if("Y"===o||"D"===o||"M"===o||"H"===o||"S"===o||"A"===o)r?n++:(0===a||0<e.length&&"\\"!==e[a-1])&&(r=!0,t=a,n=1);else{if(r=!1," "===o&&i)return!0;0!==n&&(s=e.substring(t,t+n),t=a,n=0,i=(i===m||i)&&j.Qte(s))}}return 0!==n&&a===e.length&&(s=e.substring(t,t+n),i=(i===m||i)&&j.Qte(s)),!!i},j.Qte=function(e){var t,n,r,i,a,o,s,f,c;if(h.StringEx.Xi(e))return!1;for(t=[],n="",r=0,i=e.length;r<i;r++)a=e[r],-1===n.indexOf(a)&&(t.push({key:a,count:e.match(new RegExp(a,"g")).length}),n+=a);for(o={Y:4,D:4,M:5,H:2,S:2,A:4},r=0,s=t.length;r<s;r++){if((c=o[(f=t[r]).key])===b)return!1;if(f.count>c)return!1}return!0},e.ExcelDateTimeHelper=j,_.toVerticalAlignment=function(e){switch(e){case 0:return 0;case 1:return 1;default:return 2}},_.toHorizontalAlignment=function(e){switch(e){case 0:return 3;case 1:return 0;case 6:return 4;case 2:return 1;case 3:return 2;case 7:return 5;default:return 3}},_.toExcelHorizontalAlignment=function(e){switch(e){case 1:return 2;case 0:return 1;case 2:return 3;case 3:return 0;case 4:return 6;case 5:return 7;default:return 0}},_.ene=function(){return _.tne=_.tne?_.tne:{}},_.splitFontString=function(e){var t,n,r,i,a;if(h.StringEx.Ji(e))return[];for(t=[],n="",r=0,i=(e=e.trim()).length;r<i;r++)if(" "===(a=e[r])||"/"===a)t.push(n),n="","/"===a&&(n+="/");else if("'"===a||'"'===a)for(r++;e[r]!==a&&r<i;)n+=e[r],r++;else n+=a;return 0<n.length&&t.push(n),t},_.fromHtmlFont=function(e){var t,n,r,i,a,o,s,f,c,u,u,c,l,d;if(!h.StringEx.Ji(e)){if(t={},(n=_.ene())[e])return n[e];if(0!==(r=_.splitFontString(e)).length){for(i=0,s=o=a=!1;i<r.length;){if("normal"!==(f=r[i].toLowerCase()))if(a||"italic"!==f&&"oblique"!==f&&"inherit"!==f)if(o||"small-caps"!==f)if(s||"bold"!==f&&"bolder"!==f&&"lighter"!==f&&"100"!==f&&"200"!==f&&"300"!==f&&"400"!==f&&"500"!==f&&"600"!==f&&"700"!==f&&"800"!==f&&"900"!==f&&"inherit"!==f){if("/"===f.substring(0,1)){i++;break}if("xx-small"===f||"x-small"===f||"small"===f||"medium"===f||"large"===f||"x-large"===f||"xx-large"===f||-1!==f.indexOf("px")||-1!==f.indexOf("pt"))break}else s=!0,"bolder"===f||700<=parseInt(f,10)?t.fontWeight=p:t.fontWeight="lighter"===f?"ExtraLight":f;else o=!0,t.fontVariant=f;else a=!0,t.fontStyle=f="oblique"===f?y:f;if(i++,a&&o&&s)break}if(i<r.length&&("xx-small"===(c=r[i].toLowerCase())||"x-small"===c||"small"===c||"medium"===c||"large"===c||"x-large"===c||"xx-large"===c?(u=10,"xx-small"===c||"x-small"===c?u=6:"small"===c?u=8:"large"===c?u=14:"x-large"===c?u=18:"xx-large"===c&&(u=22),t.fontSize=u):(u=void 0,-1!==c.indexOf("px")?u=parseFloat(c):-1!==c.indexOf("pt")&&(c=parseFloat(c),isNaN(c)||(u=h.SJSColumnWidthHelper.pointToPixel(c,4))),isNaN(u)||(t.fontSize=u)),i++),i<r.length&&"/"===(l=r[i].toLowerCase()).substring(0,1)&&i++,i<r.length){for(d=r[i],i++;i<r.length;i++)d=d+" "+r[i];t.fontFamily=d}return n[e]=t}}},_.fromRichTextStyle=function(e){var t,n,r,t,r;if(!v(e))return t=a,n={},e.font&&((r=_.fromHtmlFont(e.font)).fontFamily&&(t=h.mt.r1(r.fontFamily)),h.StringEx.Ji(t)&&(t=a),n.fontFamily=t,r.fontSize&&(n.fontSize=Math.round(i(r.fontSize))),r.fontStyle===y&&(n.isItalic=!0),r.fontWeight===p)&&(n.isBold=!0),e.foreColor&&(C.isThemeColor(e.foreColor)?n.foreColor=C.getExcelThemeColor(e.foreColor):(t=C.fromHtmlColor(e.foreColor),t=(r=C.mixTranslucentColor(C.fromArgb(16777215),C.fromArgb(t))).a*Math.pow(16,6)+r.r*Math.pow(16,4)+r.g*Math.pow(16,2)+r.b,n.foreColor=new I(2,t,0))),e.themeFont&&(e.themeFont.toUpperCase()==="Headings".toUpperCase()?n.fontScheme=1:e.themeFont.toUpperCase()==="Body".toUpperCase()&&(n.fontScheme=2)),1==(1&e.textDecoration)&&(n.underLineStyle=1),8==(8&e.textDecoration)&&(n.underLineStyle=2),n.isStrikeOut=2==(2&e.textDecoration),n.charSetIndex=e.charSetIndex,n.isCondense=e.isCondense,n.isExtend=e.isExtend,n.fontFamilySet=e.fontFamily,n.isOutlineStyle=e.isOutlineStyle,n.isShadowStyle=e.isShadowStyle,n.vertAlign=e.vertAlign,n},_.tne=null,e.ConverterHelper=_,D.prototype.equals=function(e){var t,n,t=this;return t===e||!!e&&(n=t.isBold===e.isBold&&t.isItalic===e.isItalic&&this.isOutlineStyle===e.isOutlineStyle&&this.isShadowStyle===e.isShadowStyle&&this.isStrikeOut===e.isStrikeOut&&this.fontName===e.fontName&&this.fontFamily===e.fontFamily&&this.fontSize===e.fontSize&&this.charSetIndex===e.charSetIndex&&this.underLineStyle===e.underLineStyle&&this.vertAlign===e.vertAlign&&this.fontScheme===e.fontScheme)&&(!t.fontColor&&!e.fontColor||!(!t.fontColor&&e.fontColor||t.fontColor&&!e.fontColor)&&t.fontColor.equals(e.fontColor))},D.prototype.clone=function(){var e,t,e=this,t=new D(e.fontName,e.fontColor,e.fontFamily,e.isBold,e.isItalic,e.fontSize);return t.isAutoColor=e.isAutoColor,t.isOutlineStyle=e.isOutlineStyle,t.isShadowStyle=e.isShadowStyle,t.isStrikeOut=e.isStrikeOut,t.fontScheme=e.fontScheme,t.charSetIndex=e.charSetIndex,t.underLineStyle=e.underLineStyle,t.vertAlign=e.vertAlign,t},D.prototype.Default=function(){var e=this;return e.Hte||(e.Hte=new D,e.Hte.fontSize=11,e.Hte.fontFamily=2,e.Hte.fontColor=new I(1,0,0),e.Hte.fontName="Calibri",e.Hte.charSetIndex=0),e.Hte},D.prototype.compose=function(e){var t=this;t.fontColor===b&&(t.fontColor=e.fontColor),t.fontName===b&&(t.fontName=e.fontName),t.fontFamily===b&&(t.fontFamily=e.fontFamily),!1===t.isAutoColor&&(t.isAutoColor=e.isAutoColor),t.isBold===b&&(t.isBold=e.isBold),t.isItalic===b&&(t.isItalic=e.isItalic),!1===t.isOutlineStyle&&(t.isOutlineStyle=e.isOutlineStyle),!1===t.isShadowStyle&&(t.isShadowStyle=e.isShadowStyle),!1===t.isStrikeOut&&(t.isStrikeOut=e.isStrikeOut),0===t.fontScheme&&(t.fontScheme=e.fontScheme),11===t.fontSize&&(t.fontSize=e.fontSize),0===t.charSetIndex&&(t.charSetIndex=e.charSetIndex),0===t.underLineStyle&&(t.underLineStyle=e.underLineStyle),0===t.vertAlign&&(t.vertAlign=e.vertAlign),null===t.Hte&&(t.Hte=e.Hte)},n=D,e.ExcelFont=n,O.parseSJSStyleIdentifiers=function(e,n){e&&e.split(",").forEach(function(e){var e=e.split(":"),t=e[0],e=e[1];n(t,e)})},O.parseSJSComplexStyleIdentifier=function(e,n){e&&e.split(",").forEach(function(e){var e=O.splitObjectValue(e),t=e[0],e=e[1];n(t,e)})},O.splitObjectValue=function(e){var t=e.indexOf(":");return 1<=t?[e.substring(0,t),e.substring(t+1,e.length)]:[e]},O.convertColors=function(e){var o=[];return e.forEach(function(e){var t,n,n,r,i,a,r;C.isThemeColor(e)?t=C.getExcelThemeColor(e):e&&(n=C.fromHtmlColor(e),255!==(n=C.mixTranslucentColor(C.fromArgb(16777215),C.fromArgb(n))).a&&(r=C.$te,i=Math.round(r.r-n.a+n.a/255*n.r),a=Math.round(r.g-n.a+n.a/255*n.g),r=Math.round(r.b-n.a+n.a/255*n.b),n=new g(255,i,a,r)),e=n.a*Math.pow(16,6)+n.r*Math.pow(16,4)+n.g*Math.pow(16,2)+n.b,t=new I(2,e,0)),null===e&&(t=new I).isAutoColor(!0),o.push(t)}),o},O.getExcelFontSize=function(e){var e,t,e,n,e=h.SJSColumnWidthHelper.pixelToPoint(e),t=.05,e=Math.round(1e3*e)/1e3,n;return Math.round(e%t*1e3)/1e3<.025?Math.floor(e/t)*t:Math.ceil(e/t)*t},O.getFont=function(e,o,s,f,c,u,l){var d;if(e!==b)return d=new n,O.parseSJSStyleIdentifiers(e,function(e,t){var n,n,n,r,r,r,i,a;switch(e){case"i":(n=o[t])!==b&&(n!==m&&("italic"===n||/oblique/.test(n))?d.isItalic=!0:d.isItalic=!1);break;case"b":(n=s[t])!==b&&(d.isBold=n!==m&&("bold"===n||"bolder"===n||"700"===n||"800"===n||"900"===n));break;case"s":if((n=f[t])!==b&&n!==m){if("xx-small"===(n=n.toLowerCase())||"x-small"===n||"small"===n||"medium"===n||"large"===n||"x-large"===n||"xx-large"===n)r=10,"xx-small"===n||"x-small"===n?r=6:"small"===n?r=8:"large"===n?r=14:"x-large"===n?r=18:"xx-large"===n&&(r=22),n=r;else if(-1!==n.indexOf("px")?(r=parseFloat(n),isNaN(r)||(n=h.SJSColumnWidthHelper.pixelToPoint(r))):-1!==n.indexOf("pt")&&(n=parseFloat(n)),isNaN(n))return;r=.05,i=Math.round(1e3*n)/1e3,n=(a=Math.round(i%r*1e3)/1e3)<.025?Math.floor(i/r)*r:Math.ceil(i/r)*r,d.fontSize=n}break;case"n":d.fontName=c[t];break;case"v":d.vertAlign=t;break;case"d":1==(1&t)&&(d.underLineStyle=1),8==(8&t)&&(d.underLineStyle=2),d.isStrikeOut=2==(2&t);break;case"c":d.fontColor=u[t];break;case"t":t!==b&&((t=l[t]).toUpperCase()==="Headings".toUpperCase()?d.fontScheme=1:t.toUpperCase()==="Body".toUpperCase()?d.fontScheme=2:t===m&&(d.fontScheme=0))}}),d},O.getNumFmts=function(e,o){var t=e&&e.numFmts,s=e&&e.formatStrings,f=[],c={};return t&&t.forEach(function(e,t){var n,r,e,e,i,a,e;e!==b&&(O.parseSJSComplexStyleIdentifier(e,function(e,t){"f"===e?n=s[t]:"a"===e&&(r=s[t])}),e=n||r)&&(e=JSON.parse(e),a=(i={}).numFmtId=e.n,(e=e.c)&&(i.formatCode=h.mt.vo(e.toString())),c[t]=i.numFmtId,o||49<a)&&f.push(i)}),{numberFormats:f,numberFormatMap:c}},O.getFills=function(e,i,a){var o=[];return e&&e.fills.forEach(function(e){var t,n,r;e!==b&&(t={},isNaN(+e)?((r=(n=JSON.parse(e)).s)&&r.forEach(function(e){e.c=i[e.c]}),n.p!==b&&(n.fgColor=i[n.p]),n.b!==b&&(n.bgColor=i[n.b]),n.patternType=n.t,t=n):(a&&(t.bgColor=i[e]),t.fgColor=i[e],t.patternType=1),o.push(t))}),o},O.getFonts=function(e,t,n){var r,i,a,o,s,f,c,u,l,d,r=e.fontStyles,i=e.fontWeights,a=e.fontSizes,o=e.fontFamilies,s=e.fonts,f=[];if(s)for(c=[],o&&o.forEach(function(e){return(e=e&&(-1!==e.indexOf(",")?e.split(",")[0]:e))&&"'"===e[0]&&"'"===e[e.length-1]&&(e=e.substring(1,e.length-1)),c.push(e)}),u=(u=e.fontCache)||(e.fontCache={}),l=0,d=s.length;l<d;l++)s[l]&&(u[s[l]]?f.push(u[s[l]]):f.push(O.getFont(s[l],r,i,a,c,t,n)));return f},O.getBorders=function(e,t){var n=e&&e.borders,e=e&&e.borderItems,r=[],i=[];return e&&e.forEach(function(e){var e;e!==b&&(e=JSON.parse(e),v(e.c)||(e.c=t[e.c]),r.push(e))}),n&&n.forEach(function(e){var n;e!==b&&(n={},O.parseSJSComplexStyleIdentifier(e,function(e,t){switch(e){case"l":n.left=r[t];break;case"r":n.right=r[t];break;case"t":n.top=r[t];break;case"b":n.bottom=r[t];break;case"u":n.diagonalUp=r[t];break;case"d":n.diagonalDown=r[t];break;case"v":n.vertical=r[t];break;case"h":n.horizontal=r[t]}}),i.push(n))}),i},O.getAlignments=function(e){var r,i,t,n,a,r=e&&e.alignments,i=[];if(r)for(t=function(e,t){var e,n,e=r[e];if(!e)return"continue";n={},O.parseSJSStyleIdentifiers(e,function(e,t){n[e]=isNaN(+t)?t:+t}),i.push(n)},n=0,a=r.length;n<a;n++)t(n,a);return i},O.getProtections=function(e){var r,i,t,n,a,r=e&&e.protections,i=[];if(r)for(t=function(e,t){var e,n,e=r[e];if(!e)return"continue";n={},O.parseSJSStyleIdentifiers(e,function(e,t){n[e]=isNaN(+t)?t:+t}),i.push(n)},n=0,a=r.length;n<a;n++)t(n,a);return i},O.getCellXfs=function(e){var t=[];return e.forEach(function(e){var n;v(e)||(n={},O.parseSJSStyleIdentifiers(e,function(e,t){n[e]=isNaN(+t)?t:+t}),t.push(n))}),t},O.getCellStyles=function(e){var n,r,t,n=e.namedStylesMap,r=[],t;return Object.keys(n).forEach(function(e){var t=n[e];e=h.mt.vo(e),r.push({name:e,xfId:t,builtinId:O.builtInNamedStylesMap[e.toUpperCase()]})}),r},O.writeNumFmt=function(e,t){e.writeLeafElement("numFmt",function(){e.writeAttributeString("numFmtId",t.numFmtId),e.writeAttributeString("formatCode",t.formatCode)})},O.writeFont=function(t,n,r){n!==b&&t.writeElement("font",b,function(){var e;n.isBold?t.writeLeafElement("b"):!1===n.isBold&&t.writeLeafElement("b",function(){t.writeAttributeString("val",0)}),n.isItalic?t.writeLeafElement("i"):!1===n.isItalic&&t.writeLeafElement("i",function(){t.writeAttributeString("val",0)}),n.isStrikeOut&&t.writeLeafElement("strike"),0!==n.underLineStyle&&(1===n.underLineStyle?t.writeLeafElement("u"):n.underLineStyle!==b&&t.writeLeafElement("u",function(){t.writeAttributeString("val",s[n.underLineStyle])})),0===n.fontSize&&-1===n.fontSize||0<(e=n.fontSize)&&t.writeLeafElement("sz",function(){t.writeAttributeString("val",e)}),void 0!==n.fontColor&&n.fontColor!==I.EmptyColor&&R(t,"color",n.fontColor),n.vertAlign&&0!==n.vertAlign&&t.writeLeafElement("vertAlign",function(){t.writeAttributeString("val",c[n.vertAlign])}),!r&&v(n.fontName)&&(n.fontName=a),h.StringEx.Xi(n.fontName)||t.writeLeafElement("name",function(){var e=h.mt.vo(n.fontName);"'"===e[0]&&(e=e.slice(1,e.length-1)),t.writeAttributeString("val",e)}),v(n.fontFamily)||0===n.fontFamily||t.writeLeafElement("family",function(){t.writeAttributeString("val",n.fontFamily.toString())}),0<n.charSetIndex&&t.writeLeafElement("charset",function(){t.writeAttributeString("val",n.charSetIndex.toString())}),n.isShadowStyle&&t.writeLeafElement("shadow",function(){t.writeAttributeString("val","1")}),n.isOutlineStyle&&t.writeLeafElement("outline",function(){t.writeAttributeString("val","1")}),0!==n.fontScheme&&t.writeLeafElement("scheme",function(){t.writeAttributeString("val",o[n.fontScheme])})})},O.writeFill=function(n,r){n.writeElement("fill",b,function(){r.fgColor||r.bgColor||r.s?r.s?n.writeElement("gradientFill",function(){"p"===r.t&&n.writeAttributeString("type","path");var t={d:"degree",l:"left",r:"right",a:"top",c:"bottom"};Object.keys(t).forEach(function(e){v(r[e])||n.writeAttributeString(t[e],r[e])})},function(){for(var e,t,e=function(e){n.writeElement("stop",function(){n.writeAttributeString("position",r.s[e].p)},function(){R(n,"color",r.s[e].c)})},t=0;t<r.s.length;t++)e(t)}):n.writeElement("patternFill",function(){r.patternType!==b&&n.writeAttributeString("patternType",u[r.patternType])},function(){r.fgColor&&R(n,"fgColor",r.fgColor),r.bgColor&&R(n,"bgColor",r.bgColor)}):n.writeLeafElement("patternFill",function(){n.writeAttributeString("patternType",u[r.patternType])})})},O.writeBorder=function(t,n,r){t.writeElement("border",function(){n.diagonalDown&&n.diagonalDown.c&&!v(n.diagonalDown.s)&&t.writeAttributeString("diagonalDown",1),n.diagonalUp&&n.diagonalUp.c&&!v(n.diagonalUp.s)&&t.writeAttributeString("diagonalUp",1)},function(){r&&!n.left||O.writeBorderSide(t,"left",n.left),r&&!n.right||O.writeBorderSide(t,"right",n.right),r&&!n.top||O.writeBorderSide(t,"top",n.top),r&&!n.bottom||O.writeBorderSide(t,"bottom",n.bottom),n.vertical&&O.writeBorderSide(t,"vertical",n.vertical),n.horizontal&&O.writeBorderSide(t,"horizontal",n.horizontal);var e=!1;n.diagonalUp&&n.diagonalUp.c&&!v(n.diagonalUp.s)&&(O.writeBorderSide(t,"diagonal",n.diagonalUp),e=!0),n.diagonalDown&&n.diagonalDown.c&&!v(n.diagonalDown.s)&&!e&&O.writeBorderSide(t,"diagonal",n.diagonalDown)})},O.writeAlignment=function(e,t,n){e.writeLeafElement("alignment",function(){v(t.h)?t.h===b&&0<t.i&&e.writeAttributeString("horizontal",d[1]):e.writeAttributeString("horizontal",d[r[t.h]]),v(t.v)||e.writeAttributeString("vertical",l[t.v]),t.va&&1===t.va?e.writeAttributeString("textRotation",255):t.x&&0!==t.x?e.writeAttributeString("textRotation",t.x<0?90-t.x:t.x):!n||0!==t.va&&0!==t.x||e.writeAttributeString("textRotation","0"),t.readingOrder&&0!==t.readingOrder&&e.writeAttributeString("readingOrder",w[t.readingOrder]),t.w?e.writeAttributeString("wrapText","1"):n&&0===t.w&&e.writeAttributeString("wrapText","0"),t.s?e.writeAttributeString("shrinkToFit","1"):n&&0===t.s&&e.writeAttributeString("shrinkToFit","0"),t.isJustfyLastLine&&e.writeAttributeString("justifyLastLine","1"),t.i&&0<t.i?e.writeAttributeString("indent",t.i):n&&0===t.i&&e.writeAttributeString("indent","0")})},O.writeProtection=function(e,t){e.writeLeafElement("protection",function(){t.l||e.writeAttributeString("locked","0"),t.isHidden&&e.writeAttributeString("hidden","1")})},O.writeBorderSide=function(e,t,n){n!==b&&(0!==n.s||n.c?e.writeElement(t,function(){n.s&&0!==n.s&&e.writeAttributeString("style",h.ExcelBorderStyle[n.s])},function(){n.c&&R(e,"color",n.c)}):e.writeLeafElement(t))},O.writeXFs=function(o,s,e,f,c){o.writeElement(e,function(){o.writeAttributeString("count",s.length)},function(){for(var e,t,n,e=function(e,t){var n=s[e],r=!v(n.h)&&3!==n.h||!v(n.v)&&2!==n.v||n.x&&0!==n.x||n.readingOrder&&0!==n.readingOrder||n.w||n.s||n.isJustfyLastLine||n.i&&0<n.i,i=n.i&&n.isHidden||n.l!==b&&!n.l,a;o[r||i?"writeElement":"writeLeafElement"]("xf",function(){o.writeAttributeString("numFmtId",c&&c[n.j]||0),o.writeAttributeString("fontId",n.f||0),o.writeAttributeString("fillId",n.c||0),o.writeAttributeString("borderId",n.b||0),f||(n.n!==b?o.writeAttributeString("xfId",n.n):o.writeAttributeString("xfId","0")),v(n.y)||o.writeAttributeString("applyFont",n.y),v(n.z)||o.writeAttributeString("applyFill",n.z),v(n.e)||o.writeAttributeString("applyBorder",n.e),v(n.g)||o.writeAttributeString("applyNumberFormat",n.g),v(n.r)||o.writeAttributeString("applyAlignment",n.r),v(n.u)||o.writeAttributeString("applyProtection",n.u),v(n.q)||o.writeAttributeString("quotePrefix",n.q)},function(){r&&O.writeAlignment(o,n),i&&O.writeProtection(o,n)})},t=0,n=s.length;t<n;t++)e(t,n)})},O.writeCellStyles=function(r,i){r.writeElement("cellStyles",function(){r.writeAttributeString("count",i.length)},function(){for(var e,t,n,e=function(e,t){var n=i[e];r.writeLeafElement("cellStyle",function(){r.writeAttributeString("name",n.name),r.writeAttributeString("xfId",n.xfId),n.builtinId!==b&&r.writeAttributeString("builtinId",n.builtinId)})},t=0,n=i.length;t<n;t++)e(t,n)})},O.styleIdentifiersToSpreadString=function(e,r,i,a,o,s,f,c,u,l,d,h){var m={};return O.parseSJSStyleIdentifiers(e,function(e,t){switch(e){case"j":m.formatter=r[t];break;case"f":O.parseSJSStyleIdentifiers(a[t],function(e,t){K(m,e,t,f,c,u,l,d,h)});break;case"c":var n=i[t];isNaN(n)?m.backColor=n:m.backColor=d[n];break;case"b":O.parseSJSStyleIdentifiers(o[t],function(e,t){X(m,e,t,s)});break;case"h":m.hAlign=t;break;case"v":m.vAlign=t;break;case"x":m.textRotation=t;break;case"i":m.textIndent=t;break;case"va":m.isVerticalText=!!t;break;case"s":m.shrinkToFit=!!t;break;case"w":m.wordWrap=!!t;break;case"l":m.locked=!!t}}),m},O.writeDxf=function(n,c,u,l,d,h,m,p,e){n.writeElement(e?"x14:dxf":"dxf",function(){var r,i,a,o,s,f,e,t,e;c.split(",").forEach(function(e){var e=e.split(":"),t=e[0],n=e[1];switch(t){case"a":s=m[n];break;case"j":r=u[n];break;case"c":a=l[n];break;case"f":i=d[n];break;case"b":o=h[n];break;case"pr":f=p[n]}}),v(i)||O.writeFont(n,i,!0),v(r)||O.writeNumFmt(n,r),v(a)||O.writeFill(n,a),v(o)||O.writeBorder(n,o),v(s)||(t=!v(s.h)&&3!==s.h||!v(s.v)&&2!==s.v||!v(s.x)||s.readingOrder&&0!==s.readingOrder||!v(s.w)||!v(s.s)||!v(s.va)||s.isJustfyLastLine||!v(s.i))&&O.writeAlignment(n,s,!0),!v(f)&&(f.i&&f.isHidden||f.l!==b&&!f.l)&&O.writeProtection(n,f)})},O.builtInNamedStylesMap={"20% - ACCENT1":30,"20% - ACCENT2":34,"20% - ACCENT3":38,"20% - ACCENT4":42,"20% - ACCENT5":46,"20% - ACCENT6":50,"40% - ACCENT1":31,"40% - ACCENT2":35,"40% - ACCENT3":39,"40% - ACCENT4":43,"40% - ACCENT5":47,"40% - ACCENT6":51,"60% - ACCENT1":32,"60% - ACCENT2":36,"60% - ACCENT3":40,"60% - ACCENT4":44,"60% - ACCENT5":48,"60% - ACCENT6":52,ACCENT1:29,ACCENT2:33,ACCENT3:37,ACCENT4:41,ACCENT5:45,ACCENT6:49,BAD:27,CALCULATION:22,"CHECK CELL":23,COMMA:3,"COMMA [0]":6,CURRENCY:4,"CURRENCY [0]":7,"EXPLANATORY TEXT":53,GOOD:26,"HEADING 1":16,"HEADING 2":17,"HEADING 3":18,"HEADING 4":19,INPUT:20,"LINKED CELL":24,NEUTRAL:28,NORMAL:0,NOTE:10,OUTPUT:21,PERCENT:5,TITLE:15,TOTAL:25,"WARNING TEXT":11},e.SJSStyleHelper=O,T.prototype.equals=function(e){var t=this;return t===e||!!e&&t.numberFormatId===e.numberFormatId&&t.numberFormatCode===e.numberFormatCode},T.prototype.compose=function(e){var t=this;t.numberFormatId===b&&(t.numberFormatId=e.numberFormatId),t.numberFormatCode===b&&(t.numberFormatCode=e.numberFormatCode)},T.prototype.clone=function(){var e=this;return new T(e.numberFormatId,e.numberFormatCode)},e.ExcelNumberFormat=T,z.prototype.Vee=function(e){if(!e)return"";++this.relationFiles.count;var t=h.RelationshipConstants.zs+this.relationFiles.count;return this.relationFiles[t]=e,t},z.prototype.ree=function(e){var t,n,r,i,a,o,o,s,o;if(e&&(t=this.nne(this.fileName,e)))for(n=0,r=t.length;n<r;n++)a=(i=t[n]).target,o=i.type.substring(i.type.length-(o="hyperlink").length,i.type.length)===o,s=i.type===h.RelationshipConstants.fc,(o=new z(a=o||s||v(a)||""===a?a:"/"!==a[0]?h.Util.eo(this.fileName,a):a.substr(1),i.type)).targetMode=i.targetMode,o.ree(e),this.relationFiles[i.id]||this.relationFiles.count++,this.relationFiles[i.id]=o},z.prototype.nne=function(e,t){var e;return null!==e&&t&&(e=this.rne(e))?this.ine(t[e]):null},z.prototype.rne=function(e){return null==e?"":0===e.length?h.XFileConstants.Eo+"/."+h.XFileConstants.Ho:e.substring("/"===e.charAt(0)?1:0,e.lastIndexOf("/"))+"/"+h.XFileConstants.Eo+"/"+e.substring(e.lastIndexOf("/")+1)+"."+h.XFileConstants.Ho},z.prototype.oee=function(e){var t,n;if(this.relationFiles&&0!==this.relationFiles.count&&!h.StringEx.Ji(e))for(t in this.relationFiles)if("count"!==t&&(n=this.relationFiles[t]).fileType===e)return n;return null},z.prototype.Fee=function(e){var t,n,r;if(!this.relationFiles||0===this.relationFiles.count)return null;if(h.StringEx.Ji(e))return null;for(n in t=[],this.relationFiles)"count"!==n&&(r=this.relationFiles[n]).fileType===e&&t.push({id:n,file:r});return t},z.prototype.bee=function(e){return!this.relationFiles||0===this.relationFiles.count||h.StringEx.Xi(e)?null:this.relationFiles[e]},z.prototype.ine=function(e){var t,n,e,r,i,a,o,s;if(e){if(t=[],e=(n=(0,f.parseXmlToObject)(e)).Relationships)for(r=e.Relationship,i=0,a=(r=Array.isArray(r)?r:[r]).length;i<a;i++)(o=r[i])&&(s=new x,o.kSt.Id&&(s.id=o.kSt.Id),o.kSt.Target&&(s.target=o.kSt.Target),o.kSt.Type&&(s.type=o.kSt.Type),o.kSt.TargetMode&&(s.targetMode=o.kSt.TargetMode),t.push(s));return t}},e.XFile=z},"./dist/plugins/io/utils/file-loader.js":function(e,t,n){"use strict";var f,c,u,l,d,r,i;function a(e){var t=this;if(t.mle=e===d?1:e,typeof FileReader==r)throw new Error("The browser doesn't support FileReader!");t.nle=new FileReader}Object.defineProperty(t,"__esModule",{value:!0}),t.tle=void 0,f=n("./dist/plugins/io/utils/zip-utils.js"),c=n("./dist/plugins/io/utils/namespace/common.js"),u=n("./dist/plugins/io/loader.js"),l=n("./dist/plugins/io/crypto/encryption.js"),d=void 0,r="undefined",a.prototype.ane=function(e){(0,u.jte)(e)},a.prototype.hle=function(e,o,t,r,n){var s,n,i,n,a,e,s=this,n=(0,l.I1e)(e,null==n?void 0:n.password);if(n.success)e=n.data;else switch(n.data){case l.x1e.EmptyPassword:return void(0,u.F1e)(r);case l.x1e.WrongPassword:return void(0,u.C1e)(r);case l.x1e.UnsupportedAlgorithm:case l.x1e.DamagedFiles:return void(0,u.jte)(r)}i=(0,f.getZipUtilInstance)(),t=t||function(i){var a,e,t,n,a={};for(e in i)i[e]&&(t=void 0,t=".xml"===(n=e.substring(e.lastIndexOf(".")))||".rels"===n||".json"===n?"text":-1===e.indexOf("media/")?"binarystring":"base64",i[e].async(t).then(function(r){return function(e){var t,n,e;for(t in a[r]=e,i)if(a[t]===d||null===a[t])return;0===o&&(e=(n=new c.ule).ple(a))&&(a=e),s.lle(a)}}(e)).catch(function(){s.ane(r)}))},1===s.mle?i.loadAsync(e).then(function(){var e=i.files;t(e)}).catch(function(){s.ane(r)}):-1!==(a=e.indexOf(n="base64,"))&&(e=e.substring(a+n.length),i.loadAsync(e,{base64:!0}).then(function(){var e=i.files;t(e)}).catch(function(){s.ane(r)}))},a.prototype.rle=function(e,t,n){var r,i,a,o,e,r=this,i=(0,f.getZipUtilInstance)();1===r.mle?i.loadAsync(e).then(function(){t(i.files)}).catch(function(){r.ane(n)}):-1!==(o=e.indexOf(a="base64,"))&&(e=e.substring(o+a.length),i.loadAsync(e,{base64:!0}).then(function(){t(i.files)}).catch(function(){r.ane(n)}))},a.prototype.ele=function(e,t,n,r){var i,a,o,i=this;e&&e[t]&&(a=void 0,a=".xml"===(o=t.substring(t.lastIndexOf(".")))||".rels"===o?"text":-1===t.indexOf("media/")?"binarystring":"base64",e[t].async(a).then(function(e){e&&n(e)}).catch(function(){i.ane(r)}))},t.tle=a},"./dist/plugins/io/utils/jszip/index.js":function(e){var t;t=function(){return function i(a,o,s){function f(n,e){var t,r,r;if(!o[n]){if(!a[n]){if(t=void 0,c)return c(n,!0);throw(r=new Error("Cannot find module '"+n+"'")).code="MODULE_NOT_FOUND",r}r=o[n]={exports:{}},a[n][0].call(r.exports,function(e){var t;return f(a[n][1][e]||e)},r,r.exports,i,a,o,s)}return o[n].exports}for(var c=void 0,e=0;e<s.length;e++)f(s[e]);return f}({1:[function(e,t,n){"use strict";var d=e("./utils"),u=e("./support"),h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,r,i,a,o,r,s=[],f=0,c=e.length,u=c,l="string"!==d.getTypeOf(e);f<e.length;)u=c-f,r=l?(t=e[f++],n=f<c?e[f++]:0,f<c?e[f++]:0):(t=e.charCodeAt(f++),n=f<c?e.charCodeAt(f++):0,f<c?e.charCodeAt(f++):0),a=(3&t)<<4|n>>4,o=1<u?(15&n)<<2|r>>6:64,r=2<u?63&r:64,s.push(h.charAt(i=t>>2)+h.charAt(a)+h.charAt(o)+h.charAt(r));return s.join("")},n.decode=function(e){var t,n,r,i,i,a,o,s,f,c,f,o=0,s=0,f="data:";if(e.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");if(f=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4,e.charAt(e.length-1)===h.charAt(64)&&f--,e.charAt(e.length-2)===h.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=new(u.uint8array?Uint8Array:Array)(0|f);o<e.length;)t=h.indexOf(e.charAt(o++))<<2|(i=h.indexOf(e.charAt(o++)))>>4,n=(15&i)<<4|(i=h.indexOf(e.charAt(o++)))>>2,r=(3&i)<<6|(a=h.indexOf(e.charAt(o++))),c[s++]=t,64!==i&&(c[s++]=n),64!==a&&(c[s++]=r);return c}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){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){"use strict";var r,s,r=e("./utils"),s=function(){for(var e,t,n,r,t=[],n=0;n<256;n++){for(e=n,r=0;r<8;r++)e=1&e?3988292384^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,r){var i,a,o,i=s,a=0+n;for(e^=-1,o=0;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e}:function(e,t,n,r){var i,a,o,i=s,a=0+n;for(e^=-1,o=0;o<a;o++)e=e>>>8^i[255&(e^t.charCodeAt(o))];return-1^e})(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";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){"use strict";var r=null,r="undefined"!=typeof Promise?Promise:e("lie");t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),a=e("./utils"),o=e("./stream/GenericWorker"),s=r?"uint8array":"array";function f(e,t){o.call(this,"FlateWorker/"+e),this.one=null,this.sne=e,this.fne=t,this.meta={}}n.magic="\b\0",a.inherits(f,o),f.prototype.processChunk=function(e){this.meta=e.meta,null===this.one&&this.cne(),this.one.push(a.transformTo(s,e.data),!1)},f.prototype.flush=function(){o.prototype.flush.call(this),null===this.one&&this.cne(),this.one.push([],!0)},f.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.one=null},f.prototype.cne=function(){this.one=new i[this.sne]({raw:!0,level:this.fne.level||-1});var t=this;this.one.onData=function(e){t.push({data:e,meta:t.meta})}},n.compressWorker=function(e){return new f("Deflate",e)},n.uncompressWorker=function(){return new f("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function k(e,t){for(var n,r="",n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function r(e,t,n,r,i,a){var o,s,f,c,s,u,l,d,a,h,m,d,p,v,b,o,y,w,n,e,t,i,x,s,i,g,f=e.file,c=e.compression,s=a!==C.utf8encode,u=I.transformTo("string",a(f.name)),l=I.transformTo("string",C.utf8encode(f.name)),d=f.comment,a=I.transformTo("string",a(d)),h=I.transformTo("string",C.utf8encode(d)),m=l.length!==f.name.length,d=h.length!==d.length,p="",v="",b="",o=f.dir,y=f.date,w={crc32:0,compressedSize:0,uncompressedSize:0};return t&&!n||(w.crc32=e.crc32,w.compressedSize=e.compressedSize,w.uncompressedSize=e.uncompressedSize),n=0,t&&(n|=8),s||!m&&!d||(n|=2048),t=e=0,o&&(e|=16),"UNIX"===i?(t=798,e|=(s=f.unixPermissions,i=o,(65535&(s?s:i?16893:33204))<<16)):(t=20,e|=63&((x=f.dosPermissions)||0)),o=y.getUTCHours(),o=(o=((o<<=6)|y.getUTCMinutes())<<5)|y.getUTCSeconds()/2,s=y.getUTCFullYear()-1980,s=(s=((s<<=4)|y.getUTCMonth()+1)<<5)|y.getUTCDate(),m&&(v=k(1,1)+k(F(u),4)+l,p+="up"+k(v.length,2)+v),d&&(b=k(1,1)+k(F(a),4)+h,p+="uc"+k(b.length,2)+b),i="",i=(i=(i=(i=(i=(i=(i=(i=(i=(i+="\n\0")+k(n,2))+c.magic)+k(o,2))+k(s,2))+k(w.crc32,4))+k(w.compressedSize,4))+k(w.uncompressedSize,4))+k(u.length,2))+k(p.length,2),{fileRecord:A.LOCAL_FILE_HEADER+i+u+p,dirRecord:A.CENTRAL_FILE_HEADER+k(t,2)+i+k(a.length,2)+"\0\0\0\0"+k(e,4)+k(r,4)+u+p+a}}var I=e("../utils"),i=e("../stream/GenericWorker"),C=e("../utf8"),F=e("../crc32"),A=e("../signature");function a(e,t,n,r){i.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.une=[]}I.inherits(a,i),a.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this.une.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},a.prototype.openedSource=function(e){var t,e;this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name,(t=this.streamFiles&&!e.file.dir)?(e=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:e.fileRecord,meta:{percent:0}})):this.accumulate=!0},a.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=r(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),t;if(this.dirRecords.push(n.dirRecord),t)this.push({data:(t=e,A.DATA_DESCRIPTOR+k(t.crc32,4)+k(t.compressedSize,4)+k(t.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},a.prototype.flush=function(){for(var e,t,n,r,e=this.bytesWritten,t=0,i,n,e,r,a;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});n=this.bytesWritten-e,i=this.dirRecords.length,n=n,e=e,r=this.zipComment,a=this.encodeFileName,a=I.transformTo("string",a(r)),r=A.CENTRAL_DIRECTORY_END+"\0\0\0\0"+k(i,2)+k(i,2)+k(n,4)+k(e,4)+k(a.length,2)+a,this.push({data:r,meta:{percent:100}})},a.prototype.prepareNextSource=function(){this.previous=this.une.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},a.prototype.registerPrevious=function(e){this.une.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t.une.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this.une.length?(this.prepareNextSource(),!0):this.previous||this.une.length||this.generatedError?void 0:(this.end(),!0))},a.prototype.error=function(e){var t,n,t=this.une;if(!i.prototype.error.call(this,e))return!1;for(n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},a.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this.une,t=0;t<e.length;t++)e[t].lock()},t.exports=a},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var c=e("../compressions"),r=e("./ZipFileWorker");n.generateWorker=function(e,o,t){var s=new r(o.streamFiles,t,o.platform,o.encodeFileName),f=0;try{e.forEach(function(e,t){f++;var n=function(e,t){var e=e||t,t=c[e];if(t)return t;throw new Error(e+" is not a valid compression method !")}(t.options.compression,o.compression),r=t.options.compressionOptions||o.compressionOptions||{},i=t.dir,a=t.date;t.lne(n,r).withStreamInfo("file",{name:e,dir:i,date:a,comment:t.comment||"",unixPermissions:t.unixPermissions,dosPermissions:t.dosPermissions}).pipe(s)}),s.entriesCount=f}catch(e){s.error(e)}return s}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e,t,e=new r;for(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.7.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){"use strict";var r=e("./utils"),o=e("./external"),s=e("./utf8"),f=e("./zipEntries"),i=e("./stream/Crc32Probe"),c=e("./nodejsUtils");function u(r){return new o.Promise(function(e,t){var n=r.decompressed.getContentWorker().pipe(new i);n.on("error",function(e){t(e)}).on("end",function(){n.streamInfo.crc32!==r.decompressed.crc32?t(new Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}t.exports=function(e,i){var a=this;return i=r.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),c.isNode&&c.isStream(e)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,i.optimizedBinaryString,i.base64).then(function(e){var t=new f(i);return t.load(e),t}).then(function(e){var t,n,r,t=[o.Promise.resolve(e)],n=e.files;if(i.checkCRC32)for(r=0;r<n.length;r++)t.push(u(n[r]));return o.Promise.all(t)}).then(function(e){for(var e,t,n,r,e=e.shift(),t=e.files,n=0;n<t.length;n++)r=t[n],a.file(r.fileNameStr,r.decompressed,{binary:!0,optimizedBinaryString:!0,date:r.date,dir:r.dir,comment:r.fileCommentStr.length?r.fileCommentStr:null,unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions,createFolders:i.createFolders});return e.zipComment.length&&(a.comment=e.zipComment),a})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../stream/GenericWorker");function a(e,t){i.call(this,"Nodejs stream input adapter for "+e),this.dne=!1,this.hne(t)}r.inherits(a,i),a.prototype.hne=function(e){var t=this;(this.mne=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.dne=!0:t.end()})},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this.mne.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this.dne?this.end():this.mne.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var i=e("readable-stream").Readable;function r(e,t,n){i.call(this,t),this.pne=e;var r=this;e.on("data",function(e,t){r.push(e)||r.pne.pause(),n&&n(t)}).on("error",function(e){r.emit("error",e)}).on("end",function(){r.push(null)})}e("../utils").inherits(r,i),r.prototype._read=function(){this.pne.resume()},t.exports=r},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){"use strict";t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){var e;return Buffer.alloc?Buffer.alloc(e):((e=new Buffer(e)).fill(0),e)},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){"use strict";var i,o,s,a,f,c,u,l,d,h,m,p,v,r;function b(e,t,n){var r,i,a,r,i,n,i=o.getTypeOf(t),a=o.extend(n||{},f);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=p(e)),a.createFolders&&(r=m(e))&&v.call(this,r,!0),r="string"===i&&!1===a.binary&&!1===a.base64,n&&void 0!==n.binary||(a.binary=!r),(t instanceof c&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE"),i=null,i=t instanceof c||t instanceof s?t:d.isNode&&d.isStream(t)?new h(e,t):o.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64),n=new u(e,i,a),this.files[e]=n}function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}i=e("./utf8"),o=e("./utils"),s=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),f=e("./defaults"),c=e("./compressedObject"),u=e("./zipObject"),l=e("./generate"),d=e("./nodejsUtils"),h=e("./nodejs/NodejsStreamInputAdapter"),m=function(e){var t=(e="/"===e.slice(-1)?e.substring(0,e.length-1):e).lastIndexOf("/");return 0<t?e.substring(0,t):""},p=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},v=function(e,t){return t=void 0!==t?t:f.createFolders,e=p(e),this.files[e]||b.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},t.exports=r={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},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(n){var r=[];return this.forEach(function(e,t){n(e,t)&&r.push(t)}),r},file:function(e,t,n){var r,t;return 1!==arguments.length?(e=this.root+e,b.call(this,e,t,n),this):y(e)?(r=e,this.filter(function(e,t){return!t.dir&&r.test(e)})):(t=this.files[this.root+e])&&!t.dir?t:null},folder:function(n){var e,e,t;return n?y(n)?this.filter(function(e,t){return t.dir&&n.test(e)}):(e=this.root+n,e=v.call(this,e),(t=this.clone()).root=e.name,t):this},remove:function(n){var e,t,r;if(n=this.root+n,(e=this.files[n])||("/"!==n.slice(-1)&&(n+="/"),e=this.files[n]),e&&!e.dir)delete this.files[n];else for(t=this.filter(function(e,t){return t.name.slice(0,n.length)===n}),r=0;r<t.length;r++)delete this.files[t[r].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n,r,n={};try{if((n=o.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 new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS"),r=n.comment||this.comment||"",t=l.generateWorker(this,n,r)}catch(e){(t=new s("error")).error(e)}return new a(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){"use strict";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),e=e.charCodeAt(3),i=this.readData(4);return t===i[0]&&n===i[1]&&r===i[2]&&e===i[3]},i.prototype.readData=function(e){var t;return this.checkOffset(e),0===e?[]:(t=this.data.slice(this.zero+this.index,this.zero+this.index+e),this.index+=e,t)},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";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 new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},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(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},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){"use strict";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},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";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){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){var t;return this.checkOffset(e),0===e?new Uint8Array(0):(t=this.data.subarray(this.zero+this.index,this.zero+this.index+e),this.index+=e,t)},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../support"),a=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),f=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new f(r.transformTo("uint8array",e)):new a(r.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";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){"use strict";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){"use strict";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){"use strict";var r=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.prototype.processChunk=function(e){var t;e&&(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){"use strict";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.yne=!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.bne()},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.yne&&this.dataIsReady&&(this.yne=!0,r.delay(this.bne,[],this)),!0)},a.prototype.bne=function(){this.yne=!1,this.isPaused||this.isFinished||(this.KGn(),this.isFinished)||(r.delay(this.bne,[],this),this.yne=!0)},a.prototype.KGn=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){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this.aT={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.aT[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this.aT=[]},emit:function(e,t){if(this.aT[e])for(var n=0;n<this.aT[e].length;n++)this.aT[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){var e;return!(!this.isPaused||this.isFinished||(e=this.isPaused=!1,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)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,t,n){"use strict";var f=e("../utils"),i=e("./ConvertWorker"),a=e("./GenericWorker"),c=e("../base64"),r=e("../support"),o=e("../external"),s=null;if(r.nodestream)try{s=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function u(e,s){return new o.Promise(function(t,n){var r=[],i=e.wne,a=e.xne,o=e.gne;e.on("data",function(e,t){r.push(e),s&&s(t)}).on("error",function(e){r=[],n(e)}).on("end",function(){try{var e=function(e,t,n){switch(e){case"blob":return f.newBlob(f.transformTo("arraybuffer",t),n);case"base64":return c.encode(t);default:return f.transformTo(e,t)}}(a,function(e,t){for(var n,r=0,i=null,a=0,n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(i,r),o);t(e)}catch(e){n(e)}r=[]}).resume()})}function l(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this.wne=r,this.xne=t,this.gne=n,f.checkSupport(r),this.kne=e.pipe(new i(r)),e.lock()}catch(e){this.kne=new a("error"),this.kne.error(e)}}l.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var n=this;return"data"===e?this.kne.on(e,function(e){t.call(n,e.data,e.meta)}):this.kne.on(e,function(){f.delay(t,arguments,n)}),this},resume:function(){return f.delay(this.kne.resume,[],this.kne),this},pause:function(){return this.kne.pause(),this},toNodejsStream:function(e){if(f.checkSupport("nodestream"),"nodebuffer"!==this.xne)throw new Error(this.xne+" is not supported by this method");return new s(this,{objectMode:"nodebuffer"!==this.xne},e)}},t.exports=l},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){"use strict";var r,i;if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof Buffer,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(e){try{(i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder)).append(r),n.blob=0===i.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,i){"use strict";for(var f=e("./utils"),c=e("./support"),u=e("./nodejsUtils"),n=e("./stream/GenericWorker"),l=new Array(256),r=0;r<256;r++)l[r]=252<=r?6:248<=r?5:240<=r?4:224<=r?3:192<=r?2:1;function a(){n.call(this,"utf-8 decode"),this.leftOver=null}function o(){n.call(this,"utf-8 encode")}l[254]=l[254]=1,i.utf8encode=function(e){if(c.nodebuffer)return u.newBufferFrom(e,"utf-8");for(var t=e,n,r,i,a,o,s=t.length,f=0,a=0;a<s;a++)55296==(64512&(r=t.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=t.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),f+=r<128?1:r<2048?2:r<65536?3:4;for(n=new(c.uint8array?Uint8Array:Array)(f),a=o=0;o<f;a++)55296==(64512&(r=t.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=t.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),r<128?n[o++]=r:(r<2048?n[o++]=192|r>>>6:(r<65536?n[o++]=224|r>>>12:(n[o++]=240|r>>>18,n[o++]=128|r>>>12&63),n[o++]=128|r>>>6&63),n[o++]=128|63&r);return n},i.utf8decode=function(e){if(c.nodebuffer)return f.transformTo("nodebuffer",e).toString("utf-8");for(var t=e=f.transformTo(c.uint8array?"uint8array":"array",e),n,r,i,a,o=t.length,s=new Array(2*o),n=r=0;n<o;)if((i=t[n++])<128)s[r++]=i;else if(4<(a=l[i]))s[r++]=65533,n+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&n<o;)i=i<<6|63&t[n++],a--;1<a?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return s.length!==r&&(s.subarray?s=s.subarray(0,r):s.length=r),f.applyFromCharCode(s)},f.inherits(a,n),a.prototype.processChunk=function(e){var t,n,n,r,t=f.transformTo(c.uint8array?"uint8array":"array",e.data);this.leftOver&&this.leftOver.length&&(c.uint8array?(n=t,(t=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),t.set(n,this.leftOver.length)):t=this.leftOver.concat(t),this.leftOver=null),(n=function(e,t){for(var n,n=(t=(t=t||e.length)>e.length?e.length:t)-1;0<=n&&128==(192&e[n]);)n--;return!(n<0)&&0!==n&&n+l[e[n]]>t?n:t}(t))!==(r=t).length&&(c.uint8array?(r=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(r=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:i.utf8decode(r),meta:e.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=a,f.inherits(o,n),o.prototype.processChunk=function(e){this.push({data:i.utf8encode(e.data),meta:e.meta})},i.Utf8EncodeWorker=o},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,o){"use strict";var s,f,n,r,c,i,a;function u(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function d(e){var t=65536,n=o.getTypeOf(e),r=!0;if("uint8array"===n?r=i.applyCanBeUsed.uint8array:"nodebuffer"===n&&(r=i.applyCanBeUsed.nodebuffer),r)for(;1<t;)try{return i.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return i.stringifyByChar(e)}function h(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}s=e("./support"),f=e("./base64"),n=e("./nodejsUtils"),r=e("set-immediate-shim"),c=e("./external"),o.newBlob=function(t,n){o.checkSupport("blob");try{return new Blob([t],{type:n})}catch(e){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(t),r.getBlob(n)}catch(e){throw new Error("Bug : can't construct the Blob.")}}},i={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)r.push("array"===t||"nodebuffer"===t?String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a))):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 s.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return s.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(e){return!1}}()}},o.applyFromCharCode=d,(a={}).string={string:u,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return a.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,n.allocBuffer(e.length))}},a.array={string:d,array:u,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(e)}},a.arraybuffer={string:function(e){return d(new Uint8Array(e))},array:function(e){return h(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:u,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(new Uint8Array(e))}},a.uint8array={string:d,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:u,nodebuffer:function(e){return n.newBufferFrom(e)}},a.nodebuffer={string:d,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return a.nodebuffer.uint8array(e).buffer},uint8array:function(e){return h(e,new Uint8Array(e.length))},nodebuffer:u},o.transformTo=function(e,t){if(t=t||"",!e)return t;o.checkSupport(e);var n=o.getTypeOf(t);return a[n][e](t)},o.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":s.nodebuffer&&n.isBuffer(e)?"nodebuffer":s.uint8array&&e instanceof Uint8Array?"uint8array":s.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},o.checkSupport=function(e){if(!s[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},o.MAX_VALUE_16BITS=65535,o.MAX_VALUE_32BITS=-1,o.pretty=function(e){for(var t,n,r="",n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},o.delay=function(e,t,n){r(function(){e.apply(n||null,t||[])})},o.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},o.extend=function(){for(var e,t,n={},e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},o.prepareContent=function(n,e,r,i,a){return c.Promise.resolve(e).then(function(r){return s.blob&&(r instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(r)))&&"undefined"!=typeof FileReader?new c.Promise(function(t,n){var e=new FileReader;e.onload=function(e){t(e.target.result)},e.onerror=function(e){n(e.target.error)},e.readAsArrayBuffer(r)}):r}).then(function(e){var t=o.getTypeOf(e),t;return t?("arraybuffer"===t?e=o.transformTo("uint8array",e):"string"===t&&(a?e=f.decode(e):r&&!0!==i&&(e=l(t=e,new(s.uint8array?Uint8Array:Array)(t.length)))),e):c.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),a=e("./signature"),o=e("./zipEntry"),s=(e("./utf8"),e("./support"));function f(e){this.files=[],this.loadOptions=e}f.prototype={checkSignature:function(e){var t;if(!this.reader.readAndCheckSignature(e))throw this.reader.index-=4,t=this.reader.readString(4),new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")},isSignature:function(e,t){var n,e,n=this.reader.index;return this.reader.setIndex(e),e=this.reader.readString(4)===t,this.reader.setIndex(n),e},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",t=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(t)},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 new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){for(var e,t,e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e,t,e,e,e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");if(this.reader.setIndex(e),t=e,this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}if(e=this.centralDirOffset+this.centralDirSize,0<(e=t-(e=this.zip64?e+20+(12+this.zip64EndOfCentralSize):e)))this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=e);else if(e<0)throw new Error("Corrupted zip: missing "+Math.abs(e)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=f},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),a=e("./compressedObject"),o=e("./crc32"),s=e("./utf8"),f=e("./compressions"),c=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,t;if(e.skip(22),this.fileNameLength=e.readInt(2),t=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(t),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in f)if(f.hasOwnProperty(t)&&f[t].magic===e)return f[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){var t;this.extraFields[1]&&(t=r(this.extraFields[1].value),this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS)&&(this.diskNumberStart=t.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,t,t,t,t,e=c.uint8array?"uint8array":"array";this.useUTF8()?(this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment)):(null!==(t=this.findExtraFieldUnicodePath())?this.fileNameStr=t:(t=i.transformTo(e,this.fileName),this.fileNameStr=this.loadOptions.decodeFileName(t)),null!==(t=this.findExtraFieldUnicodeComment())?this.fileCommentStr=t:(t=i.transformTo(e,this.fileComment),this.fileCommentStr=this.loadOptions.decodeFileName(t)))},findExtraFieldUnicodePath:function(){var e,t,e=this.extraFields[28789];return!e||1!==(t=r(e.value)).readInt(1)||o(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))},findExtraFieldUnicodeComment:function(){var e,t,e=this.extraFields[25461];return!e||1!==(t=r(e.value)).readInt(1)||o(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){"use strict";var a,r,o,i,s,f,c,u;function l(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.Ine=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}for(a=e("./stream/StreamHelper"),r=e("./stream/DataWorker"),o=e("./utf8"),i=e("./compressedObject"),s=e("./stream/GenericWorker"),l.prototype={internalStream:function(e){var t,n,r,i,t=null,n="string";try{if(!e)throw new Error("No output type specified.");r="string"===(n=e.toLowerCase())||"text"===n,"binarystring"!==n&&"text"!==n||(n="string"),t=this.Fne(),(i=!this.Ine)&&!r&&(t=t.pipe(new o.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new s("error")).error(e)}return new a(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},lne:function(e,t){var n;return this._data instanceof i&&this._data.compression.magic===e.magic?this._data.getCompressedWorker():(n=this.Fne(),this.Ine||(n=n.pipe(new o.Utf8EncodeWorker)),i.createWorkerFrom(n,e,t))},Fne:function(){return this._data instanceof i?this._data.getContentWorker():this._data instanceof s?this._data:new r(this._data)}},f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<f.length;u++)l.prototype[f[u]]=c;t.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,c,t){!function(t){"use strict";var n,r,e,i,e,a,o,s;function f(){var e,t,n;for(r=!0,n=s.length;n;){for(t=s,s=[],e=-1;++e<n;)t[e]();n=s.length}r=!1}e=t.MutationObserver||t.WebKitMutationObserver,n=e?(i=0,e=new e(f),a=t.document.createTextNode(""),e.observe(a,{characterData:!0}),function(){a.data=i=++i%2}):t.setImmediate||void 0===t.MessageChannel?"document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){f(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(f,0)}:((o=new t.MessageChannel).port1.onmessage=f,function(){o.port2.postMessage(0)}),s=[],c.exports=function(e){1!==s.push(e)||r||n()}}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var i,c,a,o,r;function u(){}function s(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=r,this.queue=[],this.outcome=void 0,e!==u&&h(this,e)}function f(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 l(t,n,r){i(function(){var e;try{e=n(r)}catch(e){return c.reject(t,e)}e===t?c.reject(t,new TypeError("Cannot resolve promise with itself")):c.resolve(t,e)})}function d(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function h(t,e){var n,r;function i(e){n||(n=!0,c.reject(t,e))}function a(e){n||(n=!0,c.resolve(t,e))}n=!1,"error"===(r=m(function(){e(a,i)})).status&&i(r.value)}function m(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}i=e("immediate"),c={},a=["REJECTED"],o=["FULFILLED"],r=["PENDING"],(t.exports=s).prototype.finally=function(t){var n;return"function"!=typeof t?this:(n=this.constructor,this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}))},s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,t){var n;return"function"!=typeof e&&this.state===o||"function"!=typeof t&&this.state===a?this:(n=new this.constructor(u),this.state!==r?l(n,this.state===o?e:t,this.outcome):this.queue.push(new f(n,e,t)),n)},f.prototype.callFulfilled=function(e){c.resolve(this.promise,e)},f.prototype.otherCallFulfilled=function(e){l(this.promise,this.onFulfilled,e)},f.prototype.callRejected=function(e){c.reject(this.promise,e)},f.prototype.otherCallRejected=function(e){l(this.promise,this.onRejected,e)},c.resolve=function(e,t){var n,n,r,i,n=m(d,t);if("error"===n.status)return c.reject(e,n.value);if(n=n.value)h(e,n);else for(e.state=o,e.outcome=t,r=-1,i=e.queue.length;++r<i;)e.queue[r].callFulfilled(t);return e},c.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},s.resolve=function(e){return e instanceof this?e:c.resolve(new this(u),e)},s.reject=function(e){var t=new this(u);return c.reject(t,e)},s.all=function(e){var n,r,i,a,o,t,s,n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));if(r=e.length,i=!1,!r)return this.resolve([]);for(a=new Array(r),o=0,t=-1,s=new this(u);++t<r;)f(e[t],t);return s;function f(e,t){n.resolve(e).then(function(e){a[t]=e,++o!==r||i||(i=!0,c.resolve(s,a))},function(e){i||(i=!0,c.reject(s,e))})}},s.race=function(e){var t,n,r,i,a,o,t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));if(n=e.length,r=!1,!n)return this.resolve([]);for(i=-1,a=new this(u);++i<n;)o=e[i],t.resolve(o).then(function(e){r||(r=!0,c.resolve(a,e))},function(e){r||(r=!0,c.reject(a,e))});return a}},{immediate:36}],38:[function(e,t,n){"use strict";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){"use strict";var o=e("./zlib/deflate"),s=e("./utils/common"),f=e("./utils/strings"),r=e("./zlib/messages"),i=e("./zlib/zstream"),c=Object.prototype.toString,a=0,u=-1,l=0,d=8;function h(e){var e,t,e;if(!(this instanceof h))return new h(e);if(this.options=s.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{}),(e=this.options).raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new i,(this.strm.avail_out=0)!==(t=o.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy)))throw new Error(r[t]);if(e.header&&o.deflateSetHeader(this.strm,e.header),e.dictionary){if(e="string"==typeof e.dictionary?f.string2buf(e.dictionary):"[object ArrayBuffer]"===c.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(t=o.deflateSetDictionary(this.strm,e)))throw new Error(r[t]);this.Cne=!0}}function m(e,t){var t=new h(t);if(t.push(e,!0),t.err)throw t.msg||r[t.err];return t.result}h.prototype.push=function(e,t){var n,r,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=f.string2buf(e):"[object ArrayBuffer]"===c.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new s.Buf8(a),i.next_out=0,i.avail_out=a),1!==(n=o.deflate(i,r))&&0!==n)return this.onEnd(n),!(this.ended=!0)}while(0!==i.avail_out&&(0!==i.avail_in||4!==r&&2!==r)||("string"===this.options.to?this.onData(f.buf2binstring(s.shrinkBuf(i.output,i.next_out))):this.onData(s.shrinkBuf(i.output,i.next_out))),(0<i.avail_in||0===i.avail_out)&&1!==n);return 4===r?(n=o.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==r||(this.onEnd(0),!(i.avail_out=0))},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=h,n.deflate=m,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,m(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,m(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){"use strict";var l=e("./zlib/inflate"),d=e("./utils/common"),h=e("./utils/strings"),m=e("./zlib/constants"),r=e("./zlib/messages"),i=e("./zlib/zstream"),a=e("./zlib/gzheader"),p=Object.prototype.toString;function o(e){var t,e;if(!(this instanceof o))return new o(e);if(this.options=d.assign({chunkSize:16384,windowBits:0,to:""},e||{}),(t=this.options).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 i,this.strm.avail_out=0,(e=l.inflateInit2(this.strm,t.windowBits))!==m.Z_OK)throw new Error(r[e]);this.header=new a,l.inflateGetHeader(this.strm,this.header)}function s(e,t){var t=new o(t);if(t.push(e,!0),t.err)throw t.msg||r[t.err];return t.result}o.prototype.push=function(e,t){var n,r,i,a,o,i,s=this.strm,f=this.options.chunkSize,c=this.options.dictionary,u=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?m.Z_FINISH:m.Z_NO_FLUSH,"string"==typeof e?s.input=h.binstring2buf(e):"[object ArrayBuffer]"===p.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new d.Buf8(f),s.next_out=0,s.avail_out=f),(n=l.inflate(s,m.Z_NO_FLUSH))===m.Z_NEED_DICT&&c&&(i="string"==typeof c?h.string2buf(c):"[object ArrayBuffer]"===p.call(c)?new Uint8Array(c):c,n=l.inflateSetDictionary(this.strm,i)),n===m.Z_BUF_ERROR&&!0===u&&(n=m.Z_OK,u=!1),n!==m.Z_STREAM_END&&n!==m.Z_OK)return this.onEnd(n),!(this.ended=!0)}while(!s.next_out||0!==s.avail_out&&n!==m.Z_STREAM_END&&(0!==s.avail_in||r!==m.Z_FINISH&&r!==m.Z_SYNC_FLUSH)||("string"===this.options.to?(i=h.utf8border(s.output,s.next_out),a=s.next_out-i,o=h.buf2string(s.output,i),s.next_out=a,s.avail_out=f-a,a&&d.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(d.shrinkBuf(s.output,s.next_out))),0===s.avail_in&&0===s.avail_out&&(u=!0),(0<s.avail_in||0===s.avail_out)&&n!==m.Z_STREAM_END);return(r=n===m.Z_STREAM_END?m.Z_FINISH:r)===m.Z_FINISH?(n=l.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===m.Z_OK):r!==m.Z_SYNC_FLUSH||(this.onEnd(m.Z_OK),!(s.avail_out=0))},o.prototype.onData=function(e){this.chunks.push(e)},o.prototype.onEnd=function(e){e===m.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=d.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=o,n.inflate=s,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,s(e,t)},n.ungzip=s},{"./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){"use strict";var r,i,a,r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t,n,r,t=Array.prototype.slice.call(arguments,1);t.length;)if(n=t.shift()){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(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)},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){for(var t,n,r,i,a,o,t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},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){"use strict";var f,i,a,c,r,f=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(c=new f.Buf8(256),r=0;r<256;r++)c[r]=252<=r?6:248<=r?5:240<=r?4:224<=r?3:192<=r?2:1;function u(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,f.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}c[254]=c[254]=1,n.string2buf=function(e){for(var t,n,r,i,a,o=e.length,s=0,i=0;i<o;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new f.Buf8(s),i=a=0;a<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t},n.buf2binstring=function(e){return u(e,e.length)},n.binstring2buf=function(e){for(var t=new f.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){for(var n,r,i,a,o=t||e.length,s=new Array(2*o),n=r=0;n<o;)if((i=e[n++])<128)s[r++]=i;else if(4<(a=c[i]))s[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--;1<a?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return u(s,r)},n.utf8border=function(e,t){for(var n,n=(t=(t=t||e.length)>e.length?e.length:t)-1;0<=n&&128==(192&e[n]);)n--;return!(n<0)&&0!==n&&n+c[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){for(n-=o=2e3<n?2e3:n;a=a+(i=i+t[r++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}},{}],44:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){"use strict";var s=function(){for(var e,t,n,r,t=[],n=0;n<256;n++){for(e=n,r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var i,a,o,i=s,a=r+n;for(e^=-1,o=r;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e}},{}],46:[function(e,B,t){"use strict";var s,l=e("../utils/common"),f=e("./trees"),d=e("./adler32"),h=e("./crc32"),n=e("./messages"),c=0,M=4,u=0,m=-2,N=-1,P=4,r=2,p=8,U=9,i=286,a=30,o=19,L=2*i+1,G=15,v=3,b=258,y=b+v+1,w=42,x=113,q=1,W=2,V=3,H=4;function g(e,t){return e.msg=n[t],t}function k(e){return(e<<1)-(4<e?9:0)}function I(e){for(var t=e.length;0<=--t;)e[t]=0}function C(e){var t=e.state,n=t.pending;0!==(n=n>e.avail_out?e.avail_out:n)&&(l.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 F(e,t){f.Ane(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,C(e.strm)}function A(e,t){e.pending_buf[e.pending++]=t}function S(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function E(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,f=e.strstart>e.w_size-y?e.strstart-(e.w_size-y):0,c=e.window,u=e.w_mask,l=e.prev,d=e.strstart+b,h=c[a+o-1],m=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+o]===m&&c[n+o-1]===h&&c[n]===c[a]&&c[++n]===c[a+1]){for(a+=2,n++;c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&a<d;);if(r=b-(d-a),a=d-b,o<r){if(e.match_start=t,s<=(o=r))break;h=c[a+o-1],m=c[a+o]}}}while((t=l[t&u])>f&&0!=--i);return o<=e.lookahead?o:e.lookahead}function j(e){var t,n,r,i,a,o,s,f,i,c,u=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=u+(u-y)){for(l.arraySet(e.window,e.window,u,u,0),e.match_start-=u,e.strstart-=u,e.block_start-=u,t=n=e.hash_size;r=e.head[--t],e.head[t]=u<=r?r-u:0,--n;);for(t=n=u;r=e.prev[--t],e.prev[t]=u<=r?r-u:0,--n;);i+=u}if(0===e.strm.avail_in)break;if(o=e.strm,s=e.window,f=e.strstart+e.lookahead,c=void 0,n=0===(c=(i=i)<(c=o.avail_in)?i:c)?0:(o.avail_in-=c,l.arraySet(s,o.input,o.next_in,c,f),1===o.state.wrap?o.adler=d(o.adler,s,c,f):2===o.state.wrap&&(o.adler=h(o.adler,s,c,f)),o.next_in+=c,o.total_in+=c,c),e.lookahead+=n,e.lookahead+e.insert>=v)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+v-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<v)););}while(e.lookahead<y&&0!==e.strm.avail_in)}function _(e,t){for(var n,r;;){if(e.lookahead<y){if(j(e),e.lookahead<y&&t===c)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=v&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+v-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-y&&(e.match_length=E(e,n)),e.match_length>=v)if(r=f.Sne(e,e.strstart-e.match_start,e.match_length-v),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=v){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+v-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;else r=f.Sne(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(F(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<v-1?e.strstart:v-1,4===t?(F(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?1:2}function D(e,t){for(var n,r,i;;){if(e.lookahead<y){if(j(e),e.lookahead<y&&t===c)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=v&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+v-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=v-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-y&&(e.match_length=E(e,n),e.match_length<=5)&&(1===e.strategy||e.match_length===v&&4096<e.strstart-e.match_start)&&(e.match_length=v-1),e.prev_length>=v&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-v,r=f.Sne(e,e.strstart-1-e.prev_match,e.prev_length-v),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+v-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=v-1,e.strstart++,r&&(F(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=f.Sne(e,0,e.window[e.strstart-1]))&&F(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=f.Sne(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<v-1?e.strstart:v-1,4===t?(F(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?1:2}function R(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 Z(){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=p,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 l.Buf16(2*L),this.dyn_dtree=new l.Buf16(2*(2*a+1)),this.bl_tree=new l.Buf16(2*(2*o+1)),I(this.dyn_ltree),I(this.dyn_dtree),I(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(G+1),this.heap=new l.Buf16(2*i+1),I(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*i+1),I(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 O(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=r,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?w:x,e.adler=2===t.wrap?0:1,t.last_flush=c,f.Ene(t),u):g(e,m)}function T(e){var t=O(e),e;return t===u&&((e=e.state).window_size=2*e.w_size,I(e.head),e.max_lazy_match=s[e.level].max_lazy,e.good_match=s[e.level].good_length,e.nice_match=s[e.level].nice_length,e.max_chain_length=s[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=v-1,e.match_available=0,e.ins_h=0),t}function z(e,t,n,r,i,a){var o,s;return e?(-(o=1)===t&&(t=6),r<0?(o=0,r=-r):15<r&&(o=2,r-=16),i<1||9<i||n!==p||r<8||15<r||t<0||9<t||a<0||4<a?g(e,m):(8===r&&(r=9),s=new Z,(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=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+v-1)/v),s.window=new l.Buf8(2*s.w_size),s.head=new l.Buf16(s.hash_size),s.prev=new l.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new l.Buf8(s.pending_buf_size),s.d_buf=+s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=n,T(e))):m}s=[new R(0,0,0,0,function(e,t){var n,r,n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(j(e),0===e.lookahead&&t===c)return 1;if(0===e.lookahead)break}if(e.strstart+=e.lookahead,e.lookahead=0,r=e.block_start+n,(0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,F(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-y&&(F(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(F(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(F(e,!1),e.strm.avail_out),1)}),new R(4,4,8,4,_),new R(4,5,16,8,_),new R(4,6,32,32,_),new R(4,4,16,16,D),new R(8,16,32,32,D),new R(8,16,128,128,D),new R(8,32,128,256,D),new R(32,128,258,1024,D),new R(32,258,258,4096,D)],t.deflateInit=function(e,t){return z(e,t,p,15,8,0)},t.deflateInit2=z,t.deflateReset=T,t.deflateResetKeep=O,t.deflateSetHeader=function(e,t){return!e||!e.state||2!==e.state.wrap?m:(e.state.gzhead=t,u)},t.deflate=function(e,t){var n,r,i,a,o,o;if(!e||!e.state||5<t||t<0)return e?g(e,m):m;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||666===r.status&&4!==t)return g(e,0===e.avail_out?-5:m);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===w&&(2===r.wrap?(e.adler=0,A(r,31),A(r,139),A(r,8),r.gzhead?(A(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),A(r,255&r.gzhead.time),A(r,r.gzhead.time>>8&255),A(r,r.gzhead.time>>16&255),A(r,r.gzhead.time>>24&255),A(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),A(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(A(r,255&r.gzhead.extra.length),A(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=h(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(A(r,0),A(r,0),A(r,0),A(r,0),A(r,0),A(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),A(r,3),r.status=x)):(o=p+(r.w_bits-8<<4)<<8,o|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(o|=32),o+=31-o%31,r.status=x,S(r,o),0!==r.strstart&&(S(r,e.adler>>>16),S(r,65535&e.adler)),e.adler=1)),69===r.status)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),C(e),i=r.pending,r.pending!==r.pending_buf_size));)A(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),C(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}}while(a=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,A(r,a),0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),C(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}}while(a=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,A(r,a),0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=h(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&C(e),r.pending+2<=r.pending_buf_size&&(A(r,255&e.adler),A(r,e.adler>>8&255),e.adler=0,r.status=x)):r.status=x),0!==r.pending){if(C(e),0===e.avail_out)return r.last_flush=-1,u}else if(0===e.avail_in&&k(t)<=k(n)&&4!==t)return g(e,-5);if(666===r.status&&0!==e.avail_in)return g(e,-5);if(0!==e.avail_in||0!==r.lookahead||t!==c&&666!==r.status){if(3!==(o=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(j(e),0===e.lookahead)){if(t===c)return 1;break}if(e.match_length=0,n=f.Sne(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(F(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(F(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,i,a,o=e.window;;){if(e.lookahead<=b){if(j(e),e.lookahead<=b&&t===c)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=v&&0<e.strstart&&(r=o[i=e.strstart-1])===o[++i]&&r===o[++i]&&r===o[++i]){for(a=e.strstart+b;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<a;);e.match_length=b-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=v?(n=f.Sne(e,1,e.match_length-v),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=f.Sne(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(F(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(F(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?1:2}(r,t):s[r.level].func(r,t))&&4!==o||(r.status=666),1===o||3===o)return 0===e.avail_out&&(r.last_flush=-1),u;if(2===o&&(1===t?f.jne(r):5!==t&&(f._ne(r,0,0,!1),3===t)&&(I(r.head),0===r.lookahead)&&(r.strstart=0,r.block_start=0,r.insert=0),C(e),0===e.avail_out))return r.last_flush=-1,u}return 4!==t||!(r.wrap<=0)&&(2===r.wrap?(A(r,255&e.adler),A(r,e.adler>>8&255),A(r,e.adler>>16&255),A(r,e.adler>>24&255),A(r,255&e.total_in),A(r,e.total_in>>8&255),A(r,e.total_in>>16&255),A(r,e.total_in>>24&255)):(S(r,e.adler>>>16),S(r,65535&e.adler)),C(e),0<r.wrap&&(r.wrap=-r.wrap),0!==r.pending)?u:1},t.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==w&&69!==t&&73!==t&&91!==t&&103!==t&&t!==x&&666!==t?g(e,m):(e.state=null,t===x?g(e,-3):u):m},t.deflateSetDictionary=function(e,t){var n,r,i,a,o,s,f,o,c=t.length;if(!e||!e.state)return m;if(2===(a=(n=e.state).wrap)||1===a&&n.status!==w||n.lookahead)return m;for(1===a&&(e.adler=d(e.adler,t,c,0)),n.wrap=0,c>=n.w_size&&(0===a&&(I(n.head),n.strstart=0,n.block_start=0,n.insert=0),o=new l.Buf8(n.w_size),l.arraySet(o,t,c-n.w_size,n.w_size,0),t=o,c=n.w_size),o=e.avail_in,s=e.next_in,f=e.input,e.avail_in=c,e.next_in=0,e.input=t,j(n);n.lookahead>=v;){for(r=n.strstart,i=n.lookahead-(v-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+v-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--i;);n.strstart=r,n.lookahead=v-1,j(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=v-1,n.match_available=0,e.next_in=s,e.input=f,e.avail_in=o,n.wrap=a,u},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,C,F,A,n=e.state,r=e.next_in,F=e.input,i=r+(e.avail_in-5),a=e.next_out,A=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),f=n.dmax,c=n.wsize,u=n.whave,l=n.wnext,d=n.window,h=n.hold,m=n.bits,p=n.lencode,v=n.distcode,b=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{m<15&&(h+=F[r++]<<m,m+=8,h+=F[r++]<<m,m+=8),w=p[h&b];t:for(;;){if(h>>>=x=w>>>24,m-=x,0==(x=w>>>16&255))A[a++]=65535&w;else{if(!(16&x)){if(0==(64&x)){w=p[(65535&w)+(h&(1<<x)-1)];continue}if(32&x){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}g=65535&w,(x&=15)&&(m<x&&(h+=F[r++]<<m,m+=8),g+=h&(1<<x)-1,h>>>=x,m-=x),m<15&&(h+=F[r++]<<m,m+=8,h+=F[r++]<<m,m+=8),w=v[h&y];n:for(;;){if(h>>>=x=w>>>24,m-=x,!(16&(x=w>>>16&255))){if(0==(64&x)){w=v[(65535&w)+(h&(1<<x)-1)];continue}e.msg="invalid distance code",n.mode=30;break e}if(k=65535&w,m<(x&=15)&&(h+=F[r++]<<m,(m+=8)<x)&&(h+=F[r++]<<m,m+=8),f<(k+=h&(1<<x)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=x,m-=x,(x=a-o)<k){if(u<(x=k-x)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=d,(I=0)===l){if(I+=c-x,x<g){for(g-=x;A[a++]=d[I++],--x;);I=a-k,C=A}}else if(l<x){if(I+=c+l-x,(x-=l)<g){for(g-=x;A[a++]=d[I++],--x;);if(I=0,l<g){for(g-=x=l;A[a++]=d[I++],--x;);I=a-k,C=A}}}else if(I+=l-x,x<g){for(g-=x;A[a++]=d[I++],--x;);I=a-k,C=A}for(;2<g;)A[a++]=C[I++],A[a++]=C[I++],A[a++]=C[I++],g-=3;g&&(A[a++]=C[I++],1<g)&&(A[a++]=C[I++])}else{for(I=a-k;A[a++]=A[I++],A[a++]=A[I++],A[a++]=A[I++],2<(g-=3););g&&(A[a++]=A[I++],1<g)&&(A[a++]=A[I++])}break}}break}}while(r<i&&a<s);r-=g=m>>3,h&=(1<<(m-=g<<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<s?s-a+257:257-(a-s),n.hold=h,n.bits=m}},{}],49:[function(e,t,n){"use strict";var j,_,D,R,O,r,i,T,z,B,a,o,s,f,c;function M(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 j.Buf16(320),this.work=new j.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(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=B,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new j.Buf32(a),t.distcode=t.distdyn=new j.Buf32(o),t.sane=1,t.back=-1,T):z}function d(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,l(e)):z}function h(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))?z:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,d(e))}function m(e,t){var n,n;return e?(n=new u,(e.state=n).window=null,(n=h(e,t))!==T&&(e.state=null),n):z}function N(e){if(c){var t;for(s=new j.Buf32(512),f=new j.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,s,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;O(2,e.lens,0,32,f,0,e.work,{bits:5}),c=!1}e.lencode=s,e.lenbits=9,e.distcode=f,e.distbits=5}function P(e,t,n,r){var i,e=e.state;return null===e.window&&(e.wsize=1<<e.wbits,e.wnext=0,e.whave=0,e.window=new j.Buf8(e.wsize)),r>=e.wsize?(j.arraySet(e.window,t,n-e.wsize,e.wsize,0),e.wnext=0,e.whave=e.wsize):(r<(i=e.wsize-e.wnext)&&(i=r),j.arraySet(e.window,t,n-r,i,e.wnext),(r-=i)?(j.arraySet(e.window,t,n-r,r,0),e.wnext=r,e.whave=e.wsize):(e.wnext+=i,e.wnext===e.wsize&&(e.wnext=0),e.whave<e.wsize&&(e.whave+=i))),0}j=e("../utils/common"),_=e("./adler32"),D=e("./crc32"),R=e("./inffast"),O=e("./inftrees"),z=-(i=2),B=r=1,a=852,o=592,c=!(T=0),n.inflateReset=d,n.inflateReset2=h,n.inflateResetKeep=l,n.inflateInit=function(e){return m(e,15)},n.inflateInit2=m,n.inflate=function(e,t){var n,r,i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,C,F,A=0,S=new j.Buf8(4),E=[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 z;12===(n=e.state).mode&&(n.mode=13),o=e.next_out,i=e.output,f=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,l=s,d=f,I=T;e:for(;;)switch(n.mode){case B:if(0===n.wrap)n.mode=13;else{for(;u<16;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(2&n.wrap&&35615===c)S[n.check=0]=255&c,S[1]=c>>>8&255,n.check=D(n.check,S,2,0),u=c=0,n.mode=2;else if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31)e.msg="incorrect header check",n.mode=30;else if(8!=(15&c))e.msg="unknown compression method",n.mode=30;else{if(u-=4,k=8+(15&(c>>>=4)),0===n.wbits)n.wbits=k;else if(k>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<k,e.adler=n.check=1,n.mode=512&c?10:12,u=c=0}}break;case 2:for(;u<16;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(n.flags=c,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=c>>8&1),512&n.flags&&(S[0]=255&c,S[1]=c>>>8&255,n.check=D(n.check,S,2,0)),u=c=0,n.mode=3;case 3:for(;u<32;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.head&&(n.head.time=c),512&n.flags&&(S[0]=255&c,S[1]=c>>>8&255,S[2]=c>>>16&255,S[3]=c>>>24&255,n.check=D(n.check,S,4,0)),u=c=0,n.mode=4;case 4:for(;u<16;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(S[0]=255&c,S[1]=c>>>8&255,n.check=D(n.check,S,2,0)),u=c=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(S[0]=255&c,S[1]=c>>>8&255,n.check=D(n.check,S,2,0)),u=c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=s<(h=n.length)?s:h)&&(n.head&&(k=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),j.arraySet(n.head.extra,r,a,h,k)),512&n.flags&&(n.check=D(n.check,r,h,a)),s-=h,a+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;for(h=0;k=r[a+h++],n.head&&k&&n.length<65536&&(n.head.name+=String.fromCharCode(k)),k&&h<s;);if(512&n.flags&&(n.check=D(n.check,r,h,a)),s-=h,a+=h,k)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;for(h=0;k=r[a+h++],n.head&&k&&n.length<65536&&(n.head.comment+=String.fromCharCode(k)),k&&h<s;);if(512&n.flags&&(n.check=D(n.check,r,h,a)),s-=h,a+=h,k)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}u=c=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(;u<32;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}e.adler=n.check=M(c),u=c=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=o,e.avail_out=f,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last)c>>>=7&u,u-=7&u,n.mode=27;else{for(;u<3;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}switch(n.last=1&c,--u,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(N(n),n.mode=20,6!==t)break;c>>>=2,u-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}c>>>=2,u-=2}break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&c,u=c=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(h=n.length){if(0===(h=f<(h=s<h?s:h)?f:h))break e;j.arraySet(i,r,a,h,o),s-=h,a+=h,f-=h,o+=h,n.length-=h}else n.mode=12;break;case 17:for(;u<14;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(n.nlen=257+(31&c),c>>>=5,u-=5,n.ndist=1+(31&c),c>>>=5,u-=5,n.ncode=4+(15&c),c>>>=4,u-=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(;u<3;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.lens[E[n.have++]]=7&c,c>>>=3,u-=3}for(;n.have<19;)n.lens[E[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,C={bits:n.lenbits},I=O(0,n.lens,0,19,n.lencode,0,n.work,C),n.lenbits=C.bits,I){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=(A=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,y=65535&A,!((v=A>>>24)<=u);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(y<16)c>>>=v,u-=v,n.lens[n.have++]=y;else{if(16===y){for(F=v+2;u<F;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c>>>=v,u-=v,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}k=n.lens[n.have-1],h=3+(3&c),c>>>=2,u-=2}else if(17===y){for(F=v+3;u<F;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}k=0,h=3+(7&(c>>>=v)),c>>>=3,u=u-v-3}else{for(F=v+7;u<F;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}k=0,h=11+(127&(c>>>=v)),c>>>=7,u=u-v-7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=k}}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,C={bits:n.lenbits},I=O(1,n.lens,0,n.nlen,n.lencode,0,n.work,C),n.lenbits=C.bits,I){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,C={bits:n.distbits},I=O(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,C),n.distbits=C.bits,I){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<=s&&258<=f){e.next_out=o,e.avail_out=f,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,R(e,d),o=e.next_out,i=e.output,f=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;b=(A=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,y=65535&A,!((v=A>>>24)<=u);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(b&&0==(240&b)){for(w=v,x=b,g=y;b=(A=n.lencode[g+((c&(1<<w+x)-1)>>w)])>>>16&255,y=65535&A,!(w+(v=A>>>24)<=u);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}c>>>=w,u-=w,n.back+=w}if(c>>>=v,u-=v,n.back+=v,n.length=y,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(F=n.extra;u<F;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;b=(A=n.distcode[c&(1<<n.distbits)-1])>>>16&255,y=65535&A,!((v=A>>>24)<=u);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(0==(240&b)){for(w=v,x=b,g=y;b=(A=n.distcode[g+((c&(1<<w+x)-1)>>w)])>>>16&255,y=65535&A,!(w+(v=A>>>24)<=u);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}c>>>=w,u-=w,n.back+=w}if(c>>>=v,u-=v,n.back+=v,64&b){e.msg="invalid distance code",n.mode=30;break}n.offset=y,n.extra=15&b,n.mode=24;case 24:if(n.extra){for(F=n.extra;u<F;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=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===f)break e;if(n.offset>(h=d-f)){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}m=h>n.wnext?(h-=n.wnext,n.wsize-h):n.wnext-h,h>n.length&&(h=n.length),p=n.window}else p=i,m=o-n.offset,h=n.length;for(f-=h=f<h?f:h,n.length-=h;i[o++]=p[m++],--h;);0===n.length&&(n.mode=21);break;case 26:if(0===f)break e;i[o++]=n.length,f--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(0===s)break e;s--,c|=r[a++]<<u,u+=8}if(d-=f,e.total_out+=d,n.total+=d,d&&(e.adler=n.check=(n.flags?D:_)(n.check,i,d,o-d)),d=f,(n.flags?c:M(c))!==n.check){e.msg="incorrect data check",n.mode=30;break}u=c=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;u<32;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}u=c=0}n.mode=29;case 29:I=1;break e;case 30:I=-3;break e;case 31:return-4;default:return z}return e.next_out=o,e.avail_out=f,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,(n.wsize||d!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&P(e,e.output,e.next_out,d-e.avail_out)?(n.mode=31,-4):(l-=e.avail_in,d-=e.avail_out,e.total_in+=l,e.total_out+=d,n.total+=d,n.wrap&&d&&(e.adler=n.check=(n.flags?D:_)(n.check,i,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),I=(0==l&&0===d||4===t)&&I===T?-5:I)},n.inflateEnd=function(e){var t;return e&&e.state?((t=e.state).window&&(t.window=null),e.state=null,T):z},n.inflateGetHeader=function(e,t){var e;return!e||!e.state||0==(2&(e=e.state).wrap)?z:((e.head=t).done=!1,T)},n.inflateSetDictionary=function(e,t){var n,r=t.length;return!e||!e.state||0!==(n=e.state).wrap&&11!==n.mode?z:11===n.mode&&_(1,t,r,0)!==n.check?-3:P(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,T)},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var T=e("../utils/common"),z=[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],B=[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],M=[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],N=[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,r,i,a,o,s){for(var f,c,u,l,d,h,m,p,v,b=s.bits,y=0,w=0,x=0,g=0,k=0,I=0,C=0,F=0,A=0,S=0,E=null,j=0,_=new T.Buf16(16),D=new T.Buf16(16),R=null,O=0,y=0;y<=15;y++)_[y]=0;for(w=0;w<r;w++)_[t[n+w]]++;for(k=b,g=15;1<=g&&0===_[g];g--);if(g<k&&(k=g),0===g)i[a++]=20971520,i[a++]=20971520,s.bits=1;else{for(x=1;x<g&&0===_[x];x++);for(k<x&&(k=x),y=F=1;y<=15;y++)if((F=(F<<1)-_[y])<0)return-1;if(0<F&&(0===e||1!==g))return-1;for(D[1]=0,y=1;y<15;y++)D[y+1]=D[y]+_[y];for(w=0;w<r;w++)0!==t[n+w]&&(o[D[t[n+w]]++]=w);if(h=0===e?(E=R=o,19):1===e?(E=z,j-=257,R=B,O-=257,256):(E=M,R=N,-1),y=x,d=a,C=w=S=0,u=-1,l=(A=1<<(I=k))-1,1===e&&852<A||2===e&&592<A)return 1;for(;;){for(v=o[w]<h?(p=0,o[w]):o[w]>h?(p=R[O+o[w]],E[j+o[w]]):(p=96,0),f=1<<(m=y-C),x=c=1<<I;i[d+(S>>C)+(c-=f)]=m<<24|p<<16|v|0,0!==c;);for(f=1<<y-1;S&f;)f>>=1;if(0!==f?S=(S&f-1)+f:S=0,w++,0==--_[y]){if(y===g)break;y=t[n+o[w]]}if(k<y&&(S&l)!==u){for(d+=x,F=1<<(I=y-(C=0===C?k:C));I+C<g&&!((F-=_[I+C])<=0);)I++,F<<=1;if(A+=1<<I,1===e&&852<A||2===e&&592<A)return 1;i[u=S&l]=k<<24|I<<16|d-a|0}}0!==S&&(i[d+S]=y-C<<24|64<<16|0),s.bits=k}return 0}},{"../utils/common":41}],51:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,i,t){"use strict";var a,M,N,P,U,L,G,q,W,V,H,r,Z,K,X,J,Y,f,c,s,u,l,d,h,m,p,v,b,y,w,x;function n(e){for(var t=e.length;0<=--t;)e[t]=0}function g(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 k(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function I(e){return e<256?h[e]:h[256+(e>>>7)]}function o(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function C(e,t,n){e.bi_valid>r-n?(e.bi_buf|=t<<e.bi_valid&65535,o(e,e.bi_buf),e.bi_buf=t>>r-e.bi_valid,e.bi_valid+=n-r):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function F(e,t,n){C(e,n[2*t],n[2*t+1])}function A(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function S(e,t,n){for(var r,i,a,o,s,a=new Array(16),o=0,r=1;r<=15;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++)0!==(s=e[2*i+1])&&(e[2*i]=A(a[s]++,s))}function E(e){for(var t,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 j(e){8<e.bi_valid?o(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 _(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 D(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&_(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!_(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function R(e,t,n){var r,i,a,o,s=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0==r?F(e,i,t):(F(e,(a=m[i])+256+1,t),0!==(o=f[a])&&C(e,i-=p[a],o),F(e,a=I(--r),n),0!==(o=c[a])&&C(e,r-=w[a],o)),s<e.last_lit;);F(e,256,t)}function O(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,f=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<f;n++)0!==a[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):a[2*n+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;1<=n;n--)D(e,a,n);for(i=f;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],D(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++,D(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1];for(var u=e,l,d,h,m,p,v,b,y=t.dyn_tree,w=t.max_code,x=t.stat_desc.static_tree,g=t.stat_desc.has_stree,k=t.stat_desc.extra_bits,I=t.stat_desc.extra_base,C=t.stat_desc.max_length,F=0,p=0;p<=15;p++)u.bl_count[p]=0;for(y[2*u.heap[u.heap_max]+1]=0,d=u.heap_max+1;d<573;d++)C<(p=y[2*y[2*(h=u.heap[d])+1]+1]+1)&&(p=C,F++),y[2*h+1]=p,w<h||(u.bl_count[p]++,v=0,I<=h&&(v=k[h-I]),b=y[2*h],u.opt_len+=b*(p+v),g&&(u.static_len+=b*(x[2*h+1]+v)));if(0!==F){do{for(p=C-1;0===u.bl_count[p];)p--}while(u.bl_count[p]--,u.bl_count[p+1]+=2,u.bl_count[C]--,0<(F-=2));for(p=C;0!==p;p--)for(h=u.bl_count[p];0!==h;)w<(m=u.heap[--d])||(y[2*m+1]!==p&&(u.opt_len+=(p-y[2*m+1])*y[2*m],y[2*m+1]=p),h--)}S(a,c,e.bl_count)}function T(e,t,n){var r,i,a=-1,o=t[1],s=0,f=7,c=4;for(0===o&&(f=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<f&&i===o||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,a=i,c=(s=0)===o?(f=138,3):i===o?(f=6,3):(f=7,4))}function z(e,t,n){var r,i,a=-1,o=t[1],s=0,f=7,c=4;for(0===o&&(f=138,c=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<f&&i===o)){if(s<c)for(;F(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==a&&(F(e,i,e.bl_tree),s--),F(e,16,e.bl_tree),C(e,s-3,2)):s<=10?(F(e,17,e.bl_tree),C(e,s-3,3)):(F(e,18,e.bl_tree),C(e,s-11,7));a=i,c=(s=0)===o?(f=138,3):i===o?(f=6,3):(f=7,4)}}function B(e,t,n,r){var n,r,t,i;C(e,0+(r?1:0),3),r=t,t=n,i=!0,j(n=e),o(n,t),o(n,~t),a.arraySet(n.pending_buf,n.window,r,t,n.pending),n.pending+=t}a=e("../utils/common"),U=29,G=286,q=30,W=19,V=573,K=L=256,f=[P=M=0,0,0,0,0,0,0,0,N=1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],c=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,Z=7,7,8,8,9,9,10,10,11,11,12,12,13,13],s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u=[X=r=16,J=17,Y=18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,H=15],n(l=new Array(576)),n(d=new Array(60)),n(h=new Array(512)),n(m=new Array(256)),n(p=new Array(29)),n(w=new Array(30)),x=!1,t.Ene=function(e){if(!x){for(var t,n,r,i,a,o=new Array(16),i=r=0;i<28;i++)for(p[i]=r,t=0;t<1<<f[i];t++)m[r++]=i;for(m[r-1]=i,i=a=0;i<16;i++)for(w[i]=a,t=0;t<1<<c[i];t++)h[a++]=i;for(a>>=7;i<30;i++)for(w[i]=a<<7,t=0;t<1<<c[i]-7;t++)h[256+a++]=i;for(n=0;n<=15;n++)o[n]=0;for(t=0;t<=143;)l[2*t+1]=8,t++,o[8]++;for(;t<=255;)l[2*t+1]=9,t++,o[9]++;for(;t<=279;)l[2*t+1]=7,t++,o[7]++;for(;t<=287;)l[2*t+1]=8,t++,o[8]++;for(S(l,287,o),t=0;t<30;t++)d[2*t+1]=5,d[2*t]=A(t,5);v=new g(l,f,257,286,15),b=new g(d,c,0,30,15),y=new g(new Array(0),s,0,19,7),x=!0}e.l_desc=new k(e.dyn_ltree,v),e.d_desc=new k(e.dyn_dtree,b),e.bl_desc=new k(e.bl_tree,y),e.bi_buf=0,e.bi_valid=0,E(e)},t._ne=B,t.Ane=function(e,t,n,r){var i,a,o=0,s;if(0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){for(var t,n=4093624447,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),o=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*u[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)B(e,t,n,r);else if(4===e.strategy||a===i)C(e,2+(r?1:0),3),R(e,l,d);else{C(e,4+(r?1:0),3);var f=e,t=e.l_desc.max_code+1,n=e.d_desc.max_code+1,c=o+1;for(C(f,t-257,5),C(f,n-1,5),C(f,c-4,4),s=0;s<c;s++)C(f,f.bl_tree[2*u[s]+1],3);z(f,f.dyn_ltree,t-1),z(f,f.dyn_dtree,n-1),R(e,e.dyn_ltree,e.dyn_dtree)}E(e),r&&j(e)},t.Sne=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*(m[n]+256+1)]++,e.dyn_dtree[2*I(t)]++),e.last_lit===e.lit_bufsize-1},t.jne=function(e){var e;C(e,2,3),F(e,256,l),16===(e=e).bi_valid?(o(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){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){"use strict";t.exports="function"==typeof setImmediate?setImmediate:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)},e.exports=t()},"./dist/plugins/io/utils/namespace/chart.js":function(e,t,n){"use strict";var c,r;function i(e,t){var e;e&&(e=e.chartSpace)&&a(e,t)}function a(e,t){var n,n,n,t,n;(0,c.addNameSpace)(e,t||c.NameSpaces.C),(n=e.AlternateContent)&&o(n),(n=e.chart)&&l(n,t),(n=e.fmtOvrs)&&u(n),(t=e.spPr)&&(0,r.addNameSpaceForSpPr)(t),(n=e.txPr)&&k(n)}function o(e){var t,t;(0,c.addNameSpace)(e,c.NameSpaces.MC),(t=e.Choice)&&s(t),(t=e.Fallback)&&f(t)}function s(e){var e=e.style;e&&(0,c.addNameSpace)(e,c.NameSpaces.C14)}function f(e){var e=e.style;e&&(0,c.addNameSpace)(e,c.NameSpaces.C)}function u(e){var e=e.fmtOvr,e;0<(e=(0,c.convertToArray)(e)).length&&e.forEach(function(e){C(e)})}function l(e,t){var n,n,n,n,t,n,t,n,n=e.title;n&&C(n),(n=e.pivotFmts)&&g(n.pivotFmt),(n=e.plotArea)&&d(n,t),(n=e.view3D)&&C(n),(t=e.floor)&&C(t),(n=e.sideWall)&&C(n),(t=e.backWall)&&C(t),(n=e.legend)&&F(n),e.extLst&&x(e.extLst.ext)}function d(e,r){var t,n,i,a,o,s,e,f;C(e),e.valAx&&(t=(0,c.convertToArray)(e.valAx)).forEach(function(e){v(e)}),e.catAx&&(n=(0,c.convertToArray)(e.catAx)).forEach(function(e){v(e)}),e.dateAx&&(i=(0,c.convertToArray)(e.dateAx)).forEach(function(e){v(e)}),e.serAx&&(a=(0,c.convertToArray)(e.serAx)).forEach(function(e){v(e)}),e.axis&&(o=(0,c.convertToArray)(e.axis)).forEach(function(e){v(e)}),(s=[e.area3DChart,e.areaChart,e.bar3DChart,e.barChart,e.bubbleChart,e.doughnutChart,e.line3DChart,e.lineChart,e.ofPieChart,e.pie3DChart,e.pieChart,e.radarChart,e.scatterChart,e.stockChart,e.surface3DChart,e.surfaceChart]).forEach(function(n){n&&[].concat(n).forEach(function(e){var t;(0,c.convertToArray)(e.ser).forEach(function(e){h(e,r)}),n.hiLowLines&&C(n.hiLowLines),n.bandFmts&&A(n.bandFmts)})}),(e=e.plotAreaRegion)&&(f=(0,c.convertToArray)(e.series)).forEach(function(e){h(e)})}function h(e,t){C(e),b(e),w(e,t),m(e),p(e),y(e),e.extLst&&x(e.extLst.ext)}function m(e,t){var n;e.trendline&&(0,c.convertToArray)(e.trendline).forEach(function(e){C(e),e.trendlineLbl&&C(e.trendlineLbl)})}function p(e,t){var n;e.errBars&&(0,c.convertToArray)(e.errBars).forEach(function(e){C(e)})}function v(e){C(e),e.minorGridlines&&C(e.minorGridlines),e.majorGridlines&&C(e.majorGridlines),e.dispUnits&&e.dispUnits.dispUnitsLbl&&C(e.dispUnits.dispUnitsLbl),e.units&&e.units.unitsLabel&&C(e.units.unitsLabel),e.title&&C(e.title)}function b(e){var e,e,e=e.dPt||e.dataPt,e=(0,c.convertToArray)(e);0<e.length&&e.forEach(function(e){e.extLst&&x(e.extLst.ext),e.marker&&C(e.marker),C(e)})}function y(e){var e=e.marker;e&&e.spPr&&C(e)}function w(e,t){var e,n,r,i,e=e.dLbls||e.dataLabels;e&&(C(e),e.extLst&&(x(n=e.extLst.ext),n.showLeaderLines&&(0,c.addNameSpace)(n.showLeaderLines,c.NameSpaces.C15),n.leaderLines)&&((0,c.addNameSpace)(n.leaderLines,c.NameSpaces.C15),(r=n.leaderLines.spPr)&&(0,c.addNameSpace)(r,t||c.NameSpaces.C15),C(n.leaderLines)),e.leaderLines&&C(e.leaderLines),e.dLbl)&&(i=[].concat(e.dLbl)).forEach(function(e){C(e)})}function x(e){e&&[].concat(e).forEach(function(e){var t=e.uniqueId;t&&(0,c.addNameSpace)(t,c.NameSpaces.C16),e.dataDisplayOptions16&&(0,c.addNameSpace)(e.dataDisplayOptions16,c.NameSpaces.C16R3),e.invertSolidFillFmt&&((0,c.addNameSpace)(e.invertSolidFillFmt,c.NameSpaces.C14),e.invertSolidFillFmt.spPr)&&(0,r.addNameSpaceForSpPr)(e.invertSolidFillFmt.spPr),e.datalabelsRange&&(0,c.addNameSpace)(e.datalabelsRange,c.NameSpaces.C15),e.categoryFilterExceptions&&(0,c.addNameSpace)(e.categoryFilterExceptions,c.NameSpaces.C15),e.datapointuniqueidmap&&(0,c.addNameSpace)(e.datapointuniqueidmap,c.NameSpaces.C15),C(e)})}function g(e){e&&[].concat(e).forEach(function(e){C(e),e.dLbl&&C(e.dLbl)})}function k(e){var t,t,n,t=e.bodyPr;t&&(0,c.addNameSpace)(t,c.NameSpaces.A),(t=e.lstStyle)&&(0,c.addNameSpace)(t,c.NameSpaces.A),(n=(0,c.convertToArray)(e.p)).forEach(function(e){(0,c.addNameSpace)(e,c.NameSpaces.A)})}function I(e){var t,t,n,t=e.bodyPr;t&&(0,c.addNameSpace)(t,c.NameSpaces.A),(t=e.lstStyle)&&(0,c.addNameSpace)(t,c.NameSpaces.A),(n=(0,c.convertToArray)(e.p)).forEach(function(e){(0,c.addNameSpace)(e,c.NameSpaces.A)})}function C(e){var t,t,t,t=e.spPr;t&&(0,r.addNameSpaceForSpPr)(t),(t=e.txPr)&&k(t),(t=e.tx)&&t.rich&&I(t.rich)}function F(e){var t;C(e),(e.legendEntry||[]).forEach(function(e){C(e)})}function A(e){var t;(e.bandFmt||[]).forEach(function(e){C(e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.addNameSpaceForChartFile=void 0,c=n("./dist/plugins/io/utils/namespace/common.js"),r=n("./dist/plugins/io/utils/namespace/drawing.js"),t.addNameSpaceForChartFile=i},"./dist/plugins/io/utils/namespace/common.js":function(e,t){"use strict";function n(e){return Array.isArray(e)?e:null==e?[]:[e]}function r(e,t){e.ns_=t}var i;function a(){}Object.defineProperty(t,"__esModule",{value:!0}),t.ule=t.NameSpaces=t.addNameSpace=t.convertToArray=void 0,t.convertToArray=n,t.addNameSpace=r,t.NameSpaces={A:"a",A16:"a16",C16R3:"c16r3",C16:"c16",C15:"c15",A14:"a14",C:"c",CX:"cx",C14:"c14",MC:"mc",XDR:"xdr",O:"o",V:"v",X:"x",X14:"x14",X15:"x15",XM:"xm",SLE:"sle",EMPTY:"",TSLE:"tsle",XPDL:"xpdl"},a.prototype.fle=function(e){},a.prototype.ple=function(e){return e},t.ule=a},"./dist/plugins/io/utils/namespace/drawing.js":function(B,e,t){"use strict";var r,i,n;function a(e){e&&o(e)}function o(e){(0,i.addNameSpace)(e,i.NameSpaces.XDR),e.c_.forEach(s)}function s(e){var t,t,t=e.twoCellAnchor||e.oneCellAnchor||e.absoluteAnchor;t&&f(t),(t=e.AlternateContent)&&D(t)}function f(e){var t,t,t,t,t,t,t=e.sp;t&&c(t),(t=e.cxnSp)&&u(t),(t=e.pic)&&l(t),(t=e.grpSp)&&d(t),(t=e.graphicFrame)&&h(t),(t=e.AlternateContent)&&D(t)}function c(e){var t,n,t,n,t,n,t=e.nvSpPr,n=t&&t.cNvPr,t=t&&t.cNvSpPr;n&&m(n),t&&v(t),(n=e.spPr)&&E(n),(t=e.style)&&j(t),(n=e.txBody)&&_(n)}function u(e){var t,n,n,t,n,t,t=e.nvCxnSpPr,n=t&&t.cNvPr;n&&m(n),(n=t&&t.cNvCxnSpPr)&&y(n),(t=e.spPr)&&E(t),(n=e.style)&&j(n),(t=e.txBody)&&_(t)}function l(e){var t,n,n,t,n,t,n,t=e.nvPicPr,n=t&&t.cNvPr;n&&m(n),(n=t.cNvPicPr)&&w(n),(t=e.blipFill)&&z(t),(n=e.spPr)&&E(n),(t=e.style)&&j(t),(n=e.txBody)&&_(n)}function d(e){e.c_.forEach(function(e){e.nvGrpSpPr?x(e.nvGrpSpPr):e.grpSpPr?I(e.grpSpPr):e.sp?c(e.sp):e.cxnSp?u(e.cxnSp):e.pic?l(e.pic):e.graphicFrame?h(e.graphicFrame):e.AlternateContent?D(e.AlternateContent):e.n_===n&&d(e)})}function h(e){var t,n,t,n,t,t=e.nvGraphicFramePr,n=t&&t.cNvPr,t=t&&t.cNvGraphicFramePr;n&&m(n),t&&p(t),(n=e.xfrm)&&C(n),(t=e.graphic)&&F(t)}function m(e){var t,t,t,t=e.extLst;t&&g(t),(t=e.hlinkClick)&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.hlinkHover)&&(0,i.addNameSpace)(t,i.NameSpaces.A)}function p(e){var e=e.graphicFrameLocks;e&&(0,i.addNameSpace)(e,i.NameSpaces.A)}function v(e){var e=e.spLocks;e&&(0,i.addNameSpace)(e,i.NameSpaces.A)}function b(e){var e=e.extLst;e&&g(e)}function y(e){var t,t,t,t=e.stCxn;t&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.endCxn)&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.cxnSpLocks)&&(0,i.addNameSpace)(t,i.NameSpaces.A)}function w(e){var t,t,t=e.picLocks;t&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.extLst)&&g(t)}function x(e){var t,t,e,t=e.cNvPr;t&&m(t),(t=e.cNvGrpSpPr)&&(e=t.grpSpLocks)&&(0,i.addNameSpace)(e,i.NameSpaces.A)}function g(e){var t;(0,i.addNameSpace)(e,i.NameSpaces.A),(0,i.convertToArray)(e.ext).forEach(function(e){k(e)})}function k(e){var t,n,t,n;(0,i.addNameSpace)(e,i.NameSpaces.A),t=e.creationId,n=e.useLocalDpi,t&&(0,i.addNameSpace)(t,i.NameSpaces.A16),n&&(0,i.addNameSpace)(n,i.NameSpaces.A14),(t=e.cameraTool)&&(0,i.addNameSpace)(t,i.NameSpaces.A14),(n=e.compatExt)&&(0,i.addNameSpace)(n,i.NameSpaces.A14)}function I(e){var e=e.xfrm;e&&(0,i.addNameSpace)(e,i.NameSpaces.A)}function C(e){e.off&&(0,i.addNameSpace)(e.off,i.NameSpaces.A),e.ext&&(0,i.addNameSpace)(e.ext,i.NameSpaces.A)}function F(e){(0,i.addNameSpace)(e,i.NameSpaces.A);var e=e.graphicData;e&&A(e)}function A(e){var t,t,t,t=e.chart;t&&S(t),(t=e.slicer)&&(0,i.addNameSpace)(t,i.NameSpaces.SLE),(t=e.timeslicer)&&(0,i.addNameSpace)(t,i.NameSpaces.TSLE)}function S(e){var t,n,t,n=(0,i.convertToArray)(e.r_).some(function(e){return"http://schemas.microsoft.com/office/drawing/2014/chartex"===r.xmlRes[e].v_})?i.NameSpaces.CX:i.NameSpaces.C;(0,i.addNameSpace)(e,n)}function E(e){var t,t,t,t,t,t=e.xfrm;t&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.prstGeom)&&(0,i.addNameSpace)(t,i.NameSpaces.A),T(e),(t=e.ln)&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.sp3d)&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.effectLst)&&(0,i.addNameSpace)(t,i.NameSpaces.A)}function j(e){var t,t,t,t,t=e.lnRef;t&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.fillRef)&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.effectRef)&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.fontRef)&&(0,i.addNameSpace)(t,i.NameSpaces.A)}function _(e){var t,t,n,t=e.bodyPr;t&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.lstStyle)&&(0,i.addNameSpace)(t,i.NameSpaces.A),(n=(0,i.convertToArray)(e.p)).forEach(function(e){(0,i.addNameSpace)(e,i.NameSpaces.A)})}function D(e){var t,t;(0,i.addNameSpace)(e,i.NameSpaces.MC),(t=e.Choice)&&R(t),(t=e.Fallback)&&O(t)}function R(e){var t,t,t,t,t=e.graphicFrame;t&&((0,i.addNameSpace)(t,i.NameSpaces.XDR),h(t)),(t=e.pic)&&((0,i.addNameSpace)(t,i.NameSpaces.XDR),l(t)),(t=e.sp)&&((0,i.addNameSpace)(t,i.NameSpaces.XDR),c(t)),(t=e.twoCellAnchor||e.oneCellAnchor||e.absoluteAnchor)&&((0,i.addNameSpace)(t,i.NameSpaces.XDR),f(t))}function O(e){var e=e.sp;e&&((0,i.addNameSpace)(e,i.NameSpaces.XDR),c(e))}function T(e){var t,n,n,n,n,n,n,t=i.NameSpaces.A,n=e.noFill;n&&(0,i.addNameSpace)(n,t),(n=e.solidFill)&&(0,i.addNameSpace)(n,t),(n=e.gradFill)&&(0,i.addNameSpace)(n,t),(n=e.blipFill)&&(0,i.addNameSpace)(n,t),(n=e.pattFill)&&(0,i.addNameSpace)(n,t),(n=e.grpFill)&&(0,i.addNameSpace)(n,t)}function z(e){var t,t,t,t=e.blip;t&&((0,i.addNameSpace)(t,i.NameSpaces.A),b(t)),(t=e.srcRect)&&(0,i.addNameSpace)(t,i.NameSpaces.A),(t=e.stretch)&&(0,i.addNameSpace)(t,i.NameSpaces.A)}Object.defineProperty(e,"__esModule",{value:!0}),e.addNameSpaceForSpPr=e.addNameSpaceForDrawingFile=void 0,r=t("./dist/plugins/io/utils/xml-writer.js"),i=t("./dist/plugins/io/utils/namespace/common.js"),n="grpSp",e.addNameSpaceForDrawingFile=a,e.addNameSpaceForSpPr=E},"./dist/plugins/io/utils/namespace/pivot.js":function(e,t,n){"use strict";var i,r;function a(e){var e=i.util.xr(e,"extLst");e&&o(e)}function o(e){var e=i.util.go(e,"ext");e&&s(e)}function s(e){e.forEach(function(e){var t,t,t,t=i.util.xr(e,"pivotTableDefinition");t&&(0,r.addNameSpace)(t,r.NameSpaces.X14),(t=i.util.xr(e,"pivotCacheDefinition"))&&(0,r.addNameSpace)(t,r.NameSpaces.X14),(t=i.util.xr(e,"pivotTableDefinition16"))&&(0,r.addNameSpace)(t,r.NameSpaces.XPDL)})}function f(e){var t,t,t,t=i.util.xr(e,"dataFields");t&&c(t),(t=i.util.xr(e,"pivotFields"))&&l(t),(t=i.util.xr(e,"extLst"))&&o(t)}function c(e){var t,n,r,t=i.util.go(e,"dataField");if(t&&0<t.length)for(n=0;n<t.length;n++)u(r=t[n])}function u(e){var e,e,e,e=i.util.xr(e,"extLst");e&&(e=i.util.xr(e,"ext"))&&(e=i.util.xr(e,"dataField"))&&(0,r.addNameSpace)(e,r.NameSpaces.X14)}function l(e){var t,n,r,t=i.util.go(e,"pivotField");if(t&&t.length)for(n=0;n<t.length;n++)d(r=t[n])}function d(e){var e,e,e,e=i.util.xr(e,"extLst");e&&(e=i.util.xr(e,"ext"))&&(e=i.util.xr(e,"pivotField"))&&(0,r.addNameSpace)(e,r.NameSpaces.X14)}Object.defineProperty(t,"__esModule",{value:!0}),t.addPivotTableNameSpace=t.addPivotCacheDefinitionNameSpace=void 0,i=n("Core"),r=n("./dist/plugins/io/utils/namespace/common.js"),t.addPivotCacheDefinitionNameSpace=a,t.addPivotTableNameSpace=f},"./dist/plugins/io/utils/namespace/releaseLc.js":function(e,t,n){"use strict";var a,r,i,$,o,Q,ee,te,ne,re,ie,ae,oe;function f(e){var t;return new o.Common.ResourceManager(a.SR).getResource()[e]}function x(e){for(var t,n,t=0,n=0;n<e.length;n++){if(e[n]!==t+1)return t+1;t++}return t+1}function se(e){return(e.hl||!e.b)&&!e.isVd(!1)}function g(e,t,n,r,i,a,o){var e,s,f,c,u,l,d,h,m,p,s;if(e.sort(function(e,t){return e-t}),e=x(e),t){for(f=[],c=[],u=ne(ae[23],!0),l=0;l<t.length;l++)d=t[l],f.push(+d[n].substring(3)),0<=(h=d[r]&&d[r].indexOf(u))&&c.push(parseInt(d[r].substring(h+16),10));f.sort(function(e,t){return e-t}),c.sort(function(e,t){return e-t}),m=x(f),p=x(c),(s={})[n]=ne(ae[24],!0)+m,s[r]=u+p+re(ae[19],!0),s[re(ae[25],!0)]=ne(ae[26],!0),s[ne(ae[29],!0)]=re(ae[27],!0),t.push(s),(s={})[re(ae[29],!0)]=ne(ae[28],!0),s[re(ae[30],!0)]=re(ae[24],!0)+m,s[i]=e,s.name=oe,a[ne(ae[2],!0)][re(ae[28],!0)+p]=JSON.parse(o)}return s}function fe(e,t,n,r,i,a){var e,o,s,f,c,u,l,d,h,m,t,p,v,b,y,w;if(e.sort(function(e,t){return e-t}),e=x(e),t&&t.c_){for(s=(o=t.c_).length,f=ne(ae[22],!0),c=ne(ae[23],!0),u=[],l=[],d=0;d<s;d++)h=o[d],u.push(+h[n].substring(3)),0<=(m=h[f]&&h[f].indexOf(c))&&l.push(parseInt(h[f].substring(m+16),10));if(u.sort(function(e,t){return e-t}),l.sort(function(e,t){return e-t}),!((t=r.indexOf(re(ae[36],!0)))<0))return p=x(l),v=x(u),b=ne(ae[37],!0),y=re(ae[38],!0),w=re(ae[39],!0),i[ne(ae[5],!0)]=r.substring(0,t)+b+v+y+p+w+r.substring(t),i[re(ae[18],!0)+p+ne(ae[19],!0)]=a,{si:e,r:v}}}function k(e,t,n,r,i,a,o,s,f,c){var u,l,d,h,m,p,u=e.c_[t],l=u[re(ae[30],!0)];if(n=u[r],i[re(ae[29],!0)]=ne(ae[28],!0),i[re(ae[30],!0)]=l,i[r]=n,i.name=oe,e.c_[t]=i,a){for(d=void 0,h=0;h<a.length;h++)if((m=a[h])[o]===l){d=(p=m[s]).split("/").pop().slice(0,-4);break}d&&(f[ne(ae[2],!0)][d]=JSON.parse(c))}}function s(e){return e&&(e.isVd(!1)||e.b&&!e.hl)}function c(){var e,t,n,r,i,e=this;try{n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},r="object"===("undefined"==typeof global?"undefined":n(global))&&global&&global.Object===Object&&global,i="object"===("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,t=r||i||e}catch(e){}return t}function u(e){var t,t,t,t,t=c(),t=t&&t[re(["G","C"],!1)],t=t&&t[ne(["Sra","ped"],!1)],t=t&&t[ne(["Set","hes"],!1)];return t&&t[e]}function l(e,t){var n,r,i,a,o,n=!0,r="";if(e)if("string"==typeof e)(e=e.trim())&&(i=[e]);else if(Array.isArray(e)){for(a=!0,i=[],o=0;o<e.length;o++)r=e[o].trim(),i.push(r),a&&r&&(a=!1);a&&(i=null)}return i||(n=!1,i=t),re(i,n)}function d(e,t,n){var e,r,r,i,a,o,s,e=f(re([e,"s"],!1)),r=u(ne(["Wrbo","okok"],!1)),r=r&&1===r.lm?f(ne(["ld","se"],!1)):f(re(["lr","su"],!1)),i=l(e,t);for(r=l(r,t),i=(i=i.replace("{0}",n.d)).replace("{1}",r).replace("{1}",r),a=[],s=o=0;s<i.length;s++)"\r"!==i[s]&&"\n"!==i[s]||(a.push(i.substring(o,s)),"\r"===i[s]&&s<i.length-1&&"\n"===i[s+1]&&s++,o=s+1);return o<i.length&&a.push(i.substring(o,i.length)),a}function h(r,i){(0,a.Aoe)(r,function(e){var t,n,n=["IvldEclI ies e.\rEalu.ae@rpct.o fyune sitne","nai xe Olcneky \nmi sslsgaeiycmi o edassac."];if(e.hl)if(e.isVd(!1)){if(-1!==e.m)return i.apply(r),Q[re(ae[45],!0)]=[],void(Q[re(ae[46],!0)]=e);n=e.d?(t="l2",["Pwrdb rpCt pedSet.\rYu eprr elyetkyeprsi 0 as","oee yGaeiySra.hes \nortmoaydpomn e xie n{}dy."]):(t="l6",["Pwrdb rpCt pedSet vlainVrin\no iesdfrDsrbto.","oee yGaeiySra.hesEauto eso\rNtLcne o itiuin"])}else e.adr&&e.adr.dsr?t=f(re(["l8","s"],!1))?"l8":"l4":e.e?(t="l5",n=["Pwrdb rpCt pedSet.\rYu eprr elyetkyhseprd\rEalu.ae@rpct.o o ep","oee yGaeiySra.hes \nortmoaydpomn e a xie.\nmi sslsgaeiycmfrhl."]):t=f(ne(["l8","s"],!1))?"l8":"l4";else n=e.b?(t="l1",["Pwrdb rpCt pedSet.\no a nydpo hsEAUTO eso oal.\rTmoaydpomn esaeaalbefrtsig \nmi sslsgaeiycm","oee yGaeiySra.hes\rYucnol elyti VLAINvrinlcly \neprr elyetky r vial o etn.\rEalu.ae@rpct.o."]):(t=f(ne(["l7","s"],!1))?"l7":"l3",["EclI ies o on\rYune ai ies e ornSraJ xe O eprr esaeaalbefreauto.I o ucae ies,yu e si orprhs ofraineal mi sslsgaeiycmi o edassac.","xe OLcneNtFud\no edavldlcnekyt u pedSEclI.Tmoayky r vial o vlain fyuprhsdalcne orkyi nyu ucaecnimto mi.Ealu.ae@rpct.o fyune sitne"]);Q[re(ae[45],!0)]=d(t,n,e),Q[re(ae[46],!0)]=e,i.apply(r)})}function ce(e,t,n){var r,i,e,t;return 0<=e.n_.indexOf(t)&&(r=e.n_,i=e.c_&&0<e.c_.length?e.c_[0]&&e.c_[0].n_:(t=void 0,(t=1<(e=r.split(":")).length?e[0]:t)?t+":"+n:n)),{parentTagWithNameSpace:r,childTagWithNameSpace:i}}function ue(e,t){return t?e.indexOf(ne(ae[62],!0)+t+ne(ae[63],!0)):-1}function le(e,t){return t?e.indexOf(ne(ae[64],!0)+t+ne(ae[63],!0))+(3+t.length):-1}function m(){var e,t,n,r;i.ule.prototype.fle=function(e){var t,n,r,i,a,o,s,f,c,e,e,u,l,d,d,h,m,p,v,b,y,w,r,r,x,t=Q&&Q[re(ae[45],!0)];if(t&&0<t.length&&(r=(n=e.qee)[ne(ae[1],!0)],i=ee(r,ne(ae[2],!0)))&&i.c_){for(o=[],s=re(ae[3],!(a=void 0)),f=0;f<i.c_.length;f++)if(c=i.c_[f],o.push(+c[s]),c&&c.name===oe){a=f;break}for(e=e[ne(ae[55],!0)],a===ie&&e&&0<e.length&&e.forEach(function(e){e&&e[re(ae[53],!0)]!==ie&&(e[re(ae[53],!0)]=+e[re(ae[53],!0)]+1)}),u=ne(ae[21],!(e=void 0)),l=re(ae[22],!0),d=r[d=ne(ae[20],!0)]&&r[d].c_,h={},p=re(ae[31],!(m="")),v=ne(ae[32],!0),b=re(ae[33],!0),f=0;f<t.length;f++)m+='"'+(f+1)+p+t[f]+v+(f+2)+b;m=m.substring(0,m.length-1),y=re(ae[34],!0)+m+re(ae[35],!0),w=se(Q[re(ae[46],!0)]),(r=ee(r,ne(ae[40],!0)))&&(r=ee(r,ne(ae[41],!0)))&&(x=r[ne(ae[42],!0)],w?r[ne(ae[42],!0)]=0:x===ie?r[ne(ae[42],!0)]=a===ie?1:ie:a===ie&&(r[ne(ae[42],!0)]=+x+1)),w?a===ie?(h=g(o,d,u,l,s,n,y))&&(i.c_=[h]):i.c_=[i.c_[a]]:void 0===a?(h=g(o,d,u,l,s,n,y))&&i.c_.unshift(h):k(i,a,e,s,h,d,u,l,n,y)}},i.ule.prototype.ple=function(B){var e,t,n,r,i,a,o,s,f,c,M,N,u,l,a,d,h,m,P,p,v,b,a,y,w,x,U,g,k,I,C,F,A,L,S,E,j,_,D,_,A,R,O,O,G,O,q,W,V,H,Z,A,O,R,T,i,K,X,z,J,Y,C,F,I,g,i,e="",t=Q&&Q[re(ae[45],!0)];if(t&&0<t.length){if(n={},Object.keys(B).forEach(function(e){n[e]=B[e]}),r=n[re(ae[4],!0)],i=n[re(ae[5],!0)],!(a=te(r,!0))||!a.c_)return;if(a.c_.forEach(function(e){e&&e.n_&&(0<=e.n_.indexOf(re(ae[2],!0))?(o=ce(e,re(ae[2],!0),re(ae[28],!0)),s=o.parentTagWithNameSpace,f=o.childTagWithNameSpace):0<=e.n_.indexOf(re(ae[40],!0))?(o=ce(e,re(ae[40],!0),re(ae[41],!0)),c=o.parentTagWithNameSpace,M=o.childTagWithNameSpace):0<=e.n_.indexOf(re(ae[54],!0))&&(o=ce(e,re(ae[54],!0),re(ae[61],!0)),N=o.parentTagWithNameSpace))}),!s)return;if(u=ue(r,s),l=le(r,s),a=r.substring(u,l),u<0)return;if(d=te(a,!0),h=[],p=re(ae[3],!(P=m=void 0)),v=re(ae[21],!0),b=re(ae[4],!0),a=re(ae[62],!0)+f+re(ae[60],!0),y=re(ae[13],!0),w=ne(ae[14],!0),x=ne(ae[15],!0),U=se(Q[re(ae[46],!0)]),g=ue(r,c),k=le(r,c),F=C=I=void 0,0<g&&0<k&&(A=r.substring(g,k),I=te(A,!0),(C=ee(I,M))[re(ae[50],!0)]!==ie)&&(F=+C[re(ae[50],!0)]),d&&d.c_&&0<=d.c_.length)for(S=(L=d.c_).length,E=0;E<S;E++){if((j=L[E]).name===oe){m=E,(_={})[re(ae[29],!0)]=f,P=_[re(ae[30],!0)]=j[re(ae[30],!0)],_[p]=j[p],_.name=oe,U?d.c_=[_]:d.c_[E]=_,(D=new $.ale).ole(d),_=D.ile(),n[b]=r.substring(0,u)+_+r.substring(l),r=n[b];break}h.push(+j[p])}for(A=ue(r,N),R=le(r,N),0<A&&m===ie&&(O=r.substring(A,R),O=te(O,!0))&&O.c_&&0<O.c_.length&&((G=O.c_).forEach(function(e){e&&e[re(ae[53],!0)]!==ie&&(e[re(ae[53],!0)]=+e[re(ae[53],!0)]+1)}),(D=new $.ale).ole(O),O=D.ile(),n[b]=r.substring(0,A)+O+r.substring(R),r=n[b]),q=ne(ae[8],!0),W=ne(ae[9],!0),V=re(ae[10],!0),H=re(ae[12],!0),E=0;E<t.length;E++)e+=q+(2+E)+W+(2+E)+V+t[E]+H;if(O=(Z=re(ae[16],!0))+e+(A=ne(ae[17],!0)),R=te(i),U&&m===ie)(T=fe(h,R,v,i,n,O))&&(n[b]=r.substring(0,u+s.length+2)+a+oe+y+T.si+w+T.r+x+r.substring(l));else if(m===ie)(T=fe(h,R,v,i,n,O))&&(F!==ie?(C.activeTab=F+1,(D=new $.ale).ole(I),i=D.ile(),n[b]=r.substring(0,g)+i+r.substring(k,u+s.length+2)+a+oe+y+T.si+w+T.r+x+r.substring(u+s.length+2)):n[b]=r.substring(0,u+s.length+2)+a+oe+y+T.si+w+T.r+x+r.substring(u+s.length+2));else if(R&&R.c_){for(S=(K=R.c_).length,X=ne(ae[22],!0),z=void 0,E=0;E<S;E++)if(P===(J=K[E])[v]){z=(Y=J[X]).split("/").pop().slice(0,-4);break}z&&(C=n[ne(ae[43],!0)+z+re(ae[19],!0)],F=te(C),(I=ee(F,re(ae[57],!0)))&&(g=I.c_[0])&&(i=g[ne(ae[59],!0)])&&1==+i&&(O=re(ae[56],!0)+e+A),n[ne(ae[43],!0)+z+re(ae[19],!0)]=O)}}return n},t=a.Workbook.prototype,n=t.rQ,t.rQ=function(){var e=this,t=arguments;h(e,function(){if(n)return n.apply(e,t)})},r=t.e2e,t.e2e=function(){var e=this,t=arguments;h(e,function(){if(r)return r.apply(e,t)})}}Object.defineProperty(t,"__esModule",{value:!0}),t.Vi=void 0,a=n("Core"),r=n("./dist/plugins/io/utils/xml-parser.js"),i=n("./dist/plugins/io/utils/namespace/common.js"),$=n("./dist/plugins/io/utils/xml-writer.js"),o=n("Common"),Q={},ee=a.util.xr,te=r.parseXmlToSJSObject,ne=a.n1e,re=a.n1e,oe=ne((ae=[["4576616c756174696f6e2056657273696f6e"],["776f726b626f6f6b"],["736865657473"],["73686565744964"],["786c2f776f726b626f6f6b2e786d6c"],["786c2f5f72656c732f776f726b626f6f6b2e786d6c2e72656c73"],["3c7368656574733e"],["3c2f7368656574733e"],["3c726f7720723d22"],["2220637573746f6d4865696768743d2231222068743d2232322e35223e3c6320723d2242"],["2220743d22737472223e3c763e"],["3c7368656574206e616d653d22"],["3c2f763e3c2f633e3c2f726f773e"],["2220736865657449643d22"],["2220723a69643d22724964"],["222f3e"],["3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a20202020202020203c776f726b73686565743e0d0a2020202020202020202020203c64696d656e73696f6e207265663d2241313a543230222f3e0d0a2020202020202020202020203c736865657456696577733e0d0a202020202020202020202020202020203c73686565745669657720776f726b626f6f6b5669657749643d2230223e0d0a20202020202020202020202020202020202020203c73656c656374696f6e2061637469766543656c6c3d224131222073717265663d224131222f3e0d0a202020202020202020202020202020203c2f7368656574566965773e0d0a2020202020202020202020203c2f736865657456696577733e0d0a2020202020202020202020203c7368656574466f726d617450722064656661756c74436f6c57696474683d22372e35303339303632352220637573746f6d4865696768743d2231222064656661756c74526f774865696768743d2232322e35222f3e0d0a2020202020202020202020203c7368656574446174613e"],["3c2f7368656574446174613e0d0a20202020202020203c2f776f726b73686565743e"],["786c2f776f726b7368656574732f7368656574"],["2e786d6c"],["72656c73"],["4964"],["546172676574"],["776f726b7368656574732f7368656574"],["724964"],["54797065"],["687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f6f6666696365446f63756d656e742f323030362f72656c6174696f6e73686970732f776f726b7368656574"],["52656c6174696f6e73686970"],["7368656574"],["6e5f"],["723a6964"],["223a7b2231223a7b2274223a22737472222c2276223a22"],["227d2c2272223a"],["7d2c"],["7b226e5f223a22776f726b7368656574222c22635f223a5b7b226e5f223a2264696d656e73696f6e222c22726566223a2241313a543230227d2c7b226e5f223a2273686565745669657773222c22635f223a5b7b226e5f223a22736865657456696577222c22746f704c65667443656c6c223a224131222c22776f726b626f6f6b566965774964223a302c22635f223a5b7b226e5f223a2273656c656374696f6e222c2261637469766543656c6c223a224131222c227371726566223a224131227d5d7d5d7d2c7b226e5f223a227368656574466f726d61745072222c2264656661756c74526f77486569676874223a32322e352c2264656661756c74436f6c5769647468223a372e35303339303632352c22637573746f6d486569676874223a2231227d2c7b"],["2c226e5f223a22736865657444617461222c22726f77436f756e74223a32302c22636f6c436f756e74223a32307d2c7b226e5f223a227072696e744f7074696f6e73222c226c6f73736c657373223a7b2273686f77526f77486561646572223a312c2273686f77436f6c756d6e486561646572223a317d7d2c7b226e5f223a22706167654d617267696e73222c226c656674223a302e372c227269676874223a302e372c22746f70223a302e37352c22626f74746f6d223a302e37352c22686561646572223a302e332c22666f6f746572223a302e332c226c6f73736c657373223a7b2262657374466974526f7773223a66616c73652c2262657374466974436f6c756d6e73223a66616c73652c2273686f77426f72646572223a747275652c227573654d6178223a747275652c227061676552616e6765223a22222c227175616c697479466163746f72223a327d7d2c7b226e5f223a22706167655365747570222c22706170657253697a65223a2231222c227573654669727374506167654e756d626572223a2231222c226669727374506167654e756d626572223a312c226f7269656e746174696f6e223a22706f727472616974227d2c7b226e5f223a22686561646572466f6f746572222c22635f223a5b7b226e5f223a226f6464486561646572222c22635f223a5b2226616d703b4c26616d703b4326616d703b52225d7d2c7b226e5f223a226f6464466f6f746572222c22635f223a5b2226616d703b4c26616d703b4326616d703b52225d7d5d7d2c7b226e5f223a226578744c7374222c22635f223a5b5d7d5d2c2272656c73223a7b226e5f223a2252656c6174696f6e7368697073222c22786d6c6e73223a22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f7061636b6167652f323030362f72656c6174696f6e7368697073222c22635f223a5b5d7d2c226f72646572223a307d"],["3c52656c6174696f6e7368697020"],["3c52656c6174696f6e736869702049643d22724964"],["2220547970653d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f6f6666696365446f63756d656e742f323030362f72656c6174696f6e73686970732f776f726b736865657422205461726765743d22776f726b7368656574732f7368656574"],["2e786d6c222f3e"],["626f6f6b5669657773"],["776f726b626f6f6b56696577"],["616374697665546162"],["786c2f776f726b7368656574732f"],["2220723a69643d22"],["6c735465787473"],["7374617465"],["3c626f6f6b56696577733e"],["3c2f626f6f6b56696577733e"],["776f726b626f6f6b56696577"],["616374697665546162"],["3c646566696e65644e616d65733e"],["3c2f646566696e65644e616d65733e"],["6c6f63616c53686565744964"],["646566696e65644e616d6573"],["646566696e65644e616d6573"],["3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e3c776f726b73686565743e3c64696d656e73696f6e207265663d2241313a543230222f3e3c736865657456696577733e3c7368656574566965772074616253656c65637465643d22312220776f726b626f6f6b5669657749643d2230223e3c73656c656374696f6e2061637469766543656c6c3d224131222073717265663d224131222f3e3c2f7368656574566965773e3c2f736865657456696577733e3c7368656574466f726d617450722064656661756c74436f6c57696474683d22372e35303339303632352220637573746f6d4865696768743d2231222064656661756c74526f774865696768743d2232322e35222f3e3c7368656574446174613e"],["73686565745669657773"],["736865657456696577"],["74616253656c6563746564"],["206e616d653d22"],["646566696e65644e616d65"],["3c"],["3e"],["3c2f"]])[0],!(ie=void 0)),t.Vi=m},"./dist/plugins/io/utils/namespace/sheet.js":function(e,t,n){"use strict";var r,i,a,o,s,f;function c(e){e&&(e.c_||[]).forEach(function(e){var t=e.n_;"extLst"===t?u(e):t===a&&w(e)})}function u(e){(e.c_||[]).forEach(function(e){var t;"ext"===e.n_&&l(e)})}function l(e){(e.c_||[]).forEach(function(e){var t=e.n_;"sparklineGroups"===t?d(e):"dataValidations"===t?v(e):"slicerList"===t?(0,i.addNameSpace)(e,i.NameSpaces.X14):"timelineRefs"===t&&(0,i.addNameSpace)(e,i.NameSpaces.X15)})}function d(e){(0,i.addNameSpace)(e,i.NameSpaces.X14),(e.c_||[]).forEach(function(e){var t;"sparklineGroup"===e.n_&&h(e)})}function h(e){(e.c_||[]).forEach(function(e){var t;switch(e.n_){case"sparklines":m(e);break;case"f":(0,i.addNameSpace)(e,i.NameSpaces.XM)}})}function m(e){(e.c_||[]).forEach(function(e){var t;"sparkline"===e.n_&&p(e)})}function p(e){(e.c_||[]).forEach(function(e){var t;switch(e.n_){case"f":case"sqref":(0,i.addNameSpace)(e,i.NameSpaces.XM)}})}function v(e){(0,i.addNameSpace)(e,i.NameSpaces.X14),(e.c_||[]).forEach(function(e){var t;"dataValidation"===e.n_&&b(e)})}function b(e){(e.c_||[]).forEach(function(e){var t=e.n_;"formula1"===t||"formula2"===t?y(e):"sqref"===t&&(0,i.addNameSpace)(e,i.NameSpaces.XM)})}function y(e){(e.c_||[]).forEach(function(e){var t;"f"===e.n_&&(0,i.addNameSpace)(e,i.NameSpaces.XM)})}function w(e){(0,i.addNameSpace)(e,i.NameSpaces.MC),(e.c_||[]).forEach(function(e){var t;e.n_===o&&x(e)})}function x(e){(e.c_||[]).forEach(function(e){var t=e.n_;t===s?g(e):t===f&&k(e)})}function g(e){(0,i.addNameSpace)(e,i.NameSpaces.EMPTY),(e.c_||[]).forEach(function(e){var t=e.n_;t===a?w(e):t===f&&x(e)})}function k(e){(0,i.addNameSpace)(e,i.NameSpaces.EMPTY),(e.c_||[]).forEach(function(e){var t;"controlPr"===e.n_&&I(e)})}function I(e){(e.c_||[]).forEach(function(e){var t;"anchor"===e.n_&&C(e)})}function C(e){(e.c_||[]).forEach(function(e){var t=e.n_;"from"!==t&&"to"!==t||F(e)})}function F(e){(e.c_||[]).forEach(function(e){var t=e.n_;"col"!==t&&"colOff"!==t&&"row"!==t&&"rowOff"!==t||(0,i.addNameSpace)(e,i.NameSpaces.XDR)})}Object.defineProperty(t,"__esModule",{value:!0}),t.addNameSpaceForSheetFile=void 0,r=n("Core"),i=n("./dist/plugins/io/utils/namespace/common.js"),a=r.XFileConstants.Bo,o=r.XFileConstants.Lo,s=r.XFileConstants.Fo,f=r.XFileConstants.Po,t.addNameSpaceForSheetFile=c},"./dist/plugins/io/utils/namespace/slicer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNameSpaceForTimelineCacheFile=t.addNameSpaceForSlicerCacheFile=void 0;var r=n("./dist/plugins/io/utils/namespace/common.js");function i(e){var e;e&&(e=e.slicerCacheDefinition&&e.slicerCacheDefinition.extLst)&&a(e)}function a(e){var e=e.ext;e&&o(e)}function o(e){0<e.length&&e.forEach(function(e){var t,t;(0,r.addNameSpace)(e,r.NameSpaces.X),(t=e.tableSlicerCache)&&(0,r.addNameSpace)(t,r.NameSpaces.X15),(t=e.slicerCacheHideItemsWithNoData)&&(0,r.addNameSpace)(t,r.NameSpaces.X15)})}function s(e){var e;e&&(e=e.timelineCacheDefinition&&e.timelineCacheDefinition.timelinePivotFilter)&&f(e)}function f(e){var e,e,e=e.autoFilter,e=e&&e.filterColumn;e&&(0,r.addNameSpace)(e,r.NameSpaces.X)}t.addNameSpaceForSlicerCacheFile=i,t.addNameSpaceForTimelineCacheFile=s},"./dist/plugins/io/utils/namespace/vmlDrawing.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNameSpaceForVmlDrawingFile=void 0;var r=n("./dist/plugins/io/utils/namespace/common.js");function i(e){var t;e&&e.c_.forEach(function(e){switch(e.n_){case"shapelayout":a(e);break;case"shapetype":o(e);break;case"shape":s(e)}})}function a(e){(0,r.addNameSpace)(e,r.NameSpaces.O)}function o(e){var t;(0,r.addNameSpace)(e,r.NameSpaces.V),e.c_.forEach(function(e){"lock"===e.n_&&(0,r.addNameSpace)(e,r.NameSpaces.O)})}function s(e){var t;(0,r.addNameSpace)(e,r.NameSpaces.V),e.c_.forEach(function(e){switch(e.n_){case"textbox":f(e);break;case"lock":(0,r.addNameSpace)(e,r.NameSpaces.O);break;case"ClientData":c(e)}})}function f(e){var t;e.c_.forEach(function(e){"div"===e.n_&&(0,r.addNameSpace)(e,"")})}function c(e){(0,r.addNameSpace)(e,r.NameSpaces.X)}t.addNameSpaceForVmlDrawingFile=i},"./dist/plugins/io/utils/xml-parser.js":function(e,t,n){"use strict";var s,r;function i(e){var t,n,r;if(e){for(n={},(t=new s.XmlReader).reset(),t.setXml(e);t.read();)if(2!==t.elementType){for(r={kSt:{}},n[t.name()]=r;t.moveToNextAttribute();)r.kSt[t.readAttributeNameAsString()]=t.readContentAsString();3!==t.elementType&&u(t,r)}return n}}function a(e,t,n){var r,i,a,o;if(e){for(t=t||{},i={},(r=new s.XmlReader).reset(),r.setXml(e);r.read();)if(2!==r.elementType){for(o=i,t[a=r.name()]?(i.n_=a,i.c_=[]):i[a]=o={};r.moveToNextAttribute();)o[r.readAttributeNameAsString()]=r.readContentAsString();3!==r.elementType&&c(r,o,t,n)}return i}}function f(e){return e.c_!==r&&e.n_!==r}function c(e,t,n,r){for(var i,a,o,s,s,o,i=e.depth;e.read()&&!(e.depth<=i);)if(1===e.nodeType()){for(a={},n[o=e.name()]&&(a.n_=o,a.c_=[]),f(t)?f(a)?t.c_.push(a):((s={})[o]=a,t.c_.push(s)):t[o]?(Array.isArray(t[o])||(t[o]=[t[o]]),t[o].push(a)):t[o]=a,t.v_&&""===t.v_.trim()&&delete t.v_;e.moveToNextAttribute();)a[e.readAttributeNameAsString()]=e.readContentAsString();3!==e.elementType&&(s=r&&r[o],o=e.readElementContentAsString(s),1==(1&e.elementType)&&""!==o&&e.Dne>e.rs&&("preserve"===a["xml:space"]&&(o=e.readElementContentAsString(!0)),a.v_=o),c(e,a,n,r))}}function o(e,t){var n,r,i;if(e){for(r={},(n=new s.XmlReader).reset(),n.setXml(e);n.read();)if(2!==n.elementType&&(i=n.name(t))){for(r.n_=n.name(t);n.moveToNextAttribute();)r[n.readAttributeNameAsString()]=n.readContentAsString();if(3===n.elementType)return r;l(n,r,t)}return r}}function u(e,t){for(var n,r,i,a,n=e.depth;e.read()&&!(e.depth<=n);)if(1===e.nodeType()){for(r={},t[i=e.name()]?(Array.isArray(t[i])||(t[i]=[t[i]]),t[i].push(r)):t[i]=r,r.kSt={};e.moveToNextAttribute();)r.kSt[e.readAttributeNameAsString()]=e.readContentAsString();3!==e.elementType&&(a=e.readElementContentAsString(),1==(1&e.elementType)&&""!==a&&e.Dne>e.rs&&("preserve"===r.kSt["xml:space"]&&(a=e.readElementContentAsString(!0)),r[i]=a),u(e,r))}}function l(e,t,n){for(var r,i,a,o,o,r=e.depth,i=[];e.read()&&!(e.depth<=r);)if(1===e.nodeType()){for(a={},o=e.name(n),a.n_=o;e.moveToNextAttribute();)a[e.readAttributeNameAsString()]=e.readContentAsString();3===e.elementType?i.push(a):(o=e.readElementContentAsString(),1==(1&e.elementType)&&""!==o.trimEnd()&&e.Dne>e.rs?a.c_="t"===a.n_&&"preserve"===a["xml:space"]?[e.readElementContentAsString(!0)]:[o]:l(e,a,n),i.push(a))}t.c_=i}function d(e,t,n){for(var r,i,a,o,s,a,r=e.depth,i=[];e.read()&&!(e.depth<=r);)if(1===e.nodeType()&&!(o=n(a=e.name(),e,i))){for((s={}).n_=a;e.moveToNextAttribute();)s[e.readAttributeNameAsString()]=e.readContentAsString();3===e.elementType?i.push(s):(1==(1&e.elementType)&&e.Dne>e.rs&&""!==(a=e.readSJSElementContentAsString())?s.c_=[a]:d(e,s,n),i.push(s))}t.c_=i}function h(e,t){var n,r,i,a,n="<"+t,r=e.kSt;if(r)for(i in r)r.hasOwnProperty(i)&&(n+=" "+i+'="'+r[i]+'"');for(a in n+=">",e)e.hasOwnProperty(a)&&r!==e[a]&&("object"==typeof e[a]?n+=h(e[a],a):n+=e[a]);return n+="</"+t+">"}Object.defineProperty(t,"__esModule",{value:!0}),t.convertObjectToXml=t.parseSJSWithSpecialTagHandler=t.parseSJS=t.parseXmlToSJSObject=t.parseXmlToCompactSJSObject=t.parseXmlToObject=void 0,s=n("./dist/plugins/io/utils/xml-reader.js"),r=void 0,t.parseXmlToObject=i,t.parseXmlToCompactSJSObject=a,t.parseXmlToSJSObject=o,t.parseSJS=l,t.parseSJSWithSpecialTagHandler=d,t.convertObjectToXml=h},"./dist/plugins/io/utils/xml-reader.js":function(e,t,n){"use strict";var n,o,l,d,r,i;function a(){this.One=-1,this.zne=0,this.Bne=0,this.Tne=0,this.buffer="",this.elementType=2,this.depth=0,this.rs=0,this.Rne=0,this.x=0,this.Mne=0,this.Nne=0,this.Lne=0,this.Dne=0,this.Une=0,this.xmlIndex=0,this.xml="",this.Pne=!1,this.t2e=1/0,this.reset()}Object.defineProperty(t,"__esModule",{value:!0}),t.XmlReader=void 0,n=n("Core"),o=n.mt.vo,l="<![CDATA[",d="]]>",r=null,a.prototype.reset=function(){var e=this;e.One=-1,e.zne=0,e.Bne=0,e.Tne=0,e.buffer="",e.elementType=2,e.depth=0,e.rs=0,e.Rne=0,e.x=0,e.Mne=0,e.Nne=0,e.Lne=0,e.Dne=0,e.Une=0,e.xmlIndex=0,e.xml="",e.Pne=!1,e.t2e=1/0},a.prototype.setXml=function(e){this.xml=e,this.t2e=e.length},a.prototype.name=function(e){var t,t,e,t=this,t=t.buffer.slice(t.rs,t.rs+t.Rne);return t=t&&!e&&-1!==(e=t.lastIndexOf(":"))?t.substring(e+1):t},a.prototype.nodeType=function(){return 2===this.elementType?15:1},a.prototype.fillBuffer=function(){var e,t,e=this,t;return 0===e.buffer.length&&(e.buffer=e.xml,e.One=0,e.Dne=0,e.Bne=e.buffer.length,!0)},a.prototype.read=function(){var e,t,n,r,i,a,o,s,f,c,u,e=this,t=e.t2e;for(e.zne=Number.MAX_VALUE,e.Pne=!1;e.One<t;){if(e.One++,e.One>=e.Bne&&!e.fillBuffer())return!1;if("<"===(n=e.buffer[e.One]))break}for(i=(r=["elementStarting","elementStart","elementNameEnd","elementEnd","elementContent","elementContentStart","endElementStart"]).length,a=0,o=!1;a<i;){if(e.One>=t)return!1;switch(r[a]){case"elementStarting":for(o=!1;e.One<t;){if(e.One++,"/"===(n=e.buffer[e.One])){a=6,o=!0;break}if("?"===n){for(e.elementType=3;e.One<t;)if(e.One++,">"===(n=e.buffer[e.One]))return!0}else if(" "!==n&&"\r"!==n&&"\n"!==n&&"\t"!==n){e.rs=e.One;break}}if(o)continue;case"elementStart":for(o=!1,1===e.elementType&&e.depth++;e.One<t;){if(e.One++,">"===(n=e.buffer[e.One])){e.Rne=e.One-e.rs,a=3,o=!0;break}if(" "===n||"\r"===n||"\n"===n||"\t"===n||"/"===n){e.Rne=e.One-e.rs,e.zne=e.One;break}}if(o)continue;case"elementNameEnd":for(s=!1;e.One<t&&(e.One++,(s='"'===(n=e.buffer[e.One])?!s:s)||">"!==n););for(f=e.One;0<f;){if(f--,"/"===(n=e.buffer[f]))return e.Tne=f,e.elementType=3,!0;if(" "!==n&&"\r"!==n&&"\n"!==n&&"\t"!==n){e.Tne=f,e.elementType=1,a=4;break}}continue;case"elementEnd":for(f=e.One;0<f;){if(f--,"/"===(n=e.buffer[f]))return e.elementType=3,!0;if(" "!==n&&"\r"!==n&&"\n"!==n&&"\t"!==n){e.elementType=1;break}}case"elementContent":for(c=!1;e.One<t;){if(e.One++,n=e.buffer[e.One],e.buffer.substring(e.One,e.One+9)===l)return u=e.buffer.indexOf(d,e.One),e.Dne=e.One,e.Une=u+d.length,e.One=e.Une-1,e.Pne=!0;if("<"===n)return e.One--,c&&(e.Une=e.One+1),!0;if(e.Dne=e.One,c=!0,"\r"!==n&&"\n"!==n&&"\t"!==n)break}case"elementContentStart":for(;e.One<t;)if(e.One++,"<"===(n=e.buffer[e.One]))return e.Une=e.One,e.One--,!0;case"endElementStart":for(2!==e.elementType&&3!==e.elementType||e.depth--,e.elementType=2,e.rs=e.One+1;e.One<t;)if(e.One++,">"===(n=e.buffer[e.One]))return e.Rne=e.One-e.rs,!0}}},a.prototype.skipEndTag=function(){var e,t,n,e=this,t=e.t2e;for(e.zne=Number.MAX_VALUE,e.Pne=!1;e.One<t;){if(e.One++,e.One>=e.Bne&&!e.fillBuffer())return!1;if("<"!==(n=e.buffer[e.One])){e.One=e.One-3;break}if(e.One++,"/"===(n=e.buffer[e.One]))for(2!==e.elementType&&3!==e.elementType||e.depth--,e.elementType=2;e.One<t&&(e.One++,">"!==(n=e.buffer[e.One])););}},a.prototype.fastRead=function(){var e,t,n,r,i,a,o,s,f,e=this,t=e.t2e;for(e.zne=Number.MAX_VALUE,e.Pne=!1;e.One<t;){if(e.One++,e.One>=e.Bne&&!e.fillBuffer())return!1;if("<"===(n=e.buffer[e.One]))break}for(i=0,a=!(r=["elementStarting","elementStart","elementNameEnd","elementEnd","elementContent","elementContentStart","endElementStart"]);i<r.length;){if(e.One>=t)return!1;switch(r[i]){case"elementStarting":for(a=!1;e.One<t;){if(e.One++,"/"===(n=e.buffer[e.One])){i=6,a=!0;break}if(" "!==n&&"\r"!==n&&"\n"!==n&&"\t"!==n){e.rs=e.One;break}}if(a)continue;case"elementStart":for(a=!1,1===e.elementType&&e.depth++;e.One<t;){if(e.One++,">"===(n=e.buffer[e.One])){e.Rne=e.One-e.rs,i=3,a=!0;break}if(" "===n||"\r"===n||"\n"===n||"\t"===n){e.Rne=e.One-e.rs,e.zne=e.One;break}}if(a)continue;case"elementNameEnd":for(o=!1;e.One<t&&(e.One++,(o='"'===(n=e.buffer[e.One])?!o:o)||">"!==n););for(s=e.One;0<s;){if(s--,"/"===(n=e.buffer[s]))return e.Tne=s,e.elementType=3,!0;if(" "!==n&&"\r"!==n&&"\n"!==n&&"\t"!==n){e.Tne=s,e.elementType=1,i=4;break}}continue;case"elementEnd":for(s=e.One;0<s;){if(s--,"/"===(n=e.buffer[s]))return e.elementType=3,!0;if(" "!==n&&"\r"!==n&&"\n"!==n&&"\t"!==n){e.elementType=1;break}}case"elementContent":for(;e.One<t;){if(e.One++,n=e.buffer[e.One],e.buffer.substr(e.One,9)===l)return f=e.buffer.indexOf(d,e.One),e.Dne=e.One,e.Une=f+d.length,e.One=e.Une-1,e.Pne=!0;if("<"===n)return e.One--,!0;if("\r"!==n&&"\n"!==n&&"\t"!==n){e.Dne=e.One;break}}case"elementContentStart":for(;e.One<t;)if(e.One++,"<"===(n=e.buffer[e.One]))return e.Une=e.One,e.One--,!0;case"endElementStart":for(2!==e.elementType&&3!==e.elementType||e.depth--,e.elementType=2;e.One<t;)if(e.One++,">"===(n=e.buffer[e.One]))return!0}}},a.prototype.moveToNextAttribute=function(){for(var e,t,n,r,e=this,t=e.t2e;e.zne<t;){if(e.zne>=e.Tne-1)return!1;if(e.zne++," "!==(n=e.buffer[e.zne])&&"\r"!==n&&"\n"!==n&&"\t"!==n){e.x=e.zne;break}}for(;e.zne<t;)if(e.zne++,"="===(n=e.buffer[e.zne])||" "===n||"\r"===n||"\n"===n||"\t"===n){e.Mne=e.zne-e.x;break}for(r='"';e.zne<t;)if(e.zne++,'"'===(n=e.buffer[e.zne])||"'"===n){r=n,e.Nne=e.zne+1;break}for(;e.zne<t;)if(e.zne++,(n=e.buffer[e.zne])===r)return e.Lne=e.zne,!0},a.prototype.readContentAsString=function(){var e=this;return e.buffer.slice(e.Nne,e.Lne)},a.prototype.readContentAsBoolean=function(e){var t,t,t=this,t=t.buffer[t.Nne];return"1"===t||"t"===t||"0"!==t&&"f"!==t&&e},a.prototype.readContentAsInt=function(e){var t,t,t=this,t=parseInt(t.buffer.slice(t.Nne,t.Lne),10);return isNaN(t)?e:t},a.prototype.readContentAsDouble=function(e){var t,t,t=this,t=parseFloat(t.buffer.slice(t.Nne,t.Lne));return isNaN(t)?e:t},a.prototype.readContentAsError=function(){var e,t,e=this.readContentAsString(),t=r;switch(e){case"#DIV/0!":t=7;break;case"#N/A":t=42;break;case"#NAME?":t=29;break;case"#NULL!":t=0;break;case"#NUM!":t=36;break;case"#REF!":t=23;break;case"#VALUE!":t=15;break;case"#SPILL!":t=99}return t!==r?{error:e,code:t}:r},a.prototype.readElementContentAsString=function(e){var t,n,r,i,e,t=this,n=t.Dne;if(this.Dne<=this.rs)return"";if(e)for(i=(r=t.buffer)[n-1];0<n&&(" "===i||"\r"===i||"\n"===i||"\t"===i);)i=r[--n-1];return e=t.buffer.slice(n,t.Une),t.Pne&&(e=o(e.replace(l,"").replace(d,"")),t.Pne=!1),e},a.prototype.readSJSElementContentAsString=function(e){var t,n,r,i,a,e,t=this,n=t.Dne,r=t.t2e;if(this.Dne<=this.rs)return"";if(e)for(i=(a=t.buffer)[n-1];0<n&&(" "===i||"\r"===i||"\n"===i||"\t"===i);)i=a[--n-1];if(e=t.buffer.slice(n,t.Une),t.Pne&&(e=o(e.replace(l,"").replace(d,"")),t.Pne=!1),t.One++,t.One>=t.Bne&&!t.fillBuffer())return!1;if("<"===(i=t.buffer[t.One])){if(t.One++,"/"===(i=t.buffer[t.One]))for(2!==t.elementType&&3!==t.elementType||t.depth--,t.elementType=2;t.One<r&&(t.One++,">"!==(i=t.buffer[t.One])););}else t.One--;return e},a.prototype.readElementContentAsInt=function(e){var t,t,t=this,t=parseInt(t.buffer.slice(t.Dne,t.Une),10);return isNaN(t)?e:t},a.prototype.readElementContentAsDouble=function(e){var t,t,t=this,t=parseFloat(t.buffer.slice(t.Dne,t.Une));return isNaN(t)?e:t},a.prototype.readElementContentAsBoolean=function(e){var t,t,t=this,t=t.buffer[t.Dne];return"1"===t||"t"===t||"0"!==t&&"f"!==t&&e},a.prototype.readAttributeNameAsString=function(){var e=this;return e.buffer.slice(e.x,e.x+e.Mne)},a.prototype.readFullElement=function(){var e,t,n,e=this;if(2===e.elementType)return"";if(t=e.rs-1,3===e.elementType)return e.buffer.slice(t,e.Tne+2);if(n=e.depth,1!==e.elementType)return"";for(;e.read()&&!(e.depth<=n););return e.buffer.slice(t,e.rs+e.Rne+1)},t.XmlReader=a},"./dist/plugins/io/utils/xml-writer.js":function(e,h,t){"use strict";var t,n,m,r,i;function a(e){var t=this;t.size=e||500,t.blockIndex=-1,t.stringIndex=0,t.blocks=[],this.createNewArray()}function o(){this.xml=new a}function s(){this.xml=new a}Object.defineProperty(h,"__esModule",{value:!0}),h.ale=h.XmlWriter=h.no=h.xmlRes=void 0,t=t("Core"),h.xmlRes=[{n_:"uri",v_:"{05C60535-1F16-4fd2-B633-F4F36F0B64E0}"},{n_:"xmlns:x14",v_:t.XFileConstants.ms},{n_:"xmlns:xm",v_:"http://schemas.microsoft.com/office/excel/2006/main"},{n_:"uri",v_:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}"},{n_:"xmlns:a",v_:"http://schemas.openxmlformats.org/drawingml/2006/main"},{n_:"xmlns:xdr",v_:"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"},{n_:"uri",v_:"http://schemas.openxmlformats.org/drawingml/2006/chart"},{n_:"xmlns:c",v_:"http://schemas.openxmlformats.org/drawingml/2006/chart"},{n_:"xmlns:r",v_:t.XFileConstants.ss},{n_:"uri",v_:"{CCE6A557-97BC-4b89-ADB6-D9C93CAAB3DF}"},{n_:"xmlns:v",v_:"urn:schemas-microsoft-com:vml"},{n_:"xmlns:o",v_:"urn:schemas-microsoft-com:office:office"},{n_:"xmlns:x",v_:"urn:schemas-microsoft-com:office:excel"},{n_:"xmlns",v_:t.XFileConstants.Qu},{n_:"xmlns:mc",v_:t.XFileConstants.bs},{n_:n="mc:Ignorable",v_:"xr"},{n_:"xmlns:xr",v_:"http://schemas.microsoft.com/office/spreadsheetml/2014/revision"},{n_:"uri",v_:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}"},{n_:"xmlns:cx1",v_:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"},{n_:"uri",v_:"http://schemas.microsoft.com/office/drawing/2014/chartex"},{n_:"xmlns:cx",v_:"http://schemas.microsoft.com/office/drawing/2014/chartex"},{n_:n,v_:"x14"},{n_:"xmlns:a14",v_:"http://schemas.microsoft.com/office/drawing/2010/main"},{n_:"uri",v_:"{28A0092B-C50C-407E-A947-70E740481C1C}"},{n_:"xmlns:a16",v_:"http://schemas.microsoft.com/office/drawing/2014/main"},{n_:"id",v_:"{991D1358-85AF-36C2-43CB-B2328899C29F}"},{n_:"uri",v_:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"},{n_:"xmlns",v_:t.XFileConstants.ys},{n_:"xmlns:x",v_:t.XFileConstants.ws},{n_:"xmlns:mc",v_:t.XFileConstants.bs},{n_:n,v_:"x"},{n_:"uri",v_:"{2F2917AC-EB37-4324-AD4E-5DD8C200BD13}"},{n_:"xmlns:x15",v_:t.XFileConstants.Ms},{n_:"uri",v_:"{470722E0-AACD-4C17-9CDC-17EF765DBC7E}"},{n_:"xmlns:sle15",v_:"http://schemas.microsoft.com/office/drawing/2012/slicer"},{n_:"Requires",v_:"sle15"},{n_:"xmlns:tsle",v_:"http://schemas.microsoft.com/office/drawing/2012/timeslicer"},{n_:"Requires",v_:"tsle"},{n_:"xmlns:sle",v_:"http://schemas.microsoft.com/office/drawing/2010/slicer"},{n_:"xmlns",v_:""},{n_:"uri",v_:"{56B9EC1D-385E-4148-901F-78D8002777C0}"},{n_:"xmlns:c16r3",v_:"http://schemas.microsoft.com/office/drawing/2017/03/chart"},{n_:"xmlns",v_:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},{n_:"xmlns:x",v_:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"},{n_:"xmlns:x15",v_:t.XFileConstants.Ms},{n_:"uri",v_:"{46BE6895-7355-4a93-B00E-2C351335B9C9}"},{n_:"uri",v_:"{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}"},{n_:"xmlns:xcalcf",v_:"http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"},{n_:"uri",v_:"{3A4CF648-6AED-40f4-86FF-DC5316D8AED3}"},{n_:"uri",v_:"{962EF5D1-5CA2-4c93-8EF4-DBF5C05439D2}"},{n_:"uri",v_:"{E15A36E0-9728-4e99-A89B-3F7291B0FE68}"},{n_:"uri",v_:"{747A6164-185A-40DC-8AA5-F01512510D54}"},{n_:"xmlns:xpdl",v_:"http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout"},{n_:"uri",v_:"{725AE2AE-9491-48be-B2B4-4EB974FC3084}"},{n_:"uri",v_:"{BBE1A952-AA13-448e-AADC-164F8A28A991}"},{n_:"xmlns:x14",v_:t.XFileConstants.ys},{n_:"uri",v_:"{D0CA8CA8-9F24-4464-BF8E-62219DCF47F9}"},{n_:"uri",v_:"{79F54976-1DA5-4618-B147-4CDE4B953A38}"},{n_:"xmlns:x14",v_:t.XFileConstants.Ms},{n_:"uri",v_:"{140A7094-0E35-4892-8432-C4D2E57EDEB5}"},{n_:"xmlns",v_:t.XFileConstants.Ms},{n_:"uri",v_:"{A8765BA9-456A-4dab-B4F3-ACF838C121DE}"},{n_:"uri",v_:"{7E03D99C-DC04-49d9-9315-930204A7B6E9}"},{n_:"uri",v_:"{2946ED86-A175-432a-8AC1-64E0C546D7DE}"},{n_:"xmlns:c16r2",v_:"http://schemas.microsoft.com/office/drawing/2015/06/chart"},{n_:"uri",v_:"{6F2FDCE9-48DA-4B69-8628-5D25D57E5C99}"},{n_:"uri",v_:"{02D57815-91ED-43cb-92C2-25804820EDAC}"},{n_:"xmlns:c14",v_:"http://schemas.microsoft.com/office/drawing/2007/8/2/chart"},{n_:"xmlns:c15",v_:"http://schemas.microsoft.com/office/drawing/2012/chart"}],h.no=t.Util.no,m=void 0,a.prototype.createNewArray=function(){var e,t,e=this,t=new Array(e.size);e.blocks.push(t),e.blockIndex++,e.stringIndex=0},a.prototype.addString=function(e){var t=this;t.isFullArray()&&t.createNewArray(),t.blocks[t.blockIndex][t.stringIndex]=e,t.stringIndex++},a.prototype.getAllString=function(){for(var e,t,n,e=this,t=0;t<e.blocks.length;t++)e.blocks[t]=e.blocks[t].join("");return n=e.blocks.join(""),e.blocks=null,n},a.prototype.isFullArray=function(){var e=this;return e.stringIndex>e.size-2},o.prototype.writeDocument=function(e){this.xml.addString('<?xml version="1.0" encoding="UTF-8" '+(e?"":'standalone="yes"')+"?>\r\n")},o.prototype.writeElement=function(e,t,n){void 0===n&&(n=t,t=void 0),this.xml.addString("<"+e),"function"==typeof t&&t(),this.xml.addString(">"),"function"==typeof n&&n(),this.xml.addString("</"+e+">")},o.prototype.writeValue=function(e){this.xml.addString(e)},o.prototype.writeLeafElement=function(e,t){this.xml.addString("<"+e),"function"==typeof t&&t(),this.xml.addString("/>")},o.prototype.writeAttributeString=function(e,t){this.xml.addString(" "+e),"style"===e?this.xml.addString("='"+t+"'"):this.xml.addString('="'+t+'"')},o.prototype.writeElementString=function(e,t){this.xml.addString("<"+e+">"+t+"</"+e+">")},o.prototype.ile=function(){return this.xml.getAllString()},h.XmlWriter=o,s.prototype.writeDocument=function(e){this.xml.addString('<?xml version="1.0" encoding="UTF-8" '+(e?"":'standalone="yes"')+"?>\r\n")},s.prototype.ole=function(n,e){var r,t,i,a,o,s,r=this;if(null!=n)if(e=void 0===n.ns_?e:n.ns_,n instanceof Object){if(t=n.n_,a=(i=n.c_)&&i.length,void 0!==(o=t))if(this.xml.addString("<"+(o=e?e+":"+t:t)),Object.keys(n).forEach(function(e){var t=n[e];null!=t&&"[object Object]"!==Object.prototype.toString.call(t)&&"n_"!==e&&"c_"!==e&&"lossless"!==e&&"ns_"!==e&&("r_"===e?t.forEach(function(e){var e=h.xmlRes[e];r.xml.addString(" "+e.n_),r.xml.addString('="'+e.v_+'"')}):"u_"===e?r.xml.addString(t+"="+(0,h.no)()):(r.xml.addString(" "+e),r.xml.addString('="'+t+'"')))}),a){for(this.xml.addString(">"),s=0;s<a;s++)this.ole(i[s],e);this.xml.addString("</"+o+">")}else this.xml.addString("/>")}else this.xml.addString(n)},s.prototype.writeSJSNodeWithSpecialNodeHandler=function(n,e,t,r){var i,a,r,o,s,f,i=this;if(n!==m&&null!==n&&!(a=e(n,r)))if(t=n.ns_===m?t:n.ns_,n instanceof Object)if(r=n.n_,s=(o=n.c_)&&o.length,this.xml.addString("<"+(r=t?t+":"+r:r)),Object.keys(n).forEach(function(e){var t=n[e];t!==m&&"[object Object]"!==Object.prototype.toString.call(t)&&"n_"!==e&&"c_"!==e&&"lossless"!==e&&"ns_"!==e&&("r_"===e?t.forEach(function(e){var e=h.xmlRes[e];i.xml.addString(" "+e.n_),i.xml.addString('="'+e.v_+'"')}):"u_"===e?i.xml.addString(" "+t+'="'+(0,h.no)().toUpperCase()+'"'):(i.xml.addString(" "+e),i.xml.addString('="'+t+'"')))}),s){for(this.xml.addString(">"),f=0;f<s;f++)this.writeSJSNodeWithSpecialNodeHandler(o[f],e,t,n.n_);this.xml.addString("</"+r+">")}else this.xml.addString("/>");else this.xml.addString(n)},s.prototype.writeChartSJSNode=function(e,t,n){var r,i,a,o,s,f,c,u,l,d,r=this;if(null!=e&&((i=t)&&n&&-1===t.indexOf(":")&&(i=n+t),e instanceof Object)){for(a=[],o=[],s=Object.keys(e),f=0;f<s.length;f++)u=e[c=s[f]],(l=[])[0]=c,l[1]=u,"lossless"!==c&&"rels"!==c&&("string"==typeof u||"number"==typeof u?a.push(l):"object"==typeof u&&("r_"===c?u.forEach(function(e){var e=h.xmlRes[e];a.push([e.n_,e.v_])}):o.push(l)));d=!0,i&&(this.xml.addString("<"+i),0<a.length&&a.forEach(function(e){"v_"===e[0]?(r.xml.addString(">"+e[1]+"</"+i+">"),d=!1):(r.xml.addString(" "+e[0]),r.xml.addString('="'+e[1]+'"'))}),d)&&(0<o.length?this.xml.addString(">"):this.xml.addString("/>")),0<o.length&&(o.forEach(function(t){t[1]instanceof Array?t[1].forEach(function(e){r.writeChartSJSNode(e,t[0],n)}):r.writeChartSJSNode(t[1],t[0],n)}),i)&&this.xml.addString("</"+i+">")}},s.prototype.writeCompactSJSNode=function(e,t,n){var r,i,a,o,s,f,c,u,l,d,r=this;if(null!=e&&e instanceof Object){for(n=void 0===e.ns_?n:e.ns_,t=void 0===e.n_?t:e.n_,n&&(t=t&&n+":"+t),i=function(e){var t;return e.n_?[e.n_,e]:[t=Object.keys(e)[0],e[t]]},o=[],s=[],f=Object.keys(e),c=0;c<f.length;c++)d=[u=f[c],l=e[u]],"n_"!==u&&"lossless"!==u&&"rels"!==u&&"ns_"!==u&&("c_"===u?s.push.apply(s,l.map(i)):"v_"===u?a=l:"r_"===u?l.forEach(function(e){o.push([h.xmlRes[e].n_,h.xmlRes[e].v_])}):"string"==typeof l||"number"==typeof l?o.push(d):"object"==typeof l&&s.push(d));t&&(this.xml.addString("<"+t),o.forEach(function(e){r.xml.addString(" "+e[0]+'="'+e[1]+'"')}),a!==m?this.xml.addString(">"+a+"</"+t+">"):this.xml.addString(0<s.length?">":"/>")),0<s.length&&(s.forEach(function(t){Array.isArray(t[1])?t[1].forEach(function(e){r.writeCompactSJSNode(e,t[0],n)}):r.writeCompactSJSNode(t[1],t[0],n)}),t)&&this.xml.addString("</"+t+">")}},s.prototype.writeElement=function(e,t,n){void 0===n&&(n=t,t=void 0),this.xml.addString("<"+e),"function"==typeof t&&t(),this.xml.addString(">"),"function"==typeof n&&n(),this.xml.addString("</"+e+">")},s.prototype.writeValue=function(e){this.xml.addString(e)},s.prototype.writeLeafElement=function(e,t){this.xml.addString("<"+e),"function"==typeof t&&t(),this.xml.addString("/>")},s.prototype.writeAttributeString=function(e,t){this.xml.addString(" "+e),"style"===e?this.xml.addString("='"+t+"'"):this.xml.addString('="'+t+'"')},s.prototype.writeElementString=function(e,t){this.xml.addString("<"+e+">"+t+"</"+e+">")},s.prototype.ile=function(){return this.xml.getAllString()},h.ale=s},"./dist/plugins/io/utils/zip-js/index.js":function(e,t,n){var r,n;
|
13
|
+
/*
|
14
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
15
|
+
|
16
|
+
Redistribution and use in source and binary forms, with or without
|
17
|
+
modification, are permitted provided that the following conditions are met:
|
18
|
+
|
19
|
+
1. Redistributions of source code must retain the above copyright notice,
|
20
|
+
this list of conditions and the following disclaimer.
|
21
|
+
|
22
|
+
2. Redistributions in binary form must reproduce the above copyright
|
23
|
+
notice, this list of conditions and the following disclaimer in
|
24
|
+
the documentation and/or other materials provided with the distribution.
|
25
|
+
|
26
|
+
3. The names of the authors may not be used to endorse or promote products
|
27
|
+
derived from this software without specific prior written permission.
|
28
|
+
|
29
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
30
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
31
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
32
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
33
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
34
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
35
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
36
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
37
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
38
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
39
|
+
*/e=n.nmd(e),void 0!==(n=function(r,e){"use strict";var t,t,i,a,o,c,u,m,v,b,y,k,I,C,F,A,S,E,j,D,G,q,W,V,H,Z,K,X,J,Y,t,fe,t,ce,ue,le,de,he,me,ve,we,pe,xe,ge,ke,Ie,Ce,Fe,Ae,Se,Ee,je,_e,De,Re,Oe,Te,R,ze,Be,O,T,Me,Ne,z,Pe,Ue,Le,Ge,qe,We,Ve,He,Ze,Ke,Xe,Je,Ye,$e,Qe,et,tt,nt,rt,it,at,ot,st,ft,ct,ut,lt,dt,ht,mt,pt,vt,bt,yt,wt,xt,gt,kt,It,Ct,Ft,At,St,Et,jt,_t,$,Q,Dt,Rt,Ot,Tt,zt,Bt,Mt,Nt,Pt,Ut,Lt,Gt,qt,Wt,Vt,Ht,Zt,Kt,Xt,Jt,Yt,$t,Qt,en,tn,nn,rn,an,on,sn,fn,cn,L,t,un,ln,dn,hn,hn,l,mn,pn,vn,bn,yn,wn,xn,gn,p,kn,In,hn,Cn,Fn,An,Sn,En,jn,_n,Dn,n,Rn,On,Tn,zn,Bn,Mn,Nn,Pn,Un,n,On,Ln,Gn,n,qn,Wn,Vn,Hn,Zn,Kn,Xn,Jn,Yn,$n,Qn,er,tr,nr,rr,ir,ar,or,sr,fr,cr,ur,lr,dr,hr,mr,pr,vr,br,yr,wr,xr,gr,kr,Ir,Cr,Fr,Ar,Sr,Er,jr,_r,Dr,Rr,Or,Ln,n,On,hn,Fn,Tr,zr,t,Br,Mr,Nr,Pr,Ur,Lr,Gr,qr,Wr,Vr,Ln,Hr,Zr,Kr,Xr,Jr,Yr,$r,Qr,ei,ti,ni,ri,ii,ai,oi,si,fi,ci,ui,li,di,hi,$r,mi,pi,vi,bi,yi,wi,xi,gi,ki,Ii,Ci,Fi,Ai,Si,Ei,Qr,ji,_i,Di,Ri,Oi,Ti,zi,Bi,Mi,Ni,Pi,Ui,Li,Gi,ei,qi;function Wi(){return window.TransformStream&&"function"==typeof window.TransformStream&&window.WritableStream&&"function"==typeof window.WritableStream&&window.WritableStream.prototype.close}if(Wi()){Vi.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Vi.prototype.next=function(e){return this.Gne("next",e)},Vi.prototype.throw=function(e){return this.Gne("throw",e)},Vi.prototype.return=function(e){return this.Gne("return",e)},a=30,c=29,m=286,v=573,b=u=256,y=7,A=-1,K=-(Z=E=2),X=-(q=3),J=-5,Y=(t=[V=D=j=0,H=G=S=1,2,3]).concat.apply(t,o0(v0([[2,W=4],[2,5],[4,6],[4,7],[8,8],[8,9],[F=k=16,10],[16,11],[32,12],[32,13],[64,14],[64,i=15],[2,0],[1,16],[1,I=17],[2,C=18],[2,o=19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]))),be.qne=(t=[0,1,2,3,4,5,6,7]).concat.apply(t,o0(v0([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]]))),be.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],be.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],be.d_code=function(e){return e<256?Y[e]:Y[256+(e>>>7)]},be.extra_lbits=[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],be.extra_dbits=[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],be.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],be.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],t=[12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,19,275,147,403,83,339,211,467,51,307,179,435,115,371,243,499,11,267,139,395,75,331,203,459,43,299,171,427,107,363,235,491,27,283,155,411,91,347,219,475,59,315,187,443,123,379,251,507,7,263,135,391,71,327,199,455,39,295,167,423,103,359,231,487,23,279,151,407,87,343,215,471,55,311,183,439,119,375,247,503,15,271,143,399,79,335,207,463,47,303,175,431,111,367,239,495,31,287,159,415,95,351,223,479,63,319,191,447,127,383,255,511,0,64,32,96,16,80,48,112,8,72,40,104,24,88,56,120,4,68,36,100,20,84,52,116,3,131,67,195,35,163,99,227],fe=v0([[144,8],[112,9],[24,7],[8,8]]),ye.static_ltree=b0(t.map(function(e,t){return[e,fe[t]]})),t=[0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23],ce=v0([[30,5]]),ye.static_dtree=b0(t.map(function(e,t){return[e,ce[t]]})),ye.static_l_desc=new ye(ye.static_ltree,be.extra_lbits,257,286,15),ye.static_d_desc=new ye(ye.static_dtree,be.extra_dbits,0,30,15),ye.static_bl_desc=new ye(null,be.extra_blbits,0,19,7),ue=9,le=8,he=1,me=2,ve=[new y0(de=0,0,0,0,0),new y0(4,4,8,4,1),new y0(4,5,16,8,1),new y0(4,6,32,32,1),new y0(4,4,16,16,2),new y0(8,16,32,32,2),new y0(8,16,128,128,2),new y0(8,32,128,256,2),new y0(32,128,258,1024,2),new y0(32,258,258,4096,2)],we=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],Ie=32,Ce=42,Fe=113,Ae=666,Se=8,Ee=pe=0,je=xe=1,_e=ge=2,De=ke=3,Re=258,Oe=262,g0.prototype={deflateInit:function e(t,n){var r=this;return r.dstate=new x0,r.dstate.deflateInit(r,t,n=n||15)},deflate:function e(t){var n=this;return n.dstate?n.dstate.deflate(n,t):-2},deflateEnd:function e(){var t,n,t=this;return t.dstate?(n=t.dstate.deflateEnd(),t.dstate=null,n):-2},deflateParams:function e(t,n){var r=this;return r.dstate?r.dstate.deflateParams(r,t,n):-2},deflateSetDictionary:function e(t,n){var r=this;return r.dstate?r.dstate.deflateSetDictionary(r,t,n):-2},read_buf:function e(t,n,r){var i,a,i=this,a=i.avail_in;return 0===(a=r<a?r:a)?0:(i.avail_in-=a,t.set(i.next_in.subarray(i.next_in_index,i.next_in_index+a),n),i.next_in_index+=a,i.total_in+=a,a)},flush_pending:function e(){var t,n,t=this,n=t.dstate.pending;0!==(n=n>t.avail_out?t.avail_out:n)&&(t.next_out.set(t.dstate.pending_buf.subarray(t.dstate.pending_out,t.dstate.pending_out+n),t.next_out_index),t.next_out_index+=n,t.dstate.pending_out+=n,t.total_out+=n,t.avail_out-=n,t.dstate.pending-=n,0===t.dstate.pending)&&(t.dstate.pending_out=0)}},O=-(Be=2),T=-3,Me=-4,Ne=-5,z=[R=0,ze=1,3,7,Te=15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],Pe=1440,We=[96,7,256,Ue=0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,Ge=9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,Le=4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,qe=5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],Ve=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],He=[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],Ze=[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,112,112],Ke=[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],Xe=[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],Je=15,C0.inflate_trees_fixed=function(e,t,n,r){return e[0]=9,t[0]=5,n[0]=We,r[0]=Ve,R},st=[16,17,18,Ye=0,at=8,it=7,ot=9,rt=6,10,nt=5,11,tt=4,12,et=3,13,Qe=2,14,$e=1,15],bt=9,yt=32,wt=vt=8,gt=ct=1,kt=ut=2,It=lt=3,Ct=dt=4,Ft=ht=5,At=mt=6,St=pt=7,Et=12,jt=13,_t=[xt=ft=0,0,255,255],E0.prototype={inflateInit:function e(t){var n=this;return n.istate=new S0,n.istate.inflateInit(n,t=t||15)},inflate:function e(t){var n=this;return n.istate?n.istate.inflate(n,t):O},inflateEnd:function e(){var t,n,t=this;return t.istate?(n=t.istate.inflateEnd(t),t.istate=null,n):O},inflateSync:function e(){var t=this;return t.istate?t.istate.inflateSync(t):O},inflateSetDictionary:function e(t,n){var r=this;return r.istate?r.istate.inflateSetDictionary(r,t,n):O},read_byte:function e(t){var n;return this.next_in[t]},read_buf:function e(t,n){var r;return this.next_in.subarray(t,t+n)}},$=4294967295,Q=65535,Rt=0,Ot=99,Tt=67324752,Bt=zt=134695760,Mt=33639248,Nt=101010256,Pt=101075792,Ut=117853008,Wt=(Lt=22)+(Gt=20)+(qt=56),Ht=39169,Zt=10,Xt=21589,Jt=28789,Yt=25461,$t=Kt=Vt=1,Qt=6,en=Dt=8,tn=2048,nn=16,rn=20,an=45,on=51,sn="/",fn=new Date(2107,11,31),cn=new Date(1980,0,1),L=void 0,t="undefined",un="function",ln=s(function e(a){return w(this,e),function(e){f(i,e);var n=d(i);function i(e,t){w(this,i);var r=new a(t);return n.call(this,{transform:function e(t,n){n.enqueue(r.append(t))},flush:function e(t){var n=r.flush();n&&t.enqueue(n)}})}return s(i)}(TransformStream)}),dn=64,hn=2;try{("undefined"==typeof navigator?"undefined":Xi(navigator))!=t&&navigator.hardwareConcurrency&&(hn=navigator.hardwareConcurrency)}catch(e){}for(hn={chunkSize:524288,maxWorkers:hn,terminateWorkerTimeout:5e3,useWebWorkers:!0,useCompressionStream:!0,workerScripts:L,CompressionStreamNative:("undefined"==typeof CompressionStream?"undefined":Xi(CompressionStream))!=t&&CompressionStream,DecompressionStreamNative:("undefined"==typeof DecompressionStream?"undefined":Xi(DecompressionStream))!=t&&DecompressionStream},l=Object.assign({},hn),mn={application:{"andrew-inset":"ez",annodex:"anx","atom+xml":"atom","atomcat+xml":"atomcat","atomserv+xml":"atomsrv",bbolin:"lin",cap:["cap","pcap"],"cu-seeme":"cu","davmount+xml":"davmount",dsptype:"tsp",ecmascript:["es","ecma"],futuresplash:"spl",hta:"hta","java-archive":"jar","java-serialized-object":"ser","java-vm":"class",javascript:"js",m3g:"m3g","mac-binhex40":"hqx",mathematica:["nb","ma","mb"],msaccess:"mdb",msword:["doc","dot"],mxf:"mxf",oda:"oda",ogg:"ogx",pdf:"pdf","pgp-keys":"key","pgp-signature":["asc","sig"],"pics-rules":"prf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],rar:"rar","rdf+xml":"rdf","rss+xml":"rss",rtf:"rtf",smil:["smi","smil"],"xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd"],"xspf+xml":"xspf",zip:"zip","vnd.android.package-archive":"apk","vnd.cinderella":"cdy","vnd.google-earth.kml+xml":"kml","vnd.google-earth.kmz":"kmz","vnd.mozilla.xul+xml":"xul","vnd.ms-excel":["xls","xlb","xlt","xlm","xla","xlc","xlw"],"vnd.ms-pki.seccat":"cat","vnd.ms-pki.stl":"stl","vnd.ms-powerpoint":["ppt","pps","pot"],"vnd.oasis.opendocument.chart":"odc","vnd.oasis.opendocument.database":"odb","vnd.oasis.opendocument.formula":"odf","vnd.oasis.opendocument.graphics":"odg","vnd.oasis.opendocument.graphics-template":"otg","vnd.oasis.opendocument.image":"odi","vnd.oasis.opendocument.presentation":"odp","vnd.oasis.opendocument.presentation-template":"otp","vnd.oasis.opendocument.spreadsheet":"ods","vnd.oasis.opendocument.spreadsheet-template":"ots","vnd.oasis.opendocument.text":"odt","vnd.oasis.opendocument.text-master":"odm","vnd.oasis.opendocument.text-template":"ott","vnd.oasis.opendocument.text-web":"oth","vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","vnd.openxmlformats-officedocument.spreadsheetml.template":"xltx","vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","vnd.openxmlformats-officedocument.presentationml.slideshow":"ppsx","vnd.openxmlformats-officedocument.presentationml.template":"potx","vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","vnd.openxmlformats-officedocument.wordprocessingml.template":"dotx","vnd.smaf":"mmf","vnd.stardivision.calc":"sdc","vnd.stardivision.chart":"sds","vnd.stardivision.draw":"sda","vnd.stardivision.impress":"sdd","vnd.stardivision.math":["sdf","smf"],"vnd.stardivision.writer":["sdw","vor"],"vnd.stardivision.writer-global":"sgl","vnd.sun.xml.calc":"sxc","vnd.sun.xml.calc.template":"stc","vnd.sun.xml.draw":"sxd","vnd.sun.xml.draw.template":"std","vnd.sun.xml.impress":"sxi","vnd.sun.xml.impress.template":"sti","vnd.sun.xml.math":"sxm","vnd.sun.xml.writer":"sxw","vnd.sun.xml.writer.global":"sxg","vnd.sun.xml.writer.template":"stw","vnd.symbian.install":["sis","sisx"],"vnd.visio":["vsd","vst","vss","vsw"],"vnd.wap.wbxml":"wbxml","vnd.wap.wmlc":"wmlc","vnd.wap.wmlscriptc":"wmlsc","vnd.wordperfect":"wpd","vnd.wordperfect5.1":"wp5","x-123":"wk","x-7z-compressed":"7z","x-abiword":"abw","x-apple-diskimage":"dmg","x-bcpio":"bcpio","x-bittorrent":"torrent","x-cbr":["cbr","cba","cbt","cb7"],"x-cbz":"cbz","x-cdf":["cdf","cda"],"x-cdlink":"vcd","x-chess-pgn":"pgn","x-cpio":"cpio","x-csh":"csh","x-debian-package":["deb","udeb"],"x-director":["dcr","dir","dxr","cst","cct","cxt","w3d","fgd","swa"],"x-dms":"dms","x-doom":"wad","x-dvi":"dvi","x-httpd-eruby":"rhtml","x-font":"pcf.Z","x-freemind":"mm","x-gnumeric":"gnumeric","x-go-sgf":"sgf","x-graphing-calculator":"gcf","x-gtar":["gtar","taz"],"x-hdf":"hdf","x-httpd-php":["phtml","pht","php"],"x-httpd-php-source":"phps","x-httpd-php3":"php3","x-httpd-php3-preprocessed":"php3p","x-httpd-php4":"php4","x-httpd-php5":"php5","x-ica":"ica","x-info":"info","x-internet-signup":["ins","isp"],"x-iphone":"iii","x-iso9660-image":"iso","x-java-jnlp-file":"jnlp","x-jmol":"jmz","x-killustrator":"kil","x-koan":["skp","skd","skt","skm"],"x-kpresenter":["kpr","kpt"],"x-kword":["kwd","kwt"],"x-latex":"latex","x-lha":"lha","x-lyx":"lyx","x-lzh":"lzh","x-lzx":"lzx","x-maker":["frm","maker","frame","fm","fb","book","fbdoc"],"x-ms-wmd":"wmd","x-ms-wmz":"wmz","x-msdos-program":["com","exe","bat","dll"],"x-msi":"msi","x-netcdf":["nc","cdf"],"x-ns-proxy-autoconfig":["pac","dat"],"x-nwc":"nwc","x-object":"o","x-oz-application":"oza","x-pkcs7-certreqresp":"p7r","x-python-code":["pyc","pyo"],"x-qgis":["qgs","shp","shx"],"x-quicktimeplayer":"qtl","x-redhat-package-manager":"rpm","x-ruby":"rb","x-sh":"sh","x-shar":"shar","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","x-stuffit":"sit","x-sv4cpio":"sv4cpio","x-sv4crc":"sv4crc","x-tar":"tar","x-tcl":"tcl","x-tex-gf":"gf","x-tex-pk":"pk","x-texinfo":["texinfo","texi"],"x-trash":["~","%","bak","old","sik"],"x-troff":["t","tr","roff"],"x-troff-man":"man","x-troff-me":"me","x-troff-ms":"ms","x-ustar":"ustar","x-wais-source":"src","x-wingz":"wz","x-x509-ca-cert":["crt","der","cer"],"x-xcf":"xcf","x-xfig":"fig","x-xpinstall":"xpi",applixware:"aw","atomsvc+xml":"atomsvc","ccxml+xml":"ccxml","cdmi-capability":"cdmia","cdmi-container":"cdmic","cdmi-domain":"cdmid","cdmi-object":"cdmio","cdmi-queue":"cdmiq","docbook+xml":"dbk","dssc+der":"dssc","dssc+xml":"xdssc","emma+xml":"emma","epub+zip":"epub",exi:"exi","font-tdpfr":"pfr","gml+xml":"gml","gpx+xml":"gpx",gxf:"gxf",hyperstudio:"stk","inkml+xml":["ink","inkml"],ipfix:"ipfix",json:"json","jsonml+json":"jsonml","lost+xml":"lostxml","mads+xml":"mads",marc:"mrc","marcxml+xml":"mrcx","mathml+xml":"mathml",mbox:"mbox","mediaservercontrol+xml":"mscml","metalink+xml":"metalink","metalink4+xml":"meta4","mets+xml":"mets","mods+xml":"mods",mp21:["m21","mp21"],mp4:"mp4s","oebps-package+xml":"opf","omdoc+xml":"omdoc",onenote:["onetoc","onetoc2","onetmp","onepkg"],oxps:"oxps","patch-ops-error+xml":"xer","pgp-encrypted":"pgp",pkcs10:"p10","pkcs7-mime":["p7m","p7c"],"pkcs7-signature":"p7s",pkcs8:"p8","pkix-attr-cert":"ac","pkix-crl":"crl","pkix-pkipath":"pkipath",pkixcmp:"pki","pls+xml":"pls","prs.cww":"cww","pskc+xml":"pskcxml","reginfo+xml":"rif","relax-ng-compact-syntax":"rnc","resource-lists+xml":"rl","resource-lists-diff+xml":"rld","rls-services+xml":"rs","rpki-ghostbusters":"gbr","rpki-manifest":"mft","rpki-roa":"roa","rsd+xml":"rsd","sbml+xml":"sbml","scvp-cv-request":"scq","scvp-cv-response":"scs","scvp-vp-request":"spq","scvp-vp-response":"spp",sdp:"sdp","set-payment-initiation":"setpay","set-registration-initiation":"setreg","shf+xml":"shf","sparql-query":"rq","sparql-results+xml":"srx",srgs:"gram","srgs+xml":"grxml","sru+xml":"sru","ssdl+xml":"ssdl","ssml+xml":"ssml","tei+xml":["tei","teicorpus"],"thraud+xml":"tfi","timestamped-data":"tsd","vnd.3gpp.pic-bw-large":"plb","vnd.3gpp.pic-bw-small":"psb","vnd.3gpp.pic-bw-var":"pvb","vnd.3gpp2.tcap":"tcap","vnd.3m.post-it-notes":"pwn","vnd.accpac.simply.aso":"aso","vnd.accpac.simply.imp":"imp","vnd.acucobol":"acu","vnd.acucorp":["atc","acutc"],"vnd.adobe.air-application-installer-package+zip":"air","vnd.adobe.formscentral.fcdt":"fcdt","vnd.adobe.fxp":["fxp","fxpl"],"vnd.adobe.xdp+xml":"xdp","vnd.adobe.xfdf":"xfdf","vnd.ahead.space":"ahead","vnd.airzip.filesecure.azf":"azf","vnd.airzip.filesecure.azs":"azs","vnd.amazon.ebook":"azw","vnd.americandynamics.acc":"acc","vnd.amiga.ami":"ami","vnd.anser-web-certificate-issue-initiation":"cii","vnd.anser-web-funds-transfer-initiation":"fti","vnd.antix.game-component":"atx","vnd.apple.installer+xml":"mpkg","vnd.apple.mpegurl":"m3u8","vnd.aristanetworks.swi":"swi","vnd.astraea-software.iota":"iota","vnd.audiograph":"aep","vnd.blueice.multipass":"mpm","vnd.bmi":"bmi","vnd.businessobjects":"rep","vnd.chemdraw+xml":"cdxml","vnd.chipnuts.karaoke-mmd":"mmd","vnd.claymore":"cla","vnd.cloanto.rp9":"rp9","vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"vnd.cluetrust.cartomobile-config":"c11amc","vnd.cluetrust.cartomobile-config-pkg":"c11amz","vnd.commonspace":"csp","vnd.contact.cmsg":"cdbcmsg","vnd.cosmocaller":"cmc","vnd.crick.clicker":"clkx","vnd.crick.clicker.keyboard":"clkk","vnd.crick.clicker.palette":"clkp","vnd.crick.clicker.template":"clkt","vnd.crick.clicker.wordbank":"clkw","vnd.criticaltools.wbs+xml":"wbs","vnd.ctc-posml":"pml","vnd.cups-ppd":"ppd","vnd.curl.car":"car","vnd.curl.pcurl":"pcurl","vnd.dart":"dart","vnd.data-vision.rdz":"rdz","vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"vnd.dece.ttml+xml":["uvt","uvvt"],"vnd.dece.unspecified":["uvx","uvvx"],"vnd.dece.zip":["uvz","uvvz"],"vnd.denovo.fcselayout-link":"fe_launch","vnd.dna":"dna","vnd.dolby.mlp":"mlp","vnd.dpgraph":"dpg","vnd.dreamfactory":"dfac","vnd.ds-keypoint":"kpxx","vnd.dvb.ait":"ait","vnd.dvb.service":"svc","vnd.dynageo":"geo","vnd.ecowin.chart":"mag","vnd.enliven":"nml","vnd.epson.esf":"esf","vnd.epson.msf":"msf","vnd.epson.quickanime":"qam","vnd.epson.salt":"slt","vnd.epson.ssf":"ssf","vnd.eszigno3+xml":["es3","et3"],"vnd.ezpix-album":"ez2","vnd.ezpix-package":"ez3","vnd.fdf":"fdf","vnd.fdsn.mseed":"mseed","vnd.fdsn.seed":["seed","dataless"],"vnd.flographit":"gph","vnd.fluxtime.clip":"ftc","vnd.framemaker":["fm","frame","maker","book"],"vnd.frogans.fnc":"fnc","vnd.frogans.ltf":"ltf","vnd.fsc.weblaunch":"fsc","vnd.fujitsu.oasys":"oas","vnd.fujitsu.oasys2":"oa2","vnd.fujitsu.oasys3":"oa3","vnd.fujitsu.oasysgp":"fg5","vnd.fujitsu.oasysprs":"bh2","vnd.fujixerox.ddd":"ddd","vnd.fujixerox.docuworks":"xdw","vnd.fujixerox.docuworks.binder":"xbd","vnd.fuzzysheet":"fzs","vnd.genomatix.tuxedo":"txd","vnd.geogebra.file":"ggb","vnd.geogebra.tool":"ggt","vnd.geometry-explorer":["gex","gre"],"vnd.geonext":"gxt","vnd.geoplan":"g2w","vnd.geospace":"g3w","vnd.gmx":"gmx","vnd.grafeq":["gqf","gqs"],"vnd.groove-account":"gac","vnd.groove-help":"ghf","vnd.groove-identity-message":"gim","vnd.groove-injector":"grv","vnd.groove-tool-message":"gtm","vnd.groove-tool-template":"tpl","vnd.groove-vcard":"vcg","vnd.hal+xml":"hal","vnd.handheld-entertainment+xml":"zmm","vnd.hbci":"hbci","vnd.hhe.lesson-player":"les","vnd.hp-hpgl":"hpgl","vnd.hp-hpid":"hpid","vnd.hp-hps":"hps","vnd.hp-jlyt":"jlt","vnd.hp-pcl":"pcl","vnd.hp-pclxl":"pclxl","vnd.hydrostatix.sof-data":"sfd-hdstx","vnd.ibm.minipay":"mpy","vnd.ibm.modcap":["afp","listafp","list3820"],"vnd.ibm.rights-management":"irm","vnd.ibm.secure-container":"sc","vnd.iccprofile":["icc","icm"],"vnd.igloader":"igl","vnd.immervision-ivp":"ivp","vnd.immervision-ivu":"ivu","vnd.insors.igm":"igm","vnd.intercon.formnet":["xpw","xpx"],"vnd.intergeo":"i2g","vnd.intu.qbo":"qbo","vnd.intu.qfx":"qfx","vnd.ipunplugged.rcprofile":"rcprofile","vnd.irepository.package+xml":"irp","vnd.is-xpr":"xpr","vnd.isac.fcs":"fcs","vnd.jam":"jam","vnd.jcp.javame.midlet-rms":"rms","vnd.jisp":"jisp","vnd.joost.joda-archive":"joda","vnd.kahootz":["ktz","ktr"],"vnd.kde.karbon":"karbon","vnd.kde.kchart":"chrt","vnd.kde.kformula":"kfo","vnd.kde.kivio":"flw","vnd.kde.kontour":"kon","vnd.kde.kpresenter":["kpr","kpt"],"vnd.kde.kspread":"ksp","vnd.kde.kword":["kwd","kwt"],"vnd.kenameaapp":"htke","vnd.kidspiration":"kia","vnd.kinar":["kne","knp"],"vnd.koan":["skp","skd","skt","skm"],"vnd.kodak-descriptor":"sse","vnd.las.las+xml":"lasxml","vnd.llamagraphics.life-balance.desktop":"lbd","vnd.llamagraphics.life-balance.exchange+xml":"lbe","vnd.lotus-1-2-3":"123","vnd.lotus-approach":"apr","vnd.lotus-freelance":"pre","vnd.lotus-notes":"nsf","vnd.lotus-organizer":"org","vnd.lotus-screencam":"scm","vnd.lotus-wordpro":"lwp","vnd.macports.portpkg":"portpkg","vnd.mcd":"mcd","vnd.medcalcdata":"mc1","vnd.mediastation.cdkey":"cdkey","vnd.mfer":"mwf","vnd.mfmp":"mfm","vnd.micrografx.flo":"flo","vnd.micrografx.igx":"igx","vnd.mif":"mif","vnd.mobius.daf":"daf","vnd.mobius.dis":"dis","vnd.mobius.mbk":"mbk","vnd.mobius.mqy":"mqy","vnd.mobius.msl":"msl","vnd.mobius.plc":"plc","vnd.mobius.txf":"txf","vnd.mophun.application":"mpn","vnd.mophun.certificate":"mpc","vnd.ms-artgalry":"cil","vnd.ms-cab-compressed":"cab","vnd.ms-excel.addin.macroenabled.12":"xlam","vnd.ms-excel.sheet.binary.macroenabled.12":"xlsb","vnd.ms-excel.sheet.macroenabled.12":"xlsm","vnd.ms-excel.template.macroenabled.12":"xltm","vnd.ms-fontobject":"eot","vnd.ms-htmlhelp":"chm","vnd.ms-ims":"ims","vnd.ms-lrm":"lrm","vnd.ms-officetheme":"thmx","vnd.ms-powerpoint.addin.macroenabled.12":"ppam","vnd.ms-powerpoint.presentation.macroenabled.12":"pptm","vnd.ms-powerpoint.slide.macroenabled.12":"sldm","vnd.ms-powerpoint.slideshow.macroenabled.12":"ppsm","vnd.ms-powerpoint.template.macroenabled.12":"potm","vnd.ms-project":["mpp","mpt"],"vnd.ms-word.document.macroenabled.12":"docm","vnd.ms-word.template.macroenabled.12":"dotm","vnd.ms-works":["wps","wks","wcm","wdb"],"vnd.ms-wpl":"wpl","vnd.ms-xpsdocument":"xps","vnd.mseq":"mseq","vnd.musician":"mus","vnd.muvee.style":"msty","vnd.mynfc":"taglet","vnd.neurolanguage.nlu":"nlu","vnd.nitf":["ntf","nitf"],"vnd.noblenet-directory":"nnd","vnd.noblenet-sealer":"nns","vnd.noblenet-web":"nnw","vnd.nokia.n-gage.data":"ngdat","vnd.nokia.n-gage.symbian.install":"n-gage","vnd.nokia.radio-preset":"rpst","vnd.nokia.radio-presets":"rpss","vnd.novadigm.edm":"edm","vnd.novadigm.edx":"edx","vnd.novadigm.ext":"ext","vnd.oasis.opendocument.chart-template":"otc","vnd.oasis.opendocument.formula-template":"odft","vnd.oasis.opendocument.image-template":"oti","vnd.olpc-sugar":"xo","vnd.oma.dd2+xml":"dd2","vnd.openofficeorg.extension":"oxt","vnd.openxmlformats-officedocument.presentationml.slide":"sldx","vnd.osgeo.mapguide.package":"mgp","vnd.osgi.dp":"dp","vnd.osgi.subsystem":"esa","vnd.palm":["pdb","pqa","oprc"],"vnd.pawaafile":"paw","vnd.pg.format":"str","vnd.pg.osasli":"ei6","vnd.picsel":"efif","vnd.pmi.widget":"wg","vnd.pocketlearn":"plf","vnd.powerbuilder6":"pbd","vnd.previewsystems.box":"box","vnd.proteus.magazine":"mgz","vnd.publishare-delta-tree":"qps","vnd.pvi.ptid1":"ptid","vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"vnd.realvnc.bed":"bed","vnd.recordare.musicxml":"mxl","vnd.recordare.musicxml+xml":"musicxml","vnd.rig.cryptonote":"cryptonote","vnd.rn-realmedia":"rm","vnd.rn-realmedia-vbr":"rmvb","vnd.route66.link66+xml":"link66","vnd.sailingtracker.track":"st","vnd.seemail":"see","vnd.sema":"sema","vnd.semd":"semd","vnd.semf":"semf","vnd.shana.informed.formdata":"ifm","vnd.shana.informed.formtemplate":"itp","vnd.shana.informed.interchange":"iif","vnd.shana.informed.package":"ipk","vnd.simtech-mindmapper":["twd","twds"],"vnd.smart.teacher":"teacher","vnd.solent.sdkm+xml":["sdkm","sdkd"],"vnd.spotfire.dxp":"dxp","vnd.spotfire.sfs":"sfs","vnd.stepmania.package":"smzip","vnd.stepmania.stepchart":"sm","vnd.sus-calendar":["sus","susp"],"vnd.svd":"svd","vnd.syncml+xml":"xsm","vnd.syncml.dm+wbxml":"bdm","vnd.syncml.dm+xml":"xdm","vnd.tao.intent-module-archive":"tao","vnd.tcpdump.pcap":["pcap","cap","dmp"],"vnd.tmobile-livetv":"tmo","vnd.trid.tpt":"tpt","vnd.triscape.mxs":"mxs","vnd.trueapp":"tra","vnd.ufdl":["ufd","ufdl"],"vnd.uiq.theme":"utz","vnd.umajin":"umj","vnd.unity":"unityweb","vnd.uoml+xml":"uoml","vnd.vcx":"vcx","vnd.visionary":"vis","vnd.vsf":"vsf","vnd.webturbo":"wtb","vnd.wolfram.player":"nbp","vnd.wqd":"wqd","vnd.wt.stf":"stf","vnd.xara":"xar","vnd.xfdl":"xfdl","vnd.yamaha.hv-dic":"hvd","vnd.yamaha.hv-script":"hvs","vnd.yamaha.hv-voice":"hvp","vnd.yamaha.openscoreformat":"osf","vnd.yamaha.openscoreformat.osfpvg+xml":"osfpvg","vnd.yamaha.smaf-audio":"saf","vnd.yamaha.smaf-phrase":"spf","vnd.yellowriver-custom-menu":"cmp","vnd.zul":["zir","zirz"],"vnd.zzazz.deck+xml":"zaz","voicexml+xml":"vxml",widget:"wgt",winhlp:"hlp","wsdl+xml":"wsdl","wspolicy+xml":"wspolicy","x-ace-compressed":"ace","x-authorware-bin":["aab","x32","u32","vox"],"x-authorware-map":"aam","x-authorware-seg":"aas","x-blorb":["blb","blorb"],"x-bzip":"bz","x-bzip2":["bz2","boz"],"x-cfs-compressed":"cfs","x-chat":"chat","x-conference":"nsc","x-dgc-compressed":"dgc","x-dtbncx+xml":"ncx","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-eva":"eva","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-otf":"otf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-font-woff":"woff","x-freearc":"arc","x-gca-compressed":"gca","x-glulx":"ulx","x-gramps-xml":"gramps","x-install-instructions":"install","x-lzh-compressed":["lzh","lha"],"x-mie":"mie","x-mobipocket-ebook":["prc","mobi"],"x-ms-application":"application","x-ms-shortcut":"lnk","x-ms-xbap":"xbap","x-msbinder":"obd","x-mscardfile":"crd","x-msclip":"clp","x-msdownload":["exe","dll","com","bat","msi"],"x-msmediaview":["mvb","m13","m14"],"x-msmetafile":["wmf","wmz","emf","emz"],"x-msmoney":"mny","x-mspublisher":"pub","x-msschedule":"scd","x-msterminal":"trm","x-mswrite":"wri","x-nzb":"nzb","x-pkcs12":["p12","pfx"],"x-pkcs7-certificates":["p7b","spc"],"x-research-info-systems":"ris","x-silverlight-app":"xap","x-sql":"sql","x-stuffitx":"sitx","x-subrip":"srt","x-t3vm-image":"t3","x-tads":"gam","x-tex":"tex","x-tex-tfm":"tfm","x-tgif":"obj","x-xliff+xml":"xlf","x-xz":"xz","x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"xaml+xml":"xaml","xcap-diff+xml":"xdf","xenc+xml":"xenc","xml-dtd":"dtd","xop+xml":"xop","xproc+xml":"xpl","xslt+xml":"xslt","xv+xml":["mxml","xhvml","xvml","xvm"],yang:"yang","yin+xml":"yin",envoy:"evy",fractals:"fif","internet-property-stream":"acx",olescript:"axs","vnd.ms-outlook":"msg","vnd.ms-pkicertstore":"sst","x-compress":"z","x-compressed":"tgz","x-gzip":"gz","x-perfmon":["pma","pmc","pml","pmr","pmw"],"x-pkcs7-mime":["p7c","p7m"],"ynd.ms-pkipko":"pko"},audio:{amr:"amr","amr-wb":"awb",annodex:"axa",basic:["au","snd"],flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp2","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"prs.sid":"sid","x-aiff":["aif","aiff","aifc"],"x-gsm":"gsm","x-ms-wma":"wma","x-ms-wax":"wax","x-pn-realaudio":"ram","x-realaudio":"ra","x-sd2":"sd2","x-wav":"wav",adpcm:"adp",mp4:"mp4a",s3m:"s3m",silk:"sil","vnd.dece.audio":["uva","uvva"],"vnd.digital-winds":"eol","vnd.dra":"dra","vnd.dts":"dts","vnd.dts.hd":"dtshd","vnd.lucent.voice":"lvp","vnd.ms-playready.media.pya":"pya","vnd.nuera.ecelp4800":"ecelp4800","vnd.nuera.ecelp7470":"ecelp7470","vnd.nuera.ecelp9600":"ecelp9600","vnd.rip":"rip",webm:"weba","x-aac":"aac","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",mid:["mid","rmi"]},chemical:{"x-alchemy":"alc","x-cache":["cac","cache"],"x-cache-csf":"csf","x-cactvs-binary":["cbin","cascii","ctab"],"x-cdx":"cdx","x-chem3d":"c3d","x-cif":"cif","x-cmdf":"cmdf","x-cml":"cml","x-compass":"cpa","x-crossfire":"bsd","x-csml":["csml","csm"],"x-ctx":"ctx","x-cxf":["cxf","cef"],"x-embl-dl-nucleotide":["emb","embl"],"x-gamess-input":["inp","gam","gamin"],"x-gaussian-checkpoint":["fch","fchk"],"x-gaussian-cube":"cub","x-gaussian-input":["gau","gjc","gjf"],"x-gaussian-log":"gal","x-gcg8-sequence":"gcg","x-genbank":"gen","x-hin":"hin","x-isostar":["istr","ist"],"x-jcamp-dx":["jdx","dx"],"x-kinemage":"kin","x-macmolecule":"mcm","x-macromodel-input":["mmd","mmod"],"x-mdl-molfile":"mol","x-mdl-rdfile":"rd","x-mdl-rxnfile":"rxn","x-mdl-sdfile":["sd","sdf"],"x-mdl-tgf":"tgf","x-mmcif":"mcif","x-mol2":"mol2","x-molconn-Z":"b","x-mopac-graph":"gpt","x-mopac-input":["mop","mopcrt","mpc","zmt"],"x-mopac-out":"moo","x-ncbi-asn1":"asn","x-ncbi-asn1-ascii":["prt","ent"],"x-ncbi-asn1-binary":["val","aso"],"x-pdb":["pdb","ent"],"x-rosdal":"ros","x-swissprot":"sw","x-vamas-iso14976":"vms","x-vmd":"vmd","x-xtel":"xtel","x-xyz":"xyz"},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"vnd.djvu":["djvu","djv"],"vnd.wap.wbmp":"wbmp","x-canon-cr2":"cr2","x-canon-crw":"crw","x-cmu-raster":"ras","x-coreldraw":"cdr","x-coreldrawpattern":"pat","x-coreldrawtemplate":"cdt","x-corelphotopaint":"cpt","x-epson-erf":"erf","x-icon":"ico","x-jg":"art","x-jng":"jng","x-nikon-nef":"nef","x-olympus-orf":"orf","x-photoshop":"psd","x-portable-anymap":"pnm","x-portable-bitmap":"pbm","x-portable-graymap":"pgm","x-portable-pixmap":"ppm","x-rgb":"rgb","x-xbitmap":"xbm","x-xpixmap":"xpm","x-xwindowdump":"xwd",bmp:"bmp",cgm:"cgm",g3fax:"g3",ktx:"ktx","prs.btif":"btif",sgi:"sgi","vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"vnd.dwg":"dwg","vnd.dxf":"dxf","vnd.fastbidsheet":"fbs","vnd.fpx":"fpx","vnd.fst":"fst","vnd.fujixerox.edmics-mmr":"mmr","vnd.fujixerox.edmics-rlc":"rlc","vnd.ms-modi":"mdi","vnd.ms-photo":"wdp","vnd.net-fpx":"npx","vnd.xiff":"xif",webp:"webp","x-3ds":"3ds","x-cmx":"cmx","x-freehand":["fh","fhc","fh4","fh5","fh7"],"x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod",pipeg:"jfif"},message:{rfc822:["eml","mime","mht","mhtml","nws"]},model:{iges:["igs","iges"],mesh:["msh","mesh","silo"],vrml:["wrl","vrml"],"x3d+vrml":["x3dv","x3dvz"],"x3d+xml":["x3d","x3dz"],"x3d+binary":["x3db","x3dbz"],"vnd.collada+xml":"dae","vnd.dwf":"dwf","vnd.gdl":"gdl","vnd.gtw":"gtw","vnd.mts":"mts","vnd.vtu":"vtu"},text:{"cache-manifest":["manifest","appcache"],calendar:["ics","icz","ifb"],css:"css",csv:"csv",h323:"323",html:["html","htm","shtml","stm"],iuls:"uls",mathml:"mml",plain:["txt","text","brf","conf","def","list","log","in","bas"],richtext:"rtx",scriptlet:["sct","wsc"],texmacs:["tm","ts"],"tab-separated-values":"tsv","vnd.sun.j2me.app-descriptor":"jad","vnd.wap.wml":"wml","vnd.wap.wmlscript":"wmls","x-bibtex":"bib","x-boo":"boo","x-c++hdr":["h++","hpp","hxx","hh"],"x-c++src":["c++","cpp","cxx","cc"],"x-component":"htc","x-dsrc":"d","x-diff":["diff","patch"],"x-haskell":"hs","x-java":"java","x-literate-haskell":"lhs","x-moc":"moc","x-pascal":["p","pas"],"x-pcs-gcd":"gcd","x-perl":["pl","pm"],"x-python":"py","x-scala":"scala","x-setext":"etx","x-tcl":["tcl","tk"],"x-tex":["tex","ltx","sty","cls"],"x-vcalendar":"vcs","x-vcard":"vcf",n3:"n3","prs.lines.tag":"dsc",sgml:["sgml","sgm"],troff:["t","tr","roff","man","me","ms"],turtle:"ttl","uri-list":["uri","uris","urls"],vcard:"vcard","vnd.curl":"curl","vnd.curl.dcurl":"dcurl","vnd.curl.scurl":"scurl","vnd.curl.mcurl":"mcurl","vnd.dvb.subtitle":"sub","vnd.fly":"fly","vnd.fmi.flexstor":"flx","vnd.graphviz":"gv","vnd.in3d.3dml":"3dml","vnd.in3d.spot":"spot","x-asm":["s","asm"],"x-c":["c","cc","cxx","cpp","h","hh","dic"],"x-fortran":["f","for","f77","f90"],"x-opml":"opml","x-nfo":"nfo","x-sfv":"sfv","x-uuencode":"uu",webviewhtml:"htt"},video:{avif:".avif","3gpp":"3gp",annodex:"axv",dl:"dl",dv:["dif","dv"],fli:"fli",gl:"gl",mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.dece.hd":["uvh","uvvh"],"vnd.dece.mobile":["uvm","uvvm"],"vnd.dece.pd":["uvp","uvvp"],"vnd.dece.sd":["uvs","uvvs"],"vnd.dece.video":["uvv","uvvv"],"vnd.dvb.file":"dvb","vnd.fvt":"fvt","vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv"},"x-conference":{"x-cooltalk":"ice"},"x-world":{"x-vrml":["vrm","vrml","wrl","flr","wrz","xaf","xof"]}},pn=function(){var e,t,n,r,i,e={};for(t in mn)if(mn.hasOwnProperty(t))for(n in mn[t])if(mn[t].hasOwnProperty(n))if("string"==typeof(r=mn[t][n]))e[r]=t+"/"+n;else for(i=0;i<r.length;i++)e[r[i]]=t+"/"+n;return e}(),vn=[],bn=0;bn<256;bn++){for(yn=bn,wn=0;wn<8;wn++)1&yn?yn=yn>>>1^3988292384:yn>>>=1;vn[bn]=yn}xn=function(){function t(e){w(this,t),this.crc=e||-1}return s(t,[{key:"append",value:function e(t){for(var n,r,i,n=0|this.crc,r=0,i=0|t.length;r<i;r++)n=n>>>8^vn[255&(n^t[r])];this.crc=n}},{key:"get",value:function e(){return~this.crc}}]),t}(),gn=function(e){f(n,e);var t=d(n);function n(){w(this,n);var i=new xn;return t.call(this,{transform:function e(t){i.append(t)},flush:function e(t){var n,r,n=new Uint8Array(4),r;new DataView(n.buffer).setUint32(0,i.get()),t.enqueue(n)}})}return s(n)}(TransformStream),p={concat:function e(t,n){var r,i;return 0===t.length||0===n.length||(r=t[t.length-1],32===(i=p.getPartial(r)))?t.concat(n):p.Wne(n,i,0|r,t.slice(0,t.length-1))},bitLength:function e(t){var n,t,n=t.length;return 0===n?0:(t=t[n-1],32*(n-1)+p.getPartial(t))},clamp:function e(t,n){var r;return 32*t.length<n||(r=(t=t.slice(0,Math.ceil(n/32))).length,n&=31,0<r&&n&&(t[r-1]=p.partial(n,t[r-1]&2147483648>>n-1,1))),t},partial:function e(t,n,r){return 32===t?n:(r?0|n:n<<32-t)+1099511627776*t},getPartial:function e(t){return Math.round(t/1099511627776)||32},Wne:function e(t,n,r,i){var a,o,o;for(void 0===i&&(i=[]);32<=n;n-=32)i.push(r),r=0;if(0===n)return i.concat(t);for(a=0;a<t.length;a++)i.push(r|t[a]>>>n),r=t[a]<<32-n;return o=t.length?t[t.length-1]:0,o=p.getPartial(o),i.push(p.partial(n+o&31,32<n+o?r:i.pop(),1)),i}},kn={bytes:{fromBits:function e(t){for(var n,r,i,a,o,n,r=p.bitLength(t)/8,i=new Uint8Array(r),o=0;o<r;o++)0==(3&o)&&(a=t[o/4]),i[o]=a>>>24,a<<=8;return i},toBits:function e(t){for(var n,r,i,n=[],i=0,r=0;r<t.length;r++)i=i<<8|t[r],3==(3&r)&&(n.push(i),i=0);return 3&r&&n.push(p.partial(8*(3&r),i)),n}}},(In={sha1:function(e){e?(this._h=e._h.slice(0),this.E7=e.E7.slice(0),this.bh=e.bh):this.reset()}}).sha1.prototype={blockSize:512,reset:function e(){var t=this;return t._h=this.Hc.slice(0),t.E7=[],t.bh=0,t},update:function e(t){var n,r,i,a,o,s,f,n=this;if("string"==typeof t&&(t=kn.utf8String.toBits(t)),r=n.E7=p.concat(n.E7,t),i=n.bh,9007199254740991<(a=n.bh=i+p.bitLength(t)))throw new Error("Cannot hash more than 2^53 - 1 bits");for(o=new Uint32Array(r),s=0,f=n.blockSize+i-(n.blockSize+i&n.blockSize-1);f<=a;f+=n.blockSize)n.Vne(o.subarray(16*s,16*(s+1))),s+=1;return r.splice(0,16*s),n},finalize:function e(){for(var t,n,r,i,t=this,n=t.E7,r=t._h,i=(n=p.concat(n,[p.partial(1,1)])).length+2;15&i;i++)n.push(0);for(n.push(Math.floor(t.bh/4294967296)),n.push(0|t.bh);n.length;)t.Vne(n.splice(0,16));return t.reset(),r},Hc:[1732584193,4023233417,2562383102,271733878,3285377520],Kyn:[1518500249,1859775393,2400959708,3395469782],_f:function e(t,n,r,i){return t<=19?n&r|~n&i:t<=39?n^r^i:t<=59?n&r|n&i|r&i:t<=79?n^r^i:void 0},_S:function e(t,n){return n<<t|n>>>32-t},Vne:function e(t){for(var n,r,i,a,o,s,f,c,u,l,d,n=this,r=n._h,i=Array(80),a=0;a<16;a++)i[a]=t[a];for(o=r[0],s=r[1],f=r[2],c=r[3],u=r[4],l=0;l<=79;l++)16<=l&&(i[l]=n._S(1,i[l-3]^i[l-8]^i[l-14]^i[l-16])),d=n._S(5,o)+n._f(l,s,f,c)+u+i[l]+n.Kyn[Math.floor(l/20)]|0,u=c,c=f,f=n._S(30,s),s=o,o=d;r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+f|0,r[3]=r[3]+c|0,r[4]=r[4]+u|0}},(hn={}).aes=function(){function d(e){var t,n,r,i,a,o,s,f,c,u,l;if(w(this,d),(t=this).QSt=[[[],[],[],[],[]],[[],[],[],[],[]]],t.QSt[0][0][0]||t._precompute(),n=t.QSt[0][4],r=t.QSt[1],f=1,4!==(i=e.length)&&6!==i&&8!==i)throw new Error("invalid aes key size");for(t.Kyn=[o=e.slice(0),s=[]],a=i;a<4*i+28;a++)c=o[a-1],(a%i==0||8===i&&a%i==4)&&(c=n[c>>>24]<<24^n[c>>16&255]<<16^n[c>>8&255]<<8^n[255&c],a%i==0)&&(c=c<<8^c>>>24^f<<24,f=f<<1^283*(f>>7)),o[a]=o[a-i]^c;for(u=0;a;u++,a--)l=o[3&u?a:a-4],s[u]=a<=4||u<4?l:r[0][n[l>>>24]]^r[1][n[l>>16&255]]^r[2][n[l>>8&255]]^r[3][n[255&l]]}return s(d,[{key:"encrypt",value:function e(t){return this._crypt(t,0)}},{key:"decrypt",value:function e(t){return this._crypt(t,1)}},{key:"_precompute",value:function e(){for(var t,n,r,i,a,o,s,f,c,u,l,d,h,m,p,v,b,t=this.QSt[0],n=this.QSt[1],r=t[4],i=n[4],a=[],o=[],l=0;l<256;l++)o[(a[l]=l<<1^283*(l>>7))^l]=l;for(d=s=0;!r[d];d^=f||1,s=o[s]||1)for(m=16843009*(u=a[c=a[f=a[i[r[d]=h=(h=s^s<<1^s<<2^s<<3^s<<4)>>8^255&h^99]=d]]])^65537*c^257*f^16843008*d,p=257*a[h]^16843008*h,v=0;v<4;v++)t[v][d]=p=p<<24^p>>>8,n[v][h]=m=m<<24^m>>>8;for(b=0;b<5;b++)t[b]=t[b].slice(0),n[b]=n[b].slice(0)}},{key:"_crypt",value:function e(t,n){var r,i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g;if(4!==t.length)throw new Error("invalid aes block size");for(i=(r=this.Kyn[n]).length/4-2,a=[0,0,0,0],s=(o=this.QSt[n])[0],f=o[1],c=o[2],u=o[3],l=o[4],d=t[0]^r[0],h=t[n?3:1]^r[1],m=t[2]^r[2],p=t[n?1:3]^r[3],v=4,x=0;x<i;x++)b=s[d>>>24]^f[h>>16&255]^c[m>>8&255]^u[255&p]^r[v],y=s[h>>>24]^f[m>>16&255]^c[p>>8&255]^u[255&d]^r[v+1],w=s[m>>>24]^f[p>>16&255]^c[d>>8&255]^u[255&h]^r[v+2],p=s[p>>>24]^f[d>>16&255]^c[h>>8&255]^u[255&m]^r[v+3],v+=4,d=b,h=y,m=w;for(g=0;g<4;g++)a[n?3&-g:g]=l[d>>>24]<<24^l[h>>16&255]<<16^l[m>>8&255]<<8^l[255&p]^r[v++],b=d,d=h,h=m,m=p,p=b;return a}}]),d}(),Cn={getRandomValues:function e(t){for(var n,r,i,a,o,n=new Uint32Array(t.buffer),r=function e(t){var n,r,n=987654321,r=4294967295;return function(){var e;return((((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r)/4294967296+.5)*(.5<Math.random()?1:-1)}},i=0;i<t.length;i+=4)a=987654071*(o=r(4294967296*(a||Math.random())))(),n[i/4]=4294967296*o()|0;return t}},(Fn={}).ctrGladman=function(){function n(e,t){w(this,n),this.Kne=e,this.Zne=t,this.Hne=t}return s(n,[{key:"reset",value:function e(){this.Hne=this.Zne}},{key:"update",value:function e(t){return this.calculate(this.Kne,t,this.Hne)}},{key:"incWord",value:function e(t){var n,r,i;return 255==(t>>24&255)?(r=t>>8&255,i=255&t,255===(n=t>>16&255)?(n=0,255===r?(r=0,255===i?i=0:++i):++r):++n,t=0,t=(t+=n<<16)+(r<<8)+i):t+=1<<24,t}},{key:"incCounter",value:function e(t){0===(t[0]=this.incWord(t[0]))&&(t[1]=this.incWord(t[1]))}},{key:"calculate",value:function e(t,n,r){var i,a,o,s;if(!(i=n.length))return[];for(a=p.bitLength(n),o=0;o<i;o+=4)this.incCounter(r),s=t.encrypt(r),n[o]^=s[0],n[o+1]^=s[1],n[o+2]^=s[2],n[o+3]^=s[3];return p.clamp(n,a)}}]),n}(),(An={importKey:function e(t){return new An.hmacSha1(kn.bytes.toBits(t))},pbkdf2:function e(t,n,r,i){var a,o,s,f,c,u,l,d,h,m;if(r=r||1e4,i<0||r<0)throw new Error("invalid params to pbkdf2");for(a=1+(i>>5)<<2,l=new ArrayBuffer(a),d=new DataView(l),h=0,m=p,n=kn.bytes.toBits(n),u=1;h<(a||1);u++){for(o=s=t.encrypt(m.concat(n,[u])),f=1;f<r;f++)for(s=t.encrypt(s),c=0;c<s.length;c++)o[c]^=s[c];for(f=0;h<(a||1)&&f<o.length;f++)d.setInt32(h,o[f]),h+=4}return l.slice(0,i/8)}}).hmacSha1=function(){function o(e){var t,n,r,i,a;for(w(this,o),r=[[],[]],i=(n=(t=this).Jne=In.sha1).prototype.blockSize/32,t.Yne=[new n,new n],e.length>i&&(e=n.hash(e)),a=0;a<i;a++)r[0][a]=909522486^e[a],r[1][a]=1549556828^e[a];t.Yne[0].update(r[0]),t.Yne[1].update(r[1]),t.Xne=new n(t.Yne[0])}return s(o,[{key:"reset",value:function e(){var t=this;t.Xne=new t.Jne(t.Yne[0]),t.$ne=!1}},{key:"update",value:function e(t){var n=this;n.$ne=!0,n.Xne.update(t)}},{key:"digest",value:function e(){var t,n,n,t=this,n=t.Xne.finalize(),n=new t.Jne(t.Yne[1]).update(n).finalize();return t.reset(),n}},{key:"encrypt",value:function e(t){if(this.$ne)throw new Error("encrypt on already updated hmac called!");return this.update(t),this.digest(t)}}]),o}(),Sn="undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues,En="Invalid password",jn="Invalid signature",_n=16,Dn="raw",n={name:"PBKDF2"},On="SHA-1",Tn=Object.assign({hash:Rn={name:"HMAC"}},n),zn=Object.assign({iterations:1e3,hash:{name:On}},n),Bn=["deriveBits"],Mn=[8,12,16],Nn=[16,24,32],Pn=10,Un=[0,0,0,0],On="function",Ln=((n="undefined")==typeof crypto?"undefined":Xi(crypto))!=n,Gn=Ln&&crypto.subtle,n=Ln&&Xi(Gn)!=n,qn=Ln&&n&&Xi(Gn.importKey)==On,Wn=Ln&&n&&Xi(Gn.deriveBits)==On,Vn=kn.bytes,Hn=hn.aes,Zn=Fn.ctrGladman,Kn=An.hmacSha1,Xn=function(e){f(a,e);var t=d(a);function a(e){var n=e.password,r=e.signed,i=e.encryptionStrength;return w(this,a),t.call(this,{start:function e(){var t=this;Object.assign(this,{ready:new Promise(function(e){return t.resolveReady=e}),password:n,signed:r,strength:i-1,pending:new Uint8Array})},transform:function e(s,f){var c=this;return _(ee().mark(function e(){var n,r,i,a,o,r;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(r=(n=c).password,i=n.strength,a=n.resolveReady,o=n.ready,r)return t.next=5,P0(n,i,r,h(s,0,Mn[i]+2));t.next=9;break;case 5:s=h(s,Mn[i]+2),a(),t.next=11;break;case 9:return t.next=11,o;case 11:r=new Uint8Array(s.length-10-(s.length-10)%_n),f.enqueue(N0(n,s,r,0,10,!0));case 13:case"end":return t.stop()}},e)}))()},flush:function e(l){var d=this;return _(ee().mark(function e(){var n,r,i,a,o,o,s,f,c,c,c,u;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return n=d.signed,r=d.ctr,i=d.hmac,a=d.pending,o=d.ready,t.next=3,o;case 3:if(o=h(a,0,a.length-10),s=h(a,a.length-10),f=new Uint8Array,o.length&&(c=Y0(Vn,o),i.update(c),c=r.update(c),f=J0(Vn,c)),!n){t.next=16;break}c=h(J0(Vn,i.digest()),0,10),u=0;case 10:if(u<10){if(c[u]!=s[u])throw new Error(jn);t.next=13}else t.next=16;break;case 13:u++,t.next=10;break;case 16:l.enqueue(f);case 17:case"end":return t.stop()}},e)}))()}})}return s(a)}(TransformStream),Jn=function(e){f(i,e);var t=d(i);function i(e){var e,n,r,c,n=e.password,r=e.encryptionStrength;return w(this,i),c=g(e=t.call(this,{start:function e(){var t=this;Object.assign(this,{ready:new Promise(function(e){return t.resolveReady=e}),password:n,strength:r-1,pending:new Uint8Array})},transform:function e(f,c){var u=this;return _(ee().mark(function e(){var n,r,i,a,o,s,i;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(r=(n=u).password,i=n.strength,a=n.resolveReady,o=n.ready,s=new Uint8Array,r)return t.next=6,L0(n,i,r);t.next=10;break;case 6:s=t.sent,a(),t.next=12;break;case 10:return t.next=12,o;case 12:(i=new Uint8Array(s.length+f.length-f.length%_n)).set(s,0),c.enqueue(N0(n,f,i,s.length,0));case 15:case"end":return t.stop()}},e)}))()},flush:function e(s){var f=this;return _(ee().mark(function e(){var n,r,i,a,a,o;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return n=f.ctr,r=f.hmac,i=f.pending,a=f.ready,t.next=3,a;case 3:a=new Uint8Array,i.length&&(o=n.update(Y0(Vn,i)),r.update(o),a=J0(Vn,o)),c.signature=J0(Vn,r.digest()).slice(0,10),s.enqueue(K0(a,c.signature));case 7:case"end":return t.stop()}},e)}))()}})),e}return s(i)}(TransformStream),Yn=12,$n=function(e){f(i,e);var r=d(i);function i(e){var t=e.password,n=e.passwordVerification;return w(this,i),r.call(this,{start:function e(){Object.assign(this,{password:t,passwordVerification:n}),ea(this,t)},transform:function e(t,n){var r,i,r=this;if(r.password){if(i=$0(r,t.subarray(0,12)),r.password=null,i[11]!=r.passwordVerification)throw new Error(En);t=t.subarray(12)}n.enqueue($0(r,t))}})}return s(i)}(TransformStream),Qn=function(e){f(i,e);var r=d(i);function i(e){var t=e.password,n=e.passwordVerification;return w(this,i),r.call(this,{start:function e(){Object.assign(this,{password:t,passwordVerification:n}),ea(this,t)},transform:function e(t,n){var r,i,a,a,r=this,a=r.password?(r.password=null,(a=M0(new Uint8Array(12)))[11]=r.passwordVerification,(i=new Uint8Array(t.length+a.length)).set(Q0(r,a),0),12):(i=new Uint8Array(t.length),0);i.set(Q0(r,t),a),n.enqueue(i)}})}return s(i)}(TransformStream),er="deflate-raw",tr=function(e){f(y,e);var b=d(y);function y(e,t){var n,r,i,a,t,o,s,f,c,u,l,d,h,m,n,p,v,i=t.chunkSize,a=t.CompressionStream,t=t.CompressionStreamNative;return w(this,y),r=b.call(this,{}),o=e.compressed,s=e.encrypted,f=e.useCompressionStream,c=e.zipCrypto,u=e.signed,l=e.level,d=g(r),n=aa(i0((n=g(r),x(y.prototype)),"readable",n)),s&&!c||!u||(n=(v=a0(p=n.tee(),2))[0],h=fa(h=v[1],new gn)),o&&(n=sa(n,f,{level:l,chunkSize:i},t,a)),s&&(n=fa(n,c?new Qn(e):m=new Jn(e))),oa(d,n,_(ee().mark(function e(){var n;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(s&&!c&&(n=m.signature),s&&!c||!u){t.next=6;break}return t.next=4,h.getReader().read();case 4:n=t.sent,n=new DataView(n.value.buffer).getUint32(0);case 6:d.signature=n;case 7:case"end":return t.stop()}},e)}))),r}return s(y)}(TransformStream),nr=function(e){f(v,e);var p=d(v);function v(e,t){var n,r,i,a,t,o,s,f,c,u,l,d,h,n,m,e,i=t.chunkSize,a=t.DecompressionStream,t=t.DecompressionStreamNative;return w(this,v),r=p.call(this,{}),o=e.zipCrypto,s=e.encrypted,f=e.signed,c=e.signature,u=e.compressed,l=e.useCompressionStream,n=aa(i0((n=g(r),x(v.prototype)),"readable",n)),s&&(n=fa(n,o?new $n(e):h=new Xn(e))),u&&(n=sa(n,l,{chunkSize:i},t,a)),s&&!o||!f||(n=(e=a0(m=n.tee(),2))[0],d=fa(d=e[1],new gn)),oa(g(r),n,_(ee().mark(function e(){var n,n;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(s&&!o||!f){t.next=7;break}return t.next=3,d.getReader().read();case 3:if(n=t.sent,n=new DataView(n.value.buffer),c!=n.getUint32(0,!1))throw new Error(jn);t.next=7;break;case 7:case"end":return t.stop()}},e)}))),r}return s(v)}(TransformStream),rr="message",ir="start",ar="pull",or="data",sr="ack",fr="close",cr="deflate",ur="inflate",lr=function(e){f(l,e);var u=d(l);function l(e,t){var n,r,i,n,a,o,s,f,c;return w(this,l),r=u.call(this,{}),i=g(r),(n=e.codecType).startsWith(cr)?a=tr:n.startsWith(ur)&&(a=nr),o=0,s=new a(e,t),f=i0((n=g(r),x(l.prototype)),"readable",n),c=new TransformStream({transform:function e(t,n){t&&t.length&&(o+=t.length,n.enqueue(t))},flush:function e(){var t=s.signature;Object.assign(i,{signature:t,size:o})}}),Object.defineProperty(i,"readable",{get:function e(){return f.pipeThrough(s).pipeThrough(c)}}),r}return s(l)}(TransformStream),dr=("undefined"==typeof Worker?"undefined":Xi(Worker))!=t,hr=s(function e(r,t,n,i){var a,t,o,s,f,c,u,n,l,a=t.readable,t=t.writable,o=n.options,s=n.config,f=n.streamOptions,c=n.useWebWorkers,u=n.transferStreams,n=n.scripts;return w(this,e),l=f.signal,Object.assign(r,{busy:!0,readable:a.pipeThrough(new mr(a,f,s),{signal:l}),writable:t,options:Object.assign({},o),scripts:n,transferStreams:u,terminate:function e(){var t=r.worker,n=r.busy;t&&!n&&(t.terminate(),r.interface=null)},onTaskFinished:function e(){r.busy=!1,i(r)}}),(c&&dr?da:la)(r,s)}),mr=function(e){f(u,e);var c=d(u);function u(t,e,n){var r,i,a,o,s,f,r=e.onstart,i=e.onprogress,a=e.size,o=e.onend,s=n.chunkSize;return w(this,u),f=0,c.call(this,{start:function e(){r&&ca(r,a)},transform:function e(n,r){return _(ee().mark(function e(){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(f+=n.length,i)return t.next=4,ca(i,f,a);t.next=4;break;case 4:r.enqueue(n);case 5:case"end":return t.stop()}},e)}))()},flush:function e(){t.size=f,o&&ca(o,f)}},{highWaterMark:1,size:function e(){return s}})}return s(u)}(TransformStream),vr=pr=!0,br=[],yr=[],wr=0,xr="HTTP error ",gr="HTTP Range not supported",kr="Writer iterator completed too soon",Ir="text/plain",Cr="Content-Length",Fr="Content-Range",Ar="Accept-Ranges",Sr="Range",Er="Content-Type",jr="HEAD",_r="GET",Dr="bytes",Rr=65536,Or="writable",n=function(e){f(n,e);var t=d(n);function n(){return w(this,n),t.apply(this,arguments)}return s(n,[{key:"readable",get:function e(){var f,t,c,u,f=this,t=f.chunkSize,c=void 0===t?Rr:t,u=new ReadableStream({start:function e(){this.chunkOffset=0},pull:function e(o){var s=this;return _(ee().mark(function e(){var n,n,r,i,a;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return n=u.offset,n=void 0===n?0:n,r=u.size,i=u.diskNumberStart,a=s.chunkOffset,t.t0=o,t.next=5,M(f,n+a,Math.min(c,r-a),i);case 5:t.t1=t.sent,t.t0.enqueue.call(t.t0,t.t1),r<a+c?o.close():s.chunkOffset+=c;case 8:case"end":return t.stop()}},e)}))()}});return u}}]),n}(Ln=function(){function e(){w(this,e),this.size=0}return s(e,[{key:"init",value:function e(){this.initialized=!0}}]),e}()),On=function(e){f(i,e);var r=d(i);function i(){var e,n,t;return w(this,i),e=r.call(this),n=g(e),t=new WritableStream({write:function e(t){return n.writeUint8Array(t)}}),Object.defineProperty(n,Or,{get:function e(){return t}}),e}return s(i,[{key:"writeUint8Array",value:function e(){}}]),i}(Ln),hn=function(e){f(a,e);var i=d(a);function a(e){var t,n,r;for(w(this,a),t=i.call(this),n=e.length;"="==e.charAt(n-1);)n--;return r=e.indexOf(",")+1,Object.assign(g(t),{dataURI:e,dataStart:r,size:Math.floor(.75*(n-r))}),t}return s(a,[{key:"readUint8Array",value:function e(t,n){for(var r,i,a,o,s,f,c,r=this.dataStart,i=this.dataURI,a=new Uint8Array(n),o=4*Math.floor(t/3),s=atob(i.substring(o+r,4*Math.ceil((t+n)/3)+r)),f=t-3*Math.floor(o/4),c=f;c<f+n;c++)a[c-f]=s.charCodeAt(c);return a}}]),a}(n),Fn=function(e){f(r,e);var n=d(r);function r(e){var t;return w(this,r),t=n.call(this),Object.assign(g(t),{data:"data:"+(e||"")+";base64,",pending:[]}),t}return s(r,[{key:"writeUint8Array",value:function e(t){var n,r,i,a,n=this,r=0,i=n.pending,a=n.pending.length;for(n.pending="",r=0;r<3*Math.floor((a+t.length)/3)-a;r++)i+=String.fromCharCode(t[r]);for(;r<t.length;r++)n.pending+=String.fromCharCode(t[r]);2<i.length?n.data+=btoa(i):n.pending=i}},{key:"getData",value:function e(){return this.data+btoa(this.pending)}}]),r}(On),Tr=function(e){f(i,e);var n=d(i),r;function i(e){var t;return w(this,i),t=n.call(this),Object.assign(g(t),{blob:e,size:e.size}),t}function t(e,t){return r.apply(this,arguments)}return s(i,[{key:"readUint8Array",value:(r=_(ee().mark(function e(n,r){var i;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return i=this,t.t0=Uint8Array,t.next=4,i.blob.slice(n,n+r).arrayBuffer();case 4:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 6:case"end":return t.stop()}},e,this)})),t)}]),i}(n),zr=function(e){f(o,e);var a=d(o);function o(e){var t,n,r,i;return w(this,o),n=g(t=a.call(this)),r=new TransformStream,i=[],e&&i.push([Er,e]),Object.defineProperty(n,Or,{get:function e(){return r.writable}}),n.blob=new Response(r.readable,{headers:i}).blob(),t}return s(o,[{key:"getData",value:function e(){return this.blob}}]),o}(Ln),t=function(e){f(n,e);var t=d(n);function n(e){return w(this,n),t.call(this,new Blob([e],{type:Ir}))}return s(n)}(Tr),Br=function(e){f(o,e);var n=d(o),t;function o(e){var t;return w(this,o),t=n.call(this,e),Object.assign(g(t),{encoding:e,utf8:!e||"utf-8"==e.toLowerCase()}),t}function r(){return t.apply(this,arguments)}return s(o,[{key:"getData",value:(t=_(ee().mark(function e(){var r,n,i,a;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return r=this.encoding,n=this.utf8,t.next=3,i0(x(o.prototype),"getData",this).call(this);case 3:if((i=t.sent).text&&n)return t.abrupt("return",i.text());t.next=8;break;case 8:return a=new FileReader,t.abrupt("return",new Promise(function(n,t){Object.assign(a,{onload:function e(t){var t=t.target;return n(t.result)},onerror:function e(){return t(a.error)}}),a.readAsText(i,r)}));case 10:case"end":return t.stop()}},e,this)})),r)}]),o}(zr),Mr=function(e){f(i,e);var r=d(i),t;function i(e,t){var n;return w(this,i),ja(g(n=r.call(this)),e,t),n}function n(){return t.apply(this,arguments)}return s(i,[{key:"init",value:(t=_(ee().mark(function e(){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return i0(x(i.prototype),"init",this).call(this),t.next=3,_a(this,Wa,Ba);case 3:case"end":return t.stop()}},e,this)})),n)},{key:"readUint8Array",value:function e(t,n){return Ra(this,t,n,Wa,Ba)}}]),i}(n),Nr=function(e){f(i,e);var r=d(i),t;function i(e,t){var n;return w(this,i),ja(g(n=r.call(this)),e,t),n}function n(){return t.apply(this,arguments)}return s(i,[{key:"init",value:(t=_(ee().mark(function e(){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return i0(x(i.prototype),"init",this).call(this),t.next=3,_a(this,Ha,Na);case 3:case"end":return t.stop()}},e,this)})),n)},{key:"readUint8Array",value:function e(t,n){return Ra(this,t,n,Ha,Na)}}]),i}(n),Ur=function(e){f(r,e);var n=d(r);function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return w(this,r),t.useRangeHeader=!0,n.call(this,e,t)}return s(r)}(Pr=function(e){f(i,e);var r=d(i),t;function i(e){var t,n,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return w(this,i),t=r.call(this),Object.assign(g(t),{url:e,reader:new(n.useXHR?Nr:Mr)(e,n)}),t}function n(){return t.apply(this,arguments)}return s(i,[{key:"size",get:function e(){return this.reader.size},set:function e(t){}},{key:"init",value:(t=_(ee().mark(function e(){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return i0(x(i.prototype),"init",this).call(this),t.next=3,this.reader.init();case 3:case"end":return t.stop()}},e,this)})),n)},{key:"readUint8Array",value:function e(t,n){return this.reader.readUint8Array(t,n)}}]),i}(n)),Lr=function(e){f(r,e);var n=d(r);function r(e){var t;return w(this,r),t=n.call(this),Object.assign(g(t),{array:e,size:e.length}),t}return s(r,[{key:"readUint8Array",value:function e(t,n){return this.array.slice(t,t+n)}}]),r}(n),Gr=function(e){f(n,e);var t=d(n);function n(){return w(this,n),t.apply(this,arguments)}return s(n,[{key:"init",value:function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;i0(x(n.prototype),"init",this).call(this),Object.assign(this,{offset:0,array:new Uint8Array(t)})}},{key:"writeUint8Array",value:function e(t){var n,r,n=this;n.offset+t.length>n.array.length&&(r=n.array,n.array=new Uint8Array(r.length+t.length),n.array.set(r)),n.array.set(t,n.offset),n.offset+=t.length}},{key:"getData",value:function e(){return this.array}}]),n}(On),Vr=qr=function(e){f(i,e);var n=d(i),r,t;function i(e){var t;return w(this,i),(t=n.call(this)).readers=e,t}function a(e,t){return r.apply(this,arguments)}function o(){return t.apply(this,arguments)}return s(i,[{key:"init",value:(t=_(ee().mark(function e(){var r,n;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return i0(x(i.prototype),"init",this).call(this),n=(r=this).readers,r.lastDiskNumber=0,t.next=6,Promise.all(n.map(function(){var t=_(ee().mark(function e(n){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.init();case 2:r.size+=n.size;case 3:case"end":return t.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()));case 6:case"end":return t.stop()}},e,this)})),o)},{key:"readUint8Array",value:(r=_(ee().mark(function e(n,r){var i,a,o,s,f,c,u,l,d,h=arguments;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:for(i=2<h.length&&void 0!==h[2]?h[2]:0,o=(a=this).readers,-1==(f=i)&&(f=o.length-1),c=n;c>=o[f].size;)c-=o[f].size,f++;if(u=o[f],l=u.size,c+r<=l)return t.next=12,M(u,c,r);t.next=15;break;case 12:s=t.sent,t.next=28;break;case 15:return d=l-c,s=new Uint8Array(r),t.t0=s,t.next=20,M(u,c,d);case 20:return t.t1=t.sent,t.t0.set.call(t.t0,t.t1),t.t2=s,t.next=25,a.readUint8Array(n+d,r-d,i);case 25:t.t3=t.sent,t.t4=d,t.t2.set.call(t.t2,t.t3,t.t4);case 28:return a.lastDiskNumber=Math.max(f,a.lastDiskNumber),t.abrupt("return",s);case 30:case"end":return t.stop()}},e,this)})),a)}]),i}(n),Ln=Wr=function(e){f(o,e);var a=d(o);function o(c){var e,t,u,l,d,h,n;function m(e){return r.apply(this,arguments)}function r(){return(r=_(ee().mark(function e(n){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h.ready;case 2:return t.next=4,h.write(n);case 4:l.size+=n.length,u.size+=n.length;case 6:case"end":return t.stop()}},e)}))).apply(this,arguments)}function p(){return i.apply(this,arguments)}function i(){return(i=_(ee().mark(function e(){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return d.size=l.size,t.next=3,h.close();case 3:case"end":return t.stop()}},e)}))).apply(this,arguments)}return t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:4294967296,w(this,o),e=a.call(this),u=g(e),Object.assign(u,{diskNumber:0,diskOffset:0,size:0,maxSize:t,availableSize:t}),n=new WritableStream({write:function e(s){var f=this;return _(ee().mark(function e(){var n,r,i,a,o;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(n=u.maxSize,h){t.next=22;break}return t.next=4,c.next();case 4:if(r=t.sent,i=r.value,(a=r.done)&&!i)throw new Error(kr);t.next=11;break;case 11:return(l=i).size=0,l.maxSize&&(u.maxSize=l.maxSize),t.next=16,Ka(l);case 16:d=i.writable,h=d.getWriter();case 18:return t.next=20,f.write(s);case 20:t.next=39;break;case 22:if(l.size+s.length>=n)return o=n-l.size,t.next=26,m(s.slice(0,o));t.next=35;break;case 26:return t.next=28,p();case 28:return u.diskOffset+=l.size,u.diskNumber++,h=null,t.next=33,f.write(s.slice(o));case 33:t.next=39;break;case 35:if(s.length)return t.next=38,m(s);t.next=38;break;case 38:u.availableSize=n-l.size;case 39:case"end":return t.stop()}},e)}))()},close:function e(){return _(ee().mark(function e(){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h.ready;case 2:return t.next=4,p();case 4:case"end":return t.stop()}},e)}))()}}),Object.defineProperty(u,Or,{get:function e(){return n}}),e}return s(o)}(Ln),Hr="\0\u263a\u263b\u2665\u2666\u2663\u2660\u2022\u25d8\u25cb\u25d9\u2642\u2640\u266a\u266b\u263c\u25ba\u25c4\u2195\u203c\xb6\xa7\u25ac\u21a8\u2191\u2193\u2192\u2190\u221f\u2194\u25b2\u25bc !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xc7\xfc\xe9\xe2\xe4\xe0\xe5\xe7\xea\xeb\xe8\xef\xee\xec\xc4\xc5\xc9\xe6\xc6\xf4\xf6\xf2\xfb\xf9\xff\xd6\xdc\xa2\xa3\xa5\u20a7\u0192\xe1\xed\xf3\xfa\xf1\xd1\xaa\xba\xbf\u2310\xac\xbd\xbc\xa1\xab\xbb\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580\u03b1\xdf\u0393\u03c0\u03a3\u03c3\xb5\u03c4\u03a6\u0398\u03a9\u03b4\u221e\u03c6\u03b5\u2229\u2261\xb1\u2265\u2264\u2320\u2321\xf7\u2248\xb0\u2219\xb7\u221a\u207f\xb2\u25a0 ".split(""),Zr=256==Hr.length,ai="rawLastAccessDate",si="rawCreationDate",di=[Kr="filename",Xr="rawFilename",Qr="compressedSize",$r="uncompressedSize",ni="lastModDate",ri="rawLastModDate",Jr="comment",Yr="rawComment",ii="lastAccessDate",oi="creationDate",ei="offset",ti="diskNumberStart",ti,fi="internalFileAttribute",ci="externalFileAttribute",ui="msDosCompatible",li="zip64","directory","bitFlag","encrypted","signature","filenameUTF8","commentUTF8","compressionMethod","version","versionMadeBy","extraField","rawExtraField","extraFieldZip64","extraFieldUnicodePath","extraFieldUnicodeComment","extraFieldAES","extraFieldNTFS","extraFieldExtendedTimestamp"],hi=s(function e(t){var n=this;w(this,e),di.forEach(function(e){return n[e]=t[e]})}),mi="File format is not recognized",pi="End of central directory not found",vi="End of Zip64 central directory not found",bi="End of Zip64 central directory locator not found",yi="Central directory header not found",wi="Local file header not found",xi="Zip64 extra field not found",gi="File contains encrypted entry",ki="Encryption method not supported",Ii="Compression method not supported",Ci="Split zip file",Fi="utf-8",Ai="cp437",Si=[[$r,$],[Qr,$],[ei,$],[ti,Q]],Qi($r={},Q,{getValue:P,bytes:4}),Qi($r,$,{getValue:p1,bytes:8}),Ei=$r,Qr=function(){function n(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};w(this,n),Object.assign(this,{reader:Ja(e),options:t,config:l})}function e(){return t.apply(this,arguments)}var t,r;function i(){return r.apply(this,arguments)}return s(n,[{key:"getEntriesGenerator",value:function e(){var O,T,O=this,T=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Ji(ee().mark(function e(){var b,y,w,n,r,i,a,o,s,f,c,u,r,l,d,x,g,k,l,h,m,p,v,I,C,F,A,v,I,S,E,j,_,D,R;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return y=(b=O).reader,w=b.config,t.next=5,B(Ka(y));case 5:if(y.size!==L&&y.readUint8Array){t.next=13;break}return t.t0=Tr,t.next=9,B(new Response(y.readable).blob());case 9:return t.t1=t.sent,y=new t.t0(t.t1),t.next=13,B(Ka(y));case 13:if(y.size<Lt)throw new Error(mi);t.next=15;break;case 15:return y.chunkSize=D0(w),t.next=18,B(c1(y,Nt,y.size,Lt,16*Q));case 18:if(n=t.sent){t.next=29;break}return t.next=22,B(M(y,0,4));case 22:if(r=t.sent,P(i=U(r))==zt)throw new Error(Ci);t.next=28;break;case 28:throw new Error(pi);case 29:if(a=U(n),o=P(a,12),s=P(a,16),f=n.offset,c=N(a,20),u=f+Lt+c,r=N(a,4),l=y.lastDiskNumber||0,d=N(a,6),l!=r)throw new Error(Ci);t.next=40;break;case 40:if(x=N(a,8),k=g=0,s==$||o==$||x==Q||d==Q)return t.next=46,B(M(y,n.offset-Gt,Gt));t.next=70;break;case 46:if(l=t.sent,P(h=U(l),0)!=Ut)throw new Error(vi);t.next=50;break;case 50:return s=p1(h,8),t.next=53,B(M(y,s,qt,-1));case 53:if(m=t.sent,p=U(m),v=n.offset-Gt-qt,P(p,0)!=Pt&&s!=v)return I=s,g=(s=v)-I,t.next=62,B(M(y,s,qt,-1));t.next=64;break;case 62:m=t.sent,p=U(m);case 64:if(P(p,0)!=Pt)throw new Error(bi);t.next=66;break;case 66:d==Q&&(d=P(p,16)),x==Q&&(x=p1(p,32)),o==$&&(o=p1(p,40)),s-=o;case 70:if(s<0||s>=y.size)throw new Error(mi);t.next=72;break;case 72:return C=0,t.next=75,B(M(y,s,o,d));case 75:if(F=t.sent,A=U(F),o){if(v=n.offset-o,P(A,C)!=Mt&&s!=v)return I=s,g=(s=v)-I,t.next=85,B(M(y,s,o,d))}t.next=87;break;case 85:F=t.sent,A=U(F);case 87:if(s<0||s>=y.size)throw new Error(mi);t.next=89;break;case 89:S=l1(b,T,"filenameEncoding"),E=l1(b,T,"commentEncoding"),j=ee().mark(function e(n){var r,i,a,o,s,f,c,a,u,l,d,i,h,m,p,f,c,u,o,v,s;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(r=new ji(y,w,b.options),P(A,C)!=Mt)throw new Error(yi);t.next=3;break;case 3:return e1(r,A,C+6),i=Boolean(r.bitFlag.languageEncodingFlag),o=(a=C+46)+r.filenameLength,s=o+r.extraFieldLength,f=N(A,C+4),c=0==(0&f),a=F.subarray(a,o),u=N(A,C+32),l=s+u,d=F.subarray(s,l),h=i=i,m=c&&(m1(A,C+38)&nn)==nn,p=P(A,C+42)+g,Object.assign(r,{versionMadeBy:f,msDosCompatible:c,compressedSize:0,uncompressedSize:0,commentLength:u,directory:m,offset:p,diskNumberStart:N(A,C+34),internalFileAttribute:N(A,C+36),externalFileAttribute:P(A,C+38),rawFilename:a,filenameUTF8:i,commentUTF8:h,rawExtraField:F.subarray(o,s)}),t.next=21,B(Promise.all([Qa(a,i?Fi:S||Ai),Qa(d,h?Fi:E||Ai)]));case 21:return f=t.sent,c=a0(f,2),u=c[0],o=c[1],Object.assign(r,{rawComment:d,filename:u,comment:o,directory:m||u.endsWith(sn)}),k=Math.max(p,k),t.next=29,B(t1(r,r,A,C+6));case 29:if((v=new hi(r)).getData=function(e,t){return r.getData(e,v,t)},C=l,s=T.onprogress)return t.prev=34,t.next=37,B(s(n+1,x,new hi(r)));t.next=41;break;case 37:t.next=41;break;case 39:t.prev=39,t.t0=t.catch(34);case 41:return t.next=43,v;case 43:case"end":return t.stop()}},e,null,[[34,39]])}),_=0;case 93:if(_<x)return t.delegateYield(j(_),"t2",95);t.next=98;break;case 95:_++,t.next=93;break;case 98:if(D=l1(b,T,"extractPrependedData"),R=l1(b,T,"extractAppendedData"),D){if(0<k)return t.next=104,B(M(y,0,k));t.next=107}else t.next=109;break;case 104:t.t3=t.sent,t.next=108;break;case 107:t.t3=new Uint8Array;case 108:b.prependedData=t.t3;case 109:if(c)return t.next=112,B(M(y,f+Lt,c));t.next=115;break;case 112:t.t4=t.sent,t.next=116;break;case 115:t.t4=new Uint8Array;case 116:if(b.comment=t.t4,R){if(u<y.size)return t.next=121,B(M(y,u,y.size-u));t.next=124}else t.next=126;break;case 121:t.t5=t.sent,t.next=125;break;case 124:t.t5=new Uint8Array;case 125:b.appendedData=t.t5;case 126:return t.abrupt("return",!0);case 127:case"end":return t.stop()}},e)}))()}},{key:"getEntries",value:(r=_(ee().mark(function e(){var n,r,i,a,o,n,s,s,f=arguments;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:n=0<f.length&&void 0!==f[0]?f[0]:{},a=i=!(r=[]),t.prev=4,n=Zi(this.getEntriesGenerator(n));case 6:return t.next=8,n.next();case 8:if(!(i=!(s=t.sent).done)){t.next=14;break}s=s.value,r.push(s);case 11:i=!1,t.next=6;break;case 14:t.next=20;break;case 16:t.prev=16,t.t0=t.catch(4),a=!0,o=t.t0;case 20:if(t.prev=20,t.prev=21,i&&null!=n.return)return t.next=25,n.return();t.next=25;break;case 25:if(t.prev=25,a)throw o;t.next=28;break;case 28:return t.finish(25);case 29:return t.finish(20);case 30:return t.abrupt("return",r);case 31:case"end":return t.stop()}},e,this,[[4,16,20,30],[21,,25,29]])})),i)},{key:"close",value:(t=_(ee().mark(function e(){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}},e)})),e)}]),n}(),ji=function(){function r(e,t,n){w(this,r),Object.assign(this,{reader:e,config:t,options:n})}function e(e,t){return n.apply(this,arguments)}var n;return s(r,[{key:"getData",value:(n=_(ee().mark(function e(n,r){var i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,y,w,x,g,k,I,k,C,t,F,A,S,E,A,j,_=arguments;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return i=2<_.length&&void 0!==_[2]?_[2]:{},o=(a=this).reader,s=a.offset,f=a.diskNumberStart,c=a.extraFieldAES,u=a.compressionMethod,l=a.config,d=a.bitFlag,h=a.signature,m=a.rawLastModDate,p=a.uncompressedSize,v=a.compressedSize,b=a.localDirectory={},t.next=6,M(o,s,30,f);case 6:if(y=t.sent,y=U(y),w=(w=l1(a,i,"password"))&&w.length&&w,c){if(c.originalCompressionMethod!=Ot)throw new Error(Ii)}t.next=13;break;case 13:if(u!=Rt&&u!=Dt)throw new Error(Ii);t.next=15;break;case 15:if(P(y,0)!=Tt)throw new Error(wi);t.next=17;break;case 17:if(e1(b,y,4),b.extraFieldLength)return t.next=21,M(o,s+30+b.filenameLength,b.extraFieldLength,f);t.next=24;break;case 21:t.t0=t.sent,t.next=25;break;case 24:t.t0=new Uint8Array;case 25:return b.rawExtraField=t.t0,t.next=28,t1(a,b,y,4);case 28:if(Object.assign(r,{lastAccessDate:b.lastAccessDate,creationDate:b.creationDate}),x=a.encrypted&&b.encrypted,g=x&&!c,!x){t.next=38;break}if(g||c.strength!==L){t.next=36;break}throw new Error(ki);case 36:if(w){t.next=38;break}throw new Error(gi);case 38:return k=s+30+b.filenameLength+b.extraFieldLength,(I=o.readable).diskNumberStart=f,I.offset=k,k=I.size=v,C=l1(a,i,"signal"),n=Ya(n),t.next=47,Ka(n,p);case 47:return F=n.writable,A=i.onstart,S=i.onprogress,E=i.onend,A={options:{codecType:ur,password:w,zipCrypto:g,encryptionStrength:c&&c.strength,signed:l1(a,i,"checkSignature"),passwordVerification:g&&(d.dataDescriptor?m>>>8&255:h>>>24&255),signature:h,compressed:0!=u,encrypted:x,useWebWorkers:l1(a,i,"useWebWorkers"),useCompressionStream:l1(a,i,"useCompressionStream"),transferStreams:l1(a,i,"transferStreams")},config:l,streamOptions:{signal:C,size:k,onstart:A,onprogress:S,onend:E}},t.t1=F.size,t.next=53,ka({readable:I,writable:F},A);case 53:if(F.size=t.t1+=t.sent.size,j=l1(a,i,"preventClose")){t.next=58;break}return t.next=58,F.close();case 58:return t.abrupt("return",n.getData?n.getData():F);case 59:case"end":return t.stop()}},e,this)})),e)}]),r}(),_i="File already exists",Di="Zip file comment exceeds 64KB",Ri="File entry comment exceeds 64KB",Oi="File entry name exceeds 64KB",Ti="Version exceeds 65535",zi="The strength must equal 1, 2, or 3",Bi="Extra field type exceeds 65535",Mi="Extra field data exceeds 64KB",Ni="Zip64 is not supported (make sure 'keepOrder' is set to 'true')",Pi=new Uint8Array([7,0,2,0,65,69,3,0,0]),Ui=28,Li=0,Gi=[],ei=function(){function n(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};w(this,n),e=Ya(e),Object.assign(this,{writer:e,addSplitZipSignature:e instanceof Wr,options:t,config:l,files:new Map,filenames:new Set,offset:e.writable.size,pendingEntriesSize:0,pendingAddFileCalls:new Set})}function e(){return t.apply(this,arguments)}var t,r;function i(){return r.apply(this,arguments)}return s(n,[{key:"add",value:(r=_(ee().mark(function e(){var n,r,i,a,o,s,f,s,c=arguments;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:n=0<c.length&&void 0!==c[0]?c[0]:"",r=1<c.length?c[1]:void 0,i=2<c.length&&void 0!==c[2]?c[2]:{},o=(a=this).pendingAddFileCalls,s=a.config,Li<s.maxWorkers?(Li++,t.next=11):t.next=9;break;case 9:return t.next=11,new Promise(function(e){return Gi.push(e)});case 11:if(t.prev=11,n=n.trim(),a.filenames.has(n))throw new Error(_i);t.next=15;break;case 15:return a.filenames.add(n),f=b1(a,n,r,i),o.add(f),t.next=20,f;case 20:return t.abrupt("return",t.sent);case 23:throw t.prev=23,t.t0=t.catch(11),a.filenames.delete(n),t.t0;case 27:return t.prev=27,o.delete(f),(s=Gi.shift())?s():Li--,t.finish(27);case 32:case"end":return t.stop()}},e,this,[[11,23,27,32]])})),i)},{key:"close",value:(t=_(ee().mark(function e(){var n,r,i,a,o,s,f,c=arguments;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:n=0<c.length&&void 0!==c[0]?c[0]:new Uint8Array,r=1<c.length&&void 0!==c[1]?c[1]:{},a=(i=this).pendingAddFileCalls,o=this.writer,s=o.writable;case 5:if(a.size)return t.next=8,Promise.all(Array.from(a));t.next=10;break;case 8:t.next=5;break;case 10:return t.next=12,j1(this,n,r);case 12:if(f=te(i,r,"preventClose")){t.next=16;break}return t.next=16,s.close();case 16:return t.abrupt("return",o.getData?o.getData():s);case 17:case"end":return t.stop()}},e,this)})),e)}]),n}();try{qi=new URL(r.uri,document.baseURI).href}catch(e){}Aa(R0),R0({Deflate:k0,Inflate:j0,baseURL:qi}),R0({Deflate:k0,Inflate:j0}),e.BlobReader=Tr,e.BlobWriter=zr,e.Data64URIReader=hn,e.Data64URIWriter=Fn,e.ERR_BAD_FORMAT=mi,e.ERR_CENTRAL_DIRECTORY_NOT_FOUND=yi,e.ERR_DUPLICATED_NAME=_i,e.ERR_ENCRYPTED=gi,e.ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND=bi,e.ERR_EOCDR_NOT_FOUND=pi,e.ERR_EOCDR_ZIP64_NOT_FOUND=vi,e.ERR_EXTRAFIELD_ZIP64_NOT_FOUND=xi,e.ERR_HTTP_RANGE=gr,e.ERR_INVALID_COMMENT=Di,e.ERR_INVALID_ENCRYPTION_STRENGTH=zi,e.ERR_INVALID_ENTRY_COMMENT=Ri,e.ERR_INVALID_ENTRY_NAME=Oi,e.ERR_INVALID_EXTRAFIELD_DATA=Mi,e.ERR_INVALID_EXTRAFIELD_TYPE=Bi,e.ERR_INVALID_PASSWORD=En,e.ERR_INVALID_SIGNATURE=jn,e.ERR_INVALID_VERSION=Ti,e.ERR_ITERATOR_COMPLETED_TOO_SOON=kr,e.ERR_LOCAL_FILE_HEADER_NOT_FOUND=wi,e.ERR_SPLIT_ZIP_FILE=Ci,e.ERR_UNSUPPORTED_COMPRESSION=Ii,e.ERR_UNSUPPORTED_ENCRYPTION=ki,e.ERR_UNSUPPORTED_FORMAT=Ni,e.HttpRangeReader=Ur,e.HttpReader=Pr,e.Reader=n,e.SplitDataReader=qr,e.SplitDataWriter=Wr,e.SplitZipReader=Vr,e.SplitZipWriter=Ln,e.TextReader=t,e.TextWriter=Br,e.Uint8ArrayReader=Lr,e.Uint8ArrayWriter=Gr,e.Writer=On,e.ZipReader=Qr,e.ZipWriter=ei,e.configure=R0,e.getMimeType=z0,e.initShimAsyncCodec=Sa,e.terminateWorkers=Fa}function Vi(o){var i,a;function s(n,e){try{var r=o[n](e),i=r.value,a=i instanceof Hi;Promise.resolve(a?i.v:i).then(function(e){if(a){var t="return"===n?"return":"next";if(!i.k||e.done)return s(t,e);e=o[t](e).value}f(r.done?"return":"normal",e)},function(e){s("throw",e)})}catch(e){f("throw",e)}}function f(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}(i=i.next)?s(i.key,i.arg):a=null}this.Gne=function(n,r){return new Promise(function(e,t){var e={key:n,arg:r,resolve:e,reject:t,next:null};a?a=a.next=e:(i=a=e,s(n,r))})},"function"!=typeof o.return&&(this.return=void 0)}function Hi(e,t){this.v=e,this.k=t}function Zi(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Ki(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Ki(e){function n(e){var t;return Object(e)!==e?Promise.reject(new TypeError(e+" is not an object.")):(t=e.done,Promise.resolve(e.value).then(function(e){return{value:e,done:t}}))}return(Ki=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):n(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):n(t.apply(this.s,arguments))}},new Ki(e)}function B(e){return new Hi(e,0)}function ee(){var o,e,f,t,r,n,i,c,t,a,a,s;function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}ee=function(){return o},o={},e=Object.prototype,f=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var t=t&&t.prototype instanceof h?t:h,t=Object.create(t.prototype),r=new g(r||[]),i,a,o,s;return t.Gne=(i=e,a=n,o=r,s="suspendedStart",function(e,t){var n,n,n;if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;return I()}for(o.method=e,o.arg=t;;){if((n=o.delegate)&&(n=y(n,o))){if(n===c)continue;return n}if("next"===o.method)o.sent=o.Qne=o.arg;else if("throw"===o.method){if("suspendedStart"===s)throw s="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);if(s="executing","normal"===(n=d(i,a,o)).type){if(s=o.done?"completed":"suspendedYield",n.arg===c)continue;return{value:n.arg,done:o.done}}"throw"===n.type&&(s="completed",o.method="throw",o.arg=n.arg)}}),t}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function h(){}function m(){}function p(){}function v(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this.Gne(t,e)})})}function b(a,o){function s(e,t,n,r){var e,i,t,e=d(a[e],a,t);if("throw"!==e.type)return(t=(i=e.arg).value)&&"object"==typeof t&&f.call(t,"__await")?o.resolve(t.__await).then(function(e){s("next",e,n,r)},function(e){s("throw",e,n,r)}):o.resolve(t).then(function(e){i.value=e,n(i)},function(e){return s("throw",e,n,r)});r(e.arg)}var t;this.Gne=function(n,r){function e(){return new o(function(e,t){s(n,r,e,t)})}return t=t?t.then(e,e):e()}}function y(e,t){var n,n,n,n=e.iterator[t.method];if(void 0!==n)return"throw"===(n=d(n,e.iterator,t.arg)).type?(t.method="throw",t.arg=n.arg,t.delegate=null,c):(n=n.arg)?n.done?(t[e.resultName]=n.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):n:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c);if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function g(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function k(t){var e,n,e;if(t){if(e=t[r])return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++n<t.length;)if(f.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:I}}function I(){return{value:void 0,done:!0}}return o.wrap=l,c={},u(t={},r,function(){return this}),(a=(a=Object.getPrototypeOf)&&a(a(k([]))))&&a!==e&&f.call(a,r)&&(t=a),u(s=p.prototype=h.prototype=Object.create(t),"constructor",m.prototype=p),u(p,"constructor",m),m.displayName=u(p,i,"GeneratorFunction"),o.isGeneratorFunction=function(e){var e="function"==typeof e&&e.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,u(e,i,"GeneratorFunction")),e.prototype=Object.create(s),e},o.awrap=function(e){return{__await:e}},v(b.prototype),u(b.prototype,n,function(){return this}),o.AsyncIterator=b,o.async=function(e,t,n,r,i){void 0===i&&(i=Promise);var a=new b(l(e,t,n,r),i);return o.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},v(s),u(s,i,"Generator"),u(s,r,function(){return this}),u(s,"toString",function(){return"[object Generator]"}),o.keys=function(n){var r,e,r=[];for(e in n)r.push(e);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},o.values=k,g.prototype={constructor:g,reset:function(e){if(this.prev=0,this.next=0,this.sent=this.Qne=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&f.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){var r,e,t,i,a,o;if(this.done)throw n;function s(e,t){return i.type="throw",i.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(e=(r=this).tryEntries.length-1;0<=e;--e){if(t=this.tryEntries[e],i=t.completion,"root"===t.tryLoc)return s("end");if(t.tryLoc<=this.prev)if(a=f.call(t,"catchLoc"),o=f.call(t,"finallyLoc"),a&&o){if(this.prev<t.catchLoc)return s(t.catchLoc,!0);if(this.prev<t.finallyLoc)return s(t.finallyLoc)}else if(a){if(this.prev<t.catchLoc)return s(t.catchLoc,!0)}else{if(!o)throw new Error("try statement without catch or finally");if(this.prev<t.finallyLoc)return s(t.finallyLoc)}}},abrupt:function(e,t){for(var n,r,i,a,n=this.tryEntries.length-1;0<=n;--n)if((r=this.tryEntries[n]).tryLoc<=this.prev&&f.call(r,"finallyLoc")&&this.prev<r.finallyLoc){i=r;break}return(a=(i=i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc?null:i)?i.completion:{}).type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t,n,t=this.tryEntries.length-1;0<=t;--t)if((n=this.tryEntries[t]).finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),c},catch:function(e){for(var t,n,r,i,t=this.tryEntries.length-1;0<=t;--t)if((n=this.tryEntries[t]).tryLoc===e)return"throw"===(r=n.completion).type&&(i=r.arg,x(n)),i;throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},o}function Xi(e){return(Xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ji(e){return function(){return new Vi(e.apply(this,arguments))}}function Yi(e,t,n,r,i,a,o){var s,f;try{f=(s=e[a](o)).value}catch(e){return void n(e)}s.done?t(f):Promise.resolve(f).then(r,i)}function _(s){return function(){var e=this,o=arguments;return new Promise(function(t,n){var r=s.apply(e,o);function i(e){Yi(r,t,n,i,a,"next",e)}function a(e){Yi(r,t,n,i,a,"throw",e)}i(void 0)})}}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $i(e,t){for(var n,r,n=0;n<t.length;n++)(r=t[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}function s(e,t,n){return t&&$i(e.prototype,t),n&&$i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Qi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e0(e,t)}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function e(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}function e0(e,t){return(e0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,n){return t.__proto__=n,t})(e,t)}function t0(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n0(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function d(r){var i=t0();return function e(){var t,n,n,t=x(r),n=i?(n=x(this).constructor,Reflect.construct(t,arguments,n)):t.apply(this,arguments);return n0(this,n)}}function r0(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=x(e)););return e}function i0(){return(i0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function e(t,n,r){var i,i,i=r0(t,n);if(i)return(i=Object.getOwnPropertyDescriptor(i,n)).get?i.get.call(arguments.length<3?t:r):i.value}).apply(this,arguments)}function a0(e,t){return f0(e)||u0(e,t)||l0(e,t)||m0()}function o0(e){return s0(e)||c0(e)||l0(e)||h0()}function s0(e){if(Array.isArray(e))return d0(e)}function f0(e){if(Array.isArray(e))return e}function c0(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function u0(e,t){var n,r,i,a,o,s,n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){r=[],a=!(i=!0);try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);i=!0);}catch(e){a=!0,s=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw s}}return r}}function l0(e,t){var n;if(e)return"string"==typeof e?d0(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d0(e,t):void 0}function d0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h0(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m0(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p0(e,t){var n,r,t,i,a,o,n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return a=!(i=!0),{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}};if(Array.isArray(e)||(n=l0(e))||t&&e&&"number"==typeof e.length)return n&&(e=n),r=0,{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v0(e){return b0(e.map(function(e){var e=a0(e,2),t=e[0],e=e[1];return new Array(t).fill(e,0,t)}))}function b0(e){return e.reduce(function(e,t){return e.concat(Array.isArray(t)?b0(t):t)},[])}function be(){var h=this;function f(e){for(var t,n,r,i,a,o,s,f,c,u,l,d,t=h.dyn_tree,n=h.stat_desc.static_tree,r=h.stat_desc.extra_bits,i=h.stat_desc.extra_base,a=h.stat_desc.max_length,d=0,c=0;c<=15;c++)e.bl_count[c]=0;for(t[2*e.heap[e.heap_max]+1]=0,o=e.heap_max+1;o<573;o++)a<(c=t[2*t[2*(s=e.heap[o])+1]+1]+1)&&(c=a,d++),t[2*s+1]=c,s>h.max_code||(e.bl_count[c]++,u=0,i<=s&&(u=r[s-i]),l=t[2*s],e.opt_len+=l*(c+u),n&&(e.static_len+=l*(n[2*s+1]+u)));if(0!==d){do{for(c=a-1;0===e.bl_count[c];)c--}while(e.bl_count[c]--,e.bl_count[c+1]+=2,e.bl_count[a]--,0<(d-=2));for(c=a;0!==c;c--)for(s=e.bl_count[c];0!==s;)(f=e.heap[--o])>h.max_code||(t[2*f+1]!=c&&(e.opt_len+=(c-t[2*f+1])*t[2*f],t[2*f+1]=c),s--)}}function c(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function u(e,t,n){for(var r,i,a,o,s,r=[],i=0,a=1;a<=15;a++)r[a]=i=i+n[a-1]<<1;for(o=0;o<=t;o++)0!==(s=e[2*o+1])&&(e[2*o]=c(r[s]++,s))}h.build_tree=function(e){var t,n,r,i,a,o,s,t=h.dyn_tree,n=h.stat_desc.static_tree,r=h.stat_desc.elems,o=-1;for(e.heap_len=0,e.heap_max=573,i=0;i<r;i++)0!==t[2*i]?(e.heap[++e.heap_len]=o=i,e.depth[i]=0):t[2*i+1]=0;for(;e.heap_len<2;)t[2*(s=e.heap[++e.heap_len]=o<2?++o:0)]=1,e.depth[s]=0,e.opt_len--,n&&(e.static_len-=n[2*s+1]);for(h.max_code=o,i=Math.floor(e.heap_len/2);1<=i;i--)e.pqdownheap(t,i);for(s=r;i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],e.pqdownheap(t,1),a=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=a,t[2*s]=t[2*i]+t[2*a],e.depth[s]=Math.max(e.depth[i],e.depth[a])+1,t[2*i+1]=t[2*a+1]=s,e.heap[1]=s++,e.pqdownheap(t,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],f(e),u(t,h.max_code,e.bl_count)}}function ye(e,t,n,r,i){var a=this;a.static_tree=e,a.extra_bits=t,a.extra_base=n,a.elems=r,a.max_length=i}function y0(e,t,n,r,i){var a=this;a.good_length=e,a.max_lazy=t,a.nice_length=n,a.max_chain=r,a.func=i}function w0(e,t,n,r){var i,e,i=e[2*t],e=e[2*n];return i<e||i==e&&r[t]<=r[n]}function x0(){var s,f,c,N,u,d,P,h,m,U,p,l,o,v,L,b,y,w,i,G,a,x,g,k,I,q,W,C,F,V,H,A,S,E,j,_,n,D,R,Z,O,r,T;function K(){U=2*d;for(var e=l[v-1]=0;e<v-1;e++)l[e]=0;W=ve[C].max_lazy,V=ve[C].good_length,H=ve[C].nice_length,q=ve[C].max_chain,i=I=2,o=a=k=w=x=0}function X(){for(var e,e=0;e<286;e++)A[2*e]=0;for(e=0;e<30;e++)S[2*e]=0;for(e=0;e<19;e++)E[2*e]=0;A[512]=1,s.opt_len=s.static_len=0,R=Z=0}function J(){j.dyn_tree=A,j.stat_desc=ye.static_l_desc,_.dyn_tree=S,_.stat_desc=ye.static_d_desc,n.dyn_tree=E,n.stat_desc=ye.static_bl_desc,T=r=0,O=8,X()}function Y(e,t){var n,r,i,a,o,s,f,n=-1,i=e[1],a=0,o=7,s=4;for(0===i&&(o=138,s=3),e[2*(t+1)+1]=65535,f=0;f<=t;f++)r=i,i=e[2*(f+1)+1],++a<o&&r==i||(a<s?E[2*r]+=a:0!==r?(r!=n&&E[2*r]++,E[32]++):a<=10?E[34]++:E[36]++,n=r,s=(a=0)===i?(o=138,3):r==i?(o=6,3):(o=7,4))}function $(){var e;for(Y(A,j.max_code),Y(S,_.max_code),n.build_tree(s),e=18;3<=e&&0===E[2*be.bl_order[e]+1];e--);return s.opt_len+=3*(e+1)+5+5+4,e}function t(e){s.pending_buf[s.pending++]=e}function Q(e){t(255&e),t(e>>>8&255)}function ee(e){t(e>>8&255),t(255&e)}function z(e,t){var n,t,t=t;16-t<T?(Q(r|=(n=e)<<T&65535),r=n>>>16-T,T+=t-16):(r|=e<<T&65535,T+=t)}function B(e,t){var e=2*e;z(65535&t[e],65535&t[1+e])}function te(e,t){var n,r,i,a,o,s,f,r=-1,a=e[1],o=0,s=7,f=4;for(0===a&&(s=138,f=3),n=0;n<=t;n++)if(i=a,a=e[2*(n+1)+1],!(++o<s&&i==a)){if(o<f)for(;B(i,E),0!=--o;);else 0!==i?(i!=r&&(B(i,E),o--),B(16,E),z(o-3,2)):o<=10?(B(17,E),z(o-3,3)):(B(18,E),z(o-11,7));r=i,f=(o=0)===a?(s=138,3):i==a?(s=6,3):(s=7,4)}}function ne(e,t,n){var r;for(z(e-257,5),z(t-1,5),z(n-4,4),r=0;r<n;r++)z(E[2*be.bl_order[r]+1],3);te(A,e-1),te(S,t-1)}function e(){16==T?(Q(r),T=r=0):8<=T&&(t(255&r),r>>>=8,T-=8)}function re(){z(2,3),B(256,ye.static_ltree),e(),1+O+10-T<9&&(z(2,3),B(256,ye.static_ltree),e()),O=7}function ie(e,t){var n,t,r;if(s.dist_buf[R]=e,s.lc_buf[R]=255&t,R++,0===e?A[2*t]++:(Z++,e--,A[2*(be.qne[t]+256+1)]++,S[2*be.d_code(e)]++),0==(8191&R)&&2<C){for(n=8*R,t=x-w,r=0;r<30;r++)n+=S[2*r]*(5+be.extra_dbits[r]);if(n>>>=3,Z<Math.floor(R/2)&&n<Math.floor(t/2))return!0}return R==D-1}function ae(e,t){var n,r,i,a,o,i=0;if(0!==R)for(;n=s.dist_buf[i],r=s.lc_buf[i],i++,0===n?B(r,e):(B((a=be.qne[r])+256+1,e),0!==(o=be.extra_lbits[a])&&z(r-=be.base_length[a],o),B(a=be.d_code(--n),t),0!==(o=be.extra_dbits[a])&&z(n-=be.base_dist[a],o)),i<R;);B(256,e),O=e[513]}function oe(){8<T?Q(r):0<T&&t(255&r),T=r=0}function se(e,t,n){oe(),O=8,n&&(Q(t),Q(~t)),s.pending_buf.set(m.subarray(e,e+t),s.pending),s.pending+=t}function fe(e,t,n){z(0+(n?1:0),3),se(e,t,!0)}function ce(e,t,n){var r,i,a,a=0;0<C?(j.build_tree(s),_.build_tree(s),a=$(),r=s.opt_len+3+7>>>3,(i=s.static_len+3+7>>>3)<=r&&(r=i)):r=i=t+5,t+4<=r&&-1!=e?fe(e,t,n):i==r?(z(2+(n?1:0),3),ae(ye.static_ltree,ye.static_dtree)):(z(4+(n?1:0),3),ne(j.max_code+1,_.max_code+1,a+1),ae(A,S)),X(),n&&oe()}function M(e){ce(0<=w?w:-1,x-w,e),w=x,f.flush_pending()}function ue(){var e,t,n,r;do{if(0===(r=U-k-x)&&0===x&&0===k)r=d;else if(-1==r)r--;else if(d+d-262<=x){for(m.set(m.subarray(d,d+d),0),g-=d,x-=d,w-=d,n=e=v;t=65535&l[--n],l[n]=d<=t?t-d:0,0!=--e;);for(n=e=d;t=65535&p[--n],p[n]=d<=t?t-d:0,0!=--e;);r+=d}if(0===f.avail_in)return}while(e=f.read_buf(m,x+k,r),3<=(k+=e)&&(o=((o=255&m[x])<<y^255&m[x+1])&b),k<262&&0!==f.avail_in)}function le(e){var t,n,t=65535;for(N-5<t&&(t=N-5);;){if(k<=1){if(ue(),0===k&&0==e)return 0;if(0===k)break}if(x+=k,n=w+t,((k=0)===x||n<=x)&&(k=x-n,x=n,M(!1),0===f.avail_out))return 0;if(d-262<=x-w&&(M(!1),0===f.avail_out))return 0}return M(4==e),0===f.avail_out?4==e?2:0:4==e?3:1}function de(e){var t,n,r,i,a,o,s,f,c,u,l,t=q,n=x,a=I,o=d-262<x?x-(d-262):0,s=H,f=h,c=x+258,u=m[n+a-1],l=m[n+a];V<=I&&(t>>=2),k<s&&(s=k);do{if(m[(r=e)+a]==l&&m[r+a-1]==u&&m[r]==m[n]&&m[++r]==m[n+1]){for(n+=2,r++;m[++n]==m[++r]&&m[++n]==m[++r]&&m[++n]==m[++r]&&m[++n]==m[++r]&&m[++n]==m[++r]&&m[++n]==m[++r]&&m[++n]==m[++r]&&m[++n]==m[++r]&&n<c;);if(i=258-(c-n),n=c-258,a<i){if(g=e,s<=(a=i))break;u=m[n+a-1],l=m[n+a]}}}while((e=65535&p[e&f])>o&&0!=--t);return a<=k?a:k}function he(e){for(var t,n,t=0;;){if(k<262){if(ue(),k<262&&0==e)return 0;if(0===k)break}if(3<=k&&(o=(o<<y^255&m[x+2])&b,t=65535&l[o],p[x&h]=l[o],l[o]=x),3<=(i=0!==t&&(x-t&65535)<=d-262&&2!=F?de(t):i))if(n=ie(x-g,i-3),k-=i,i<=W&&3<=k){for(i--;o=(o<<y^255&m[++x+2])&b,t=65535&l[o],p[x&h]=l[o],l[o]=x,0!=--i;);x++}else x+=i,i=0,o=((o=255&m[x])<<y^255&m[x+1])&b;else n=ie(0,255&m[x]),k--,x++;if(n&&(M(!1),0===f.avail_out))return 0}return M(4==e),0===f.avail_out?4==e?2:0:4==e?3:1}function me(e){for(var t,n,r,t=0;;){if(k<262){if(ue(),k<262&&0==e)return 0;if(0===k)break}if(3<=k&&(o=(o<<y^255&m[x+2])&b,t=65535&l[o],p[x&h]=l[o],l[o]=x),I=i,G=g,i=2,0!==t&&I<W&&(x-t&65535)<=d-262&&(i=2!=F?de(t):i)<=5&&(1==F||3==i&&4096<x-g)&&(i=2),3<=I&&i<=I){for(r=x+k-3,n=ie(x-1-G,I-3),k-=I-1,I-=2;++x<=r&&(o=(o<<y^255&m[x+2])&b,t=65535&l[o],p[x&h]=l[o],l[o]=x),0!=--I;);if(a=0,i=2,x++,n&&(M(!1),0===f.avail_out))return 0}else if(0!==a){if((n=ie(0,255&m[x-1]))&&M(!1),x++,k--,0===f.avail_out)return 0}else a=1,x++,k--}return 0!==a&&(n=ie(0,255&m[x-1]),a=0),M(4==e),0===f.avail_out?4==e?2:0:4==e?3:1}function pe(e){return e.total_in=e.total_out=0,e.msg=null,s.pending=0,s.pending_out=0,c=113,u=0,J(),K(),0}s=this,j=new be,_=new be,n=new be,s.depth=[],s.bl_count=[],s.heap=[],A=[],S=[],E=[],s.pqdownheap=function(e,t){for(var n,r,i,n=s.heap,r=n[t],i=t<<1;i<=s.heap_len&&(i<s.heap_len&&w0(e,n[i+1],n[i],s.depth)&&i++,!w0(e,r,n[i],s.depth));)n[t]=n[i],t=i,i<<=1;n[t]=r},s.deflateInit=function(e,t,n,r,i,a){return r=r||8,i=i||8,a=a||0,e.msg=null,-1==t&&(t=6),i<1||9<i||8!=r||n<9||15<n||t<0||9<t||a<0||2<a?-2:(e.dstate=s,h=(d=1<<(P=n))-1,b=(v=1<<(L=i+7))-1,y=Math.floor((L+3-1)/3),m=new Uint8Array(2*d),p=[],l=[],D=1<<i+6,s.pending_buf=new Uint8Array(4*D),N=4*D,s.dist_buf=new Uint16Array(D),s.lc_buf=new Uint8Array(D),C=t,F=a,pe(e))},s.deflateEnd=function(){return 42!=c&&113!=c&&666!=c?-2:(s.lc_buf=null,s.dist_buf=null,s.pending_buf=null,m=p=l=null,s.dstate=null,113==c?-3:0)},s.deflateParams=function(e,t,n){var r=0;return(t=-1==t?6:t)<0||9<t||n<0||2<n?-2:(ve[C].func!=ve[t].func&&0!==e.total_in&&(r=e.deflate(1)),C!=t&&(W=ve[C=t].max_lazy,V=ve[C].good_length,H=ve[C].nice_length,q=ve[C].max_chain),F=n,r)},s.deflateSetDictionary=function(e,t,n){var r,i,a,r=n,a=0;if(!t||42!=c)return-2;if(!(r<3))for(d-262<r&&(a=n-(r=d-262)),m.set(t.subarray(a,a+r),0),w=x=r,o=((o=255&m[0])<<y^255&m[1])&b,i=0;i<=r-3;i++)o=(o<<y^255&m[i+2])&b,p[i&h]=l[o],l[o]=i;return 0},s.deflate=function(e,t){var n,r,i,a,o;if(4<t||t<0)return-2;if(!e.next_out||!e.next_in&&0!==e.avail_in||666==c&&4!=t)return e.msg=we[4],-2;if(0===e.avail_out)return e.msg=we[7],-5;if(f=e,a=u,u=t,42==c&&(r=8+(P-8<<4)<<8,r|=(i=3<(i=(C-1&255)>>1)?3:i)<<6,0!==x&&(r|=32),c=113,ee(r+=31-r%31)),0!==s.pending){if(f.flush_pending(),0===f.avail_out)return u=-1,0}else if(0===f.avail_in&&t<=a&&4!=t)return f.msg=we[7],-5;if(666==c&&0!==f.avail_in)return e.msg=we[7],-5;if(0!==f.avail_in||0!==k||0!=t&&666!=c){switch(o=-1,ve[C].func){case 0:o=le(t);break;case 1:o=he(t);break;case 2:o=me(t)}if(2!=o&&3!=o||(c=666),0==o||2==o)return 0===f.avail_out&&(u=-1),0;if(1==o){if(1==t)re();else if(fe(0,0,!1),3==t)for(n=0;n<v;n++)l[n]=0;if(f.flush_pending(),0===f.avail_out)return u=-1,0}}return 4!=t?0:1}}function g0(){var e=this;e.next_in_index=0,e.next_out_index=0,e.avail_in=0,e.total_in=0,e.avail_out=0,e.total_out=0}function k0(e){var t,f,c,n,u,e,t=this,f=new g0,c=I0(e&&e.chunkSize?e.chunkSize:65536),n=0,u=new Uint8Array(c),e=e?e.level:-1;f.deflateInit(e=void 0===e?-1:e),f.next_out=u,t.append=function(e,t){var n,r,i,a,o,s,i=0,a=0,o=0,s=[];if(e.length){f.next_in_index=0,f.next_in=e,f.avail_in=e.length;do{if(f.next_out_index=0,f.avail_out=c,0!=(n=f.deflate(0)))throw new Error("deflating: "+f.msg)}while(f.next_out_index&&(f.next_out_index==c?s.push(new Uint8Array(u)):s.push(u.slice(0,f.next_out_index))),o+=f.next_out_index,t&&0<f.next_in_index&&f.next_in_index!=i&&(t(f.next_in_index),i=f.next_in_index),0<f.avail_in||0===f.avail_out);return 1<s.length?(r=new Uint8Array(o),s.forEach(function(e){r.set(e,a),a+=e.length})):r=s[0]||new Uint8Array,r}},t.flush=function(){var e,t,n,r,i,n=0,r=0,i=[];do{if(f.next_out_index=0,f.avail_out=c,1!=(e=f.deflate(4))&&0!=e)throw new Error("deflating: "+f.msg)}while(0<c-f.avail_out&&i.push(u.slice(0,f.next_out_index)),r+=f.next_out_index,0<f.avail_in||0===f.avail_out);return f.deflateEnd(),t=new Uint8Array(r),i.forEach(function(e){t.set(e,n),n+=e.length}),t}}function I0(e){return e+5*(Math.floor(e/16383)+1)}
|
40
|
+
/*
|
41
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
42
|
+
|
43
|
+
Redistribution and use in source and binary forms, with or without
|
44
|
+
modification, are permitted provided that the following conditions are met:
|
45
|
+
|
46
|
+
1. Redistributions of source code must retain the above copyright notice,
|
47
|
+
this list of conditions and the following disclaimer.
|
48
|
+
|
49
|
+
2. Redistributions in binary form must reproduce the above copyright
|
50
|
+
notice, this list of conditions and the following disclaimer in
|
51
|
+
the documentation and/or other materials provided with the distribution.
|
52
|
+
|
53
|
+
3. The names of the authors may not be used to endorse or promote products
|
54
|
+
derived from this software without specific prior written permission.
|
55
|
+
|
56
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
57
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
58
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
59
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
60
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
61
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
62
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
63
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
64
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
65
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
66
|
+
*/function C0(){var e,c,u,A,S,E,j;function l(e,t,n,r,i,a,o,s,f,c,u){for(var l,d,h,m,p,v,b,y,w,x,g,k,I,C,F,x=0,p=n;A[e[t+x]]++,x++,0!==--p;);if(A[0]==n)return o[0]=-1,s[0]=0,R;for(y=s[0],v=1;v<=Je&&0===A[v];v++);for(y<(b=v)&&(y=v),p=Je;0!==p&&0===A[p];p--);for((h=p)<y&&(y=p),s[0]=y,C=1<<v;v<p;v++,C<<=1)if((C-=A[v])<0)return T;if((C-=A[p])<0)return T;for(A[p]+=C,j[1]=v=0,x=1,I=2;0!=--p;)j[I]=v+=A[x],I++,x++;for(x=p=0;0!==(v=e[t+x])&&(u[j[v]++]=p),x++,++p<n;);for(n=j[h],j[0]=p=0,m=-1,k=-y,F=g=E[x=0]=0;b<=h;b++)for(l=A[b];0!=l--;){for(;k+y<b;){if(m++,F=y<(F=h-(k+=y))?y:F,(d=1<<(v=b-k))>l+1&&(d-=l+1,I=b,v<F))for(;++v<F&&!((d<<=1)<=A[++I]);)d-=A[I];if(c[0]+(F=1<<v)>Pe)return T;E[m]=g=c[0],c[0]+=F,0!==m?(j[m]=p,S[0]=v,S[1]=y,S[2]=g-E[m-1]-(v=p>>>k-y),f.set(S,3*(E[m-1]+v))):o[0]=g}for(S[1]=b-k,n<=x?S[0]=192:u[x]<r?(S[0]=u[x]<256?0:96,S[2]=u[x++]):(S[0]=a[u[x]-r]+16+64,S[2]=i[u[x++]-r]),d=1<<b-k,v=p>>>k;v<F;v+=d)f.set(S,3*(g+v));for(v=1<<b-1;0!=(p&v);v>>>=1)p^=v;for(p^=v,w=(1<<k)-1;(p&w)!=j[m];)m--,w=(1<<(k-=y))-1}return 0!==C&&1!=h?Ne:R}function d(e){var t;for(c||(c=[],u=[],A=new Int32Array(Je+1),S=[],E=new Int32Array(Je),j=new Int32Array(Je+1)),u.length<e&&(u=[]),t=0;t<e;t++)u[t]=0;for(t=0;t<Je+1;t++)A[t]=0;for(t=0;t<3;t++)S[t]=0;E.set(A.subarray(0,Je),0),j.set(A.subarray(0,Je+1),0)}(e=this).inflate_trees_bits=function(e,t,n,r,i){var e;return d(19),(e=l(e,c[0]=0,19,19,null,null,n,t,r,c,u))==T?i.msg="oversubscribed dynamic bit lengths tree":e!=Ne&&0!==t[0]||(i.msg="incomplete dynamic bit lengths tree",e=T),e},e.inflate_trees_dynamic=function(e,t,n,r,i,a,o,s,f){var a;return d(288),(a=l(n,c[0]=0,e,257,He,Ze,a,r,s,c,u))!=R||0===r[0]?(a==T?f.msg="oversubscribed literal/length tree":a!=Me&&(f.msg="incomplete literal/length tree",a=T),a):(d(288),(a=l(n,e,t,0,Ke,Xe,o,i,s,c,u))!=R||0===i[0]&&257<e?(a==T?f.msg="oversubscribed distance tree":a==Ne?(f.msg="incomplete distance tree",a=T):a!=Me&&(f.msg="empty distance tree with lengths",a=T),a):R)}}function F0(){var e,h,m,p,v,b,y,w,x,g,k,I,C,F,A;function S(e,t,n,r,i,a,o,s){var f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,m=s.next_in_index,p=s.avail_in,d=o.bitb,h=o.bitk,v=o.write,b=v<o.read?o.read-v-1:o.end-v,y=z[e],w=z[t];do{for(;h<20;)p--,d|=(255&s.read_byte(m++))<<h,h+=8;if(0===(l=(c=n)[I=3*((u=r)+(f=d&y))]))d>>=c[I+1],h-=c[I+1],o.win[v++]=c[I+2],b--;else for(;;){if(d>>=c[I+1],h-=c[I+1],0!=(16&l)){for(l&=15,x=c[I+2]+(d&z[l]),d>>=l,h-=l;h<15;)p--,d|=(255&s.read_byte(m++))<<h,h+=8;for(l=(c=i)[I=3*((u=a)+(f=d&w))];;){if(d>>=c[I+1],h-=c[I+1],0!=(16&l)){for(l&=15;h<l;)p--,d|=(255&s.read_byte(m++))<<h,h+=8;if(g=c[I+2]+(d&z[l]),d>>=l,h-=l,b-=x,g<=v)0<v-(k=v-g)&&v-k<2?(o.win[v++]=o.win[k++],o.win[v++]=o.win[k++]):(o.win.set(o.win.subarray(k,k+2),v),v+=2,k+=2),x-=2;else{for(k=v-g;(k+=o.end)<0;);if((l=o.end-k)<x){if(x-=l,0<v-k&&v-k<l)for(;o.win[v++]=o.win[k++],0!=--l;);else o.win.set(o.win.subarray(k,k+l),v),v+=l,k+=l,l=0;k=0}}if(0<v-k&&v-k<x)for(;o.win[v++]=o.win[k++],0!=--x;);else o.win.set(o.win.subarray(k,k+x),v),v+=x,k+=x,x=0;break}if(0!=(64&l))return s.msg="invalid distance code",p+=x=h>>3<(x=s.avail_in-p)?h>>3:x,m-=x,h-=x<<3,o.bitb=d,o.bitk=h,s.avail_in=p,s.total_in+=m-s.next_in_index,s.next_in_index=m,o.write=v,T;l=c[I=3*(u+(f=(f+=c[I+2])+(d&z[l])))]}break}if(0!=(64&l))return 0!=(32&l)?(p+=x=h>>3<(x=s.avail_in-p)?h>>3:x,m-=x,h-=x<<3,o.bitb=d,o.bitk=h,s.avail_in=p,s.total_in+=m-s.next_in_index,s.next_in_index=m,o.write=v,ze):(s.msg="invalid literal/length code",p+=x=h>>3<(x=s.avail_in-p)?h>>3:x,m-=x,h-=x<<3,o.bitb=d,o.bitk=h,s.avail_in=p,s.total_in+=m-s.next_in_index,s.next_in_index=m,o.write=v,T);if(0===(l=c[I=3*(u+(f=(f+=c[I+2])+(d&z[l])))])){d>>=c[I+1],h-=c[I+1],o.win[v++]=c[I+2],b--;break}}}while(258<=b&&10<=p);return p+=x=h>>3<(x=s.avail_in-p)?h>>3:x,m-=x,h-=x<<3,o.bitb=d,o.bitk=h,s.avail_in=p,s.total_in+=m-s.next_in_index,s.next_in_index=m,o.write=v,R}A=C=k=g=x=w=y=b=v=m=0,(e=this).init=function(e,t,n,r,i,a){h=Ye,g=e,k=t,I=n,C=r,F=i,A=a,p=null},e.proc=function(e,t,n){var r,i,a,o,s,f,c,u,l,d,o=0,s=0,f=0;for(f=t.next_in_index,c=t.avail_in,o=e.bitb,s=e.bitk,l=(u=e.write)<e.read?e.read-u-1:e.end-u;;)switch(h){case Ye:if(258<=l&&10<=c&&(e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,n=S(g,k,I,C,F,A,e,t),f=t.next_in_index,c=t.avail_in,o=e.bitb,s=e.bitk,l=(u=e.write)<e.read?e.read-u-1:e.end-u,n!=R)){h=n==ze?it:ot;break}b=g,p=I,v=C,h=$e;case $e:for(r=b;s<r;){if(0===c)return e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);n=R,c--,o|=(255&t.read_byte(f++))<<s,s+=8}if(i=3*(v+(o&z[r])),o>>>=p[i+1],s-=p[i+1],0===(a=p[i]))y=p[i+2],h=rt;else if(0!=(16&a))w=15&a,m=p[i+2],h=Qe;else if(0==(64&a))b=a,v=i/3+p[i+2];else{if(0==(32&a))return h=ot,t.msg="invalid literal/length code",n=T,e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);h=it}break;case Qe:for(r=w;s<r;){if(0===c)return e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);n=R,c--,o|=(255&t.read_byte(f++))<<s,s+=8}m+=o&z[r],o>>=r,s-=r,b=k,p=F,v=A,h=et;case et:for(r=b;s<r;){if(0===c)return e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);n=R,c--,o|=(255&t.read_byte(f++))<<s,s+=8}if(i=3*(v+(o&z[r])),o>>=p[i+1],s-=p[i+1],0!=(16&(a=p[i])))w=15&a,x=p[i+2],h=tt;else{if(0!=(64&a))return h=ot,t.msg="invalid distance code",n=T,e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);b=a,v=i/3+p[i+2]}break;case tt:for(r=w;s<r;){if(0===c)return e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);n=R,c--,o|=(255&t.read_byte(f++))<<s,s+=8}x+=o&z[r],o>>=r,s-=r,h=nt;case nt:for(d=u-x;d<0;)d+=e.end;for(;0!==m;){if(0===l&&0===(l=u==e.end&&0!==e.read?(u=0)<e.read?e.read-u-1:e.end-u:l)&&(e.write=u,n=e.inflate_flush(t,n),l=(u=e.write)<e.read?e.read-u-1:e.end-u,0===(l=u==e.end&&0!==e.read?(u=0)<e.read?e.read-u-1:e.end-u:l)))return e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);e.win[u++]=e.win[d++],l--,d==e.end&&(d=0),m--}h=Ye;break;case rt:if(0===l&&0===(l=u==e.end&&0!==e.read?(u=0)<e.read?e.read-u-1:e.end-u:l)&&(e.write=u,n=e.inflate_flush(t,n),l=(u=e.write)<e.read?e.read-u-1:e.end-u,0===(l=u==e.end&&0!==e.read?(u=0)<e.read?e.read-u-1:e.end-u:l)))return e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);n=R,e.win[u++]=y,l--,h=Ye;break;case it:if(7<s&&(s-=8,c++,f--),e.write=u,n=e.inflate_flush(t,n),l=(u=e.write)<e.read?e.read-u-1:e.end-u,e.read!=e.write)return e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);h=at;case at:return n=ze,e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);case ot:return n=T,e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n);default:return n=O,e.bitb=o,e.bitk=s,t.avail_in=c,t.total_in+=f-t.next_in_index,t.next_in_index=f,e.write=u,e.inflate_flush(t,n)}},e.free=function(){}}function A0(e,t){var x,g,k,I,C,F,A,S,E,j,_,n,D,x=this,g=ft,k=0,I=0,C=0,A=[0],S=[0],E=new F0,j=0,_=new Int32Array(3*Pe),n=0,D=new C0;x.bitk=0,x.bitb=0,x.win=new Uint8Array(t),x.end=t,x.read=0,x.write=0,x.reset=function(e,t){t&&(t[0]=0),g==mt&&E.free(e),g=ft,x.bitk=0,x.bitb=0,x.read=x.write=0},x.reset(e,null),x.inflate_flush=function(e,t){var n,r,i,r=e.next_out_index,i=x.read,n=(i<=x.write?x.write:x.end)-i;return 0!==(n=n>e.avail_out?e.avail_out:n)&&t==Ne&&(t=R),e.avail_out-=n,e.total_out+=n,e.next_out.set(x.win.subarray(i,i+n),r),r+=n,(i+=n)==x.end&&(i=0,x.write==x.end&&(x.write=0),0!==(n=(n=x.write-i)>e.avail_out?e.avail_out:n)&&t==Ne&&(t=R),e.avail_out-=n,e.total_out+=n,e.next_out.set(x.win.subarray(i,i+n),r),r+=n,i+=n),e.next_out_index=r,x.read=i,t},x.proc=function(e,t){for(var n,r,i,a,o,s,f,c,u,l,d,h,m,p,v,b,y,w,a=e.next_in_index,o=e.avail_in,r=x.bitb,i=x.bitk,s=x.write,f=s<x.read?x.read-s-1:x.end-s;;)switch(b=v=p=m=h=d=l=u=void 0,g){case ft:for(;i<3;){if(0===o)return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);t=R,o--,r|=(255&e.read_byte(a++))<<i,i+=8}switch(j=1&(n=7&r),n>>>1){case 0:r=r>>>3>>>(n=7&(i-=3)),i-=n,g=ct;break;case 1:C0.inflate_trees_fixed(u=[],l=[],d=[[]],h=[[]]),E.init(u[0],l[0],d[0],0,h[0],0),r>>>=3,i-=3,g=mt;break;case 2:r>>>=3,i-=3,g=lt;break;case 3:return r>>>=3,i-=3,g=bt,e.msg="invalid block type",t=T,x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t)}break;case ct:for(;i<32;){if(0===o)return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);t=R,o--,r|=(255&e.read_byte(a++))<<i,i+=8}if((~r>>>16&65535)!=(65535&r))return g=bt,e.msg="invalid stored block lengths",t=T,x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);k=65535&r,r=i=0,g=0!==k?ut:0!==j?pt:ft;break;case ut:if(0===o)return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);if(0===f&&0===(f=s==x.end&&0!==x.read?(s=0)<x.read?x.read-s-1:x.end-s:f)&&(x.write=s,t=x.inflate_flush(e,t),f=(s=x.write)<x.read?x.read-s-1:x.end-s,0===(f=s==x.end&&0!==x.read?(s=0)<x.read?x.read-s-1:x.end-s:f)))return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);t=R,f<(n=o<(n=k)?o:n)&&(n=f),x.win.set(e.read_buf(a,n),s),a+=n,o-=n,s+=n,f-=n,0==(k-=n)&&(g=0!==j?pt:ft);break;case lt:for(;i<14;){if(0===o)return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);t=R,o--,r|=(255&e.read_byte(a++))<<i,i+=8}if(I=n=16383&r,29<(31&n)||29<(n>>5&31))return g=bt,e.msg="too many length or distance symbols",t=T,x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);if(n=258+(31&n)+(n>>5&31),!F||F.length<n)F=[];else for(c=0;c<n;c++)F[c]=0;r>>>=14,i-=14,C=0,g=dt;case dt:for(;C<4+(I>>>10);){for(;i<3;){if(0===o)return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);t=R,o--,r|=(255&e.read_byte(a++))<<i,i+=8}F[st[C++]]=7&r,r>>>=3,i-=3}for(;C<19;)F[st[C++]]=0;if(A[0]=7,(n=D.inflate_trees_bits(F,A,S,_,e))!=R)return(t=n)==T&&(F=null,g=bt),x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);C=0,g=ht;case ht:for(;;){if(258+(31&(n=I))+(n>>5&31)<=C)break;for(w=y=void 0,n=A[0];i<n;){if(0===o)return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);t=R,o--,r|=(255&e.read_byte(a++))<<i,i+=8}if(n=_[3*(S[0]+(r&z[n]))+1],(w=_[3*(S[0]+(r&z[n]))+2])<16)r>>>=n,i-=n,F[C++]=w;else{for(c=18==w?7:w-14,y=18==w?11:3;i<n+c;){if(0===o)return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);t=R,o--,r|=(255&e.read_byte(a++))<<i,i+=8}if(i-=n,y+=(r>>>=n)&z[c],r>>>=c,i-=c,258+(31&(n=I))+(n>>5&31)<(c=C)+y||16==w&&c<1)return F=null,g=bt,e.msg="invalid bit length repeat",t=T,x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);for(w=16==w?F[c-1]:0;F[c++]=w,0!=--y;);C=c}}if(S[0]=-1,p=[],v=[],b=[],(m=[])[0]=9,p[0]=6,n=I,(n=D.inflate_trees_dynamic(257+(31&n),1+(n>>5&31),F,m,p,v,b,_,e))!=R)return n==T&&(F=null,g=bt),t=n,x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);E.init(m[0],p[0],_,v[0],_,b[0]),g=mt;case mt:if(x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,(t=E.proc(x,e,t))!=ze)return x.inflate_flush(e,t);if(t=R,E.free(e),a=e.next_in_index,o=e.avail_in,r=x.bitb,i=x.bitk,f=(s=x.write)<x.read?x.read-s-1:x.end-s,0===j){g=ft;break}g=pt;case pt:if(x.write=s,t=x.inflate_flush(e,t),f=(s=x.write)<x.read?x.read-s-1:x.end-s,x.read!=x.write)return x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);g=vt;case vt:return t=ze,x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);case bt:return t=T,x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t);default:return t=O,x.bitb=r,x.bitk=i,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,x.write=s,x.inflate_flush(e,t)}},x.free=function(e){x.reset(e,null),x.win=null,_=null},x.set_dictionary=function(e,t,n){x.win.set(e.subarray(t,t+n),0),x.read=x.write=n},x.sync_point=function(){return g==ct?1:0}}function S0(){var n=this;function s(e){e&&e.istate&&(e.total_in=e.total_out=0,e.msg=null,e.istate.mode=7,e.istate.blocks.reset(e,null))}n.mode=0,n.method=0,n.was=[0],n.need=0,n.marker=0,n.wbits=0,n.inflateEnd=function(e){return n.blocks&&n.blocks.free(e),n.blocks=null,R},n.inflateInit=function(e,t){return e.msg=null,n.blocks=null,t<8||15<t?(n.inflateEnd(e),O):(n.wbits=t,e.istate.blocks=new A0(e,1<<t),s(e),R)},n.inflate=function(e,t){var n,r,i;if(!e||!e.istate||!e.next_in)return O;for(i=e.istate,t=4==t?Ne:R,n=Ne;;)switch(i.mode){case 0:if(0===e.avail_in)return n;if(n=t,e.avail_in--,e.total_in++,8!=(15&(i.method=e.read_byte(e.next_in_index++)))){i.mode=13,e.msg="unknown compression method",i.marker=5;break}if(8+(i.method>>4)>i.wbits){i.mode=13,e.msg="invalid win size",i.marker=5;break}i.mode=1;case 1:if(0===e.avail_in)return n;if(n=t,e.avail_in--,e.total_in++,r=255&e.read_byte(e.next_in_index++),((i.method<<8)+r)%31!=0){i.mode=13,e.msg="incorrect header check",i.marker=5;break}if(0==(32&r)){i.mode=7;break}i.mode=2;case 2:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,i.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,i.mode=3;case 3:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,i.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,i.mode=4;case 4:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,i.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,i.mode=5;case 5:return 0===e.avail_in?n:(n=t,e.avail_in--,e.total_in++,i.need+=255&e.read_byte(e.next_in_index++),i.mode=6,2);case 6:return i.mode=13,e.msg="need dictionary",i.marker=0,O;case 7:if((n=i.blocks.proc(e,n))==T){i.mode=13,i.marker=0;break}if((n=n==R?t:n)!=ze)return n;n=t,i.blocks.reset(e,i.was),i.mode=12;case 12:return e.avail_in=0,ze;case 13:return T;default:return O}},n.inflateSetDictionary=function(e,t,n){var r,i,e,r=0,i=n;return e&&e.istate&&6==e.istate.mode?(i>=1<<(e=e.istate).wbits&&(r=n-(i=(1<<e.wbits)-1)),e.blocks.set_dictionary(t,r,i),e.mode=7,R):O},n.inflateSync=function(e){var t,n,r,i,a,o;if(!e||!e.istate)return O;if(13!=(o=e.istate).mode&&(o.mode=13,o.marker=0),0===(t=e.avail_in))return Ne;for(n=e.next_in_index,r=o.marker;0!==t&&r<4;)e.read_byte(n)==_t[r]?r++:r=0!==e.read_byte(n)?0:4-r,n++,t--;return e.total_in+=n-e.next_in_index,e.next_in_index=n,e.avail_in=t,4!=(o.marker=r)?T:(i=e.total_in,a=e.total_out,s(e),e.total_in=i,e.total_out=a,o.mode=7,R)},n.inflateSyncPoint=function(e){return e&&e.istate&&e.istate.blocks?e.istate.blocks.sync_point():O}}function E0(){}function j0(e){var t,f,c,n,u,l,t=this,f=new E0,c=e&&e.chunkSize?Math.floor(2*e.chunkSize):131072,n=0,u=new Uint8Array(c),l=!1;
|
67
|
+
/*
|
68
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
69
|
+
|
70
|
+
Redistribution and use in source and binary forms, with or without
|
71
|
+
modification, are permitted provided that the following conditions are met:
|
72
|
+
|
73
|
+
1. Redistributions of source code must retain the above copyright notice,
|
74
|
+
this list of conditions and the following disclaimer.
|
75
|
+
|
76
|
+
2. Redistributions in binary form must reproduce the above copyright
|
77
|
+
notice, this list of conditions and the following disclaimer in
|
78
|
+
the documentation and/or other materials provided with the distribution.
|
79
|
+
|
80
|
+
3. The names of the authors may not be used to endorse or promote products
|
81
|
+
derived from this software without specific prior written permission.
|
82
|
+
|
83
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
84
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
85
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
86
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
87
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
88
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
89
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
90
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
91
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
92
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
93
|
+
*/f.inflateInit(),f.next_out=u,t.append=function(e,t){var n,r,i,a,o,s,n=[],a=0,o=0,s=0;if(0!==e.length){f.next_in_index=0,f.next_in=e,f.avail_in=e.length;do{if(f.next_out_index=0,f.avail_out=c,0!==f.avail_in||l||(f.next_in_index=0,l=!0),r=f.inflate(0),l&&r===Ne){if(0!==f.avail_in)throw new Error("inflating: bad input")}else if(r!==R&&r!==ze)throw new Error("inflating: "+f.msg);if((l||r===ze)&&f.avail_in===e.length)throw new Error("inflating: bad input")}while(f.next_out_index&&(f.next_out_index===c?n.push(new Uint8Array(u)):n.push(u.slice(0,f.next_out_index))),s+=f.next_out_index,t&&0<f.next_in_index&&f.next_in_index!=a&&(t(f.next_in_index),a=f.next_in_index),0<f.avail_in||0===f.avail_out);return 1<n.length?(i=new Uint8Array(s),n.forEach(function(e){i.set(e,o),o+=e.length})):i=n[0]||new Uint8Array,i}},t.flush=function(){f.inflateEnd()}}function _0(){return l}function D0(e){return Math.max(e.chunkSize,dn)}function R0(e){var t,n,r,i,a,o,s,f,c,u,e,t,n,t=e.baseURL,n=e.chunkSize,r=e.maxWorkers,i=e.terminateWorkerTimeout,a=e.useCompressionStream,o=e.useWebWorkers,s=e.Deflate,f=e.Inflate,c=e.CompressionStream,u=e.DecompressionStream,e=e.workerScripts;if(O0("baseURL",t),O0("chunkSize",n),O0("maxWorkers",r),O0("terminateWorkerTimeout",i),O0("useCompressionStream",a),O0("useWebWorkers",o),s&&(l.CompressionStream=new ln(s)),f&&(l.DecompressionStream=new ln(f)),O0("CompressionStream",c),O0("DecompressionStream",u),e!==L){if(t=e.deflate,n=e.inflate,!t&&!n||l.workerScripts||(l.workerScripts={}),t){if(!Array.isArray(t))throw new Error("workerScripts.deflate must be an array");l.workerScripts.deflate=t}if(n){if(!Array.isArray(n))throw new Error("workerScripts.inflate must be an array");l.workerScripts.inflate=n}}}function O0(e,t){t!==L&&(l[e]=t)}
|
94
|
+
/*
|
95
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
96
|
+
|
97
|
+
Redistribution and use in source and binary forms, with or without
|
98
|
+
modification, are permitted provided that the following conditions are met:
|
99
|
+
|
100
|
+
1. Redistributions of source code must retain the above copyright notice,
|
101
|
+
this list of conditions and the following disclaimer.
|
102
|
+
|
103
|
+
2. Redistributions in binary form must reproduce the above copyright
|
104
|
+
notice, this list of conditions and the following disclaimer in
|
105
|
+
the documentation and/or other materials provided with the distribution.
|
106
|
+
|
107
|
+
3. The names of the authors may not be used to endorse or promote products
|
108
|
+
derived from this software without specific prior written permission.
|
109
|
+
|
110
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
111
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
112
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
113
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
114
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
115
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
116
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
117
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
118
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
119
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
120
|
+
*/function T0(){return"application/octet-stream"}
|
121
|
+
/*
|
122
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
123
|
+
|
124
|
+
Redistribution and use in source and binary forms, with or without
|
125
|
+
modification, are permitted provided that the following conditions are met:
|
126
|
+
|
127
|
+
1. Redistributions of source code must retain the above copyright notice,
|
128
|
+
this list of conditions and the following disclaimer.
|
129
|
+
|
130
|
+
2. Redistributions in binary form must reproduce the above copyright
|
131
|
+
notice, this list of conditions and the following disclaimer in
|
132
|
+
the documentation and/or other materials provided with the distribution.
|
133
|
+
|
134
|
+
3. The names of the authors may not be used to endorse or promote products
|
135
|
+
derived from this software without specific prior written permission.
|
136
|
+
|
137
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
138
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
139
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
140
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
141
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
142
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
143
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
144
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
145
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
146
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
147
|
+
*/function z0(e){return e&&pn[e.split(".").pop().toLowerCase()]||T0()}
|
148
|
+
/*
|
149
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
150
|
+
|
151
|
+
Redistribution and use in source and binary forms, with or without
|
152
|
+
modification, are permitted provided that the following conditions are met:
|
153
|
+
|
154
|
+
1. Redistributions of source code must retain the above copyright notice,
|
155
|
+
this list of conditions and the following disclaimer.
|
156
|
+
|
157
|
+
2. Redistributions in binary form must reproduce the above copyright
|
158
|
+
notice, this list of conditions and the following disclaimer in
|
159
|
+
the documentation and/or other materials provided with the distribution.
|
160
|
+
|
161
|
+
3. The names of the authors may not be used to endorse or promote products
|
162
|
+
derived from this software without specific prior written permission.
|
163
|
+
|
164
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
165
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
166
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
167
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
168
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
169
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
170
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
171
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
172
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
173
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
174
|
+
*/
|
175
|
+
/*
|
176
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
177
|
+
|
178
|
+
Redistribution and use in source and binary forms, with or without
|
179
|
+
modification, are permitted provided that the following conditions are met:
|
180
|
+
|
181
|
+
1. Redistributions of source code must retain the above copyright notice,
|
182
|
+
this list of conditions and the following disclaimer.
|
183
|
+
|
184
|
+
2. Redistributions in binary form must reproduce the above copyright
|
185
|
+
notice, this list of conditions and the following disclaimer in
|
186
|
+
the documentation and/or other materials provided with the distribution.
|
187
|
+
|
188
|
+
3. The names of the authors may not be used to endorse or promote products
|
189
|
+
derived from this software without specific prior written permission.
|
190
|
+
|
191
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
192
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
193
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
194
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
195
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
196
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
197
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
198
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
199
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
200
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
201
|
+
*/
|
202
|
+
function B0(e){var t,n;if("undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(e=unescape(encodeURIComponent(e)),t=new Uint8Array(e.length),n=0;n<t.length;n++)t[n]=e.charCodeAt(n);return t}function M0(e){return(Sn?crypto:Cn).getRandomValues(e)}function N0(e,t,n,r,i,a){var o,s,f,c,u,l,l,o=e.ctr,s=e.hmac,f=e.pending,c=t.length-i;for(f.length&&(t=K0(f,t),n=X0(n,c-c%_n)),u=0;u<=c-_n;u+=_n)l=Y0(Vn,h(t,u,u+_n)),a&&s.update(l),l=o.update(l),a||s.update(l),n.set(J0(Vn,l),u+r);return e.pending=h(t,u),n}function P0(e,t,n,r){return U0.apply(this,arguments)}function U0(){return(U0=_(ee().mark(function e(n,r,i,a){var o,s;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,q0(n,r,i,h(a,0,Mn[r]));case 2:if(o=t.sent,s=h(a,Mn[r]),o[0]!=s[0]||o[1]!=s[1])throw new Error(En);t.next=6;break;case 6:case"end":return t.stop()}},e)}))).apply(this,arguments)}function L0(e,t,n){return G0.apply(this,arguments)}function G0(){return(G0=_(ee().mark(function e(n,r,i){var a,o;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return a=M0(new Uint8Array(Mn[r])),t.next=3,q0(n,r,i,a);case 3:return o=t.sent,t.abrupt("return",K0(a,o));case 5:case"end":return t.stop()}},e)}))).apply(this,arguments)}function q0(e,t,n,r){return W0.apply(this,arguments)}function W0(){return(W0=_(ee().mark(function e(n,r,i,a){var o,o,s,s,f,c,s;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return n.password=null,o=B0(i),t.next=4,V0(Dn,o,Tn,!1,Bn);case 4:return o=t.sent,t.next=7,H0(Object.assign({salt:a},zn),o,8*(2*Nn[r]+2));case 7:return s=t.sent,s=new Uint8Array(s),f=Y0(Vn,h(s,0,Nn[r])),c=Y0(Vn,h(s,Nn[r],2*Nn[r])),s=h(s,2*Nn[r]),Object.assign(n,{keys:{key:f,authentication:c,passwordVerification:s},ctr:new Zn(new Hn(f),Array.from(Un)),hmac:new Kn(c)}),t.abrupt("return",s);case 14:case"end":return t.stop()}},e)}))).apply(this,arguments)}function V0(e,t,n,r,i){return qn?Gn.importKey(e,t,n,r,i):An.importKey(t)}function H0(e,t,n){return Z0.apply(this,arguments)}function Z0(){return(Z0=_(ee().mark(function e(n,r,i){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(Wn)return t.next=3,Gn.deriveBits(n,r,i);t.next=6;break;case 3:return t.abrupt("return",t.sent);case 6:return t.abrupt("return",An.pbkdf2(r,n.salt,zn.iterations,i));case 7:case"end":return t.stop()}},e)}))).apply(this,arguments)}function K0(e,t){var n=e;return e.length+t.length&&((n=new Uint8Array(e.length+t.length)).set(e,0),n.set(t,e.length)),n}function X0(e,t){var n;return t&&t>e.length&&(n=e,(e=new Uint8Array(t)).set(n,0)),e}function h(e,t,n){return e.subarray(t,n)}function J0(e,t){return e.fromBits(t)}function Y0(e,t){return e.toBits(t)}function $0(e,t){for(var n,r,n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=na(e)^t[r],ta(e,n[r]);return n}function Q0(e,t){for(var n,r,n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=na(e)^t[r],ta(e,t[r]);return n}function ea(e,t){var n,r,n=[305419896,591751049,878082192];for(Object.assign(e,{keys:n,crcKey0:new xn(n[0]),crcKey2:new xn(n[2])}),r=0;r<t.length;r++)ta(e,t.charCodeAt(r))}function ta(e,t){var n=a0(e.keys,3),r=n[0],i=n[1],n=n[2];e.crcKey0.append([t]),r=~e.crcKey0.get(),i=ia(Math.imul(ia(i+(255&r)),134775813)+1),e.crcKey2.append([i>>>24]),n=~e.crcKey2.get(),e.keys=[r,i,n]}function na(e){var e=2|e.keys[2];return Math.imul(e,1^e)>>>8&255}function ra(e){return 255&e}function ia(e){return 4294967295&e}function aa(e){return fa(e,new TransformStream({transform:function e(t,n){t&&t.length&&n.enqueue(t)}}))}function oa(e,t,n){t=fa(t,new TransformStream({flush:n})),Object.defineProperty(e,"readable",{get:function e(){return t}})}function sa(t,n,r,e,i){try{var a;t=fa(t,new(n&&e?e:i)(er,r))}catch(e){if(!n)throw e;t=fa(t,new i(er,r))}return t}function fa(e,t){return e.pipeThrough(t)}function ca(e){return ua.apply(this,arguments)}function ua(){return(ua=_(ee().mark(function e(n){var r,i,a,o=arguments;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:for(t.prev=0,r=o.length,i=new Array(1<r?r-1:0),a=1;a<r;a++)i[a-1]=o[a];return t.next=4,n.apply(void 0,i);case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(0);case 8:case"end":return t.stop()}},e,null,[[0,6]])}))).apply(this,arguments)}function la(t,n){return{run:function e(){return ha(t,n)}}}function da(t,e){var n=e.baseURL,r=e.chunkSize;return t.interface||Object.assign(t,{worker:ya(t.scripts[0],n,t),interface:{run:function e(){return pa(t,{chunkSize:r})}}}),t.interface}function ha(e,t){return ma.apply(this,arguments)}function ma(){return(ma=_(ee().mark(function e(n,r){var i,a,o,s,i,a,o;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return i=n.options,a=n.readable,o=n.writable,s=n.onTaskFinished,i=new lr(i,r),t.prev=2,t.next=5,a.pipeThrough(i).pipeTo(o,{preventClose:!0,preventAbort:!0});case 5:return a=i.signature,o=i.size,t.abrupt("return",{signature:a,size:o});case 7:return t.prev=7,s(),t.finish(7);case 10:case"end":return t.stop()}},e,null,[[2,,7,10]])}))).apply(this,arguments)}function pa(e,t){return va.apply(this,arguments)}function va(){return(va=_(ee().mark(function e(n,r){var i,a,o,s,f,c,u,l,u,d,h;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return o=new Promise(function(e,t){i=e,a=t}),Object.assign(n,{reader:null,writer:null,resolveResult:i,rejectResult:a,result:o}),s=n.readable,f=n.options,c=n.scripts,u=ba(n.writable),l=u.writable,u=u.closed,(d=wa({type:ir,scripts:c.slice(1),options:f,config:r,readable:s,writable:l},n))||Object.assign(n,{reader:s.getReader(),writer:l.getWriter()}),t.next=8,o;case 8:return h=t.sent,t.prev=9,t.next=12,l.close();case 12:t.next=16;break;case 14:t.prev=14,t.t0=t.catch(9);case 16:return t.next=18,u;case 18:return t.abrupt("return",h);case 19:case"end":return t.stop()}},e,null,[[9,14]])}))).apply(this,arguments)}function ba(e){var r,t,e,n,r=e.getWriter(),e=new Promise(function(e){return t=e}),n;return{writable:new WritableStream({write:function e(n){return _(ee().mark(function e(){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.ready;case 2:return t.next=4,r.write(n);case 4:case"end":return t.stop()}},e)}))()},close:function e(){r.releaseLock(),t()},abort:function e(t){return r.abort(t)}}),closed:e}}function ya(t,e,n){var r,i,a,r={type:"module"};Xi(t)==un&&(t=t());try{i=new URL(t,e)}catch(e){i=t}if(pr)try{a=new Worker(i)}catch(e){pr=!1,a=new Worker(i,r)}else a=new Worker(i,r);return a.addEventListener(rr,function(e){return xa(e,n)}),a}function wa(t,e){var n,r,i,e,a,o,s,f,c,u,l,n=e.worker,r=e.writer,i=e.onTaskFinished,e=e.transferStreams;try{if(a=t.value,o=t.readable,s=t.writable,f=[],a&&(u=(c=a).buffer,(l=c.length)!=u.byteLength&&(a=new Uint8Array(a)),t.value=a.buffer,f.push(t.value)),e&&vr?(o&&f.push(o),s&&f.push(s)):t.readable=t.writable=null,f.length)try{return n.postMessage(t,f),!0}catch(e){vr=!1,t.readable=t.writable=null,n.postMessage(t)}else n.postMessage(t)}catch(e){throw r&&r.releaseLock(),i(),e}}function xa(e,t){return ga.apply(this,arguments)}function ga(){return(ga=_(ee().mark(function e(n,r){var i,a,o,s,f,i,c,u,l,d,h,m,p,v,i,m,p,v,i,b;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:b=function e(t,n){t?d(t):l(n),u&&u.releaseLock(),h()},i=n.data,a=i.type,o=i.value,s=i.messageId,f=i.result,i=i.error,c=r.reader,u=r.writer,l=r.resolveResult,d=r.rejectResult,h=r.onTaskFinished,t.prev=4,i?(m=i.message,p=i.stack,v=i.code,i=i.name,m=new Error(m),Object.assign(m,{stack:p,code:v,name:i}),b(m),t.next=26):t.next=12;break;case 12:if(a==ar)return t.next=15,c.read();t.next=19;break;case 15:p=t.sent,v=p.value,i=p.done,wa({type:or,value:v,done:i,messageId:s},r);case 19:if(a==or)return t.next=22,u.ready;t.next=25;break;case 22:return t.next=24,u.write(new Uint8Array(o));case 24:wa({type:sr,messageId:s},r);case 25:a==fr&&b(null,f);case 26:t.next=31;break;case 28:t.prev=28,t.t0=t.catch(4),b(t.t0);case 31:case"end":return t.stop()}},e,null,[[4,28]])}))).apply(this,arguments)}function ka(e,t){return Ia.apply(this,arguments)}function Ia(){return(Ia=_(ee().mark(function e(n,r){var i,a,o,s,f,c,u,l,d,h,m,p,o,v,u,l,b;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:b=function e(t){var n,r,i,a,o,i;yr.length?(a=(i=a0(yr.splice(0,1),1)[0]).resolve,o=i.stream,i=i.workerOptions,a(new hr(t,o,i,b))):t.worker?(Ca(t),Number.isFinite(p)&&0<=p&&(t.terminateTimeout=setTimeout(function(){br=br.filter(function(e){return e!=t}),t.terminate()},p))):br=br.filter(function(e){return e!=t})},i=r.options,a=r.config,o=i.transferStreams,s=i.useWebWorkers,f=i.useCompressionStream,c=i.codecType,u=i.compressed,l=i.signed,d=i.encrypted,h=a.workerScripts,m=a.maxWorkers,p=a.terminateWorkerTimeout,r.transferStreams=o||o===L,o=!(u||l||d||r.transferStreams),r.useWebWorkers=!o&&(s||s===L&&a.useWebWorkers),r.scripts=r.useWebWorkers&&h?h[c]:[],i.useCompressionStream=f||f===L&&a.useCompressionStream,(u=br.find(function(e){return!e.busy}))?(Ca(u),v=new hr(u,n,r,b),t.next=25):t.next=15;break;case 15:br.length<m?(l={indexWorker:wr},wr++,br.push(l),v=new hr(l,n,r,b),t.next=25):t.next=22;break;case 22:return t.next=24,new Promise(function(e){return yr.push({resolve:e,stream:n,workerOptions:r})});case 24:v=t.sent;case 25:return t.abrupt("return",v.run());case 26:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Ca(e){var t=e.terminateTimeout;t&&(clearTimeout(t),e.terminateTimeout=null)}function Fa(){br.forEach(function(e){Ca(e),e.terminate()})}function Aa(e){var t=function e(){return URL.createObjectURL(new Blob(['const{Array:e,Object:t,Number:n,Math:r,Error:s,Uint8Array:i,Uint16Array:o,Uint32Array:c,Int32Array:f,Map:a,DataView:l,Promise:u,TextEncoder:w,crypto:h,postMessage:d,TransformStream:p,ReadableStream:y,WritableStream:m,CompressionStream:b,DecompressionStream:g}=self;class k{constructor(e){return class extends p{constructor(t,n){const r=new e(n);super({transform(e,t){t.enqueue(r.append(e))},flush(e){const t=r.flush();t&&e.enqueue(t)}})}}}}const v=[];for(let e=0;256>e;e++){let t=e;for(let e=0;8>e;e++)1&t?t=t>>>1^3988292384:t>>>=1;v[e]=t}class S{constructor(e){this.t=e||-1}append(e){let t=0|this.t;for(let n=0,r=0|e.length;r>n;n++)t=t>>>8^v[255&(t^e[n])];this.t=t}get(){return~this.t}}class z extends p{constructor(){const e=new S;super({transform(t){e.append(t)},flush(t){const n=new i(4);new l(n.buffer).setUint32(0,e.get()),t.enqueue(n)}})}}const _={concat(e,t){if(0===e.length||0===t.length)return e.concat(t);const n=e[e.length-1],r=_.i(n);return 32===r?e.concat(t):_.o(t,r,0|n,e.slice(0,e.length-1))},l(e){const t=e.length;if(0===t)return 0;const n=e[t-1];return 32*(t-1)+_.i(n)},u(e,t){if(32*e.length<t)return e;const n=(e=e.slice(0,r.ceil(t/32))).length;return t&=31,n>0&&t&&(e[n-1]=_.h(t,e[n-1]&2147483648>>t-1,1)),e},h:(e,t,n)=>32===e?t:(n?0|t:t<<32-e)+1099511627776*e,i:e=>r.round(e/1099511627776)||32,o(e,t,n,r){for(void 0===r&&(r=[]);t>=32;t-=32)r.push(n),n=0;if(0===t)return r.concat(e);for(let s=0;s<e.length;s++)r.push(n|e[s]>>>t),n=e[s]<<32-t;const s=e.length?e[e.length-1]:0,i=_.i(s);return r.push(_.h(t+i&31,t+i>32?n:r.pop(),1)),r}},C={p:{m(e){const t=_.l(e)/8,n=new i(t);let r;for(let s=0;t>s;s++)0==(3&s)&&(r=e[s/4]),n[s]=r>>>24,r<<=8;return n},g(e){const t=[];let n,r=0;for(n=0;n<e.length;n++)r=r<<8|e[n],3==(3&n)&&(t.push(r),r=0);return 3&n&&t.push(_.h(8*(3&n),r)),t}}},I={k:function(e){e?(this.v=e.v.slice(0),this.S=e.S.slice(0),this._=e._):this.reset()}};I.k.prototype={blockSize:512,reset(){const e=this;return e.v=this.C.slice(0),e.S=[],e._=0,e},update(e){const t=this;"string"==typeof e&&(e=C.I.g(e));const n=t.S=_.concat(t.S,e),r=t._,i=t._=r+_.l(e);if(i>9007199254740991)throw new s("Cannot hash more than 2^53 - 1 bits");const o=new c(n);let f=0;for(let e=t.blockSize+r-(t.blockSize+r&t.blockSize-1);i>=e;e+=t.blockSize)t.A(o.subarray(16*f,16*(f+1))),f+=1;return n.splice(0,16*f),t},D(){const e=this;let t=e.S;const n=e.v;t=_.concat(t,[_.h(1,1)]);for(let e=t.length+2;15&e;e++)t.push(0);for(t.push(r.floor(e._/4294967296)),t.push(0|e._);t.length;)e.A(t.splice(0,16));return e.reset(),n},C:[1732584193,4023233417,2562383102,271733878,3285377520],V:[1518500249,1859775393,2400959708,3395469782],R:(e,t,n,r)=>e>19?e>39?e>59?e>79?void 0:t^n^r:t&n|t&r|n&r:t^n^r:t&n|~t&r,B:(e,t)=>t<<e|t>>>32-e,A(t){const n=this,s=n.v,i=e(80);for(let e=0;16>e;e++)i[e]=t[e];let o=s[0],c=s[1],f=s[2],a=s[3],l=s[4];for(let e=0;79>=e;e++){16>e||(i[e]=n.B(1,i[e-3]^i[e-8]^i[e-14]^i[e-16]));const t=n.B(5,o)+n.R(e,c,f,a)+l+i[e]+n.V[r.floor(e/20)]|0;l=a,a=f,f=n.B(30,c),c=o,o=t}s[0]=s[0]+o|0,s[1]=s[1]+c|0,s[2]=s[2]+f|0,s[3]=s[3]+a|0,s[4]=s[4]+l|0}};const x={getRandomValues(e){const t=new c(e.buffer),n=e=>{let t=987654321;const n=4294967295;return()=>(t=36969*(65535&t)+(t>>16)&n,(((t<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n)/4294967296+.5)*(r.random()>.5?1:-1))};for(let s,i=0;i<e.length;i+=4){const e=n(4294967296*(s||r.random()));s=987654071*e(),t[i/4]=4294967296*e()|0}return e}},A={importKey:e=>new A.M(C.p.g(e)),K(e,t,n,r){if(n=n||1e4,0>r||0>n)throw new s("invalid params to pbkdf2");const i=1+(r>>5)<<2;let o,c,f,a,u;const w=new ArrayBuffer(i),h=new l(w);let d=0;const p=_;for(t=C.p.g(t),u=1;(i||1)>d;u++){for(o=c=e.encrypt(p.concat(t,[u])),f=1;n>f;f++)for(c=e.encrypt(c),a=0;a<c.length;a++)o[a]^=c[a];for(f=0;(i||1)>d&&f<o.length;f++)h.setInt32(d,o[f]),d+=4}return w.slice(0,r/8)},M:class{constructor(e){const t=this,n=t.P=I.k,r=[[],[]],s=n.prototype.blockSize/32;t.U=[new n,new n],e.length>s&&(e=n.hash(e));for(let t=0;s>t;t++)r[0][t]=909522486^e[t],r[1][t]=1549556828^e[t];t.U[0].update(r[0]),t.U[1].update(r[1]),t.N=new n(t.U[0])}reset(){const e=this;e.N=new e.P(e.U[0]),e.T=!1}update(e){this.T=!0,this.N.update(e)}digest(){const e=this,t=e.N.D(),n=new e.P(e.U[1]).update(t).D();return e.reset(),n}encrypt(e){if(this.T)throw new s("encrypt on already updated hmac called!");return this.update(e),this.digest(e)}}},D=void 0!==h&&"function"==typeof h.getRandomValues;function V(e){return D?h.getRandomValues(e):x.getRandomValues(e)}const R={name:"PBKDF2"},B=t.assign({hash:{name:"HMAC"}},R),E=t.assign({iterations:1e3,hash:{name:"SHA-1"}},R),M=["deriveBits"],K=[8,12,16],P=[16,24,32],U=[0,0,0,0],N=void 0!==h,T=N&&h.subtle,W=N&&void 0!==T,H=N&&W&&"function"==typeof T.importKey,L=N&&W&&"function"==typeof T.deriveBits,j=C.p,F=class{constructor(e){const t=this;t.W=[[[],[],[],[],[]],[[],[],[],[],[]]],t.W[0][0][0]||t.H();const n=t.W[0][4],r=t.W[1],i=e.length;let o,c,f,a=1;if(4!==i&&6!==i&&8!==i)throw new s("invalid aes key size");for(t.V=[c=e.slice(0),f=[]],o=i;4*i+28>o;o++){let e=c[o-1];(o%i==0||8===i&&o%i==4)&&(e=n[e>>>24]<<24^n[e>>16&255]<<16^n[e>>8&255]<<8^n[255&e],o%i==0&&(e=e<<8^e>>>24^a<<24,a=a<<1^283*(a>>7))),c[o]=c[o-i]^e}for(let e=0;o;e++,o--){const t=c[3&e?o:o-4];f[e]=4>=o||4>e?t:r[0][n[t>>>24]]^r[1][n[t>>16&255]]^r[2][n[t>>8&255]]^r[3][n[255&t]]}}encrypt(e){return this.L(e,0)}decrypt(e){return this.L(e,1)}H(){const e=this.W[0],t=this.W[1],n=e[4],r=t[4],s=[],i=[];let o,c,f,a;for(let e=0;256>e;e++)i[(s[e]=e<<1^283*(e>>7))^e]=e;for(let l=o=0;!n[l];l^=c||1,o=i[o]||1){let i=o^o<<1^o<<2^o<<3^o<<4;i=i>>8^255&i^99,n[l]=i,r[i]=l,a=s[f=s[c=s[l]]];let u=16843009*a^65537*f^257*c^16843008*l,w=257*s[i]^16843008*i;for(let n=0;4>n;n++)e[n][l]=w=w<<24^w>>>8,t[n][i]=u=u<<24^u>>>8}for(let n=0;5>n;n++)e[n]=e[n].slice(0),t[n]=t[n].slice(0)}L(e,t){if(4!==e.length)throw new s("invalid aes block size");const n=this.V[t],r=n.length/4-2,i=[0,0,0,0],o=this.W[t],c=o[0],f=o[1],a=o[2],l=o[3],u=o[4];let w,h,d,p=e[0]^n[0],y=e[t?3:1]^n[1],m=e[2]^n[2],b=e[t?1:3]^n[3],g=4;for(let e=0;r>e;e++)w=c[p>>>24]^f[y>>16&255]^a[m>>8&255]^l[255&b]^n[g],h=c[y>>>24]^f[m>>16&255]^a[b>>8&255]^l[255&p]^n[g+1],d=c[m>>>24]^f[b>>16&255]^a[p>>8&255]^l[255&y]^n[g+2],b=c[b>>>24]^f[p>>16&255]^a[y>>8&255]^l[255&m]^n[g+3],g+=4,p=w,y=h,m=d;for(let e=0;4>e;e++)i[t?3&-e:e]=u[p>>>24]<<24^u[y>>16&255]<<16^u[m>>8&255]<<8^u[255&b]^n[g++],w=p,p=y,y=m,m=b,b=w;return i}},O=class{constructor(e,t){this.j=e,this.F=t,this.O=t}reset(){this.O=this.F}update(e){return this.q(this.j,e,this.O)}G(e){if(255==(e>>24&255)){let t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}J(e){0===(e[0]=this.G(e[0]))&&(e[1]=this.G(e[1]))}q(e,t,n){let r;if(!(r=t.length))return[];const s=_.l(t);for(let s=0;r>s;s+=4){this.J(n);const r=e.encrypt(n);t[s]^=r[0],t[s+1]^=r[1],t[s+2]^=r[2],t[s+3]^=r[3]}return _.u(t,s)}},q=A.M;class G extends p{constructor({password:e,signed:n,encryptionStrength:r}){super({start(){t.assign(this,{ready:new u((e=>this.X=e)),password:e,signed:n,Y:r-1,pending:new i})},async transform(e,t){const n=this,{password:r,Y:o,X:c,ready:f}=n;r?(await(async(e,t,n,r)=>{const i=await X(e,t,n,Z(r,0,K[t])),o=Z(r,K[t]);if(i[0]!=o[0]||i[1]!=o[1])throw new s("Invalid password")})(n,o,r,Z(e,0,K[o]+2)),e=Z(e,K[o]+2),c()):await f;const a=new i(e.length-10-(e.length-10)%16);t.enqueue(Q(n,e,a,0,10,!0))},async flush(e){const{signed:t,Z:n,$:r,pending:o,ready:c}=this;await c;const f=Z(o,0,o.length-10),a=Z(o,o.length-10);let l=new i;if(f.length){const e=ee(j,f);r.update(e);const t=n.update(e);l=$(j,t)}if(t){const e=Z($(j,r.digest()),0,10);for(let t=0;10>t;t++)if(e[t]!=a[t])throw new s("Invalid signature")}e.enqueue(l)}})}}class J extends p{constructor({password:e,encryptionStrength:n}){let r;super({start(){t.assign(this,{ready:new u((e=>this.X=e)),password:e,Y:n-1,pending:new i})},async transform(e,t){const n=this,{password:r,Y:s,X:o,ready:c}=n;let f=new i;r?(f=await(async(e,t,n)=>{const r=V(new i(K[t]));return Y(r,await X(e,t,n,r))})(n,s,r),o()):await c;const a=new i(f.length+e.length-e.length%16);a.set(f,0),t.enqueue(Q(n,e,a,f.length,0))},async flush(e){const{Z:t,$:n,pending:s,ready:o}=this;await o;let c=new i;if(s.length){const e=t.update(ee(j,s));n.update(e),c=$(j,e)}r.signature=$(j,n.digest()).slice(0,10),e.enqueue(Y(c,r.signature))}}),r=this}}function Q(e,t,n,r,s,o){const{Z:c,$:f,pending:a}=e,l=t.length-s;let u;for(a.length&&(t=Y(a,t),n=((e,t)=>{if(t&&t>e.length){const n=e;(e=new i(t)).set(n,0)}return e})(n,l-l%16)),u=0;l-16>=u;u+=16){const e=ee(j,Z(t,u,u+16));o&&f.update(e);const s=c.update(e);o||f.update(s),n.set($(j,s),u+r)}return e.pending=Z(t,u),n}async function X(n,r,s,o){n.password=null;const c=(e=>{if(void 0===w){const t=new i((e=unescape(encodeURIComponent(e))).length);for(let n=0;n<t.length;n++)t[n]=e.charCodeAt(n);return t}return(new w).encode(e)})(s),f=await((e,t,n,r,s)=>H?T.importKey("raw",t,n,!1,s):A.importKey(t))(0,c,B,0,M),a=await(async(e,t,n)=>L?await T.deriveBits(e,t,n):A.K(t,e.salt,E.iterations,n))(t.assign({salt:o},E),f,8*(2*P[r]+2)),l=new i(a),u=ee(j,Z(l,0,P[r])),h=ee(j,Z(l,P[r],2*P[r])),d=Z(l,2*P[r]);return t.assign(n,{keys:{key:u,ee:h,passwordVerification:d},Z:new O(new F(u),e.from(U)),$:new q(h)}),d}function Y(e,t){let n=e;return e.length+t.length&&(n=new i(e.length+t.length),n.set(e,0),n.set(t,e.length)),n}function Z(e,t,n){return e.subarray(t,n)}function $(e,t){return e.m(t)}function ee(e,t){return e.g(t)}class te extends p{constructor({password:e,passwordVerification:n}){super({start(){t.assign(this,{password:e,passwordVerification:n}),ie(this,e)},transform(e,t){const n=this;if(n.password){const t=re(n,e.subarray(0,12));if(n.password=null,t[11]!=n.passwordVerification)throw new s("Invalid password");e=e.subarray(12)}t.enqueue(re(n,e))}})}}class ne extends p{constructor({password:e,passwordVerification:n}){super({start(){t.assign(this,{password:e,passwordVerification:n}),ie(this,e)},transform(e,t){const n=this;let r,s;if(n.password){n.password=null;const t=V(new i(12));t[11]=n.passwordVerification,r=new i(e.length+t.length),r.set(se(n,t),0),s=12}else r=new i(e.length),s=0;r.set(se(n,e),s),t.enqueue(r)}})}}function re(e,t){const n=new i(t.length);for(let r=0;r<t.length;r++)n[r]=ce(e)^t[r],oe(e,n[r]);return n}function se(e,t){const n=new i(t.length);for(let r=0;r<t.length;r++)n[r]=ce(e)^t[r],oe(e,t[r]);return n}function ie(e,n){const r=[305419896,591751049,878082192];t.assign(e,{keys:r,te:new S(r[0]),ne:new S(r[2])});for(let t=0;t<n.length;t++)oe(e,n.charCodeAt(t))}function oe(e,t){let[n,s,i]=e.keys;e.te.append([t]),n=~e.te.get(),s=ae(r.imul(ae(s+fe(n)),134775813)+1),e.ne.append([s>>>24]),i=~e.ne.get(),e.keys=[n,s,i]}function ce(e){const t=2|e.keys[2];return fe(r.imul(t,1^t)>>>8)}function fe(e){return 255&e}function ae(e){return 4294967295&e}class le extends p{constructor(e,{chunkSize:t,CompressionStream:n,CompressionStreamNative:r}){super({});const{compressed:s,encrypted:i,useCompressionStream:o,zipCrypto:c,signed:f,level:a}=e,u=this;let w,h,d=we(super.readable);i&&!c||!f||([d,w]=d.tee(),w=pe(w,new z)),s&&(d=de(d,o,{level:a,chunkSize:t},r,n)),i&&(c?d=pe(d,new ne(e)):(h=new J(e),d=pe(d,h))),he(u,d,(async()=>{let e;i&&!c&&(e=h.signature),i&&!c||!f||(e=await w.getReader().read(),e=new l(e.value.buffer).getUint32(0)),u.signature=e}))}}class ue extends p{constructor(e,{chunkSize:t,DecompressionStream:n,DecompressionStreamNative:r}){super({});const{zipCrypto:i,encrypted:o,signed:c,signature:f,compressed:a,useCompressionStream:u}=e;let w,h,d=we(super.readable);o&&(i?d=pe(d,new te(e)):(h=new G(e),d=pe(d,h))),a&&(d=de(d,u,{chunkSize:t},r,n)),o&&!i||!c||([d,w]=d.tee(),w=pe(w,new z)),he(this,d,(async()=>{if((!o||i)&&c){const e=await w.getReader().read(),t=new l(e.value.buffer);if(f!=t.getUint32(0,!1))throw new s("Invalid signature")}}))}}function we(e){return pe(e,new p({transform(e,t){e&&e.length&&t.enqueue(e)}}))}function he(e,n,r){n=pe(n,new p({flush:r})),t.defineProperty(e,"readable",{get:()=>n})}function de(e,t,n,r,s){try{e=pe(e,new(t&&r?r:s)("deflate-raw",n))}catch(r){if(!t)throw r;e=pe(e,new s("deflate-raw",n))}return e}function pe(e,t){return e.pipeThrough(t)}class ye extends p{constructor(e,n){super({});const r=this,{codecType:s}=e;let i;s.startsWith("deflate")?i=le:s.startsWith("inflate")&&(i=ue);let o=0;const c=new i(e,n),f=super.readable,a=new p({transform(e,t){e&&e.length&&(o+=e.length,t.enqueue(e))},flush(){const{signature:e}=c;t.assign(r,{signature:e,size:o})}});t.defineProperty(r,"readable",{get:()=>f.pipeThrough(c).pipeThrough(a)})}}const me=new a,be=new a;let ge=0;async function ke(e){try{const{options:t,scripts:r,config:s}=e;r&&r.length&&importScripts.apply(void 0,r),self.initCodec&&self.initCodec(),s.CompressionStreamNative=self.CompressionStream,s.DecompressionStreamNative=self.DecompressionStream,self.Deflate&&(s.CompressionStream=new k(self.Deflate)),self.Inflate&&(s.DecompressionStream=new k(self.Inflate));const i={highWaterMark:1,size:()=>s.chunkSize},o=e.readable||new y({async pull(e){const t=new u((e=>me.set(ge,e)));ve({type:"pull",messageId:ge}),ge=(ge+1)%n.MAX_SAFE_INTEGER;const{value:r,done:s}=await t;e.enqueue(r),s&&e.close()}},i),c=e.writable||new m({async write(e){let t;const r=new u((e=>t=e));be.set(ge,t),ve({type:"data",value:e,messageId:ge}),ge=(ge+1)%n.MAX_SAFE_INTEGER,await r}},i),f=new ye(t,s);await o.pipeThrough(f).pipeTo(c,{preventAbort:!0});try{await c.close()}catch(e){}const{signature:a,size:l}=f;ve({type:"close",result:{signature:a,size:l}})}catch(e){Se(e)}}function ve(e){let{value:t}=e;if(t)if(t.length)try{t=new i(t),e.value=t.buffer,d(e,[e.value])}catch(t){d(e)}else d(e);else d(e)}function Se(e){const{message:t,stack:n,code:r,name:s}=e;d({error:{message:t,stack:n,code:r,name:s}})}function ze(t){return _e(t.map((([t,n])=>new e(t).fill(n,0,t))))}function _e(t){return t.reduce(((t,n)=>t.concat(e.isArray(n)?_e(n):n)),[])}addEventListener("message",(({data:e})=>{const{type:t,messageId:n,value:r,done:s}=e;try{if("start"==t&&ke(e),"data"==t){const e=me.get(n);me.delete(n),e({value:new i(r),done:s})}if("ack"==t){const e=be.get(n);be.delete(n),e()}}catch(e){Se(e)}}));const Ce=[0,1,2,3].concat(...ze([[2,4],[2,5],[4,6],[4,7],[8,8],[8,9],[16,10],[16,11],[32,12],[32,13],[64,14],[64,15],[2,0],[1,16],[1,17],[2,18],[2,19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]));function Ie(){const e=this;function t(e,t){let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}e.re=n=>{const s=e.se,i=e.oe.ie,o=e.oe.ce;let c,f,a,l=-1;for(n.fe=0,n.ae=573,c=0;o>c;c++)0!==s[2*c]?(n.le[++n.fe]=l=c,n.ue[c]=0):s[2*c+1]=0;for(;2>n.fe;)a=n.le[++n.fe]=2>l?++l:0,s[2*a]=1,n.ue[a]=0,n.we--,i&&(n.he-=i[2*a+1]);for(e.de=l,c=r.floor(n.fe/2);c>=1;c--)n.pe(s,c);a=o;do{c=n.le[1],n.le[1]=n.le[n.fe--],n.pe(s,1),f=n.le[1],n.le[--n.ae]=c,n.le[--n.ae]=f,s[2*a]=s[2*c]+s[2*f],n.ue[a]=r.max(n.ue[c],n.ue[f])+1,s[2*c+1]=s[2*f+1]=a,n.le[1]=a++,n.pe(s,1)}while(n.fe>=2);n.le[--n.ae]=n.le[1],(t=>{const n=e.se,r=e.oe.ie,s=e.oe.ye,i=e.oe.me,o=e.oe.be;let c,f,a,l,u,w,h=0;for(l=0;15>=l;l++)t.ge[l]=0;for(n[2*t.le[t.ae]+1]=0,c=t.ae+1;573>c;c++)f=t.le[c],l=n[2*n[2*f+1]+1]+1,l>o&&(l=o,h++),n[2*f+1]=l,f>e.de||(t.ge[l]++,u=0,i>f||(u=s[f-i]),w=n[2*f],t.we+=w*(l+u),r&&(t.he+=w*(r[2*f+1]+u)));if(0!==h){do{for(l=o-1;0===t.ge[l];)l--;t.ge[l]--,t.ge[l+1]+=2,t.ge[o]--,h-=2}while(h>0);for(l=o;0!==l;l--)for(f=t.ge[l];0!==f;)a=t.le[--c],a>e.de||(n[2*a+1]!=l&&(t.we+=(l-n[2*a+1])*n[2*a],n[2*a+1]=l),f--)}})(n),((e,n,r)=>{const s=[];let i,o,c,f=0;for(i=1;15>=i;i++)s[i]=f=f+r[i-1]<<1;for(o=0;n>=o;o++)c=e[2*o+1],0!==c&&(e[2*o]=t(s[c]++,c))})(s,e.de,n.ge)}}function xe(e,t,n,r,s){const i=this;i.ie=e,i.ye=t,i.me=n,i.ce=r,i.be=s}Ie.ke=[0,1,2,3,4,5,6,7].concat(...ze([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]])),Ie.ve=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],Ie.Se=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],Ie.ze=e=>256>e?Ce[e]:Ce[256+(e>>>7)],Ie._e=[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],Ie.Ce=[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],Ie.Ie=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ie.xe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];const Ae=ze([[144,8],[112,9],[24,7],[8,8]]);xe.Ae=_e([12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,19,275,147,403,83,339,211,467,51,307,179,435,115,371,243,499,11,267,139,395,75,331,203,459,43,299,171,427,107,363,235,491,27,283,155,411,91,347,219,475,59,315,187,443,123,379,251,507,7,263,135,391,71,327,199,455,39,295,167,423,103,359,231,487,23,279,151,407,87,343,215,471,55,311,183,439,119,375,247,503,15,271,143,399,79,335,207,463,47,303,175,431,111,367,239,495,31,287,159,415,95,351,223,479,63,319,191,447,127,383,255,511,0,64,32,96,16,80,48,112,8,72,40,104,24,88,56,120,4,68,36,100,20,84,52,116,3,131,67,195,35,163,99,227].map(((e,t)=>[e,Ae[t]])));const De=ze([[30,5]]);function Ve(e,t,n,r,s){const i=this;i.De=e,i.Ve=t,i.Re=n,i.Be=r,i.Ee=s}xe.Me=_e([0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23].map(((e,t)=>[e,De[t]]))),xe.Ke=new xe(xe.Ae,Ie._e,257,286,15),xe.Pe=new xe(xe.Me,Ie.Ce,0,30,15),xe.Ue=new xe(null,Ie.Ie,0,19,7);const Re=[new Ve(0,0,0,0,0),new Ve(4,4,8,4,1),new Ve(4,5,16,8,1),new Ve(4,6,32,32,1),new Ve(4,4,16,16,2),new Ve(8,16,32,32,2),new Ve(8,16,128,128,2),new Ve(8,32,128,256,2),new Ve(32,128,258,1024,2),new Ve(32,258,258,4096,2)],Be=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function Ee(e,t,n,r){const s=e[2*t],i=e[2*n];return i>s||s==i&&r[t]<=r[n]}function Me(){const e=this;let t,n,s,c,f,a,l,u,w,h,d,p,y,m,b,g,k,v,S,z,_,C,I,x,A,D,V,R,B,E,M,K,P;const U=new Ie,N=new Ie,T=new Ie;let W,H,L,j,F,O;function q(){let t;for(t=0;286>t;t++)M[2*t]=0;for(t=0;30>t;t++)K[2*t]=0;for(t=0;19>t;t++)P[2*t]=0;M[512]=1,e.we=e.he=0,H=L=0}function G(e,t){let n,r=-1,s=e[1],i=0,o=7,c=4;0===s&&(o=138,c=3),e[2*(t+1)+1]=65535;for(let f=0;t>=f;f++)n=s,s=e[2*(f+1)+1],++i<o&&n==s||(c>i?P[2*n]+=i:0!==n?(n!=r&&P[2*n]++,P[32]++):i>10?P[36]++:P[34]++,i=0,r=n,0===s?(o=138,c=3):n==s?(o=6,c=3):(o=7,c=4))}function J(t){e.Ne[e.pending++]=t}function Q(e){J(255&e),J(e>>>8&255)}function X(e,t){let n;const r=t;O>16-r?(n=e,F|=n<<O&65535,Q(F),F=n>>>16-O,O+=r-16):(F|=e<<O&65535,O+=r)}function Y(e,t){const n=2*e;X(65535&t[n],65535&t[n+1])}function Z(e,t){let n,r,s=-1,i=e[1],o=0,c=7,f=4;for(0===i&&(c=138,f=3),n=0;t>=n;n++)if(r=i,i=e[2*(n+1)+1],++o>=c||r!=i){if(f>o)do{Y(r,P)}while(0!=--o);else 0!==r?(r!=s&&(Y(r,P),o--),Y(16,P),X(o-3,2)):o>10?(Y(18,P),X(o-11,7)):(Y(17,P),X(o-3,3));o=0,s=r,0===i?(c=138,f=3):r==i?(c=6,f=3):(c=7,f=4)}}function $(){16==O?(Q(F),F=0,O=0):8>O||(J(255&F),F>>>=8,O-=8)}function ee(t,n){let s,i,o;if(e.Te[H]=t,e.We[H]=255&n,H++,0===t?M[2*n]++:(L++,t--,M[2*(Ie.ke[n]+256+1)]++,K[2*Ie.ze(t)]++),0==(8191&H)&&V>2){for(s=8*H,i=_-k,o=0;30>o;o++)s+=K[2*o]*(5+Ie.Ce[o]);if(s>>>=3,L<r.floor(H/2)&&s<r.floor(i/2))return!0}return H==W-1}function te(t,n){let r,s,i,o,c=0;if(0!==H)do{r=e.Te[c],s=e.We[c],c++,0===r?Y(s,t):(i=Ie.ke[s],Y(i+256+1,t),o=Ie._e[i],0!==o&&(s-=Ie.ve[i],X(s,o)),r--,i=Ie.ze(r),Y(i,n),o=Ie.Ce[i],0!==o&&(r-=Ie.Se[i],X(r,o)))}while(H>c);Y(256,t),j=t[513]}function ne(){O>8?Q(F):O>0&&J(255&F),F=0,O=0}function re(t,n,r){X(0+(r?1:0),3),((t,n)=>{ne(),j=8,Q(n),Q(~n),e.Ne.set(u.subarray(t,t+n),e.pending),e.pending+=n})(t,n)}function se(n){((t,n,r)=>{let s,i,o=0;V>0?(U.re(e),N.re(e),o=(()=>{let t;for(G(M,U.de),G(K,N.de),T.re(e),t=18;t>=3&&0===P[2*Ie.xe[t]+1];t--);return e.we+=14+3*(t+1),t})(),s=e.we+3+7>>>3,i=e.he+3+7>>>3,i>s||(s=i)):s=i=n+5,n+4>s||-1==t?i==s?(X(2+(r?1:0),3),te(xe.Ae,xe.Me)):(X(4+(r?1:0),3),((e,t,n)=>{let r;for(X(e-257,5),X(t-1,5),X(n-4,4),r=0;n>r;r++)X(P[2*Ie.xe[r]+1],3);Z(M,e-1),Z(K,t-1)})(U.de+1,N.de+1,o+1),te(M,K)):re(t,n,r),q(),r&&ne()})(0>k?-1:k,_-k,n),k=_,t.He()}function ie(){let e,n,r,s;do{if(s=w-I-_,0===s&&0===_&&0===I)s=f;else if(-1==s)s--;else if(_>=f+f-262){u.set(u.subarray(f,f+f),0),C-=f,_-=f,k-=f,e=y,r=e;do{n=65535&d[--r],d[r]=f>n?0:n-f}while(0!=--e);e=f,r=e;do{n=65535&h[--r],h[r]=f>n?0:n-f}while(0!=--e);s+=f}if(0===t.Le)return;e=t.je(u,_+I,s),I+=e,3>I||(p=255&u[_],p=(p<<g^255&u[_+1])&b)}while(262>I&&0!==t.Le)}function oe(e){let t,n,r=A,s=_,i=x;const o=_>f-262?_-(f-262):0;let c=E;const a=l,w=_+258;let d=u[s+i-1],p=u[s+i];B>x||(r>>=2),c>I&&(c=I);do{if(t=e,u[t+i]==p&&u[t+i-1]==d&&u[t]==u[s]&&u[++t]==u[s+1]){s+=2,t++;do{}while(u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&w>s);if(n=258-(w-s),s=w-258,n>i){if(C=e,i=n,n>=c)break;d=u[s+i-1],p=u[s+i]}}}while((e=65535&h[e&a])>o&&0!=--r);return i>I?I:i}e.ue=[],e.ge=[],e.le=[],M=[],K=[],P=[],e.pe=(t,n)=>{const r=e.le,s=r[n];let i=n<<1;for(;i<=e.fe&&(i<e.fe&&Ee(t,r[i+1],r[i],e.ue)&&i++,!Ee(t,s,r[i],e.ue));)r[n]=r[i],n=i,i<<=1;r[n]=s},e.Fe=(t,S,C,H,L,G)=>(H||(H=8),L||(L=8),G||(G=0),t.Oe=null,-1==S&&(S=6),1>L||L>9||8!=H||9>C||C>15||0>S||S>9||0>G||G>2?-2:(t.qe=e,a=C,f=1<<a,l=f-1,m=L+7,y=1<<m,b=y-1,g=r.floor((m+3-1)/3),u=new i(2*f),h=[],d=[],W=1<<L+6,e.Ne=new i(4*W),s=4*W,e.Te=new o(W),e.We=new i(W),V=S,R=G,(t=>(t.Ge=t.Je=0,t.Oe=null,e.pending=0,e.Qe=0,n=113,c=0,U.se=M,U.oe=xe.Ke,N.se=K,N.oe=xe.Pe,T.se=P,T.oe=xe.Ue,F=0,O=0,j=8,q(),(()=>{w=2*f,d[y-1]=0;for(let e=0;y-1>e;e++)d[e]=0;D=Re[V].Ve,B=Re[V].De,E=Re[V].Re,A=Re[V].Be,_=0,k=0,I=0,v=x=2,z=0,p=0})(),0))(t))),e.Xe=()=>42!=n&&113!=n&&666!=n?-2:(e.We=null,e.Te=null,e.Ne=null,d=null,h=null,u=null,e.qe=null,113==n?-3:0),e.Ye=(e,t,n)=>{let r=0;return-1==t&&(t=6),0>t||t>9||0>n||n>2?-2:(Re[V].Ee!=Re[t].Ee&&0!==e.Ge&&(r=e.Ze(1)),V!=t&&(V=t,D=Re[V].Ve,B=Re[V].De,E=Re[V].Re,A=Re[V].Be),R=n,r)},e.$e=(e,t,r)=>{let s,i=r,o=0;if(!t||42!=n)return-2;if(3>i)return 0;for(i>f-262&&(i=f-262,o=r-i),u.set(t.subarray(o,o+i),0),_=i,k=i,p=255&u[0],p=(p<<g^255&u[1])&b,s=0;i-3>=s;s++)p=(p<<g^255&u[s+2])&b,h[s&l]=d[p],d[p]=s;return 0},e.Ze=(r,i)=>{let o,w,m,A,B;if(i>4||0>i)return-2;if(!r.et||!r.tt&&0!==r.Le||666==n&&4!=i)return r.Oe=Be[4],-2;if(0===r.nt)return r.Oe=Be[7],-5;var E;if(t=r,A=c,c=i,42==n&&(w=8+(a-8<<4)<<8,m=(V-1&255)>>1,m>3&&(m=3),w|=m<<6,0!==_&&(w|=32),w+=31-w%31,n=113,J((E=w)>>8&255),J(255&E)),0!==e.pending){if(t.He(),0===t.nt)return c=-1,0}else if(0===t.Le&&A>=i&&4!=i)return t.Oe=Be[7],-5;if(666==n&&0!==t.Le)return r.Oe=Be[7],-5;if(0!==t.Le||0!==I||0!=i&&666!=n){switch(B=-1,Re[V].Ee){case 0:B=(e=>{let n,r=65535;for(r>s-5&&(r=s-5);;){if(1>=I){if(ie(),0===I&&0==e)return 0;if(0===I)break}if(_+=I,I=0,n=k+r,(0===_||_>=n)&&(I=_-n,_=n,se(!1),0===t.nt))return 0;if(_-k>=f-262&&(se(!1),0===t.nt))return 0}return se(4==e),0===t.nt?4==e?2:0:4==e?3:1})(i);break;case 1:B=(e=>{let n,r=0;for(;;){if(262>I){if(ie(),262>I&&0==e)return 0;if(0===I)break}if(3>I||(p=(p<<g^255&u[_+2])&b,r=65535&d[p],h[_&l]=d[p],d[p]=_),0===r||(_-r&65535)>f-262||2!=R&&(v=oe(r)),3>v)n=ee(0,255&u[_]),I--,_++;else if(n=ee(_-C,v-3),I-=v,v>D||3>I)_+=v,v=0,p=255&u[_],p=(p<<g^255&u[_+1])&b;else{v--;do{_++,p=(p<<g^255&u[_+2])&b,r=65535&d[p],h[_&l]=d[p],d[p]=_}while(0!=--v);_++}if(n&&(se(!1),0===t.nt))return 0}return se(4==e),0===t.nt?4==e?2:0:4==e?3:1})(i);break;case 2:B=(e=>{let n,r,s=0;for(;;){if(262>I){if(ie(),262>I&&0==e)return 0;if(0===I)break}if(3>I||(p=(p<<g^255&u[_+2])&b,s=65535&d[p],h[_&l]=d[p],d[p]=_),x=v,S=C,v=2,0!==s&&D>x&&f-262>=(_-s&65535)&&(2!=R&&(v=oe(s)),5>=v&&(1==R||3==v&&_-C>4096)&&(v=2)),3>x||v>x)if(0!==z){if(n=ee(0,255&u[_-1]),n&&se(!1),_++,I--,0===t.nt)return 0}else z=1,_++,I--;else{r=_+I-3,n=ee(_-1-S,x-3),I-=x-1,x-=2;do{++_>r||(p=(p<<g^255&u[_+2])&b,s=65535&d[p],h[_&l]=d[p],d[p]=_)}while(0!=--x);if(z=0,v=2,_++,n&&(se(!1),0===t.nt))return 0}}return 0!==z&&(n=ee(0,255&u[_-1]),z=0),se(4==e),0===t.nt?4==e?2:0:4==e?3:1})(i)}if(2!=B&&3!=B||(n=666),0==B||2==B)return 0===t.nt&&(c=-1),0;if(1==B){if(1==i)X(2,3),Y(256,xe.Ae),$(),9>1+j+10-O&&(X(2,3),Y(256,xe.Ae),$()),j=7;else if(re(0,0,!1),3==i)for(o=0;y>o;o++)d[o]=0;if(t.He(),0===t.nt)return c=-1,0}}return 4!=i?0:1}}function Ke(){const e=this;e.rt=0,e.st=0,e.Le=0,e.Ge=0,e.nt=0,e.Je=0}function Pe(e){const t=new Ke,n=(o=e&&e.chunkSize?e.chunkSize:65536)+5*(r.floor(o/16383)+1);var o;const c=new i(n);let f=e?e.level:-1;void 0===f&&(f=-1),t.Fe(f),t.et=c,this.append=(e,r)=>{let o,f,a=0,l=0,u=0;const w=[];if(e.length){t.rt=0,t.tt=e,t.Le=e.length;do{if(t.st=0,t.nt=n,o=t.Ze(0),0!=o)throw new s("deflating: "+t.Oe);t.st&&(t.st==n?w.push(new i(c)):w.push(c.slice(0,t.st))),u+=t.st,r&&t.rt>0&&t.rt!=a&&(r(t.rt),a=t.rt)}while(t.Le>0||0===t.nt);return w.length>1?(f=new i(u),w.forEach((e=>{f.set(e,l),l+=e.length}))):f=w[0]||new i,f}},this.flush=()=>{let e,r,o=0,f=0;const a=[];do{if(t.st=0,t.nt=n,e=t.Ze(4),1!=e&&0!=e)throw new s("deflating: "+t.Oe);n-t.nt>0&&a.push(c.slice(0,t.st)),f+=t.st}while(t.Le>0||0===t.nt);return t.Xe(),r=new i(f),a.forEach((e=>{r.set(e,o),o+=e.length})),r}}Ke.prototype={Fe(e,t){const n=this;return n.qe=new Me,t||(t=15),n.qe.Fe(n,e,t)},Ze(e){const t=this;return t.qe?t.qe.Ze(t,e):-2},Xe(){const e=this;if(!e.qe)return-2;const t=e.qe.Xe();return e.qe=null,t},Ye(e,t){const n=this;return n.qe?n.qe.Ye(n,e,t):-2},$e(e,t){const n=this;return n.qe?n.qe.$e(n,e,t):-2},je(e,t,n){const r=this;let s=r.Le;return s>n&&(s=n),0===s?0:(r.Le-=s,e.set(r.tt.subarray(r.rt,r.rt+s),t),r.rt+=s,r.Ge+=s,s)},He(){const e=this;let t=e.qe.pending;t>e.nt&&(t=e.nt),0!==t&&(e.et.set(e.qe.Ne.subarray(e.qe.Qe,e.qe.Qe+t),e.st),e.st+=t,e.qe.Qe+=t,e.Je+=t,e.nt-=t,e.qe.pending-=t,0===e.qe.pending&&(e.qe.Qe=0))}};const Ue=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],Ne=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],Te=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],We=[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],He=[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,112,112],Le=[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],je=[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];function Fe(){let e,t,n,r,s,i;function o(e,t,o,c,f,a,l,u,w,h,d){let p,y,m,b,g,k,v,S,z,_,C,I,x,A,D;_=0,g=o;do{n[e[t+_]]++,_++,g--}while(0!==g);if(n[0]==o)return l[0]=-1,u[0]=0,0;for(S=u[0],k=1;15>=k&&0===n[k];k++);for(v=k,k>S&&(S=k),g=15;0!==g&&0===n[g];g--);for(m=g,S>g&&(S=g),u[0]=S,A=1<<k;g>k;k++,A<<=1)if(0>(A-=n[k]))return-3;if(0>(A-=n[g]))return-3;for(n[g]+=A,i[1]=k=0,_=1,x=2;0!=--g;)i[x]=k+=n[_],x++,_++;g=0,_=0;do{0!==(k=e[t+_])&&(d[i[k]++]=g),_++}while(++g<o);for(o=i[m],i[0]=g=0,_=0,b=-1,I=-S,s[0]=0,C=0,D=0;m>=v;v++)for(p=n[v];0!=p--;){for(;v>I+S;){if(b++,I+=S,D=m-I,D=D>S?S:D,(y=1<<(k=v-I))>p+1&&(y-=p+1,x=v,D>k))for(;++k<D&&(y<<=1)>n[++x];)y-=n[x];if(D=1<<k,h[0]+D>1440)return-3;s[b]=C=h[0],h[0]+=D,0!==b?(i[b]=g,r[0]=k,r[1]=S,k=g>>>I-S,r[2]=C-s[b-1]-k,w.set(r,3*(s[b-1]+k))):l[0]=C}for(r[1]=v-I,o>_?d[_]<c?(r[0]=256>d[_]?0:96,r[2]=d[_++]):(r[0]=a[d[_]-c]+16+64,r[2]=f[d[_++]-c]):r[0]=192,y=1<<v-I,k=g>>>I;D>k;k+=y)w.set(r,3*(C+k));for(k=1<<v-1;0!=(g&k);k>>>=1)g^=k;for(g^=k,z=(1<<I)-1;(g&z)!=i[b];)b--,I-=S,z=(1<<I)-1}return 0!==A&&1!=m?-5:0}function c(o){let c;for(e||(e=[],t=[],n=new f(16),r=[],s=new f(15),i=new f(16)),t.length<o&&(t=[]),c=0;o>c;c++)t[c]=0;for(c=0;16>c;c++)n[c]=0;for(c=0;3>c;c++)r[c]=0;s.set(n.subarray(0,15),0),i.set(n.subarray(0,16),0)}this.it=(n,r,s,i,f)=>{let a;return c(19),e[0]=0,a=o(n,0,19,19,null,null,s,r,i,e,t),-3==a?f.Oe="oversubscribed dynamic bit lengths tree":-5!=a&&0!==r[0]||(f.Oe="incomplete dynamic bit lengths tree",a=-3),a},this.ot=(n,r,s,i,f,a,l,u,w)=>{let h;return c(288),e[0]=0,h=o(s,0,n,257,We,He,a,i,u,e,t),0!=h||0===i[0]?(-3==h?w.Oe="oversubscribed literal/length tree":-4!=h&&(w.Oe="incomplete literal/length tree",h=-3),h):(c(288),h=o(s,n,r,0,Le,je,l,f,u,e,t),0!=h||0===f[0]&&n>257?(-3==h?w.Oe="oversubscribed distance tree":-5==h?(w.Oe="incomplete distance tree",h=-3):-4!=h&&(w.Oe="empty distance tree with lengths",h=-3),h):0)}}function Oe(){const e=this;let t,n,r,s,i=0,o=0,c=0,f=0,a=0,l=0,u=0,w=0,h=0,d=0;function p(e,t,n,r,s,i,o,c){let f,a,l,u,w,h,d,p,y,m,b,g,k,v,S,z;d=c.rt,p=c.Le,w=o.ct,h=o.ft,y=o.write,m=y<o.read?o.read-y-1:o.end-y,b=Ue[e],g=Ue[t];do{for(;20>h;)p--,w|=(255&c.lt(d++))<<h,h+=8;if(f=w&b,a=n,l=r,z=3*(l+f),0!==(u=a[z]))for(;;){if(w>>=a[z+1],h-=a[z+1],0!=(16&u)){for(u&=15,k=a[z+2]+(w&Ue[u]),w>>=u,h-=u;15>h;)p--,w|=(255&c.lt(d++))<<h,h+=8;for(f=w&g,a=s,l=i,z=3*(l+f),u=a[z];;){if(w>>=a[z+1],h-=a[z+1],0!=(16&u)){for(u&=15;u>h;)p--,w|=(255&c.lt(d++))<<h,h+=8;if(v=a[z+2]+(w&Ue[u]),w>>=u,h-=u,m-=k,v>y){S=y-v;do{S+=o.end}while(0>S);if(u=o.end-S,k>u){if(k-=u,y-S>0&&u>y-S)do{o.ut[y++]=o.ut[S++]}while(0!=--u);else o.ut.set(o.ut.subarray(S,S+u),y),y+=u,S+=u,u=0;S=0}}else S=y-v,y-S>0&&2>y-S?(o.ut[y++]=o.ut[S++],o.ut[y++]=o.ut[S++],k-=2):(o.ut.set(o.ut.subarray(S,S+2),y),y+=2,S+=2,k-=2);if(y-S>0&&k>y-S)do{o.ut[y++]=o.ut[S++]}while(0!=--k);else o.ut.set(o.ut.subarray(S,S+k),y),y+=k,S+=k,k=0;break}if(0!=(64&u))return c.Oe="invalid distance code",k=c.Le-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ct=w,o.ft=h,c.Le=p,c.Ge+=d-c.rt,c.rt=d,o.write=y,-3;f+=a[z+2],f+=w&Ue[u],z=3*(l+f),u=a[z]}break}if(0!=(64&u))return 0!=(32&u)?(k=c.Le-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ct=w,o.ft=h,c.Le=p,c.Ge+=d-c.rt,c.rt=d,o.write=y,1):(c.Oe="invalid literal/length code",k=c.Le-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ct=w,o.ft=h,c.Le=p,c.Ge+=d-c.rt,c.rt=d,o.write=y,-3);if(f+=a[z+2],f+=w&Ue[u],z=3*(l+f),0===(u=a[z])){w>>=a[z+1],h-=a[z+1],o.ut[y++]=a[z+2],m--;break}}else w>>=a[z+1],h-=a[z+1],o.ut[y++]=a[z+2],m--}while(m>=258&&p>=10);return k=c.Le-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ct=w,o.ft=h,c.Le=p,c.Ge+=d-c.rt,c.rt=d,o.write=y,0}e.init=(e,i,o,c,f,a)=>{t=0,u=e,w=i,r=o,h=c,s=f,d=a,n=null},e.wt=(e,y,m)=>{let b,g,k,v,S,z,_,C=0,I=0,x=0;for(x=y.rt,v=y.Le,C=e.ct,I=e.ft,S=e.write,z=S<e.read?e.read-S-1:e.end-S;;)switch(t){case 0:if(z>=258&&v>=10&&(e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,m=p(u,w,r,h,s,d,e,y),x=y.rt,v=y.Le,C=e.ct,I=e.ft,S=e.write,z=S<e.read?e.read-S-1:e.end-S,0!=m)){t=1==m?7:9;break}c=u,n=r,o=h,t=1;case 1:for(b=c;b>I;){if(0===v)return e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);m=0,v--,C|=(255&y.lt(x++))<<I,I+=8}if(g=3*(o+(C&Ue[b])),C>>>=n[g+1],I-=n[g+1],k=n[g],0===k){f=n[g+2],t=6;break}if(0!=(16&k)){a=15&k,i=n[g+2],t=2;break}if(0==(64&k)){c=k,o=g/3+n[g+2];break}if(0!=(32&k)){t=7;break}return t=9,y.Oe="invalid literal/length code",m=-3,e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);case 2:for(b=a;b>I;){if(0===v)return e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);m=0,v--,C|=(255&y.lt(x++))<<I,I+=8}i+=C&Ue[b],C>>=b,I-=b,c=w,n=s,o=d,t=3;case 3:for(b=c;b>I;){if(0===v)return e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);m=0,v--,C|=(255&y.lt(x++))<<I,I+=8}if(g=3*(o+(C&Ue[b])),C>>=n[g+1],I-=n[g+1],k=n[g],0!=(16&k)){a=15&k,l=n[g+2],t=4;break}if(0==(64&k)){c=k,o=g/3+n[g+2];break}return t=9,y.Oe="invalid distance code",m=-3,e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);case 4:for(b=a;b>I;){if(0===v)return e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);m=0,v--,C|=(255&y.lt(x++))<<I,I+=8}l+=C&Ue[b],C>>=b,I-=b,t=5;case 5:for(_=S-l;0>_;)_+=e.end;for(;0!==i;){if(0===z&&(S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z&&(e.write=S,m=e.ht(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z)))return e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);e.ut[S++]=e.ut[_++],z--,_==e.end&&(_=0),i--}t=0;break;case 6:if(0===z&&(S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z&&(e.write=S,m=e.ht(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z)))return e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);m=0,e.ut[S++]=f,z--,t=0;break;case 7:if(I>7&&(I-=8,v++,x--),e.write=S,m=e.ht(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,e.read!=e.write)return e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);t=8;case 8:return m=1,e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);case 9:return m=-3,e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m);default:return m=-2,e.ct=C,e.ft=I,y.Le=v,y.Ge+=x-y.rt,y.rt=x,e.write=S,e.ht(y,m)}},e.dt=()=>{}}Fe.yt=(e,t,n,r)=>(e[0]=9,t[0]=5,n[0]=Ne,r[0]=Te,0);const qe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function Ge(e,t){const n=this;let r,s=0,o=0,c=0,a=0;const l=[0],u=[0],w=new Oe;let h=0,d=new f(4320);const p=new Fe;n.ft=0,n.ct=0,n.ut=new i(t),n.end=t,n.read=0,n.write=0,n.reset=(e,t)=>{t&&(t[0]=0),6==s&&w.dt(e),s=0,n.ft=0,n.ct=0,n.read=n.write=0},n.reset(e,null),n.ht=(e,t)=>{let r,s,i;return s=e.st,i=n.read,r=(i>n.write?n.end:n.write)-i,r>e.nt&&(r=e.nt),0!==r&&-5==t&&(t=0),e.nt-=r,e.Je+=r,e.et.set(n.ut.subarray(i,i+r),s),s+=r,i+=r,i==n.end&&(i=0,n.write==n.end&&(n.write=0),r=n.write-i,r>e.nt&&(r=e.nt),0!==r&&-5==t&&(t=0),e.nt-=r,e.Je+=r,e.et.set(n.ut.subarray(i,i+r),s),s+=r,i+=r),e.st=s,n.read=i,t},n.wt=(e,t)=>{let i,f,y,m,b,g,k,v;for(m=e.rt,b=e.Le,f=n.ct,y=n.ft,g=n.write,k=g<n.read?n.read-g-1:n.end-g;;){let S,z,_,C,I,x,A,D;switch(s){case 0:for(;3>y;){if(0===b)return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);t=0,b--,f|=(255&e.lt(m++))<<y,y+=8}switch(i=7&f,h=1&i,i>>>1){case 0:f>>>=3,y-=3,i=7&y,f>>>=i,y-=i,s=1;break;case 1:S=[],z=[],_=[[]],C=[[]],Fe.yt(S,z,_,C),w.init(S[0],z[0],_[0],0,C[0],0),f>>>=3,y-=3,s=6;break;case 2:f>>>=3,y-=3,s=3;break;case 3:return f>>>=3,y-=3,s=9,e.Oe="invalid block type",t=-3,n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t)}break;case 1:for(;32>y;){if(0===b)return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);t=0,b--,f|=(255&e.lt(m++))<<y,y+=8}if((~f>>>16&65535)!=(65535&f))return s=9,e.Oe="invalid stored block lengths",t=-3,n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);o=65535&f,f=y=0,s=0!==o?2:0!==h?7:0;break;case 2:if(0===b)return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);if(0===k&&(g==n.end&&0!==n.read&&(g=0,k=g<n.read?n.read-g-1:n.end-g),0===k&&(n.write=g,t=n.ht(e,t),g=n.write,k=g<n.read?n.read-g-1:n.end-g,g==n.end&&0!==n.read&&(g=0,k=g<n.read?n.read-g-1:n.end-g),0===k)))return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);if(t=0,i=o,i>b&&(i=b),i>k&&(i=k),n.ut.set(e.je(m,i),g),m+=i,b-=i,g+=i,k-=i,0!=(o-=i))break;s=0!==h?7:0;break;case 3:for(;14>y;){if(0===b)return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);t=0,b--,f|=(255&e.lt(m++))<<y,y+=8}if(c=i=16383&f,(31&i)>29||(i>>5&31)>29)return s=9,e.Oe="too many length or distance symbols",t=-3,n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);if(i=258+(31&i)+(i>>5&31),!r||r.length<i)r=[];else for(v=0;i>v;v++)r[v]=0;f>>>=14,y-=14,a=0,s=4;case 4:for(;4+(c>>>10)>a;){for(;3>y;){if(0===b)return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);t=0,b--,f|=(255&e.lt(m++))<<y,y+=8}r[qe[a++]]=7&f,f>>>=3,y-=3}for(;19>a;)r[qe[a++]]=0;if(l[0]=7,i=p.it(r,l,u,d,e),0!=i)return-3==(t=i)&&(r=null,s=9),n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);a=0,s=5;case 5:for(;i=c,258+(31&i)+(i>>5&31)>a;){let o,w;for(i=l[0];i>y;){if(0===b)return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);t=0,b--,f|=(255&e.lt(m++))<<y,y+=8}if(i=d[3*(u[0]+(f&Ue[i]))+1],w=d[3*(u[0]+(f&Ue[i]))+2],16>w)f>>>=i,y-=i,r[a++]=w;else{for(v=18==w?7:w-14,o=18==w?11:3;i+v>y;){if(0===b)return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);t=0,b--,f|=(255&e.lt(m++))<<y,y+=8}if(f>>>=i,y-=i,o+=f&Ue[v],f>>>=v,y-=v,v=a,i=c,v+o>258+(31&i)+(i>>5&31)||16==w&&1>v)return r=null,s=9,e.Oe="invalid bit length repeat",t=-3,n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);w=16==w?r[v-1]:0;do{r[v++]=w}while(0!=--o);a=v}}if(u[0]=-1,I=[],x=[],A=[],D=[],I[0]=9,x[0]=6,i=c,i=p.ot(257+(31&i),1+(i>>5&31),r,I,x,A,D,d,e),0!=i)return-3==i&&(r=null,s=9),t=i,n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);w.init(I[0],x[0],d,A[0],d,D[0]),s=6;case 6:if(n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,1!=(t=w.wt(n,e,t)))return n.ht(e,t);if(t=0,w.dt(e),m=e.rt,b=e.Le,f=n.ct,y=n.ft,g=n.write,k=g<n.read?n.read-g-1:n.end-g,0===h){s=0;break}s=7;case 7:if(n.write=g,t=n.ht(e,t),g=n.write,k=g<n.read?n.read-g-1:n.end-g,n.read!=n.write)return n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);s=8;case 8:return t=1,n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);case 9:return t=-3,n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t);default:return t=-2,n.ct=f,n.ft=y,e.Le=b,e.Ge+=m-e.rt,e.rt=m,n.write=g,n.ht(e,t)}}},n.dt=e=>{n.reset(e,null),n.ut=null,d=null},n.bt=(e,t,r)=>{n.ut.set(e.subarray(t,t+r),0),n.read=n.write=r},n.gt=()=>1==s?1:0}const Je=[0,0,255,255];function Qe(){const e=this;function t(e){return e&&e.kt?(e.Ge=e.Je=0,e.Oe=null,e.kt.mode=7,e.kt.vt.reset(e,null),0):-2}e.mode=0,e.method=0,e.St=[0],e.zt=0,e.marker=0,e._t=0,e.Ct=t=>(e.vt&&e.vt.dt(t),e.vt=null,0),e.It=(n,r)=>(n.Oe=null,e.vt=null,8>r||r>15?(e.Ct(n),-2):(e._t=r,n.kt.vt=new Ge(n,1<<r),t(n),0)),e.xt=(e,t)=>{let n,r;if(!e||!e.kt||!e.tt)return-2;const s=e.kt;for(t=4==t?-5:0,n=-5;;)switch(s.mode){case 0:if(0===e.Le)return n;if(n=t,e.Le--,e.Ge++,8!=(15&(s.method=e.lt(e.rt++)))){s.mode=13,e.Oe="unknown compression method",s.marker=5;break}if(8+(s.method>>4)>s._t){s.mode=13,e.Oe="invalid win size",s.marker=5;break}s.mode=1;case 1:if(0===e.Le)return n;if(n=t,e.Le--,e.Ge++,r=255&e.lt(e.rt++),((s.method<<8)+r)%31!=0){s.mode=13,e.Oe="incorrect header check",s.marker=5;break}if(0==(32&r)){s.mode=7;break}s.mode=2;case 2:if(0===e.Le)return n;n=t,e.Le--,e.Ge++,s.zt=(255&e.lt(e.rt++))<<24&4278190080,s.mode=3;case 3:if(0===e.Le)return n;n=t,e.Le--,e.Ge++,s.zt+=(255&e.lt(e.rt++))<<16&16711680,s.mode=4;case 4:if(0===e.Le)return n;n=t,e.Le--,e.Ge++,s.zt+=(255&e.lt(e.rt++))<<8&65280,s.mode=5;case 5:return 0===e.Le?n:(n=t,e.Le--,e.Ge++,s.zt+=255&e.lt(e.rt++),s.mode=6,2);case 6:return s.mode=13,e.Oe="need dictionary",s.marker=0,-2;case 7:if(n=s.vt.wt(e,n),-3==n){s.mode=13,s.marker=0;break}if(0==n&&(n=t),1!=n)return n;n=t,s.vt.reset(e,s.St),s.mode=12;case 12:return e.Le=0,1;case 13:return-3;default:return-2}},e.At=(e,t,n)=>{let r=0,s=n;if(!e||!e.kt||6!=e.kt.mode)return-2;const i=e.kt;return s<1<<i._t||(s=(1<<i._t)-1,r=n-s),i.vt.bt(t,r,s),i.mode=7,0},e.Dt=e=>{let n,r,s,i,o;if(!e||!e.kt)return-2;const c=e.kt;if(13!=c.mode&&(c.mode=13,c.marker=0),0===(n=e.Le))return-5;for(r=e.rt,s=c.marker;0!==n&&4>s;)e.lt(r)==Je[s]?s++:s=0!==e.lt(r)?0:4-s,r++,n--;return e.Ge+=r-e.rt,e.rt=r,e.Le=n,c.marker=s,4!=s?-3:(i=e.Ge,o=e.Je,t(e),e.Ge=i,e.Je=o,c.mode=7,0)},e.Vt=e=>e&&e.kt&&e.kt.vt?e.kt.vt.gt():-2}function Xe(){}function Ye(e){const t=new Xe,n=e&&e.chunkSize?r.floor(2*e.chunkSize):131072,o=new i(n);let c=!1;t.It(),t.et=o,this.append=(e,r)=>{const f=[];let a,l,u=0,w=0,h=0;if(0!==e.length){t.rt=0,t.tt=e,t.Le=e.length;do{if(t.st=0,t.nt=n,0!==t.Le||c||(t.rt=0,c=!0),a=t.xt(0),c&&-5===a){if(0!==t.Le)throw new s("inflating: bad input")}else if(0!==a&&1!==a)throw new s("inflating: "+t.Oe);if((c||1===a)&&t.Le===e.length)throw new s("inflating: bad input");t.st&&(t.st===n?f.push(new i(o)):f.push(o.slice(0,t.st))),h+=t.st,r&&t.rt>0&&t.rt!=u&&(r(t.rt),u=t.rt)}while(t.Le>0||0===t.nt);return f.length>1?(l=new i(h),f.forEach((e=>{l.set(e,w),w+=e.length}))):l=f[0]||new i,l}},this.flush=()=>{t.Ct()}}Xe.prototype={It(e){const t=this;return t.kt=new Qe,e||(e=15),t.kt.It(t,e)},xt(e){const t=this;return t.kt?t.kt.xt(t,e):-2},Ct(){const e=this;if(!e.kt)return-2;const t=e.kt.Ct(e);return e.kt=null,t},Dt(){const e=this;return e.kt?e.kt.Dt(e):-2},At(e,t){const n=this;return n.kt?n.kt.At(n,e,t):-2},lt(e){return this.tt[e]},je(e,t){return this.tt.subarray(e,e+t)}},self.initCodec=()=>{self.Deflate=Pe,self.Inflate=Ye};\n'],{type:"text/javascript"}))};e({workerScripts:{inflate:[t],deflate:[t]}})}function Sa(e){var t,n,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length?arguments[2]:void 0;return{Deflate:Ea(e.Deflate,t.deflate,n),Inflate:Ea(e.Inflate,t.inflate,n)}}function Ea(r,a,o){return function(){function n(e){var i,t;w(this,n),i=this,t=function e(t){var n,r;i.pendingData?(n=i.pendingData,i.pendingData=new Uint8Array(n.length+t.length),(r=i.pendingData).set(n,0),r.set(t,n.length)):i.pendingData=new Uint8Array(t)},Object.hasOwn(e,"level")&&void 0===e.level&&delete e.level,i.codec=new r(Object.assign({},a,e)),o(i.codec,t)}return s(n,[{key:"append",value:function e(t){return this.codec.push(t),i(this)}},{key:"flush",value:function e(){return this.codec.push(new Uint8Array,!0),i(this)}}]),n}();function i(e){var t;return e.pendingData?(t=e.pendingData,e.pendingData=null,t):new Uint8Array}}
|
203
|
+
/*
|
204
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
205
|
+
|
206
|
+
Redistribution and use in source and binary forms, with or without
|
207
|
+
modification, are permitted provided that the following conditions are met:
|
208
|
+
|
209
|
+
1. Redistributions of source code must retain the above copyright notice,
|
210
|
+
this list of conditions and the following disclaimer.
|
211
|
+
|
212
|
+
2. Redistributions in binary form must reproduce the above copyright
|
213
|
+
notice, this list of conditions and the following disclaimer in
|
214
|
+
the documentation and/or other materials provided with the distribution.
|
215
|
+
|
216
|
+
3. The names of the authors may not be used to endorse or promote products
|
217
|
+
derived from this software without specific prior written permission.
|
218
|
+
|
219
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
220
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
221
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
222
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
223
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
224
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
225
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
226
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
227
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
228
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
229
|
+
*/function ja(e,t,n){var r=n,i=r.preventHeadRequest,a=r.useRangeHeader,r=r.forceRangeRequests;delete(n=Object.assign({},n)).preventHeadRequest,delete n.useRangeHeader,delete n.forceRangeRequests,delete n.useXHR,Object.assign(e,{url:t,options:n,preventHeadRequest:i,useRangeHeader:a,forceRangeRequests:r})}function _a(e,t,n){return Da.apply(this,arguments)}function Da(){return(Da=_(ee().mark(function e(n,r,i){var a,o,s,a,f,c,o,u,u;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(a=n.url,o=n.useRangeHeader,s=n.forceRangeRequests,Za(a)&&(o||s))return t.next=4,r(_r,n,Ta(n));t.next=20;break;case 4:if(a=t.sent,f=a.headers,s||f.get(Ar)==Dr){t.next=10;break}throw new Error(gr);case 10:if(o=f.get(Fr),(c=o&&(u=o.trim().split(/\s*\/\s*/)).length&&(u=u[1])&&"*"!=u?Number(u):c)===L)return t.next=15,Ga(n,r,i);t.next=17;break;case 15:t.next=18;break;case 17:n.size=c;case 18:t.next=22;break;case 20:return t.next=22,Ga(n,r,i);case 22:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Ra(e,t,n,r,i){return Oa.apply(this,arguments)}function Oa(){return(Oa=_(ee().mark(function e(n,r,i,a,o){var s,f,c,u,l;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(s=n.useRangeHeader,f=n.forceRangeRequests,c=n.options,s||f)return t.next=4,a(_r,n,Ta(n,r,i));t.next=14;break;case 4:if(206!=(u=t.sent).status)throw new Error(gr);t.next=7;break;case 7:return t.t0=Uint8Array,t.next=10,u.arrayBuffer();case 10:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 14:if(l=n.data){t.next=18;break}return t.next=18,o(n,c);case 18:return t.abrupt("return",new Uint8Array(n.data.subarray(r,r+i)));case 19:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Ta(e,t,n){var t,n,t=1<arguments.length&&void 0!==t?t:0,n=2<arguments.length&&void 0!==n?n:1;return Object.assign({},za(e),Qi({},Sr,Dr+"="+t+"-"+(t+n-1)))}function za(e){var t,e,t,e=e.options.headers;if(e)return Symbol.iterator in e?Object.fromEntries(e):e}function Ba(e){return Ma.apply(this,arguments)}function Ma(){return(Ma=_(ee().mark(function e(n){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ua(n,Wa);case 2:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Na(e){return Pa.apply(this,arguments)}function Pa(){return(Pa=_(ee().mark(function e(n){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ua(n,Ha);case 2:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Ua(e,t){return La.apply(this,arguments)}function La(){return(La=_(ee().mark(function e(n,r){var i;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r(_r,n,za(n));case 2:return i=t.sent,t.t0=Uint8Array,t.next=6,i.arrayBuffer();case 6:t.t1=t.sent,n.data=new t.t0(t.t1),n.size||(n.size=n.data.length);case 9:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Ga(e,t,n){return qa.apply(this,arguments)}function qa(){return(qa=_(ee().mark(function e(n,r,i){var a,a;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(n.preventHeadRequest)return t.next=3,i(n,n.options);t.next=5;break;case 3:t.next=15;break;case 5:return t.next=7,r(jr,n,za(n));case 7:a=t.sent,(a=a.headers.get(Cr))?(n.size=Number(a),t.next=15):t.next=13;break;case 13:return t.next=15,i(n,n.options);case 15:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Wa(e,t,n){return Va.apply(this,arguments)}function Va(){return(Va=_(ee().mark(function e(n,r,i){var a,o,s;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return a=r.options,o=r.url,t.next=3,fetch(o,Object.assign({},a,{method:n,headers:i}));case 3:if((s=t.sent).status<400)return t.abrupt("return",s);t.next=8;break;case 8:throw 416==s.status?new Error(gr):new Error(xr+(s.statusText||s.status));case 9:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Ha(o,e,s){var f=e.url;return new Promise(function(e,n){var r,t,i,a,r=new XMLHttpRequest;if(r.addEventListener("load",function(){var t;r.status<400?(t=[],r.getAllResponseHeaders().trim().split(/[\r\n]+/).forEach(function(e){var e=e.trim().split(/\s*:\s*/);e[0]=e[0].trim().replace(/^[a-z]|-[a-z]/g,function(e){return e.toUpperCase()}),t.push(e)}),e({status:r.status,arrayBuffer:function e(){return r.response},headers:new Map(t)})):n(416==r.status?new Error(gr):new Error(xr+(r.statusText||r.status)))},!1),r.addEventListener("error",function(e){return n(e.detail.error)},!1),r.open(o,f),s)for(t=0,i=Object.entries(s);t<i.length;t++)a=i[t],r.setRequestHeader(a[0],a[1]);r.responseType="arraybuffer",r.send()})}function Za(e){var t,n,r,e,t,n=l.baseURL,r,e=new URL(e,n).protocol;return"http:"==e||"https:"==e}function Ka(e,t){return Xa.apply(this,arguments)}function Xa(){return(Xa=_(ee().mark(function e(n,r){return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(n.init&&!n.initialized)return t.next=3,n.init(r);t.next=3;break;case 3:case"end":return t.stop()}},e)}))).apply(this,arguments)}function Ja(e){return e=(e=Array.isArray(e)?new qr(e):e)instanceof ReadableStream?{readable:e}:e}function Ya(e){var t,n,r;return(n=(e=(e=e.writable===L&&Xi(e.next)==un?new Wr(e):e)instanceof WritableStream?{writable:e}:e).writable).size===L&&(n.size=0),(r=e instanceof Wr)||Object.assign(e,{diskNumber:0,diskOffset:0,availableSize:1/0,maxSize:1/0}),e}function M(e,t,n,r){return e.readUint8Array(t,n,r)}function $a(e){var t,n;
|
230
|
+
/*
|
231
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
232
|
+
|
233
|
+
Redistribution and use in source and binary forms, with or without
|
234
|
+
modification, are permitted provided that the following conditions are met:
|
235
|
+
|
236
|
+
1. Redistributions of source code must retain the above copyright notice,
|
237
|
+
this list of conditions and the following disclaimer.
|
238
|
+
|
239
|
+
2. Redistributions in binary form must reproduce the above copyright
|
240
|
+
notice, this list of conditions and the following disclaimer in
|
241
|
+
the documentation and/or other materials provided with the distribution.
|
242
|
+
|
243
|
+
3. The names of the authors may not be used to endorse or promote products
|
244
|
+
derived from this software without specific prior written permission.
|
245
|
+
|
246
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
247
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
248
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
249
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
250
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
251
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
252
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
253
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
254
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
255
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
256
|
+
*/if(Zr){for(t="",n=0;n<e.length;n++)t+=Hr[e[n]];return t}return(new TextDecoder).decode(e)}function Qa(e,t){return t&&"cp437"==t.trim().toLowerCase()?$a(e):new TextDecoder(t).decode(e)}
|
257
|
+
/*
|
258
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
259
|
+
|
260
|
+
Redistribution and use in source and binary forms, with or without
|
261
|
+
modification, are permitted provided that the following conditions are met:
|
262
|
+
|
263
|
+
1. Redistributions of source code must retain the above copyright notice,
|
264
|
+
this list of conditions and the following disclaimer.
|
265
|
+
|
266
|
+
2. Redistributions in binary form must reproduce the above copyright
|
267
|
+
notice, this list of conditions and the following disclaimer in
|
268
|
+
the documentation and/or other materials provided with the distribution.
|
269
|
+
|
270
|
+
3. The names of the authors may not be used to endorse or promote products
|
271
|
+
derived from this software without specific prior written permission.
|
272
|
+
|
273
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
274
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
275
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
276
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
277
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
278
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
279
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
280
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
281
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
282
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
283
|
+
*/function e1(e,t,n){var r,i,a,r=e.rawBitFlag=N(t,n+2),i=(r&$t)==$t,a=P(t,n+6);Object.assign(e,{encrypted:i,version:N(t,n),bitFlag:{level:(6&r)>>1,dataDescriptor:(r&en)==en,languageEncodingFlag:(r&tn)==tn},rawLastModDate:a,lastModDate:d1(a),filenameLength:N(t,n+22),extraFieldLength:N(t,n+24)})}function t1(e,t,n,r){return n1.apply(this,arguments)}function n1(){return(n1=_(ee().mark(function e(n,r,i,a){var o,s,f,c,u,l,d,h,h,m,p,p,p;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:o=r.rawExtraField,s=r.extraField=new Map,f=U(new Uint8Array(o)),c=0;try{for(;c<o.length;)u=N(f,c),l=N(f,c+2),s.set(u,{type:u,data:o.slice(c+4,c+4+l)}),c+=4+l}catch(e){}if(d=N(i,a+4),Object.assign(r,{signature:P(i,a+10),uncompressedSize:P(i,a+18),compressedSize:P(i,a+14)}),(h=s.get(Vt))&&(r1(h,r),r.extraFieldZip64=h),h=s.get(Jt))return t.next=13,i1(h,Kr,Xr,r,n);t.next=14;break;case 13:r.extraFieldUnicodePath=h;case 14:if(m=s.get(Yt))return t.next=18,i1(m,Jr,Yr,r,n);t.next=19;break;case 18:r.extraFieldUnicodeComment=m;case 19:(p=s.get(Ht))?(o1(p,r,d),r.extraFieldAES=p):r.compressionMethod=d,(p=s.get(Zt))&&(s1(p,r),r.extraFieldNTFS=p),(p=s.get(Xt))&&(f1(p,r),r.extraFieldExtendedTimestamp=p);case 25:case"end":return t.stop()}},e)}))).apply(this,arguments)}function r1(e,n){var t,r,i,a,o,s,o,o;for(n.zip64=!0,t=U(e.data),r=Si.filter(function(e){var e=a0(e,2),t=e[0],e=e[1];return n[t]==e}),a=i=0;i<r.length;i++)if(s=(o=a0(r[i],2))[0],o=o[1],n[s]==o)o=Ei[o],n[s]=e[s]=o.getValue(t,a),a+=o.bytes;else if(e[s])throw new Error(xi)}function i1(e,t,n,r,i){return a1.apply(this,arguments)}function a1(){return(a1=_(ee().mark(function e(n,r,i,a,o){var s,f,s,c;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return f=U(n.data),(s=new xn).append(o[i]),(c=U(new Uint8Array(4))).setUint32(0,s.get(),!0),t.t0=Object,t.t1=n,s={version:m1(f,0),signature:P(f,1)},t.t2=Qi,t.t3=s,t.t4=r,t.next=13,Qa(n.data.subarray(5));case 13:t.t5=t.sent,(0,t.t2)(t.t3,t.t4,t.t5),Qi(s,"valid",!o.bitFlag.languageEncodingFlag&&n.signature==P(c,0)),t.t6=s,t.t0.assign.call(t.t0,t.t1,t.t6),n.valid&&(a[r]=n[r],a[r+"UTF8"]=!0);case 19:case"end":return t.stop()}},e)}))).apply(this,arguments)}function o1(e,t,n){var r,i,r=U(e.data),i=m1(r,4);Object.assign(e,{vendorVersion:m1(r,0),vendorId:m1(r,2),strength:i,originalCompressionMethod:n,compressionMethod:N(r,5)}),t.compressionMethod=e.compressionMethod}function s1(e,t){var n,r,i,a,o,s,f,c,u,l,d,h,m,n=U(e.data),r=4;try{for(;r<e.data.length&&!i;)a=N(n,r),o=N(n,r+2),a==Kt&&(i=e.data.slice(r+4,r+4+o)),r+=4+o}catch(e){}try{i&&24==i.length&&(f=(s=U(i)).getBigUint64(0,!0),c=s.getBigUint64(8,!0),u=s.getBigUint64(16,!0),Object.assign(e,{rawLastModDate:f,rawLastAccessDate:c,rawCreationDate:u}),m={lastModDate:l=h1(f),lastAccessDate:d=h1(c),creationDate:h=h1(u)},Object.assign(e,m),Object.assign(t,m))}catch(e){}}function f1(i,a){var o,e,t,s,f,o=U(i.data),e=m1(o,0),t=[],s=[];1==(1&e)&&(t.push(ni),s.push(ri)),2==(2&e)&&(t.push(ii),s.push(ai)),4==(4&e)&&(t.push(oi),s.push(si)),f=1,t.forEach(function(e,t){var n,r;i.data.length>=f+4&&(n=P(o,f),a[e]=i[e]=new Date(1e3*n),i[r=s[t]]=n),f+=4})}function c1(e,t,n,r,i){return u1.apply(this,arguments)}function u1(){return(u1=_(ee().mark(function e(o,n,s,f,r){var c,i,a,u,l;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return l=function e(){return(l=_(ee().mark(function e(n){var r,i,a;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return r=s-n,t.next=3,M(o,r,n);case 3:i=t.sent,a=i.length-f;case 5:if(0<=a){if(i[a]==c[0]&&i[a+1]==c[1]&&i[a+2]==c[2]&&i[a+3]==c[3])return t.abrupt("return",{offset:r+a,buffer:i.slice(a,a+f).buffer});t.next=8}else t.next=11;break;case 8:a--,t.next=5;break;case 11:case"end":return t.stop()}},e)}))).apply(this,arguments)},u=function e(t){return l.apply(this,arguments)},c=new Uint8Array(4),v1(i=U(c),0,n),a=f+r,t.next=8,u(f);case 8:if(t.t0=t.sent,t.t0){t.next=13;break}return t.next=12,u(Math.min(a,s));case 12:t.t0=t.sent;case 13:return t.abrupt("return",t.t0);case 14:case"end":return t.stop()}},e)}))).apply(this,arguments)}function l1(e,t,n){return(t[n]===L?e.options:t)[n]}function d1(e){var t=(4294901760&e)>>16,e=65535&e;try{return new Date(1980+((65024&t)>>9),((480&t)>>5)-1,31&t,(63488&e)>>11,(2016&e)>>5,2*(31&e),0)}catch(e){}}function h1(e){return new Date(Number(e/BigInt(1e4)-BigInt(116444736e5)))}function m1(e,t){return e.getUint8(t)}function N(e,t){return e.getUint16(t,!0)}function P(e,t){return e.getUint32(t,!0)}function p1(e,t){return Number(e.getBigUint64(t,!0))}function v1(e,t,n){e.setUint32(t,n,!0)}function U(e){return new DataView(e.buffer)}function b1(e,t,n,r){return y1.apply(this,arguments)}function y1(){return(y1=_(ee().mark(function e(n,r,i,a){var o,s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,C,N,P,U,F,A,S,t,E,j,_,D,R,O,T,z,B,T,z,B,M;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(r=r.trim(),a.directory&&!r.endsWith(sn)?r+=sn:a.directory=r.endsWith(sn),se(o=B0(r))>Q)throw new Error(Oi);t.next=5;break;case 5:if(s=a.comment||"",se(f=B0(s))>Q)throw new Error(Ri);t.next=9;break;case 9:if(c=te(n,a,"version",rn),Q<c)throw new Error(Ti);t.next=12;break;case 12:if(u=te(n,a,"versionMadeBy",20),Q<u)throw new Error(Ti);t.next=15;break;case 15:if(l=te(n,a,ni,new Date),d=te(n,a,ii),h=te(n,a,oi),m=te(n,a,ui,!0),p=te(n,a,fi,0),v=te(n,a,ci,0),b=te(n,a,"password"),y=te(n,a,"encryptionStrength",3),w=te(n,a,"zipCrypto"),x=te(n,a,"extendedTimestamp",!0),g=te(n,a,"keepOrder",!0),k=te(n,a,"level"),I=te(n,a,"useWebWorkers"),C=te(n,a,"bufferedWrite"),N=te(n,a,"dataDescriptorSignature",!1),P=te(n,a,"signal"),U=te(n,a,"useCompressionStream"),F=te(n,a,"dataDescriptor",!0),A=te(n,a,li),b!==L&&y!==L&&(y<1||3<y))throw new Error(zi);t.next=36;break;case 36:if(S=new Uint8Array,(E=a.extraField)&&(_=j=0,E.forEach(function(e){return j+=4+se(e)}),S=new Uint8Array(j),E.forEach(function(e,t){if(Q<t)throw new Error(Bi);if(se(e)>Q)throw new Error(Mi);ae(S,new Uint16Array([t]),_),ae(S,new Uint16Array([se(e)]),_+2),ae(S,e,_+4),_+=4+se(e)})),O=R=D=0,i)return i=Ja(i),t.next=46,Ka(i);t.next=47;break;case 46:i.size===L?(F=!0,!A&&A!==L||(A=!0,D=$)):(O=i.size,D=z1(O));case 47:if(T=n.writer,z=T.diskOffset,B=T.diskNumber,T=T.maxSize,!(n.offset+n.pendingEntriesSize-z>=$||$<=O||$<=D||B+Math.ceil(n.pendingEntriesSize/T)>=Q)){t.next=54;break}if(!1!==A&&g){t.next=53;break}throw new Error(Ni);case 53:A=!0;case 54:return A=A||!1,a=Object.assign({},a,{rawFilename:o,rawComment:f,version:c,versionMadeBy:u,lastModDate:l,lastAccessDate:d,creationDate:h,rawExtraField:S,zip64:A,password:b,level:k,useWebWorkers:I,encryptionStrength:y,extendedTimestamp:x,zipCrypto:w,bufferedWrite:C,keepOrder:g,dataDescriptor:F,dataDescriptorSignature:N,signal:P,msDosCompatible:m,internalFileAttribute:p,externalFileAttribute:v,useCompressionStream:U}),z=I1(a),B=C1(a),R=se(z.localHeaderArray,B.dataDescriptorArray)+D,n.pendingEntriesSize+=R,t.prev=60,t.next=63,w1(n,r,i,{headerInfo:z,dataDescriptorInfo:B},a);case 63:M=t.sent;case 64:return t.prev=64,n.pendingEntriesSize-=R,t.finish(64);case 67:return Object.assign(M,{name:r,comment:s,extraField:E}),t.abrupt("return",new hi(M));case 69:case"end":return t.stop()}},e,null,[[60,,64,67]])}))).apply(this,arguments)}function w1(e,t,n,r,i){return x1.apply(this,arguments)}function x1(){return(x1=_(ee().mark(function e(r,n,i,a,o){var s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,c,C,F,A,S,E,j;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(j=function e(){return(j=_(ee().mark(function e(){var n;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.lockWriter)return t.next=4,n.then(function(){return delete r.lockWriter});t.next=7;break;case 4:return t.abrupt("return",E());case 7:r.lockWriter=new Promise(function(e){return p=e});case 8:case"end":return t.stop()}},e)}))).apply(this,arguments)},E=function e(){return j.apply(this,arguments)},S=function e(){r.lockWriter=Promise.resolve(),p=function e(){return delete r.lockWriter}},A=function e(){h.lock=new Promise(function(e){return v=e})},s=r.files,f=r.writer,c=o.keepOrder,u=o.dataDescriptor,l=o.signal,d=Array.from(s.values()).pop(),h={},s.set(n,h),t.prev=9,c&&(x=d&&d.lock,A()),o.bufferedWrite||r.lockWriter||!u)return(w=new zr).writable.size=0,m=!0,t.next=17,Ka(f);t.next=19;break;case 17:t.next=21;break;case 19:w=f,S();case 21:return t.next=23,Ka(w);case 23:if(g=f.writable,k=f.diskNumber,I=f.diskOffset,r.addSplitZipSignature)return delete r.addSplitZipSignature,c=new Uint8Array(4),re(C=oe(c),0,zt),t.next=32,R1(g,c);t.next=33;break;case 32:r.offset+=4;case 33:if(m){t.next=36;break}return t.next=36,x;case 36:return y=!0,h.diskNumberStart=k,t.next=40,g1(i,w,h,a,r.config,o);case 40:if(h=t.sent,y=!1,s.set(n,h),h.filename=n,m)return t.next=47,w.writable.close();t.next=65;break;case 47:return t.next=49,w.getData();case 49:return F=t.sent,t.next=52,x;case 52:return t.next=54,E();case 54:if(b=!0,u){t.next=59;break}return t.next=58,A1(h,F,g,o);case 58:F=t.sent;case 59:return h.diskNumberStart=f.diskNumber,I=f.diskOffset,t.next=63,F.stream().pipeTo(g,{preventClose:!0,signal:l});case 63:g.size+=F.size,b=!1;case 65:h.offset=r.offset-I,h.zip64?(E1(h),t.next=72):t.next=70;break;case 70:if(h.offset>=$)throw new Error(Ni);t.next=72;break;case 72:return r.offset+=h.length,t.abrupt("return",h);case 76:throw t.prev=76,t.t0=t.catch(9),(m&&b||!m&&y)&&(r.hasCorruptedEntries=!0,t.t0&&(t.t0.corruptedEntry=!0),m?r.offset+=w.writable.size:r.offset=w.writable.size),s.delete(n),t.t0;case 81:return t.prev=81,v&&v(),p&&p(),t.finish(81);case 85:case"end":return t.stop()}},e,null,[[9,76,81,85]])}))).apply(this,arguments)}function g1(e,t,n,r,i,a){return k1.apply(this,arguments)}function k1(){return(k1=_(ee().mark(function e(n,N,r,i,a,o){var s,f,c,u,l,d,h,m,p,v,b,y,w,x,g,k,I,C,F,A,S,E,j,_,D,R,O,T,P,U,L,G,q,W,V,H,Z,K,X,f,R,D,z,I,B,O,w,x,M;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.diskNumberStart,f=r.lock,c=i.headerInfo,u=i.dataDescriptorInfo,l=c.localHeaderArray,d=c.headerArray,h=c.lastModDate,m=c.rawLastModDate,p=c.encrypted,v=c.compressed,b=c.version,y=c.compressionMethod,w=c.rawExtraFieldExtendedTimestamp,x=c.rawExtraFieldNTFS,g=c.rawExtraFieldAES,k=u.dataDescriptorArray,I=o.rawFilename,C=o.lastAccessDate,F=o.creationDate,A=o.password,S=o.level,E=o.zip64,j=o.zipCrypto,_=o.dataDescriptor,D=o.directory,R=o.versionMadeBy,O=o.rawComment,T=o.rawExtraField,P=o.useWebWorkers,U=o.onstart,L=o.onprogress,G=o.onend,q=o.signal,W=o.encryptionStrength,V=o.extendedTimestamp,H=o.msDosCompatible,Z=o.internalFileAttribute,K=o.externalFileAttribute,X=o.useCompressionStream,f={lock:f,versionMadeBy:R,zip64:E,directory:Boolean(D),filenameUTF8:!0,rawFilename:I,commentUTF8:!0,rawComment:O,rawExtraFieldExtendedTimestamp:w,rawExtraFieldNTFS:x,rawExtraFieldAES:g,rawExtraField:T,extendedTimestamp:V,msDosCompatible:H,internalFileAttribute:Z,externalFileAttribute:K,diskNumberStart:s},D=R=0,I=N.writable,n)return n.chunkSize=D0(a),t.next=13,R1(I,l);t.next=25;break;case 13:return B=n.readable,O=B.size=n.size,w={options:{codecType:cr,level:S,password:A,encryptionStrength:W,zipCrypto:p&&j,passwordVerification:p&&j&&m>>8&255,signed:!0,compressed:v,encrypted:p,useWebWorkers:P,useCompressionStream:X,transferStreams:!1},config:a,streamOptions:{signal:q,size:O,onstart:U,onprogress:L,onend:G}},t.next=18,ka({readable:B,writable:I},w);case 18:x=t.sent,I.size+=x.size,z=x.signature,D=n.size=B.size,R=x.size,t.next=27;break;case 25:return t.next=27,R1(I,l);case 27:if(M=E?new Uint8Array(Ui+4):new Uint8Array,n&&F1({signature:z,rawExtraFieldZip64:M,compressedSize:R,uncompressedSize:D,headerInfo:c,dataDescriptorInfo:u},o),_)return t.next=32,R1(I,k);t.next=32;break;case 32:return Object.assign(f,{compressedSize:R,lastModDate:h,rawLastModDate:m,creationDate:F,lastAccessDate:C,encrypted:p,length:se(l,k)+R,compressionMethod:y,version:b,headerArray:d,signature:z,rawExtraFieldZip64:M}),t.abrupt("return",f);case 34:case"end":return t.stop()}},e)}))).apply(this,arguments)}function I1(e){var t,n,r,i,a,o,s,f,c,u,l,d,h,o,u,a,m,e,p,v,e,b,y,w,d,h,e,r,y,i,w,c,s,f,x,t=e.rawFilename,n=e.lastModDate,r=e.lastAccessDate,i=e.creationDate,a=e.password,o=e.level,s=e.zip64,f=e.zipCrypto,c=e.dataDescriptor,u=e.directory,l=e.rawExtraField,d=e.encryptionStrength,h=e.extendedTimestamp,o=0!==o&&!u,u=Boolean(a&&se(a)),a=e.version;if(u&&!f?(ne(e=oe(m=new Uint8Array(se(Pi)+2)),0,Ht),ae(m,Pi,2),B1(e,8,d)):m=new Uint8Array,h){ne(e=oe(v=new Uint8Array(9+(r?4:0)+(i?4:0))),0,Xt),ne(e,2,se(v)-4),B1(e,4,b=1+(r?2:0)+(i?4:0)),re(e,5,Math.floor(n.getTime()/1e3)),r&&re(e,9,Math.floor(r.getTime()/1e3)),i&&re(e,13,Math.floor(i.getTime()/1e3));try{y=oe(p=new Uint8Array(36)),w=T1(n),ne(y,0,Zt),ne(y,2,32),ne(y,8,Kt),ne(y,10,24),ie(y,12,w),ie(y,20,T1(r)||w),ie(y,28,T1(i)||w)}catch(e){p=new Uint8Array}}else p=v=new Uint8Array;return d=tn,c&&(d|=en),h=o?Dt:Rt,s&&(a=an<a?a:an),u&&(d|=$t,f||(a=on<a?a:on,h=Ot,o&&(m[9]=Dt))),ne(r=oe(e=new Uint8Array(26)),0,a),ne(r,2,d),ne(r,4,h),ne(i=oe(y=new Uint32Array(1)),0,((w=n<cn?cn:fn<n?fn:n).getHours()<<6|w.getMinutes())<<5|w.getSeconds()/2),ne(i,2,(w.getFullYear()-1980<<4|w.getMonth()+1)<<5|w.getDate()),re(r,6,c=y[0]),ne(r,22,se(t)),ne(r,24,s=se(m,v,p,l)),re(x=oe(f=new Uint8Array(30+se(t)+s)),0,Tt),ae(f,e,4),ae(f,t,30),ae(f,m,30+se(t)),ae(f,v,30+se(t,m)),ae(f,p,30+se(t,m,v)),ae(f,l,30+se(t,m,v,p)),{localHeaderArray:f,headerArray:e,headerView:r,lastModDate:n,rawLastModDate:c,encrypted:u,compressed:o,version:a,compressionMethod:h,rawExtraFieldExtendedTimestamp:v,rawExtraFieldNTFS:p,rawExtraFieldAES:m}}function C1(e){var t,n,e,r,i,a,t=e.zip64,n=e.dataDescriptor,e=e.dataDescriptorSignature,r=new Uint8Array,a=0;return n&&(i=oe(r=new Uint8Array(t?e?24:20:e?16:12)),e)&&(a=4,re(i,0,Bt)),{dataDescriptorArray:r,dataDescriptorView:i,dataDescriptorOffset:a}}function F1(e,t){var n,r,i,a,o,e,s,o,f,e,c,u,t,o,n=e.signature,r=e.rawExtraFieldZip64,i=e.compressedSize,a=e.uncompressedSize,o=e.headerInfo,e=e.dataDescriptorInfo,s=o.headerView,o=o.encrypted,f=e.dataDescriptorView,e=e.dataDescriptorOffset,c=t.zip64,u=t.zipCrypto,t=t.dataDescriptor;o&&!u||n===L||(re(s,10,n),t&&re(f,e,n)),c?(ne(o=oe(r),0,Vt),ne(o,2,Ui),re(s,14,$),ie(o,12,BigInt(i)),re(s,18,$),ie(o,4,BigInt(a)),t&&(ie(f,e+4,BigInt(i)),ie(f,e+12,BigInt(a)))):(re(s,14,i),re(s,18,a),t&&(re(f,e+4,i),re(f,e+8,a)))}function A1(e,t,n,r){return S1.apply(this,arguments)}function S1(){return(S1=_(ee().mark(function e(n,r,i,a){var o,s,f;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return o=a.zipCrypto,t.next=3,D1(r,0,26);case 3:return s=t.sent,f=new DataView(s),n.encrypted&&!o||re(f,14,n.signature),n.zip64?(re(f,18,$),re(f,22,$)):(re(f,18,n.compressedSize),re(f,22,n.uncompressedSize)),t.next=9,R1(i,new Uint8Array(s));case 9:return t.abrupt("return",r.slice(s.byteLength));case 10:case"end":return t.stop()}},e)}))).apply(this,arguments)}function E1(e){var t,n,e,t,t=e.rawExtraFieldZip64,n=e.offset,e=e.diskNumberStart,t=oe(t);ie(t,20,BigInt(n)),re(t,28,e)}function j1(e,t,n){return _1.apply(this,arguments)}function _1(){return(_1=_(ee().mark(function e(n,r,i){var a,o,s,f,c,u,l,s,d,h,m,p,v,b,y,N,P,U,L,G,w,x,g,k,k,q,k,W,I,C,F,A,S,E,V,H,Z,j,K,X,_,D,R,J,O,D,D,T,Y,z,B,R,M;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:a=n.files,o=n.writer,s=o.diskOffset,f=o.writable,c=o.diskNumber,l=u=0,s=n.offset-s,d=a.size,h=p0(a);try{for(h.s();!(m=h.n()).done;)p=a0(m.value,2),v=p[1],b=v.rawFilename,y=v.rawExtraFieldZip64,N=v.rawExtraFieldAES,P=v.rawExtraField,U=v.rawComment,L=v.rawExtraFieldExtendedTimestamp,G=v.rawExtraFieldNTFS,l+=46+se(b,U,y,N,L,G,P)}catch(e){h.e(e)}finally{h.f()}w=new Uint8Array(l),x=oe(w),g=p0(Array.from(a.values()).entries()),t.prev=12,g.s();case 14:if((k=g.n()).done)t.next=47;else{if(k=a0(k.value,2),q=k[0],k=k[1],W=k.offset,I=k.rawFilename,C=k.rawExtraFieldZip64,F=k.rawExtraFieldAES,A=k.rawExtraFieldNTFS,S=k.rawExtraField,E=k.rawComment,V=k.versionMadeBy,H=k.headerArray,Z=k.directory,j=k.zip64,K=k.msDosCompatible,X=k.internalFileAttribute,_=k.externalFileAttribute,D=k.extendedTimestamp,R=k.lastModDate,J=k.diskNumberStart,O=void 0,D?(O=new Uint8Array(9),ne(D=oe(O),0,Xt),ne(D,2,se(O)-4),B1(D,4,1),re(D,5,Math.floor(R.getTime()/1e3))):O=new Uint8Array,D=se(C,F,O,A,S),re(x,u,Mt),ne(x,u+4,V),ae(w,H,u+6),ne(x,u+30,D),ne(x,u+32,se(E)),ne(x,u+34,j?Q:J),ne(x,u+36,X),_?re(x,u+38,_):Z&&K&&B1(x,u+38,nn),re(x,u+42,j?$:W),ae(w,I,u+46),ae(w,C,u+46+se(I)),ae(w,F,u+46+se(I,C)),ae(w,O,u+46+se(I,C,F)),ae(w,A,u+46+se(I,C,F,O)),ae(w,S,u+46+se(I,C,F,O,A)),ae(w,E,u+46+se(I)+D),u+=46+se(I,E)+D,i.onprogress)return t.prev=38,t.next=41,i.onprogress(q+1,a.size,new hi(k));t.next=45}break;case 41:t.next=45;break;case 43:t.prev=43,t.t0=t.catch(38);case 45:t.next=14;break;case 47:t.next=52;break;case 49:t.prev=49,t.t1=t.catch(12),g.e(t.t1);case 52:return t.prev=52,g.f(),t.finish(52);case 55:return t.next=57,Ka(o);case 57:return t.next=59,R1(f,w);case 59:if(T=o.diskNumber,(Y=o.availableSize)<Lt&&T++,z=te(n,i,"zip64"),$<=s||$<=l||Q<=d||Q<=T){if(!1===z)throw new Error(Ni);t.next=68}else t.next=69;break;case 68:z=!0;case 69:B=new Uint8Array(z?Wt:Lt),R=oe(B),u=0,z&&(re(R,0,Pt),ie(R,4,BigInt(44)),ne(R,12,45),ne(R,14,45),re(R,16,T),re(R,20,c),ie(R,24,BigInt(d)),ie(R,32,BigInt(d)),ie(R,40,BigInt(l)),ie(R,48,BigInt(s)),re(R,56,Ut),ie(R,64,BigInt(s)+BigInt(l)),re(R,72,T+1),d=c=Q,l=s=$,u+=qt+Gt),re(R,u,Nt),ne(R,u+4,T),ne(R,u+6,c),ne(R,u+8,d),ne(R,u+10,d),re(R,u+12,l),re(R,u+16,s),(M=se(r))?M<=Q?(ne(R,u+20,M),t.next=87):t.next=86:t.next=87;break;case 86:throw new Error(Di);case 87:return t.next=89,R1(f,B);case 89:if(M)return t.next=92,R1(f,r);t.next=92;break;case 92:case"end":return t.stop()}},e,null,[[12,49,52,55],[38,43]])}))).apply(this,arguments)}function D1(e,t,n){return(t||n?e.slice(t,n):e).arrayBuffer()}function R1(e,t){return O1.apply(this,arguments)}function O1(){return(O1=_(ee().mark(function e(n,r){var i;return ee().wrap(function e(t){for(;;)switch(t.prev=t.next){case 0:return i=n.getWriter(),t.next=3,i.ready;case 3:return n.size+=se(r),t.next=6,i.write(r);case 6:i.releaseLock();case 7:case"end":return t.stop()}},e)}))).apply(this,arguments)}function T1(e){if(e)return(BigInt(e.getTime())+BigInt(116444736e5))*BigInt(1e4)}function te(e,t,n,r){var e=(t[n]===L?e.options:t)[n];return e===L?r:e}function z1(e){return e+5*(Math.floor(e/16383)+1)}function B1(e,t,n){e.setUint8(t,n)}function ne(e,t,n){e.setUint16(t,n,!0)}function re(e,t,n){e.setUint32(t,n,!0)}function ie(e,t,n){e.setBigUint64(t,n,!0)}function ae(e,t,n){e.set(t,n)}function oe(e){return new DataView(e.buffer)}function se(){for(var t,e,n,r,t=0,e=arguments.length,n=new Array(e),r=0
|
284
|
+
/*
|
285
|
+
Copyright (c) 2022 Gildas Lormeau. All rights reserved.
|
286
|
+
|
287
|
+
Redistribution and use in source and binary forms, with or without
|
288
|
+
modification, are permitted provided that the following conditions are met:
|
289
|
+
|
290
|
+
1. Redistributions of source code must retain the above copyright notice,
|
291
|
+
this list of conditions and the following disclaimer.
|
292
|
+
|
293
|
+
2. Redistributions in binary form must reproduce the above copyright
|
294
|
+
notice, this list of conditions and the following disclaimer in
|
295
|
+
the documentation and/or other materials provided with the distribution.
|
296
|
+
|
297
|
+
3. The names of the authors may not be used to endorse or promote products
|
298
|
+
derived from this software without specific prior written permission.
|
299
|
+
|
300
|
+
THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
301
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
302
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
303
|
+
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
304
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
305
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
306
|
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
307
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
308
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
309
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
310
|
+
*/;r<e;r++)n[r]=arguments[r];return n.forEach(function(e){return e&&(t+=e.length)}),t}}.apply(t,r=[e,t]))&&(e.exports=n)},"./dist/plugins/io/utils/zip-utils.js":function(e,t,n){"use strict";var i,r,a,o,s;function f(e){this.textWriter=new i.TextWriter,this.base64Writer=new i.Data64URIWriter,this.binarystringWriter=new i.Uint8ArrayWriter,this.entry=e,this.base64Writer.data=""}function c(){}function u(){this.queue=[],this.zipFiles=[],this.files=new o}function l(e){for(var t,n=e.length,r="",t=0;t<n;t++)r+=String.fromCharCode(e[t]);return r}function d(e){return e.buffer.slice(e.byteOffset,e.byteLength+e.byteOffset)}function h(){return new(m()?s:r)}function m(){return window.TransformStream&&"function"==typeof window.TransformStream&&window.WritableStream&&"function"==typeof window.WritableStream&&window.WritableStream.prototype.close}Object.defineProperty(t,"__esModule",{value:!0}),t.getZipUtilInstance=void 0,i=n("./dist/plugins/io/utils/zip-js/index.js"),r=n("./dist/plugins/io/utils/jszip/index.js"),f.prototype.async=function(e){var t=this;switch(e){case"base64":return t.entry.getData(t.base64Writer);case"binarystring":return t.entry.getData(t.binarystringWriter).then(l);default:return t.entry.getData(t.textWriter).then(function(e){return e||0===t.entry.uncompressedSize?e:Promise.reject()})}},a=f,o=c,u.prototype.loadAsync=function(e,t){var r,n,r=this,n=new Uint8Array(e);return t&&t.base64?this.zipFileReader=new i.Data64URIReader(e):this.zipFileReader=new i.Uint8ArrayReader(n),this.zipReader=new i.ZipReader(this.zipFileReader),this.zipReader.getEntries().then(function(e){for(var t,n,t=0;t<e.length;t++)n=e[t],r.files[n.filename]=new a(n)})},u.prototype.file=function(e,t,n){this.zipFiles.push({fileName:e,reader:new((n=void 0===n?{}:n).base64?i.Data64URIReader:i.TextReader)(t)})},u.prototype.generateAsync=function(e){var t=this;return"arraybuffer"===e.type?this.zipFileWriter=new i.Uint8ArrayWriter:this.zipFileWriter=new i.BlobWriter(e.mimeType||"application/zip"),this.zipWriter=new i.ZipWriter(this.zipFileWriter),Promise.all(this.zipFiles.map(function(e){return t.zipWriter.add(e.fileName,e.reader)})).then(function(){return t.zipWriter.close(void 0)}).then(function(e){return e instanceof Uint8Array?d(e):e})},s=u,t.getZipUtilInstance=h},"./dist/plugins/io/workbook-io.js":function(o,e,t){"use strict";var I,A,e,p,s,f,c,S,E,m,j,_,D,R,O,T,z,n,B,M,u,l,d,C,F,h,t,r,i,a,g,k,P,U,L;function G(e){var e=A.mt.w1(O(i),e);return"function"!=typeof e.progress&&(e.progress=function(){}),e}function q(e){return A.mt.w1(O(a),e)}function v(e,t,n){e.file(n,c(t))}function b(n,r,i){Object.keys(i).forEach(function(e){var t=i[e];t&&n.file("".concat(r,"/")+e+".json",c(t))})}function W(t,n,r){Object.keys(r).forEach(function(e){t.file(n+"/"+e,r[e],{base64:!0})})}function V(l,e,d,h,m){var t=new FileReader;t.readAsText(e,F),t.onload=function(e){var t,n,r,i,a,o,s,f,c,u;try{t=e.target.result,n=JSON.parse(t),r={},m&&(a=m.fullRecalc,o=m.includeStyles,s=m.includeFormulas,f=m.incrementalLoad,c=m.frozenColumnsAsRowHeaders,u=m.frozenRowsAsColumnHeaders,j(a)||(r.doNotRecalculateAfterLoad=!a),j(o)||(r.ignoreStyle=!o),j(s)||(r.ignoreFormula=!s),r.incrementalLoading=f,r.frozenColumnsAsRowHeaders=c,r.frozenRowsAsColumnHeaders=u),l.fromJSON(n,r),d&&d("file loaded")}catch(e){(0,p.jte)(h)}}}function H(a,e,o,s,t){var f,t,f=t,t=new FileReader;t.readAsText(e,f&&f.encoding||F),t.onload=function(e){var t,n,r,i;try{t=e.target.result,(n=a.getActiveSheet())&&(n.reset(),r=f&&f.rowDelimiter||"\\r\\n",i=f&&f.columnDelimiter||",",r=r.replace("\\n","\n").replace("\\r","\r"),n.setCsv(0,0,t,r,i,E),o)&&o("file loaded")}catch(e){(0,p.jte)(s)}}}function y(e,t){t&&(delete t.progress,delete t.loadStatus,delete t.incrementLoadTask),e.Vp&&(e.Vp.terminate(),e.Vp=E);var t=e.v2;t&&(t.dispose(),delete e.v2),e.dse=e.vse(e.sheets,e.mp),e.w2&&e.w2.repaint()}function Z(e){var t,n,r,i,a,o,t=e.v2,n=t.sheetsState,r=t.Wte;for(e.suspendPaint(),e.suspendEvent(),e.Lp.suspend(),a=(i=0,A.Ap)(e);i<a;i++)(o=(0,A.Tp)(e,i))&&0===n[o.name()]&&w(o,t,t.qte,t.Wte,!0);y(e,r),r.fullRecalc?e.Lp.resume(E,E,!e.Lp.calcOnDemand):e.Lp.resumeWithoutCalc(),e.resumeEvent(),e.resumePaint()}function w(n,e,r,i,a){n&&(e.sheetsState[n.name()]=1,e.getSheet(n.name(),function(e){var t,t,t,t=R(e,"sheetData"),t=t&&t.rowCount||200;i.loadStatus={total:t,valuesLoad:0,formulaLoad:0},(t=n.NMi||n.parent.getSheetTab(n.name()))?(t.yh(e,r,i),j(e.order)||(t.E0i=e.order),(0,A.Ip)(t,e.lossless.addition,t.getParent().dataManager())):(n.yh(e,r,i,a),j(e.order)||(n.E0i=e.order))}))}function N(t){var n;return!t||(n=!0,t&&Object.keys(t).forEach(function(e){0===t[e]&&(n=!1)}),n)}function K(e,t){var t=A.util.o1(t,A.XFileConstants.Su+"&tabColor");t&&(e.sheetTabColor=A.util.d1(t))}function X(e){var n={};return T(e,function(e,t){n[e]=A.NodeHelper.lr(t,"rels.c_")}),n}function J(e,t,n,r){t.fullRecalc?e.Lp.resume(E,E,!e.Lp.calcOnDemand):e.Lp.resumeWithoutCalc(),e.resumeEvent(),e.resumePaint(),N(n)&&r.styleManager&&r.styleManager.dispose&&r.styleManager.dispose()}function x(e,t,n){var r,i,a,o,t,r=e.v2;if(r&&r.Wte&&r.qte&&t&&(i=r.sheetsState,a=r.Wte,o=r.qte,r)&&i&&0===i[t.name()]){e.suspendPaint(),e.suspendEvent(),e.Lp.suspend(),n=!1!==n;try{w(t,r,o,a,n)}catch(e){}finally{n?J(e,a,i,o):(t=a.incrementLoadTask)&&t.addTask(function(e,t,n,r){J(e,t,n,r)},[e,a,i,o])}}}I=this&&this.__assign||function(){return(I=Object.assign||function(e){for(var t,n,r,i,n=1,r=arguments.length;n<r;n++)for(i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Object.defineProperty(e,"__esModule",{value:!0}),A=t("Core"),e=t("Common"),p=t("./dist/plugins/io/loader.js"),s=t("./dist/plugins/io/excel-saver.js"),f=t("./dist/plugins/io/utils/zip-utils.js"),c=JSON.stringify,S=A.mt.T1,E=void 0,m=null,j=e.Common.lt.ht,_=A.mt.n1,D=A.Util.io,R=A.mt.xr,O=e.Common.lt.tv,T=A.GC$.each,z=A.Util.Sr,n=e.Common.zf,B=A.mt.o1,M=A.XFileConstants.mo,u=A.XFileConstants.ou,l=[".ssjson",".json"],d="text/csv",C="text/plain;charset=utf-8",F="UTF-8",h="number",t=new e.Common.ResourceManager(A.SR,"Sheets"),r=t.getResource.bind(t),i={openMode:A.OpenMode.normal,includeStyles:!0,includeFormulas:!0,includeUnusedStyles:!0,fullRecalc:!1,dynamicReferences:!0,calcOnDemand:!1,frozenColumnsAsRowHeaders:!1,frozenRowsAsColumnHeaders:!1},a={fileType:A.OpenSaveFileType.sjs,includeBindingSource:!1,includeStyles:!0,includeFormulas:!0,saveAsView:!1,rowHeadersAsFrozenColumns:!1,columnHeadersAsFrozenRows:!1,includeAutoMergedCells:!1,includeCalcModelCache:!1,includeUnusedNames:!0,includeEmptyRegionCells:!0},A.Workbook.prototype.import=function(e,t,n,r){var i,a,o,s;e&&(a=e.name||"",o=e.type,(i=this).v2&&(i.v2.dispose(),i.v2=m),(s=r&&r.fileType)===A.FileType.ssjson?V(i,e,t,n,r):s===A.FileType.csv?H(i,e,t,n,r):s===A.FileType.excel?i.rQ(e,t,n,r):o===d?H(i,e,t,n,r):-1<l.indexOf(a.substring(a.lastIndexOf(".")))?V(i,e,t,n,r):i.rQ(e,t,n,r))},A.Workbook.prototype.open=function(e,t,n,r){var i=this;if(r&&!0===r.jsonStream)try{i.yh(e,r,function(e){t&&t(e),y(i,r)})}catch(e){(0,p.jte)(n)}else(0,p.getFileType)(e)===A.OpenSaveFileType.sjs?i.rQ(e,t,n,r):(0,p.jte)(n)},A.Workbook.prototype.rQ=function(e,f,c,u){var l,d,h,t;e&&((l=this).v2&&(l.v2.dispose(),l.v2=m),(u=G(u)).fileType=j(u.fileType)?(0,p.getFileType)(e):u.fileType,d=function(e){l.pb(A.Events.ProgressChanged,{loadStatus:u.loadStatus,progress:e.progress,sheetName:e.sheetName}),u.progress({step:e.step,sheetName:e.sheetName,progress:e.progress})},j(u.dynamicReferences)||(l.options.dynamicReferences=u.dynamicReferences),j(u.calcOnDemand)||(l.options.calcOnDemand=u.calcOnDemand),h=l.v2=new p.Loader,t="file","string"==typeof e?t=e:e.name&&(t=e.name),d({progress:A.STEP_RATE.start,step:n.I5(r().STEP.start,[t])}),h.loadFile(e,function(){d({progress:A.STEP_RATE.parseFile+A.STEP_RATE.loadFileData,step:n.I5(r().STEP.loadFileData,[t])}),h.Ute=setTimeout(function(){var e,t,n,r,i,a,o,s;if(A.Util.wo(u,h))try{for(e=h.sheetsState={},h.refSheetsState={},t=A.Util.Mo(u),n=new A.LoadTasks(function(){return n.tasks.pop()},function(){var e=(0,A.Sp)(l);return t&&e&&(l.ib.eb||e.isEditing()||e.rt.rb||e.rt.ob||e.rt.ab)},d),(l.Vp=u.incrementLoadTask=n).endingCallback=function(){u&&u.fullRecalc?l.Lp.resume(E,E,!l.Lp.calcOnDemand):(l.Lp.resumeWithoutCalc(),l.Lp.processDynamicRef()),A.Workbook.et(l,"initCustomName"),l.resumeEvent(),l.resumePaint(),d({progress:1,sheetName:(0,A.Sp)(l).name(),step:"whole workbook loaded."}),f&&f({customData:u.customData}),N(e)&&y(l,u)},l.suspendPaint(),l.suspendEvent(),l.Lp.suspend(),h.Wte=u,h.getWorkbookSettings(function(e,t){var t=X(t);r=l.tre(e,u,t),h.qte=r}),i=(0,A.Sp)(l),o=(a=0,A.Ap)(l);a<o;a++)(s=(0,A.Tp)(l,a))&&(e[s.name()]=0,K(s.options,h.Ste[s.name()]));i&&w(i,h,r,u),n.start()}catch(e){(0,p.jte)(c)}finally{l.ki("importEnd")}else try{h.getWholeData(function(e){l.yh(e,u,function(e){f&&f(e),y(l,u)})})}catch(e){(0,p.jte)(c)}finally{l.ki("importEnd")}},0),l.v2=h},c,u,d))},A.Workbook.prototype.export=function(e,t,n){var r,i,i,a,o,s,f,c,u,l,d,h,m,p,c,s,f,h,v,b,y,w,x,g,k,r=this,i=r.v2;if(i&&!N(i.sheetsState)&&Z(r),(i=n&&n.fileType||A.FileType.excel)===A.FileType.excel)r.save(e,t,I(I({},n),{fileType:A.OpenSaveFileType.excel}));else if(i===A.FileType.ssjson)try{a={},n&&(s=n.includeBindingSource,f=n.includeStyles,c=n.includeFormulas,u=n.saveAsView,l=n.rowHeadersAsFrozenColumns,d=n.columnHeadersAsFrozenRows,h=n.includeAutoMergedCells,j(f)||(a.ignoreStyle=!f),j(c)||(a.ignoreFormula=!c),a.includeBindingSource=s,a.includeAutoMergedCells=h,a.saveAsView=u,a.rowHeadersAsFrozenColumns=l,a.columnHeadersAsFrozenRows=d),m=r.toJSON(a),m=JSON.stringify(m),p=new Blob([m],{type:C}),e&&e(p)}catch(e){t&&t(e)}else if(i===A.FileType.csv&&(f=void 0,f=!(s=(c=n)&&c.range)||j(s.sheetIndex)?r.getActiveSheetIndex():s.sheetIndex,h=r.sheets[f]))try{b=v=0,y=h.getRowCount(),w=h.getColumnCount(),x="\r\n",g=",",k=F,s&&(v=j(s.row)?v:s.row,b=j(s.column)?b:s.column,y=j(s.rowCount)?y:s.rowCount,w=j(s.columnCount)?w:s.columnCount),c&&(x=j(c.rowDelimiter)?x:c.rowDelimiter,g=j(c.columnDelimiter)?g:c.columnDelimiter,k=j(c.encoding)?k:c.encoding),m=h.getCsv(v,b,y,w,x,g),p=new Blob([m],{type:C,encoding:k}),e&&e(p)}catch(e){t&&t(e)}},A.Workbook.prototype.save=function(t,n,e){var r,i,a,o,r=this,i=r.v2;i&&!N(i.sheetsState)&&Z(r),e=q(e),a=this.wh(e),e&&!0===e.jsonStream?t&&t(a):(o=(0,f.getZipUtilInstance)(),e&&e.fileType===A.OpenSaveFileType.excel?(j(e)&&(e={}),r.e2e(o,a,t,n,e)):(a.docProps&&(a.docProps.docPropsCore&&v(o,a.docProps.docPropsCore,"docProps/docPropsCore.json"),a.docProps.docPropsApp&&v(o,a.docProps.docPropsApp,"docProps/docPropsApp.json"),a.docProps.docPropsCustom)&&v(o,a.docProps.docPropsCustom,"docProps/docPropsCustom.json"),a.sharedStrings&&v(o,a.sharedStrings,"sharedStrings.json"),a.styles&&v(o,a.styles,"styles.json"),a.theme&&v(o,a.theme,"theme.json"),a.tables&&b(o,"tables",a.tables),a.drawings&&b(o,"drawings",a.drawings),a.charts&&b(o,"charts",a.charts),a.slicers&&b(o,"slicers",a.slicers),a.slicerCaches&&b(o,"slicerCaches",a.slicerCaches),a.timelines&&b(o,"timelines",a.timelines),a.timelineCaches&&b(o,"timelineCaches",a.timelineCaches),Object.keys(a).forEach(function(e){0<=e.indexOf(u)&&v(o,a[e],e+".json")}),a.sheets&&b(o,M,a.sheets),a.workbook&&o.file("workbook.json",c(a.workbook)),a.media&&W(o,"media",a.media),a.ctrlProps&&b(o,"ctrlProps",a.ctrlProps),a.pivotCache&&b(o,"pivotCache",a.pivotCache),a.pivotTables&&b(o,"pivotTables",a.pivotTables),a.externalLinks&&b(o,"externalLinks",a.externalLinks),o.generateAsync({type:"blob",compression:"DEFLATE"}).then(function(e){t&&t(e),r.ki("exportEnd",void 0)}).catch(function(e){n&&n(e)})))},A.Workbook.prototype.e2e=function(e,t,n,r,i){var a,o,a=this,o;new s.sle(e,i).cle(t,function(e){a.ki("exportEnd",void 0),n&&n(e)},function(){(0,p.jte)(r)})},A.Workbook.prototype.tre=function(n,r,e){var t,t,i,a,o,s,f,c,u,c,c,l,d,s,h,m,u,o,p,e,v,b,y,w,x,g,g,k,I,C,k,k,F,k,k,x,g,k,x;if(n){if((i=this).zp(),i.suspendPaint(),i.suspendEvent(),i.fb(n.workbook.lossless&&n.workbook.lossless.allowDynamicArray,r),i.hb(n),i.Dp=O(n.docProps),(a=new A.StyleManager).yh(n.styles),(o=new A.SharedStrings).yh(n.sharedStrings),(s=n.theme)&&"string"!=typeof s?s&&(c=R(s,"themeElements"),c=R(c,"fontScheme"),f=B(c,"majorFont&latin").typeface,c=B(c,"minorFont&latin").typeface):((u=new A.Theme(E)).yh("string"==typeof s?s:"Office"),f=u.headerFont(),c=u.bodyFont()),l={drawings:n.drawings,tables:n.tables,charts:n.charts,pivotTables:n.pivotTables,media:n.media,ctrlProps:n.ctrlProps,comments:n.comments,slicerCaches:n.slicerCaches,slicers:n.slicers,timelineCaches:n.timelineCaches,timelines:n.timelines,theme:n.theme,styleManager:a,sharedStrings:o,sheetRelsMap:e,sheetNamedStyles:{},dataEffectByInflate:{}},i.mb(a,n,f,c,l,n.workbook.lossless&&n.workbook.lossless.renamedStylesMap,r),d=R(n.workbook,M).c_.length,S(d)||(d=A.Workbook.Jp),A.Workbook.fh&&T(A.Workbook.fh,function(e,t){var t=t.preFromSJSFormat;t&&t.call(i,n,l,r)}),(0,A.v2e)(i,n),s=R(n.workbook,"definedNames"),l.workbookNames=s&&s.c_,h=R(n.workbook,M).c_,m=n.workbook.rels&&n.workbook.rels.c_,h&&m){if(u=R(n.workbook,"bookViews"),p=0,(o=R(u,"workbookView"))&&!j(o.activeTab))p=+o.activeTab;else if((v=null==(e=R(n.workbook,"sheets"))?void 0:e.c_)&&0<v.length)for(b=0;b<v.length;b++)if("1"===(null==(t=null==(t=null==v?void 0:v[b])?void 0:t.lossless)?void 0:t.tabSelected)){p=b;break}for(y=0;y<d;y++)w=void 0,g=(x=h[y])&&x[A.XFileConstants.Ki],k=(g=z(m,g))&&g.Target||"",C=I=void 0,k=i.getSheetRelsName(k),I=n.sheetTabParts[k],C=D(_(x.name)),I?(k=j(I.lossless.sheetType)?0:I.lossless.sheetType,w=(F=i.bb(C,k)).Mf,i.yb(y-i.sheets.length,0,F)):(w=i.S2(C),i.A2(y,0,w)),"hidden"===(k=x.state)?w.visible(A.SheetTabVisible.hidden):"veryHidden"===k&&w.visible(A.SheetTabVisible.veryHidden),x.lossless&&"1"===x.lossless.tabSelected&&w.b2(!0,!1),y!==p&&w&&((k=g&&A.Util.vr(g.Target))&&(x=n.tableParts&&n.tableParts[k])&&(g=x.tablePart,k=x.sheetRels,x=w.tables,S(g))&&S(k)&&x&&(r.onlyTableData=!0,x.yh(g,k,l,r),delete r.onlyTableData),I)&&C&&(F=i.Ofe(C))&&F.yh(I,l,r,!0)}return i.db(n),A.Workbook.fh&&T(A.Workbook.fh,function(e,t){var t=t.yh;t&&t.call(i,n,l,r)}),i.Lp&&(i.Lp.resumeAdjust(),i.Lp.resume()),i.resumeEvent(),i.resumePaint(),l}},g=A.Workbook.prototype.getSheet,A.Workbook.prototype.getSheet=function(e){var t,e,t=this,e=g.call(t,e);return e?(x(t,e,!0),e):E},k=A.Workbook.prototype.getSheetFromName,A.Workbook.prototype.getSheetFromName=function(e){var t,e,t=this,e=k.call(t,e);return e?(x(t,e,!0),e):E},P=A.Workbook.prototype.tb,A.Workbook.prototype.tb=function(e,t,n,r,i){var a,o,s;typeof e==h&&e!==(a=this)._2&&(o=a.sheets[e],a.v2?(s=a.v2.Wte&&a.v2.Wte.openMode&&!(a.v2.Wte.openMode&A.OpenMode.incremental),o&&x(a,o,s)):o&&x(a,o),P.call(a,e,t,n,r,i))},U=A.Workbook.prototype.getSheetTab,A.Workbook.prototype.getSheetTab=function(e){var t,e,t=this,e=U.call(t,e);return e?(e.Mf&&x(t,e.Mf,!0),e):E},L=A.Workbook.prototype.yp,A.Workbook.prototype.yp=function(e,t,n,r){var i,a;typeof e==h&&e!==(i=this).jb&&(a=i.mp[e])&&(a.Mf&&x(i,a.Mf),L.call(i,e,t,n,r))},A.Worksheet.prototype.nre=function(){var e=this;e&&e.parent&&e&&x(e.parent,e)}},Common:function(e){"use strict";e.exports=t.Spread},Core:function(e){"use strict";e.exports=t.Spread.Sheets}},i={},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},e=n("./dist/plugins/io/io.entry.js"),(((t=void 0===t?{}:t).Spread=t.Spread||{}).Sheets=t.Spread.Sheets||{}).IO=e});
|