@esri/solutions-components 1.1.0-next.20250909 → 1.1.0-next.20250911.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{5PMAZ6BI.js → 23T25PXM.js} +2 -2
- package/dist/cdn/{GKACHUTS.js → 2BTYUMLK.js} +2 -2
- package/dist/cdn/{3SPAMIDI.js → 2C7SCE4V.js} +2 -2
- package/dist/cdn/{GJHQBYUN.js → 2DBFWM3J.js} +2 -2
- package/dist/cdn/{D3ZWGN6V.js → 2GQADZED.js} +2 -2
- package/dist/cdn/{QW7TTZWB.js → 2L7PEA7U.js} +1 -1
- package/dist/cdn/{ZKCPLYXB.js → 2NFSMO4K.js} +2 -2
- package/dist/cdn/{ZP4ANXBM.js → 2RMZE6TC.js} +2 -2
- package/dist/cdn/35OG34DW.js +4 -0
- package/dist/cdn/{AE6H6WOB.js → 3H2ONS2E.js} +2 -2
- package/dist/cdn/3QPGK5W4.js +18 -0
- package/dist/cdn/{4JETL4TY.js → 3QT7BIV3.js} +2 -2
- package/dist/cdn/{DUOZ7W43.js → 3QUP66X5.js} +2 -2
- package/dist/cdn/{N2X7VTBK.js → 3V7CDAW4.js} +2 -2
- package/dist/cdn/{HNE5W6WS.js → 3VW7GINP.js} +2 -2
- package/dist/cdn/{7VPNMORO.js → 423XDLXY.js} +2 -2
- package/dist/cdn/{IL5HDW3E.js → 46TLWAGR.js} +2 -2
- package/dist/cdn/{4J2EEVQC.js → 4EIOWWRF.js} +2 -2
- package/dist/cdn/{7MP6QCRU.js → 4FKMIMIE.js} +1 -1
- package/dist/cdn/{YGJ6CAIL.js → 4FXTY4UZ.js} +1 -1
- package/dist/cdn/{JQSJNTDU.js → 4G6R7HJV.js} +2 -2
- package/dist/cdn/{YGQJBD4Y.js → 4GLVTBLS.js} +2 -2
- package/dist/cdn/{7IF6BEQ4.js → 4LG3PE5J.js} +1 -1
- package/dist/cdn/{66VSR6R3.js → 4NZC636H.js} +2 -2
- package/dist/cdn/{3NELTBGB.js → 4Q57777R.js} +1 -1
- package/dist/cdn/{6BI4AFFV.js → 4WAESXJG.js} +2 -2
- package/dist/cdn/{6ATPTD6S.js → 4WZM547K.js} +2 -2
- package/dist/cdn/{C2BDBSPV.js → 4XEBKLU2.js} +2 -2
- package/dist/cdn/{TRY5O6BF.js → 534QDBAQ.js} +2 -2
- package/dist/cdn/{3FT7DZQT.js → 5EMTFT4K.js} +2 -2
- package/dist/cdn/{EOURWNJJ.js → 5F6FAGVF.js} +2 -2
- package/dist/cdn/{VVHYD2YV.js → 5FYALSB7.js} +2 -2
- package/dist/cdn/{K3WALZXM.js → 5IUFSIDX.js} +2 -2
- package/dist/cdn/{JGWCUAIV.js → 5MDH25UU.js} +1 -1
- package/dist/cdn/{GEMPDM2Q.js → 5PWMGYZG.js} +1 -1
- package/dist/cdn/{2HI3QER3.js → 5V2TKTC3.js} +2 -2
- package/dist/cdn/{SS45L55W.js → 5W2FD4M5.js} +2 -2
- package/dist/cdn/{ZJHHH5QQ.js → 5YLPXC3Y.js} +2 -2
- package/dist/cdn/{AT3PDUYQ.js → 625F6UTS.js} +2 -2
- package/dist/cdn/{3ECPGYSE.js → 652RXIXT.js} +2 -2
- package/dist/cdn/{UKEUGZX2.js → 6AGEFCYB.js} +2 -2
- package/dist/cdn/{D3YHOAQH.js → 6D4HQ7M2.js} +1 -1
- package/dist/cdn/{7Q4V5HOH.js → 6EAV5JJ4.js} +2 -2
- package/dist/cdn/{AQUF57HA.js → 6G2PI2MU.js} +2 -2
- package/dist/cdn/{PUNAD2H3.js → 6HEFYILX.js} +1 -1
- package/dist/cdn/{BDFK5OL4.js → 6JIZ4XBP.js} +2 -2
- package/dist/cdn/{WS7EMZ3Z.js → 7B2LY6UV.js} +2 -2
- package/dist/cdn/{WLVJ5PSZ.js → 7EYIHL3E.js} +2 -2
- package/dist/cdn/{DK2TSWOL.js → 7F3GV2VG.js} +2 -2
- package/dist/cdn/{N3CF3XWZ.js → 7F63WMPE.js} +2 -2
- package/dist/cdn/{H6245KIV.js → 7JJ55RBG.js} +2 -2
- package/dist/cdn/7L2K4CTR.js +4 -0
- package/dist/cdn/{3HXGNNSP.js → 7L4FXHUD.js} +2 -2
- package/dist/cdn/{56XIBM7W.js → 7MKK4E56.js} +2 -2
- package/dist/cdn/{4PNHMOR7.js → 7NH4HSMI.js} +2 -2
- package/dist/cdn/{TSRKSBXR.js → 7QDQDNIG.js} +2 -2
- package/dist/cdn/{3VTCD7NO.js → A7EIQKXY.js} +2 -2
- package/dist/cdn/A7KL7OUO.js +18 -0
- package/dist/cdn/{2P47INOH.js → A7UXYWNK.js} +2 -2
- package/dist/cdn/{KTFVK4VG.js → AD4A4N4U.js} +2 -2
- package/dist/cdn/{ZC3OC2A2.js → AIB25UJ5.js} +2 -2
- package/dist/cdn/{OVG6OOVT.js → AJIMU7O4.js} +2 -2
- package/dist/cdn/{B2GTZQJH.js → AR7S42BQ.js} +2 -2
- package/dist/cdn/{VJ5HQH46.js → ARM3EG66.js} +2 -2
- package/dist/cdn/{SLGBD6TO.js → AS4N6LTM.js} +2 -2
- package/dist/cdn/{HYNYTSJA.js → ATB53ZKP.js} +2 -2
- package/dist/cdn/{K4AMSC57.js → AWMWRRNB.js} +2 -2
- package/dist/cdn/{JIBR3TEK.js → AWMXLOE7.js} +2 -2
- package/dist/cdn/{QRYMDSKR.js → AWZ2L6P4.js} +2 -2
- package/dist/cdn/{76OKZB2G.js → AXK7QP5J.js} +2 -2
- package/dist/cdn/{LXKUMZWJ.js → AYKWMJXC.js} +2 -2
- package/dist/cdn/{NSCZOCYT.js → B3TNANEX.js} +2 -2
- package/dist/cdn/{STNBBJ2V.js → B44OKJQC.js} +2 -2
- package/dist/cdn/{NAJLHRBC.js → BE4VGAQ6.js} +2 -2
- package/dist/cdn/{VU2T7NC7.js → BGLA6JTF.js} +1 -1
- package/dist/cdn/{QVTO6TIF.js → BGUPQWXL.js} +1 -1
- package/dist/cdn/{UQH6ROLH.js → BHPA7WHD.js} +2 -2
- package/dist/cdn/{HE4JNXQB.js → BU6CLZMJ.js} +1 -1
- package/dist/cdn/{3OXYTK44.js → BWJW6NOF.js} +2 -2
- package/dist/cdn/{BUBHIWNJ.js → C5X2ZRMN.js} +2 -2
- package/dist/cdn/{LVE3AUBV.js → C7LU5E2N.js} +2 -2
- package/dist/cdn/{5K7RJOVI.js → CC2IBTVB.js} +1 -1
- package/dist/cdn/{5PXJYXNP.js → CF4XXPBR.js} +2 -2
- package/dist/cdn/{5ER2HR4Y.js → CTUSQXMB.js} +2 -2
- package/dist/cdn/{63WMNL6A.js → DBLPNJCC.js} +3 -3
- package/dist/cdn/{GJGDG2IV.js → DG6M3ZU4.js} +2 -2
- package/dist/cdn/{UBGFX4E2.js → DGQPGBON.js} +2 -2
- package/dist/cdn/{FZHKSCR7.js → DHLILBFE.js} +2 -2
- package/dist/cdn/{DXWHCJB3.js → DIPB3EE3.js} +2 -2
- package/dist/cdn/{KEKWBOGA.js → DJIVAYXP.js} +4 -4
- package/dist/cdn/{YGR2FZ3P.js → DRDHC6JP.js} +2 -2
- package/dist/cdn/{L32W6BHR.js → DSTSUTNU.js} +2 -2
- package/dist/cdn/{A32KXUMW.js → DTLIRFON.js} +2 -2
- package/dist/cdn/{UUIPF6XU.js → DUIBMXZM.js} +2 -2
- package/dist/cdn/{FVNW65L4.js → DVAGFDDK.js} +2 -2
- package/dist/cdn/{RAHAWTMR.js → DWTJ4XUX.js} +2 -2
- package/dist/cdn/{Q7SJJFBZ.js → E5LWTUJM.js} +2 -2
- package/dist/cdn/{PD5BVW4J.js → ECCUBDV6.js} +2 -2
- package/dist/cdn/{XO6WMP5B.js → EHOYB4HE.js} +2 -2
- package/dist/cdn/{6FOPG4QF.js → EIJFIHHL.js} +2 -2
- package/dist/cdn/{MSJ4SEEI.js → ELLO2MAY.js} +2 -2
- package/dist/cdn/{WHK5WHZK.js → ET7BFDTD.js} +1 -1
- package/dist/cdn/{CQAZ3KKR.js → EVH6ZOGW.js} +2 -2
- package/dist/cdn/{ITHC73SW.js → EXUFMUTQ.js} +2 -2
- package/dist/cdn/{ADAOIDIQ.js → EYWF2YAH.js} +2 -2
- package/dist/cdn/{56FTP2RC.js → F2BWJE75.js} +2 -2
- package/dist/cdn/{HKZOGL3Q.js → FDUGCC34.js} +2 -2
- package/dist/cdn/{VYESLYAK.js → FH4WJC25.js} +2 -2
- package/dist/cdn/{RPQ6TGCW.js → FLYG2DDR.js} +2 -2
- package/dist/cdn/{2NB7L4WW.js → FMNW55YT.js} +2 -2
- package/dist/cdn/{N3X6K5TM.js → FN75WUH2.js} +2 -2
- package/dist/cdn/{JW3NIUEN.js → FOKWC4YX.js} +2 -2
- package/dist/cdn/{VD5D7WZH.js → FQIN5IN3.js} +2 -2
- package/dist/cdn/{BWHH75CQ.js → FUJF2Z35.js} +2 -2
- package/dist/cdn/{FD7FNNGL.js → FVW6IAZX.js} +2 -2
- package/dist/cdn/{JH5GBKDT.js → G763EUK4.js} +2 -2
- package/dist/cdn/{MIRAKMAM.js → GAI6NOBN.js} +2 -2
- package/dist/cdn/{7KRL4JM2.js → GB6MUB2B.js} +2 -2
- package/dist/cdn/{XDO4C6J2.js → GBL74D5O.js} +2 -2
- package/dist/cdn/{O63CASVY.js → GGUV3WL7.js} +2 -2
- package/dist/cdn/{N67K56AQ.js → GQCWPPLN.js} +2 -2
- package/dist/cdn/{Q2NSFB52.js → GUDOYAJ4.js} +2 -2
- package/dist/cdn/{HZ2SUTRD.js → GUZFVIC6.js} +2 -2
- package/dist/cdn/{2I45CN3E.js → GWPT2ICC.js} +2 -2
- package/dist/cdn/{ZC35GKYV.js → HAG4JRWN.js} +2 -2
- package/dist/cdn/{AS3XKXFE.js → HAGL5MC2.js} +2 -2
- package/dist/cdn/{QXHBFO3N.js → HASJRYAV.js} +2 -2
- package/dist/cdn/{EIL5GTU4.js → HF2OV5H6.js} +2 -2
- package/dist/cdn/{56WREZJR.js → HF4ZVPTQ.js} +2 -2
- package/dist/cdn/{PXI2F3NJ.js → HGB2ZKH5.js} +1 -1
- package/dist/cdn/{AVWKEGOV.js → HK6RVKL5.js} +2 -2
- package/dist/cdn/{KPTO3JLC.js → HM7C4ICO.js} +2 -2
- package/dist/cdn/{CO7CO6AN.js → HVQVHADU.js} +2 -2
- package/dist/cdn/{MUDQYQHV.js → HWRTCJII.js} +2 -2
- package/dist/cdn/{N5D5LSZJ.js → HXWR5OEJ.js} +2 -2
- package/dist/cdn/{FVS63VDF.js → IABTIHGI.js} +2 -2
- package/dist/cdn/{LMQDNLRQ.js → IAH236ZP.js} +2 -2
- package/dist/cdn/{3JTIIRVT.js → IDITN77F.js} +1 -1
- package/dist/cdn/{33KYV3TB.js → IF7UHJAR.js} +1 -1
- package/dist/cdn/{NTSIPZDQ.js → IOLMZX66.js} +2 -2
- package/dist/cdn/{MOCODPAY.js → IVUTQ2WB.js} +2 -2
- package/dist/cdn/{VDHLUGNH.js → IYIXMAGT.js} +2 -2
- package/dist/cdn/IYPM2CF6.js +4 -0
- package/dist/cdn/{B6HND2XY.js → J2RSNIGV.js} +2 -2
- package/dist/cdn/J67LB5D3.js +4 -0
- package/dist/cdn/{YXOAO34M.js → J7O5VJDT.js} +1 -1
- package/dist/cdn/{45TNXDXY.js → JCX7NDVY.js} +2 -2
- package/dist/cdn/{7ZBA3GXA.js → JOJEPUUR.js} +2 -2
- package/dist/cdn/JQJTOKRA.js +18 -0
- package/dist/cdn/{LQIWHTG3.js → JRCPPBWZ.js} +2 -2
- package/dist/cdn/{IVUPXZ5F.js → JU4FWB4Y.js} +2 -2
- package/dist/cdn/{CNZIRIWD.js → JWBPC5LQ.js} +2 -2
- package/dist/cdn/{O5EQWEZ7.js → JYVVTI7Y.js} +2 -2
- package/dist/cdn/{BI2ZRTI3.js → K4IX2BB7.js} +2 -2
- package/dist/cdn/{WOL7TEL4.js → K7M5CHTQ.js} +1 -1
- package/dist/cdn/{Q4S42YNK.js → KE7B6EJ7.js} +2 -2
- package/dist/cdn/{V7XNIHP2.js → KGCOTPXS.js} +2 -2
- package/dist/cdn/{WNQSJIMZ.js → KJVRMIBD.js} +2 -2
- package/dist/cdn/{B6CECY74.js → KLRHMKZS.js} +2 -2
- package/dist/cdn/{5XBIIGQZ.js → KNPOCWWF.js} +2 -2
- package/dist/cdn/KQXXZPWB.js +4 -0
- package/dist/cdn/{PIFZ6WV5.js → KVUHCDCE.js} +2 -2
- package/dist/cdn/{MBC4EBO3.js → KWNHBLCT.js} +2 -2
- package/dist/cdn/{XV6QLESW.js → L36IZTJY.js} +2 -2
- package/dist/cdn/{66BRPK2B.js → L3LZPYIH.js} +2 -2
- package/dist/cdn/{FI5BQHWO.js → L3QYFMKB.js} +2 -2
- package/dist/cdn/{7FBWJQQL.js → L5UT6SUW.js} +1 -1
- package/dist/cdn/{FLQAHJ7J.js → L6ZAMSWA.js} +2 -2
- package/dist/cdn/{IDNQLVSG.js → LEA72LQK.js} +2 -2
- package/dist/cdn/{QBNNAIIS.js → LOFOYFYB.js} +2 -2
- package/dist/cdn/{EFI32N5B.js → LOYE4TGK.js} +2 -2
- package/dist/cdn/{4UEZLWJA.js → LPL2LQ5B.js} +2 -2
- package/dist/cdn/{IYLQCVU6.js → LSBH2RQL.js} +2 -2
- package/dist/cdn/{QORQMWTN.js → LVIAV5QR.js} +2 -2
- package/dist/cdn/{JHCUA6WP.js → LXTE5TEF.js} +2 -2
- package/dist/cdn/{XAOJRRMY.js → LYTMNBSS.js} +2 -2
- package/dist/cdn/{5OBQPUOD.js → LZXSNZEG.js} +2 -2
- package/dist/cdn/{LGUGM2EI.js → M33KJNWN.js} +2 -2
- package/dist/cdn/{ARK5Y77X.js → M5DODFXN.js} +1 -1
- package/dist/cdn/{YE7HNWUG.js → M7CHTU5E.js} +2 -2
- package/dist/cdn/{JZZSB6XX.js → MCPYVHWV.js} +2 -2
- package/dist/cdn/{LGD77Q5Y.js → MEZPIRT2.js} +2 -2
- package/dist/cdn/{UZ4FZOI4.js → MNBSCGTH.js} +2 -2
- package/dist/cdn/MNG4ZG3D.js +18 -0
- package/dist/cdn/{H3HMZBWD.js → MP2SEKNA.js} +2 -2
- package/dist/cdn/{7ZGUYNIS.js → MRIJEWVG.js} +2 -2
- package/dist/cdn/{MIAAWCQ7.js → MW3KDKSA.js} +2 -2
- package/dist/cdn/{T43D2OV7.js → N3EJWHNC.js} +2 -2
- package/dist/cdn/{PCZ2MQNE.js → NBSBX63J.js} +2 -2
- package/dist/cdn/{MKQXREOG.js → ND2PYDKI.js} +1 -1
- package/dist/cdn/{7ZMY5HMA.js → NEJI5QW6.js} +2 -2
- package/dist/cdn/{FNZVJSWG.js → NFIBYZAV.js} +2 -2
- package/dist/cdn/NG3RIAIG.js +4 -0
- package/dist/cdn/{LAR3A322.js → NHGKXIPR.js} +2 -2
- package/dist/cdn/{U7KPTWP7.js → NLAFKJ2E.js} +2 -2
- package/dist/cdn/{G2HYUWXC.js → NQA4IZWB.js} +2 -2
- package/dist/cdn/{G5KKQLCC.js → NRRM4ZKX.js} +2 -2
- package/dist/cdn/{2P3D72M3.js → NRZOM7WH.js} +2 -2
- package/dist/cdn/{Z2YVO2MZ.js → NTTQO4LF.js} +2 -2
- package/dist/cdn/NXOVSG5D.js +18 -0
- package/dist/cdn/{GPCG3O32.js → O5SXHKPM.js} +2 -2
- package/dist/cdn/{NXKCWUWK.js → O6UST32T.js} +2 -2
- package/dist/cdn/{IIOCBWYX.js → O724AAAL.js} +1 -1
- package/dist/cdn/OB4UZUS3.js +18 -0
- package/dist/cdn/OF2TUOXE.js +18 -0
- package/dist/cdn/{DP6FSWN3.js → OFLFBFEA.js} +2 -2
- package/dist/cdn/{A2OC3ERA.js → OHH4JYRI.js} +2 -2
- package/dist/cdn/{VLCEMPLQ.js → OKIDHS5M.js} +2 -2
- package/dist/cdn/{ZKUPJWA7.js → OQS7FURR.js} +2 -2
- package/dist/cdn/{M2FSHG7J.js → OWZPVOBY.js} +1 -1
- package/dist/cdn/{3AEAT3JU.js → OZYNCKYO.js} +2 -2
- package/dist/cdn/{DMFL4YQA.js → P4ODMYQB.js} +2 -2
- package/dist/cdn/{7JS57NNO.js → P4OEWYQH.js} +2 -2
- package/dist/cdn/{QOEYN7KZ.js → P7YRW4KH.js} +2 -2
- package/dist/cdn/PCSVUFBN.js +18 -0
- package/dist/cdn/{R75RUQBG.js → PEFVFAUS.js} +2 -2
- package/dist/cdn/{DRGS75OU.js → PEYOKBZS.js} +2 -2
- package/dist/cdn/{WLMKPX4D.js → PFRBRXPQ.js} +2 -2
- package/dist/cdn/{FMK4IQWP.js → PL2XGMQD.js} +2 -2
- package/dist/cdn/{2WYDTJUZ.js → PRO5YTTB.js} +2 -2
- package/dist/cdn/{FOAQYWLO.js → PRSEXVB4.js} +2 -2
- package/dist/cdn/{4GG72A4J.js → PTTXJVNC.js} +2 -2
- package/dist/cdn/{G46QXOFC.js → PYTMYLTL.js} +2 -2
- package/dist/cdn/{NQ4ORX4L.js → QGW2FJDB.js} +2 -2
- package/dist/cdn/QJ4JOKJB.js +4 -0
- package/dist/cdn/{6YD4MRGM.js → QLKWPXJR.js} +2 -2
- package/dist/cdn/{ZYCZJNUF.js → QO6TTYYN.js} +2 -2
- package/dist/cdn/{OFJ72Q6E.js → QOAI6EA2.js} +2 -2
- package/dist/cdn/{S2BECSBW.js → QQGMGBKF.js} +1 -1
- package/dist/cdn/{JEYN3G5Z.js → QZ5JMA34.js} +2 -2
- package/dist/cdn/{AUVMY25O.js → QZ5TADRQ.js} +2 -2
- package/dist/cdn/{YJLGRVTF.js → QZLIH56L.js} +2 -2
- package/dist/cdn/{QFKODMY2.js → R5S5NMIA.js} +2 -2
- package/dist/cdn/{TRVWTBQJ.js → R6UKAFVG.js} +2 -2
- package/dist/cdn/{MIZLXMGY.js → R6YCPKFS.js} +2 -2
- package/dist/cdn/{FEOPRYXY.js → RH5HB2BT.js} +2 -2
- package/dist/cdn/{6MTKFVL5.js → RKCK7RBY.js} +2 -2
- package/dist/cdn/{5DSYJUJ5.js → RSXSF7MJ.js} +2 -2
- package/dist/cdn/RUUJR35M.js +4 -0
- package/dist/cdn/{2NH5VBZI.js → RX7FCRXL.js} +2 -2
- package/dist/cdn/{YKBRJYF6.js → RYE2NS44.js} +1 -1
- package/dist/cdn/{5P7OP2TV.js → S3T6DKUX.js} +2 -2
- package/dist/cdn/{FMSFCM4O.js → S4J4KHRF.js} +2 -2
- package/dist/cdn/{EW5YY2GX.js → S4SYUQWF.js} +2 -2
- package/dist/cdn/{DCPJLMXS.js → S4TIHVZI.js} +2 -2
- package/dist/cdn/{WVJ22VHR.js → SCMDZPD5.js} +2 -2
- package/dist/cdn/{2X5ZYFMQ.js → SCVZQMZ5.js} +2 -2
- package/dist/cdn/{JUZZLRHO.js → SCY6BW5I.js} +2 -2
- package/dist/cdn/{DNUY5LCQ.js → SFDBXOOG.js} +2 -2
- package/dist/cdn/{W2YEFCJC.js → SHYRK7HE.js} +1 -1
- package/dist/cdn/{HTGRKYQJ.js → SI2RCG3D.js} +2 -2
- package/dist/cdn/{YPESSINV.js → SIOGNWC6.js} +2 -2
- package/dist/cdn/{QO7AKCAK.js → SJMKD3XJ.js} +1 -1
- package/dist/cdn/{H5RL4J7G.js → SJVWZRHI.js} +2 -2
- package/dist/cdn/{5A4RTFGF.js → SNRZBSNS.js} +2 -2
- package/dist/cdn/{5EVF6RIK.js → SPZFZLTC.js} +1 -1
- package/dist/cdn/{JJJQPYWJ.js → SSJKYZYV.js} +2 -2
- package/dist/cdn/{FPPD2ZNJ.js → ST2OKDZ4.js} +2 -2
- package/dist/cdn/{WCDTD7TB.js → SW6PCDQR.js} +2 -2
- package/dist/cdn/{FOLIGOQV.js → SXRWHCQ4.js} +2 -2
- package/dist/cdn/{QMTUSZFV.js → TCFCLE53.js} +2 -2
- package/dist/cdn/{ZZKFXBSR.js → TCOUPEPD.js} +2 -2
- package/dist/cdn/{ODTKDZ5Q.js → TD3XU55Q.js} +1 -1
- package/dist/cdn/{ZRW6EZNM.js → TEVDJQRA.js} +1 -1
- package/dist/cdn/{4UIB5DCF.js → TGO42WNV.js} +2 -2
- package/dist/cdn/{FB7CT23L.js → TJDQLK7G.js} +2 -2
- package/dist/cdn/{HIP466MX.js → U5FOT3KO.js} +2 -2
- package/dist/cdn/U7CERHPP.js +21 -0
- package/dist/cdn/{67D3MUMO.js → UJRSZU3W.js} +2 -2
- package/dist/cdn/{27VSDD3G.js → UL4K3TEK.js} +2 -2
- package/dist/cdn/{XJT3QZ5Y.js → UMX3ZFNX.js} +2 -2
- package/dist/cdn/{KDP4BECF.js → UN5RJRL2.js} +2 -2
- package/dist/cdn/{FADVMVKG.js → UQFPIFA7.js} +2 -2
- package/dist/cdn/UQY4RWWT.js +4 -0
- package/dist/cdn/{3C44ESN3.js → V3AZDL3Q.js} +2 -2
- package/dist/cdn/{7PTKLN2L.js → V3SHEJRF.js} +2 -2
- package/dist/cdn/{WQMS24OO.js → V5WZRUNS.js} +2 -2
- package/dist/cdn/{ILXO6CHT.js → V7R32KZG.js} +1 -1
- package/dist/cdn/{T6MR7AMZ.js → VCF5ECOP.js} +2 -2
- package/dist/cdn/{2ZSAIDWK.js → VJR7P6BV.js} +2 -2
- package/dist/cdn/{VNGMQ6OX.js → VKWASFD4.js} +2 -2
- package/dist/cdn/{YQQLKKMP.js → VNIUIIFM.js} +2 -2
- package/dist/cdn/{XOV7PTYS.js → VNPSHP4E.js} +2 -2
- package/dist/cdn/VNWH6JZ2.js +4 -0
- package/dist/cdn/VP7WLWWE.js +18 -0
- package/dist/cdn/{HEBDRFOD.js → VQ5K2ZRH.js} +2 -2
- package/dist/cdn/{WBK22WUY.js → VSN3MCJF.js} +2 -2
- package/dist/cdn/{XSLJLG6Z.js → VUPSMPY2.js} +2 -2
- package/dist/cdn/{WDW62BEP.js → W57M64Z5.js} +2 -2
- package/dist/cdn/{UPJMADWD.js → WD4HSNVO.js} +2 -2
- package/dist/cdn/WEQSM7IC.js +4 -0
- package/dist/cdn/{AAOKKWI4.js → WF3JXYL3.js} +2 -2
- package/dist/cdn/{PUGOZ356.js → WFZT3XAI.js} +2 -2
- package/dist/cdn/{DH7Y6L4L.js → WG2RTAQY.js} +2 -2
- package/dist/cdn/{XJK6QNHT.js → WRBC72YE.js} +2 -2
- package/dist/cdn/{4OUWYBZV.js → WSRA6XTH.js} +1 -1
- package/dist/cdn/{DFYQ2DV7.js → X377VEMR.js} +2 -2
- package/dist/cdn/{3U5V45B4.js → X4FO5WY5.js} +2 -2
- package/dist/cdn/{F5JBATY5.js → X63Q5IVG.js} +2 -2
- package/dist/cdn/{55FC4AUE.js → XCAWHB7I.js} +1 -1
- package/dist/cdn/{LJBZG3ZD.js → XEB4CP6T.js} +2 -2
- package/dist/cdn/{U6MX5EBF.js → XGGTGACU.js} +2 -2
- package/dist/cdn/{WNWWH4L2.js → XIMVS4MY.js} +1 -1
- package/dist/cdn/{HOSK5TNF.js → XKVQI6NZ.js} +2 -2
- package/dist/cdn/{LLD7HMLA.js → XLVGX5QG.js} +2 -2
- package/dist/cdn/{BD2QQKA3.js → XMEJ6JVV.js} +3 -3
- package/dist/cdn/{7EVNV3UY.js → XTWIZPJI.js} +2 -2
- package/dist/cdn/{L4XTL7WT.js → XXDDHD56.js} +2 -2
- package/dist/cdn/{SPCUOTIA.js → XXR767KI.js} +1 -1
- package/dist/cdn/{6NOVF62H.js → Y435VSDF.js} +2 -2
- package/dist/cdn/{NXPWSVO3.js → Y4M5C6YU.js} +2 -2
- package/dist/cdn/{ZROHJ4QZ.js → Y52HMXKU.js} +2 -2
- package/dist/cdn/{R4JF5HGP.js → YAQDLWIH.js} +2 -2
- package/dist/cdn/{YUA2JH3I.js → YCRRPNZJ.js} +2 -2
- package/dist/cdn/{4JLMUOEH.js → YDEVYMZ2.js} +1 -1
- package/dist/cdn/{7SM57VCR.js → YH5LZKSP.js} +1 -1
- package/dist/cdn/{FGT6NTNU.js → YIW2NPTV.js} +2 -2
- package/dist/cdn/{UIGOQH3Z.js → YKFCUCEU.js} +2 -2
- package/dist/cdn/{NGWYLY2B.js → YLSDC4BQ.js} +2 -2
- package/dist/cdn/{YBU6TCOK.js → YMO5WE7P.js} +2 -2
- package/dist/cdn/{ZOHFMOD4.js → YMU6CVCY.js} +2 -2
- package/dist/cdn/{7XGSDOHX.js → YPTI53FA.js} +2 -2
- package/dist/cdn/{HNPXWOOY.js → YU573OZL.js} +2 -2
- package/dist/cdn/{3JOAUTCT.js → YVSHOV3G.js} +2 -2
- package/dist/cdn/{JY45MOBI.js → YX6ITC3Y.js} +2 -2
- package/dist/cdn/{DMB5HW2W.js → YZU3OLOE.js} +2 -2
- package/dist/cdn/{KQ2KS5QC.js → ZAQCMLF4.js} +2 -2
- package/dist/cdn/{CKSUAEW7.js → ZC2BQBII.js} +2 -2
- package/dist/cdn/ZE2ISXNN.js +4 -0
- package/dist/cdn/{AZQCH32K.js → ZEDQ72KB.js} +2 -2
- package/dist/cdn/{MUYLWB6Y.js → ZF42G2JC.js} +2 -2
- package/dist/cdn/{IXRLZWJQ.js → ZFMWIEGQ.js} +1 -1
- package/dist/cdn/{YAAJAI6L.js → ZGOLN2TZ.js} +2 -2
- package/dist/cdn/{67NKDIT7.js → ZHBZCVEI.js} +2 -2
- package/dist/cdn/{NHMWRMI7.js → ZHIF66KC.js} +3 -3
- package/dist/cdn/ZJ7VEBUB.js +18 -0
- package/dist/cdn/{LOL3BHLQ.js → ZMNVUH2F.js} +2 -2
- package/dist/cdn/{GKFDXG2P.js → ZTZWSNFW.js} +2 -2
- package/dist/cdn/{SLINFYQE.js → ZVEIDXJX.js} +2 -2
- package/dist/cdn/ZYLLH7BH.js +18 -0
- package/dist/cdn/{OJDU53HJ.js → ZZ6EPPLQ.js} +2 -2
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +8 -8
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +6 -6
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/{publicNotificationStore.js → publicNotificationContext.js} +4 -22
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +725 -156
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +28 -24
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +25 -21
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +50 -41
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.d.ts +9 -1
- package/dist/components/public-notification/customElement.js +53 -34
- package/dist/components/refine-selection/customElement.js +39 -37
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +7 -7
- package/dist/components/solution-configure-titles/customElement.js +11 -11
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +95 -65
- package/dist/components/solution-deploy-dialog/customElement.js +7 -7
- package/dist/components/solution-deployed-card/customElement.js +10 -10
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +10 -10
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +2 -2
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +2 -2
- package/dist/components/solution-snapshot-gallery/customElement.js +4 -4
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +2 -2
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +2 -2
- package/dist/components/solutions-all-shell/customElement.js +3 -3
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +2 -2
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +9 -9
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/utils/interfaces.d.ts +7 -0
- package/dist/utils/publicNotificationContext.d.ts +3 -6
- package/package.json +1 -2
- package/dist/cdn/2DTOLXCZ.js +0 -18
- package/dist/cdn/3VP6BVHE.js +0 -4
- package/dist/cdn/4OQOBXO3.js +0 -4
- package/dist/cdn/5Y5FD2LP.js +0 -4
- package/dist/cdn/67RPNT5L.js +0 -18
- package/dist/cdn/7MVIKH5A.js +0 -4
- package/dist/cdn/AIZV4CWB.js +0 -18
- package/dist/cdn/DFQWPQRT.js +0 -18
- package/dist/cdn/DMPU2BJ2.js +0 -18
- package/dist/cdn/DO3B46LG.js +0 -4
- package/dist/cdn/EA27KG3M.js +0 -18
- package/dist/cdn/EUE7BXOZ.js +0 -4
- package/dist/cdn/IJO66X47.js +0 -4
- package/dist/cdn/K57FBRKL.js +0 -18
- package/dist/cdn/KRPCUDHL.js +0 -4
- package/dist/cdn/NCC2GVLA.js +0 -21
- package/dist/cdn/NT6UNLKW.js +0 -4
- package/dist/cdn/ONQGWMN4.js +0 -18
- package/dist/cdn/PVBC2MRZ.js +0 -4
- package/dist/cdn/QBIHVFO7.js +0 -18
- package/dist/cdn/UJARYVVU.js +0 -18
- package/dist/cdn/UTXJM3VH.js +0 -4
- package/dist/cdn/X4QMEPKK.js +0 -18
- package/dist/cdn/YO6YX3RA.js +0 -4
- package/dist/chunks/index.js +0 -576
- package/dist/utils/publicNotificationStore.d.ts +0 -8
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as Nf,ta as Lf}from"./
|
3
|
+
v1.1.0-next.20250911.2 */
|
4
|
+
import{b as Nf,ta as Lf}from"./IOLMZX66.js";import{a as Ne}from"./RYE2NS44.js";import{a as Af}from"./XCAWHB7I.js";import{b as xf}from"./6HEFYILX.js";import{b as no}from"./5MDH25UU.js";import{c as _f}from"./LZXSNZEG.js";var hr=Uint8Array,qn=Uint16Array,Ll=Int32Array,Sl=new hr([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,0,0,0]),kl=new hr([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,0,0]),Sf=new hr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ff=function(t,n){for(var e=new qn(31),r=0;r<31;++r)e[r]=n+=1<<t[r-1];for(var i=new Ll(e[30]),r=1;r<30;++r)for(var a=e[r];a<e[r+1];++a)i[a]=a-e[r]<<5|r;return{b:e,r:i}},Ef=Ff(Sl,2),G1=Ef.b,xl=Ef.r;G1[28]=258,xl[258]=28;var Cf=Ff(kl,0),np=Cf.b,kf=Cf.r,Al=new qn(32768);for(ve=0;ve<32768;++ve)Wr=(ve&43690)>>1|(ve&21845)<<1,Wr=(Wr&52428)>>2|(Wr&13107)<<2,Wr=(Wr&61680)>>4|(Wr&3855)<<4,Al[ve]=((Wr&65280)>>8|(Wr&255)<<8)>>1;var Wr,ve,ao=(function(t,n,e){for(var r=t.length,i=0,a=new qn(n);i<r;++i)t[i]&&++a[t[i]-1];var h=new qn(n);for(i=1;i<n;++i)h[i]=h[i-1]+a[i-1]<<1;var l;if(e){l=new qn(1<<n);var f=15-n;for(i=0;i<r;++i)if(t[i])for(var u=i<<4|t[i],g=n-t[i],w=h[t[i]-1]++<<g,A=w|(1<<g)-1;w<=A;++w)l[Al[w]>>f]=u}else for(l=new qn(r),i=0;i<r;++i)t[i]&&(l[i]=Al[h[t[i]-1]++]>>15-t[i]);return l}),Ti=new hr(288);for(ve=0;ve<144;++ve)Ti[ve]=8;var ve;for(ve=144;ve<256;++ve)Ti[ve]=9;var ve;for(ve=256;ve<280;++ve)Ti[ve]=7;var ve;for(ve=280;ve<288;++ve)Ti[ve]=8;var ve,as=new hr(32);for(ve=0;ve<32;++ve)as[ve]=5;var ve,V1=ao(Ti,9,0);var Z1=ao(as,5,0);var Of=function(t){return(t+7)/8|0},$1=function(t,n,e){return(n==null||n<0)&&(n=0),(e==null||e>t.length)&&(e=t.length),new hr(t.subarray(n,e))};var Gr=function(t,n,e){e<<=n&7;var r=n/8|0;t[r]|=e,t[r+1]|=e>>8},ro=function(t,n,e){e<<=n&7;var r=n/8|0;t[r]|=e,t[r+1]|=e>>8,t[r+2]|=e>>16},_l=function(t,n){for(var e=[],r=0;r<t.length;++r)t[r]&&e.push({s:r,f:t[r]});var i=e.length,a=e.slice();if(!i)return{t:Df,l:0};if(i==1){var h=new hr(e[0].s+1);return h[e[0].s]=1,{t:h,l:1}}e.sort(function(rt,vt){return rt.f-vt.f}),e.push({s:-1,f:25001});var l=e[0],f=e[1],u=0,g=1,w=2;for(e[0]={s:-1,f:l.f+f.f,l,r:f};g!=i-1;)l=e[e[u].f<e[w].f?u++:w++],f=e[u!=g&&e[u].f<e[w].f?u++:w++],e[g++]={s:-1,f:l.f+f.f,l,r:f};for(var A=a[0].s,r=1;r<i;++r)a[r].s>A&&(A=a[r].s);var p=new qn(A+1),E=Nl(e[g-1],p,0);if(E>n){var r=0,P=0,T=E-n,L=1<<T;for(a.sort(function(vt,ot){return p[ot.s]-p[vt.s]||vt.f-ot.f});r<i;++r){var H=a[r].s;if(p[H]>n)P+=L-(1<<E-p[H]),p[H]=n;else break}for(P>>=T;P>0;){var U=a[r].s;p[U]<n?P-=1<<n-p[U]++-1:++r}for(;r>=0&&P;--r){var j=a[r].s;p[j]==n&&(--p[j],++P)}E=n}return{t:new hr(p),l:E}},Nl=function(t,n,e){return t.s==-1?Math.max(Nl(t.l,n,e+1),Nl(t.r,n,e+1)):n[t.s]=e},Pf=function(t){for(var n=t.length;n&&!t[--n];);for(var e=new qn(++n),r=0,i=t[0],a=1,h=function(f){e[r++]=f},l=1;l<=n;++l)if(t[l]==i&&l!=n)++a;else{if(!i&&a>2){for(;a>138;a-=138)h(32754);a>2&&(h(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(h(i),--a;a>6;a-=6)h(8304);a>2&&(h(a-3<<5|8208),a=0)}for(;a--;)h(i);a=1,i=t[l]}return{c:e.subarray(0,r),n}},io=function(t,n){for(var e=0,r=0;r<n.length;++r)e+=t[r]*n[r];return e},Tf=function(t,n,e){var r=e.length,i=Of(n+2);t[i]=r&255,t[i+1]=r>>8,t[i+2]=t[i]^255,t[i+3]=t[i+1]^255;for(var a=0;a<r;++a)t[i+a+4]=e[a];return(i+4+r)*8},If=function(t,n,e,r,i,a,h,l,f,u,g){Gr(n,g++,e),++i[256];for(var w=_l(i,15),A=w.t,p=w.l,E=_l(a,15),P=E.t,T=E.l,L=Pf(A),H=L.c,U=L.n,j=Pf(P),rt=j.c,vt=j.n,ot=new qn(19),K=0;K<H.length;++K)++ot[H[K]&31];for(var K=0;K<rt.length;++K)++ot[rt[K]&31];for(var B=_l(ot,7),et=B.t,S=B.l,O=19;O>4&&!et[Sf[O-1]];--O);var G=u+5<<3,q=io(i,Ti)+io(a,as)+h,it=io(i,A)+io(a,P)+h+14+3*O+io(ot,et)+2*ot[16]+3*ot[17]+7*ot[18];if(f>=0&&G<=q&&G<=it)return Tf(n,g,t.subarray(f,f+u));var ft,dt,nt,ct;if(Gr(n,g,1+(it<q)),g+=2,it<q){ft=ao(A,p,0),dt=A,nt=ao(P,T,0),ct=P;var Nt=ao(et,S,0);Gr(n,g,U-257),Gr(n,g+5,vt-1),Gr(n,g+10,O-4),g+=14;for(var K=0;K<O;++K)Gr(n,g+3*K,et[Sf[K]]);g+=3*O;for(var yt=[H,rt],x=0;x<2;++x)for(var D=yt[x],K=0;K<D.length;++K){var R=D[K]&31;Gr(n,g,Nt[R]),g+=et[R],R>15&&(Gr(n,g,D[K]>>5&127),g+=D[K]>>12)}}else ft=V1,dt=Ti,nt=Z1,ct=as;for(var K=0;K<l;++K){var V=r[K];if(V>255){var R=V>>18&31;ro(n,g,ft[R+257]),g+=dt[R+257],R>7&&(Gr(n,g,V>>23&31),g+=Sl[R]);var $=V&31;ro(n,g,nt[$]),g+=ct[$],$>3&&(ro(n,g,V>>5&8191),g+=kl[$])}else ro(n,g,ft[V]),g+=dt[V]}return ro(n,g,ft[256]),g+dt[256]},Y1=new Ll([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Df=new hr(0),K1=function(t,n,e,r,i,a){var h=a.z||t.length,l=new hr(r+h+5*(1+Math.ceil(h/7e3))+i),f=l.subarray(r,l.length-i),u=a.l,g=(a.r||0)&7;if(n){g&&(f[0]=a.r>>3);for(var w=Y1[n-1],A=w>>13,p=w&8191,E=(1<<e)-1,P=a.p||new qn(32768),T=a.h||new qn(E+1),L=Math.ceil(e/3),H=2*L,U=function(st){return(t[st]^t[st+1]<<L^t[st+2]<<H)&E},j=new Ll(25e3),rt=new qn(288),vt=new qn(32),ot=0,K=0,B=a.i||0,et=0,S=a.w||0,O=0;B+2<h;++B){var G=U(B),q=B&32767,it=T[G];if(P[q]=it,T[G]=q,S<=B){var ft=h-B;if((ot>7e3||et>24576)&&(ft>423||!u)){g=If(t,f,0,j,rt,vt,K,et,O,B-O,g),et=ot=K=0,O=B;for(var dt=0;dt<286;++dt)rt[dt]=0;for(var dt=0;dt<30;++dt)vt[dt]=0}var nt=2,ct=0,Nt=p,yt=q-it&32767;if(ft>2&&G==U(B-yt))for(var x=Math.min(A,ft)-1,D=Math.min(32767,B),R=Math.min(258,ft);yt<=D&&--Nt&&q!=it;){if(t[B+nt]==t[B+nt-yt]){for(var V=0;V<R&&t[B+V]==t[B+V-yt];++V);if(V>nt){if(nt=V,ct=yt,V>x)break;for(var $=Math.min(yt,V-2),J=0,dt=0;dt<$;++dt){var lt=B-yt+dt&32767,at=P[lt],mt=lt-at&32767;mt>J&&(J=mt,it=lt)}}}q=it,it=P[q],yt+=q-it&32767}if(ct){j[et++]=268435456|xl[nt]<<18|kf[ct];var At=xl[nt]&31,kt=kf[ct]&31;K+=Sl[At]+kl[kt],++rt[257+At],++vt[kt],S=B+nt,++ot}else j[et++]=t[B],++rt[t[B]]}}for(B=Math.max(B,S);B<h;++B)j[et++]=t[B],++rt[t[B]];g=If(t,f,u,j,rt,vt,K,et,O,B-O,g),u||(a.r=g&7|f[g/8|0]<<3,g-=7,a.h=T,a.p=P,a.i=B,a.w=S)}else{for(var B=a.w||0;B<h+u;B+=65535){var Pt=B+65535;Pt>=h&&(f[g/8|0]=u,Pt=h),g=Tf(f,g+1,t.subarray(B,Pt))}a.i=h}return $1(l,0,r+Of(g)+i)};var Mf=function(){var t=1,n=0;return{p:function(e){for(var r=t,i=n,a=e.length|0,h=0;h!=a;){for(var l=Math.min(h+2655,a);h<l;++h)i+=r+=e[h];r=(r&65535)+15*(r>>16),i=(i&65535)+15*(i>>16)}t=r,n=i},d:function(){return t%=65521,n%=65521,(t&255)<<24|(t&65280)<<8|(n&255)<<8|n>>8}}},X1=function(t,n,e,r,i){if(!i&&(i={l:1},n.dictionary)){var a=n.dictionary.subarray(-32768),h=new hr(a.length+t.length);h.set(a),h.set(t,a.length),t=h,i.w=a.length}return K1(t,n.level==null?6:n.level,n.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+n.mem,e,r,i)};var Rf=function(t,n,e){for(;e;++n)t[n]=e,e>>>=8};var J1=function(t,n){var e=n.level,r=e==0?0:e<6?1:e==9?3:2;if(t[0]=120,t[1]=r<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=Mf();i.p(n.dictionary),Rf(t,2,i.d())}};function os(t,n){n||(n={});var e=Mf();e.p(t);var r=X1(t,n,n.dictionary?6:2,4);return J1(r,n),Rf(r,r.length-4,e.d()),r}var Q1=typeof TextDecoder<"u"&&new TextDecoder,t0=0;try{Q1.decode(Df,{stream:!0}),t0=1}catch{}function jf(t){if(Array.isArray(t))return t}function Bf(t,n){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var r,i,a,h,l=[],f=!0,u=!1;try{if(a=(e=e.call(t)).next,n===0){if(Object(e)!==e)return;f=!1}else for(;!(f=(r=a.call(e)).done)&&(l.push(r.value),l.length!==n);f=!0);}catch(g){u=!0,i=g}finally{try{if(!f&&e.return!=null&&(h=e.return(),Object(h)!==h))return}finally{if(u)throw i}}return l}}function Pl(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function zf(t,n){if(t){if(typeof t=="string")return Pl(t,n);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Pl(t,n):void 0}}function Uf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
5
5
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Il(t,n){return jf(t)||Bf(t,n)||zf(t,n)||Uf()}function Fl(t,n="utf8"){return new TextDecoder(n).decode(t)}var e0=new TextEncoder;function qf(t){return e0.encode(t)}var n0=1024*8,r0=(()=>{let t=new Uint8Array(4),n=new Uint32Array(t.buffer);return!((n[0]=1)&t[0])})(),El={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array},oo=class t{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(n=n0,e={}){let r=!1;typeof n=="number"?n=new ArrayBuffer(n):(r=!0,this.lastWrittenByte=n.byteLength);let i=e.offset?e.offset>>>0:0,a=n.byteLength-i,h=i;(ArrayBuffer.isView(n)||n instanceof t)&&(n.byteLength!==n.buffer.byteLength&&(h=n.byteOffset+i),n=n.buffer),r?this.lastWrittenByte=a:this.lastWrittenByte=0,this.buffer=n,this.length=a,this.byteLength=a,this.byteOffset=h,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,h,a),this._mark=0,this._marks=[]}available(n=1){return this.offset+n<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(n=1){return this.offset+=n,this}back(n=1){return this.offset-=n,this}seek(n){return this.offset=n,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){let n=this._marks.pop();if(n===void 0)throw new Error("Mark stack empty");return this.seek(n),this}rewind(){return this.offset=0,this}ensureAvailable(n=1){if(!this.available(n)){let r=(this.offset+n)*2,i=new Uint8Array(r);i.set(new Uint8Array(this.buffer)),this.buffer=i.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(n=1){return this.readArray(n,"uint8")}readArray(n,e){let r=El[e].BYTES_PER_ELEMENT*n,i=this.byteOffset+this.offset,a=this.buffer.slice(i,i+r);if(this.littleEndian===r0&&e!=="uint8"&&e!=="int8"){let l=new Uint8Array(this.buffer.slice(i,i+r));l.reverse();let f=new El[e](l.buffer);return this.offset+=r,f.reverse(),f}let h=new El[e](a);return this.offset+=r,h}readInt16(){let n=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,n}readUint16(){let n=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,n}readInt32(){let n=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,n}readUint32(){let n=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat32(){let n=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat64(){let n=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,n}readBigInt64(){let n=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,n}readBigUint64(){let n=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,n}readChar(){return String.fromCharCode(this.readInt8())}readChars(n=1){let e="";for(let r=0;r<n;r++)e+=this.readChar();return e}readUtf8(n=1){return Fl(this.readBytes(n))}decodeText(n=1,e="utf8"){return Fl(this.readBytes(n),e)}writeBoolean(n){return this.writeUint8(n?255:0),this}writeInt8(n){return this.ensureAvailable(1),this._data.setInt8(this.offset++,n),this._updateLastWrittenByte(),this}writeUint8(n){return this.ensureAvailable(1),this._data.setUint8(this.offset++,n),this._updateLastWrittenByte(),this}writeByte(n){return this.writeUint8(n)}writeBytes(n){this.ensureAvailable(n.length);for(let e=0;e<n.length;e++)this._data.setUint8(this.offset++,n[e]);return this._updateLastWrittenByte(),this}writeInt16(n){return this.ensureAvailable(2),this._data.setInt16(this.offset,n,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(n){return this.ensureAvailable(2),this._data.setUint16(this.offset,n,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(n){return this.ensureAvailable(4),this._data.setInt32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(n){return this.ensureAvailable(4),this._data.setUint32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(n){return this.ensureAvailable(4),this._data.setFloat32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(n){return this.ensureAvailable(8),this._data.setFloat64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(n){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(n){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(n){return this.writeUint8(n.charCodeAt(0))}writeChars(n){for(let e=0;e<n.length;e++)this.writeUint8(n.charCodeAt(e));return this}writeUtf8(n){return this.writeBytes(qf(n))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}};function pa(t){let n=t.length;for(;--n>=0;)t[n]=0}var i0=0,kc=1,a0=2,o0=3,s0=258,eh=29,xo=256,po=xo+1+eh,ca=30,nh=19,Pc=2*po+1,Di=15,Cl=16,l0=7,rh=256,Ic=16,Fc=17,Ec=18,Vl=new Uint8Array([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]),us=new Uint8Array([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]),h0=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Cc=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),f0=512,Zr=new Array((po+2)*2);pa(Zr);var fo=new Array(ca*2);pa(fo);var go=new Array(f0);pa(go);var mo=new Array(s0-o0+1);pa(mo);var ih=new Array(eh);pa(ih);var ds=new Array(ca);pa(ds);function Ol(t,n,e,r,i){this.static_tree=t,this.extra_bits=n,this.extra_base=e,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}var Oc,Tc,Dc;function Tl(t,n){this.dyn_tree=t,this.max_code=0,this.stat_desc=n}var Mc=t=>t<256?go[t]:go[256+(t>>>7)],vo=(t,n)=>{t.pending_buf[t.pending++]=n&255,t.pending_buf[t.pending++]=n>>>8&255},Cn=(t,n,e)=>{t.bi_valid>Cl-e?(t.bi_buf|=n<<t.bi_valid&65535,vo(t,t.bi_buf),t.bi_buf=n>>Cl-t.bi_valid,t.bi_valid+=e-Cl):(t.bi_buf|=n<<t.bi_valid&65535,t.bi_valid+=e)},Nr=(t,n,e)=>{Cn(t,e[n*2],e[n*2+1])},Rc=(t,n)=>{let e=0;do e|=t&1,t>>>=1,e<<=1;while(--n>0);return e>>>1},c0=t=>{t.bi_valid===16?(vo(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=t.bi_buf&255,t.bi_buf>>=8,t.bi_valid-=8)},u0=(t,n)=>{let e=n.dyn_tree,r=n.max_code,i=n.stat_desc.static_tree,a=n.stat_desc.has_stree,h=n.stat_desc.extra_bits,l=n.stat_desc.extra_base,f=n.stat_desc.max_length,u,g,w,A,p,E,P=0;for(A=0;A<=Di;A++)t.bl_count[A]=0;for(e[t.heap[t.heap_max]*2+1]=0,u=t.heap_max+1;u<Pc;u++)g=t.heap[u],A=e[e[g*2+1]*2+1]+1,A>f&&(A=f,P++),e[g*2+1]=A,!(g>r)&&(t.bl_count[A]++,p=0,g>=l&&(p=h[g-l]),E=e[g*2],t.opt_len+=E*(A+p),a&&(t.static_len+=E*(i[g*2+1]+p)));if(P!==0){do{for(A=f-1;t.bl_count[A]===0;)A--;t.bl_count[A]--,t.bl_count[A+1]+=2,t.bl_count[f]--,P-=2}while(P>0);for(A=f;A!==0;A--)for(g=t.bl_count[A];g!==0;)w=t.heap[--u],!(w>r)&&(e[w*2+1]!==A&&(t.opt_len+=(A-e[w*2+1])*e[w*2],e[w*2+1]=A),g--)}},jc=(t,n,e)=>{let r=new Array(Di+1),i=0,a,h;for(a=1;a<=Di;a++)i=i+e[a-1]<<1,r[a]=i;for(h=0;h<=n;h++){let l=t[h*2+1];l!==0&&(t[h*2]=Rc(r[l]++,l))}},d0=()=>{let t,n,e,r,i,a=new Array(Di+1);for(e=0,r=0;r<eh-1;r++)for(ih[r]=e,t=0;t<1<<Vl[r];t++)mo[e++]=r;for(mo[e-1]=r,i=0,r=0;r<16;r++)for(ds[r]=i,t=0;t<1<<us[r];t++)go[i++]=r;for(i>>=7;r<ca;r++)for(ds[r]=i<<7,t=0;t<1<<us[r]-7;t++)go[256+i++]=r;for(n=0;n<=Di;n++)a[n]=0;for(t=0;t<=143;)Zr[t*2+1]=8,t++,a[8]++;for(;t<=255;)Zr[t*2+1]=9,t++,a[9]++;for(;t<=279;)Zr[t*2+1]=7,t++,a[7]++;for(;t<=287;)Zr[t*2+1]=8,t++,a[8]++;for(jc(Zr,po+1,a),t=0;t<ca;t++)fo[t*2+1]=5,fo[t*2]=Rc(t,5);Oc=new Ol(Zr,Vl,xo+1,po,Di),Tc=new Ol(fo,us,0,ca,Di),Dc=new Ol(new Array(0),h0,0,nh,l0)},Bc=t=>{let n;for(n=0;n<po;n++)t.dyn_ltree[n*2]=0;for(n=0;n<ca;n++)t.dyn_dtree[n*2]=0;for(n=0;n<nh;n++)t.bl_tree[n*2]=0;t.dyn_ltree[rh*2]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},zc=t=>{t.bi_valid>8?vo(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},Hf=(t,n,e,r)=>{let i=n*2,a=e*2;return t[i]<t[a]||t[i]===t[a]&&r[n]<=r[e]},Dl=(t,n,e)=>{let r=t.heap[e],i=e<<1;for(;i<=t.heap_len&&(i<t.heap_len&&Hf(n,t.heap[i+1],t.heap[i],t.depth)&&i++,!Hf(n,r,t.heap[i],t.depth));)t.heap[e]=t.heap[i],e=i,i<<=1;t.heap[e]=r},Wf=(t,n,e)=>{let r,i,a=0,h,l;if(t.sym_next!==0)do r=t.pending_buf[t.sym_buf+a++]&255,r+=(t.pending_buf[t.sym_buf+a++]&255)<<8,i=t.pending_buf[t.sym_buf+a++],r===0?Nr(t,i,n):(h=mo[i],Nr(t,h+xo+1,n),l=Vl[h],l!==0&&(i-=ih[h],Cn(t,i,l)),r--,h=Mc(r),Nr(t,h,e),l=us[h],l!==0&&(r-=ds[h],Cn(t,r,l)));while(a<t.sym_next);Nr(t,rh,n)},Zl=(t,n)=>{let e=n.dyn_tree,r=n.stat_desc.static_tree,i=n.stat_desc.has_stree,a=n.stat_desc.elems,h,l,f=-1,u;for(t.heap_len=0,t.heap_max=Pc,h=0;h<a;h++)e[h*2]!==0?(t.heap[++t.heap_len]=f=h,t.depth[h]=0):e[h*2+1]=0;for(;t.heap_len<2;)u=t.heap[++t.heap_len]=f<2?++f:0,e[u*2]=1,t.depth[u]=0,t.opt_len--,i&&(t.static_len-=r[u*2+1]);for(n.max_code=f,h=t.heap_len>>1;h>=1;h--)Dl(t,e,h);u=a;do h=t.heap[1],t.heap[1]=t.heap[t.heap_len--],Dl(t,e,1),l=t.heap[1],t.heap[--t.heap_max]=h,t.heap[--t.heap_max]=l,e[u*2]=e[h*2]+e[l*2],t.depth[u]=(t.depth[h]>=t.depth[l]?t.depth[h]:t.depth[l])+1,e[h*2+1]=e[l*2+1]=u,t.heap[1]=u++,Dl(t,e,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],u0(t,n),jc(e,f,t.bl_count)},Gf=(t,n,e)=>{let r,i=-1,a,h=n[1],l=0,f=7,u=4;for(h===0&&(f=138,u=3),n[(e+1)*2+1]=65535,r=0;r<=e;r++)a=h,h=n[(r+1)*2+1],!(++l<f&&a===h)&&(l<u?t.bl_tree[a*2]+=l:a!==0?(a!==i&&t.bl_tree[a*2]++,t.bl_tree[Ic*2]++):l<=10?t.bl_tree[Fc*2]++:t.bl_tree[Ec*2]++,l=0,i=a,h===0?(f=138,u=3):a===h?(f=6,u=3):(f=7,u=4))},Vf=(t,n,e)=>{let r,i=-1,a,h=n[1],l=0,f=7,u=4;for(h===0&&(f=138,u=3),r=0;r<=e;r++)if(a=h,h=n[(r+1)*2+1],!(++l<f&&a===h)){if(l<u)do Nr(t,a,t.bl_tree);while(--l!==0);else a!==0?(a!==i&&(Nr(t,a,t.bl_tree),l--),Nr(t,Ic,t.bl_tree),Cn(t,l-3,2)):l<=10?(Nr(t,Fc,t.bl_tree),Cn(t,l-3,3)):(Nr(t,Ec,t.bl_tree),Cn(t,l-11,7));l=0,i=a,h===0?(f=138,u=3):a===h?(f=6,u=3):(f=7,u=4)}},p0=t=>{let n;for(Gf(t,t.dyn_ltree,t.l_desc.max_code),Gf(t,t.dyn_dtree,t.d_desc.max_code),Zl(t,t.bl_desc),n=nh-1;n>=3&&t.bl_tree[Cc[n]*2+1]===0;n--);return t.opt_len+=3*(n+1)+5+5+4,n},g0=(t,n,e,r)=>{let i;for(Cn(t,n-257,5),Cn(t,e-1,5),Cn(t,r-4,4),i=0;i<r;i++)Cn(t,t.bl_tree[Cc[i]*2+1],3);Vf(t,t.dyn_ltree,n-1),Vf(t,t.dyn_dtree,e-1)},m0=t=>{let n=4093624447,e;for(e=0;e<=31;e++,n>>>=1)if(n&1&&t.dyn_ltree[e*2]!==0)return 0;if(t.dyn_ltree[18]!==0||t.dyn_ltree[20]!==0||t.dyn_ltree[26]!==0)return 1;for(e=32;e<xo;e++)if(t.dyn_ltree[e*2]!==0)return 1;return 0},Zf=!1,v0=t=>{Zf||(d0(),Zf=!0),t.l_desc=new Tl(t.dyn_ltree,Oc),t.d_desc=new Tl(t.dyn_dtree,Tc),t.bl_desc=new Tl(t.bl_tree,Dc),t.bi_buf=0,t.bi_valid=0,Bc(t)},Uc=(t,n,e,r)=>{Cn(t,(i0<<1)+(r?1:0),3),zc(t),vo(t,e),vo(t,~e),e&&t.pending_buf.set(t.window.subarray(n,n+e),t.pending),t.pending+=e},b0=t=>{Cn(t,kc<<1,3),Nr(t,rh,Zr),c0(t)},w0=(t,n,e,r)=>{let i,a,h=0;t.level>0?(t.strm.data_type===2&&(t.strm.data_type=m0(t)),Zl(t,t.l_desc),Zl(t,t.d_desc),h=p0(t),i=t.opt_len+3+7>>>3,a=t.static_len+3+7>>>3,a<=i&&(i=a)):i=a=e+5,e+4<=i&&n!==-1?Uc(t,n,e,r):t.strategy===4||a===i?(Cn(t,(kc<<1)+(r?1:0),3),Wf(t,Zr,fo)):(Cn(t,(a0<<1)+(r?1:0),3),g0(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),Wf(t,t.dyn_ltree,t.dyn_dtree)),Bc(t),r&&zc(t)},y0=(t,n,e)=>(t.pending_buf[t.sym_buf+t.sym_next++]=n,t.pending_buf[t.sym_buf+t.sym_next++]=n>>8,t.pending_buf[t.sym_buf+t.sym_next++]=e,n===0?t.dyn_ltree[e*2]++:(t.matches++,n--,t.dyn_ltree[(mo[e]+xo+1)*2]++,t.dyn_dtree[Mc(n)*2]++),t.sym_next===t.sym_end),_0=v0,x0=Uc,A0=w0,N0=y0,L0=b0,S0={_tr_init:_0,_tr_stored_block:x0,_tr_flush_block:A0,_tr_tally:N0,_tr_align:L0},k0=(t,n,e,r)=>{let i=t&65535|0,a=t>>>16&65535|0,h=0;for(;e!==0;){h=e>2e3?2e3:e,e-=h;do i=i+n[r++]|0,a=a+i|0;while(--h);i%=65521,a%=65521}return i|a<<16|0},bo=k0,P0=()=>{let t,n=[];for(var e=0;e<256;e++){t=e;for(var r=0;r<8;r++)t=t&1?3988292384^t>>>1:t>>>1;n[e]=t}return n},I0=new Uint32Array(P0()),F0=(t,n,e,r)=>{let i=I0,a=r+e;t^=-1;for(let h=r;h<a;h++)t=t>>>8^i[(t^n[h])&255];return t^-1},ln=F0,ji={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"},ga={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_MEM_ERROR:-4,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},{_tr_init:E0,_tr_stored_block:$l,_tr_flush_block:C0,_tr_tally:ci,_tr_align:O0}=S0,{Z_NO_FLUSH:ui,Z_PARTIAL_FLUSH:T0,Z_FULL_FLUSH:D0,Z_FINISH:Jn,Z_BLOCK:$f,Z_OK:gn,Z_STREAM_END:Yf,Z_STREAM_ERROR:Lr,Z_DATA_ERROR:M0,Z_BUF_ERROR:Ml,Z_DEFAULT_COMPRESSION:R0,Z_FILTERED:j0,Z_HUFFMAN_ONLY:ss,Z_RLE:B0,Z_FIXED:z0,Z_DEFAULT_STRATEGY:U0,Z_UNKNOWN:q0,Z_DEFLATED:ms}=ga,H0=9,W0=15,G0=8,V0=29,Z0=256,Yl=Z0+1+V0,$0=30,Y0=19,K0=2*Yl+1,X0=15,ce=3,fi=258,Sr=fi+ce+1,J0=32,ua=42,ah=57,Kl=69,Xl=73,Jl=91,Ql=103,Mi=113,lo=666,Sn=1,ma=2,Bi=3,va=4,Q0=3,Ri=(t,n)=>(t.msg=ji[n],n),Kf=t=>t*2-(t>4?9:0),hi=t=>{let n=t.length;for(;--n>=0;)t[n]=0},t2=t=>{let n,e,r,i=t.w_size;n=t.hash_size,r=n;do e=t.head[--r],t.head[r]=e>=i?e-i:0;while(--n);n=i,r=n;do e=t.prev[--r],t.prev[r]=e>=i?e-i:0;while(--n)},e2=(t,n,e)=>(n<<t.hash_shift^e)&t.hash_mask,di=e2,Hn=t=>{let n=t.state,e=n.pending;e>t.avail_out&&(e=t.avail_out),e!==0&&(t.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+e),t.next_out),t.next_out+=e,n.pending_out+=e,t.total_out+=e,t.avail_out-=e,n.pending-=e,n.pending===0&&(n.pending_out=0))},Wn=(t,n)=>{C0(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,n),t.block_start=t.strstart,Hn(t.strm)},be=(t,n)=>{t.pending_buf[t.pending++]=n},so=(t,n)=>{t.pending_buf[t.pending++]=n>>>8&255,t.pending_buf[t.pending++]=n&255},th=(t,n,e,r)=>{let i=t.avail_in;return i>r&&(i=r),i===0?0:(t.avail_in-=i,n.set(t.input.subarray(t.next_in,t.next_in+i),e),t.state.wrap===1?t.adler=bo(t.adler,n,i,e):t.state.wrap===2&&(t.adler=ln(t.adler,n,i,e)),t.next_in+=i,t.total_in+=i,i)},qc=(t,n)=>{let e=t.max_chain_length,r=t.strstart,i,a,h=t.prev_length,l=t.nice_match,f=t.strstart>t.w_size-Sr?t.strstart-(t.w_size-Sr):0,u=t.window,g=t.w_mask,w=t.prev,A=t.strstart+fi,p=u[r+h-1],E=u[r+h];t.prev_length>=t.good_match&&(e>>=2),l>t.lookahead&&(l=t.lookahead);do if(i=n,!(u[i+h]!==E||u[i+h-1]!==p||u[i]!==u[r]||u[++i]!==u[r+1])){r+=2,i++;do;while(u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&r<A);if(a=fi-(A-r),r=A-fi,a>h){if(t.match_start=n,h=a,a>=l)break;p=u[r+h-1],E=u[r+h]}}while((n=w[n&g])>f&&--e!==0);return h<=t.lookahead?h:t.lookahead},da=t=>{let n=t.w_size,e,r,i;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=n+(n-Sr)&&(t.window.set(t.window.subarray(n,n+n-r),0),t.match_start-=n,t.strstart-=n,t.block_start-=n,t.insert>t.strstart&&(t.insert=t.strstart),t2(t),r+=n),t.strm.avail_in===0)break;if(e=th(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=e,t.lookahead+t.insert>=ce)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=di(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=di(t,t.ins_h,t.window[i+ce-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<ce)););}while(t.lookahead<Sr&&t.strm.avail_in!==0)},Hc=(t,n)=>{let e=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r,i,a,h=0,l=t.strm.avail_in;do{if(r=65535,a=t.bi_valid+42>>3,t.strm.avail_out<a||(a=t.strm.avail_out-a,i=t.strstart-t.block_start,r>i+t.strm.avail_in&&(r=i+t.strm.avail_in),r>a&&(r=a),r<e&&(r===0&&n!==Jn||n===ui||r!==i+t.strm.avail_in)))break;h=n===Jn&&r===i+t.strm.avail_in?1:0,$l(t,0,0,h),t.pending_buf[t.pending-4]=r,t.pending_buf[t.pending-3]=r>>8,t.pending_buf[t.pending-2]=~r,t.pending_buf[t.pending-1]=~r>>8,Hn(t.strm),i&&(i>r&&(i=r),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,r-=i),r&&(th(t.strm,t.strm.output,t.strm.next_out,r),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r)}while(h===0);return l-=t.strm.avail_in,l&&(l>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=l&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-l,t.strm.next_in),t.strstart),t.strstart+=l,t.insert+=l>t.w_size-t.insert?t.w_size-t.insert:l),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),h?va:n!==ui&&n!==Jn&&t.strm.avail_in===0&&t.strstart===t.block_start?ma:(a=t.window_size-t.strstart,t.strm.avail_in>a&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,a+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),a>t.strm.avail_in&&(a=t.strm.avail_in),a&&(th(t.strm,t.window,t.strstart,a),t.strstart+=a,t.insert+=a>t.w_size-t.insert?t.w_size-t.insert:a),t.high_water<t.strstart&&(t.high_water=t.strstart),a=t.bi_valid+42>>3,a=t.pending_buf_size-a>65535?65535:t.pending_buf_size-a,e=a>t.w_size?t.w_size:a,i=t.strstart-t.block_start,(i>=e||(i||n===Jn)&&n!==ui&&t.strm.avail_in===0&&i<=a)&&(r=i>a?a:i,h=n===Jn&&t.strm.avail_in===0&&r===i?1:0,$l(t,t.block_start,r,h),t.block_start+=r,Hn(t.strm)),h?Bi:Sn)},Rl=(t,n)=>{let e,r;for(;;){if(t.lookahead<Sr){if(da(t),t.lookahead<Sr&&n===ui)return Sn;if(t.lookahead===0)break}if(e=0,t.lookahead>=ce&&(t.ins_h=di(t,t.ins_h,t.window[t.strstart+ce-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),e!==0&&t.strstart-e<=t.w_size-Sr&&(t.match_length=qc(t,e)),t.match_length>=ce)if(r=ci(t,t.strstart-t.match_start,t.match_length-ce),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=ce){t.match_length--;do t.strstart++,t.ins_h=di(t,t.ins_h,t.window[t.strstart+ce-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(--t.match_length!==0);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=di(t,t.ins_h,t.window[t.strstart+1]);else r=ci(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(Wn(t,!1),t.strm.avail_out===0))return Sn}return t.insert=t.strstart<ce-1?t.strstart:ce-1,n===Jn?(Wn(t,!0),t.strm.avail_out===0?Bi:va):t.sym_next&&(Wn(t,!1),t.strm.avail_out===0)?Sn:ma},ha=(t,n)=>{let e,r,i;for(;;){if(t.lookahead<Sr){if(da(t),t.lookahead<Sr&&n===ui)return Sn;if(t.lookahead===0)break}if(e=0,t.lookahead>=ce&&(t.ins_h=di(t,t.ins_h,t.window[t.strstart+ce-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=ce-1,e!==0&&t.prev_length<t.max_lazy_match&&t.strstart-e<=t.w_size-Sr&&(t.match_length=qc(t,e),t.match_length<=5&&(t.strategy===j0||t.match_length===ce&&t.strstart-t.match_start>4096)&&(t.match_length=ce-1)),t.prev_length>=ce&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-ce,r=ci(t,t.strstart-1-t.prev_match,t.prev_length-ce),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=i&&(t.ins_h=di(t,t.ins_h,t.window[t.strstart+ce-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(--t.prev_length!==0);if(t.match_available=0,t.match_length=ce-1,t.strstart++,r&&(Wn(t,!1),t.strm.avail_out===0))return Sn}else if(t.match_available){if(r=ci(t,0,t.window[t.strstart-1]),r&&Wn(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return Sn}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=ci(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<ce-1?t.strstart:ce-1,n===Jn?(Wn(t,!0),t.strm.avail_out===0?Bi:va):t.sym_next&&(Wn(t,!1),t.strm.avail_out===0)?Sn:ma},n2=(t,n)=>{let e,r,i,a,h=t.window;for(;;){if(t.lookahead<=fi){if(da(t),t.lookahead<=fi&&n===ui)return Sn;if(t.lookahead===0)break}if(t.match_length=0,t.lookahead>=ce&&t.strstart>0&&(i=t.strstart-1,r=h[i],r===h[++i]&&r===h[++i]&&r===h[++i])){a=t.strstart+fi;do;while(r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&i<a);t.match_length=fi-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=ce?(e=ci(t,1,t.match_length-ce),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(e=ci(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),e&&(Wn(t,!1),t.strm.avail_out===0))return Sn}return t.insert=0,n===Jn?(Wn(t,!0),t.strm.avail_out===0?Bi:va):t.sym_next&&(Wn(t,!1),t.strm.avail_out===0)?Sn:ma},r2=(t,n)=>{let e;for(;;){if(t.lookahead===0&&(da(t),t.lookahead===0)){if(n===ui)return Sn;break}if(t.match_length=0,e=ci(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,e&&(Wn(t,!1),t.strm.avail_out===0))return Sn}return t.insert=0,n===Jn?(Wn(t,!0),t.strm.avail_out===0?Bi:va):t.sym_next&&(Wn(t,!1),t.strm.avail_out===0)?Sn:ma};function Ar(t,n,e,r,i){this.good_length=t,this.max_lazy=n,this.nice_length=e,this.max_chain=r,this.func=i}var ho=[new Ar(0,0,0,0,Hc),new Ar(4,4,8,4,Rl),new Ar(4,5,16,8,Rl),new Ar(4,6,32,32,Rl),new Ar(4,4,16,16,ha),new Ar(8,16,32,32,ha),new Ar(8,16,128,128,ha),new Ar(8,32,128,256,ha),new Ar(32,128,258,1024,ha),new Ar(32,258,258,4096,ha)],i2=t=>{t.window_size=2*t.w_size,hi(t.head),t.max_lazy_match=ho[t.level].max_lazy,t.good_match=ho[t.level].good_length,t.nice_match=ho[t.level].nice_length,t.max_chain_length=ho[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=ce-1,t.match_available=0,t.ins_h=0};function a2(){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=ms,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 Uint16Array(K0*2),this.dyn_dtree=new Uint16Array((2*$0+1)*2),this.bl_tree=new Uint16Array((2*Y0+1)*2),hi(this.dyn_ltree),hi(this.dyn_dtree),hi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(X0+1),this.heap=new Uint16Array(2*Yl+1),hi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Yl+1),hi(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ao=t=>{if(!t)return 1;let n=t.state;return!n||n.strm!==t||n.status!==ua&&n.status!==ah&&n.status!==Kl&&n.status!==Xl&&n.status!==Jl&&n.status!==Ql&&n.status!==Mi&&n.status!==lo?1:0},Wc=t=>{if(Ao(t))return Ri(t,Lr);t.total_in=t.total_out=0,t.data_type=q0;let n=t.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?ah:n.wrap?ua:Mi,t.adler=n.wrap===2?0:1,n.last_flush=-2,E0(n),gn},Gc=t=>{let n=Wc(t);return n===gn&&i2(t.state),n},o2=(t,n)=>Ao(t)||t.state.wrap!==2?Lr:(t.state.gzhead=n,gn),Vc=(t,n,e,r,i,a)=>{if(!t)return Lr;let h=1;if(n===R0&&(n=6),r<0?(h=0,r=-r):r>15&&(h=2,r-=16),i<1||i>H0||e!==ms||r<8||r>15||n<0||n>9||a<0||a>z0||r===8&&h!==1)return Ri(t,Lr);r===8&&(r=9);let l=new a2;return t.state=l,l.strm=t,l.status=ua,l.wrap=h,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+ce-1)/ce),l.window=new Uint8Array(l.w_size*2),l.head=new Uint16Array(l.hash_size),l.prev=new Uint16Array(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=l.lit_bufsize*4,l.pending_buf=new Uint8Array(l.pending_buf_size),l.sym_buf=l.lit_bufsize,l.sym_end=(l.lit_bufsize-1)*3,l.level=n,l.strategy=a,l.method=e,Gc(t)},s2=(t,n)=>Vc(t,n,ms,W0,G0,U0),l2=(t,n)=>{if(Ao(t)||n>$f||n<0)return t?Ri(t,Lr):Lr;let e=t.state;if(!t.output||t.avail_in!==0&&!t.input||e.status===lo&&n!==Jn)return Ri(t,t.avail_out===0?Ml:Lr);let r=e.last_flush;if(e.last_flush=n,e.pending!==0){if(Hn(t),t.avail_out===0)return e.last_flush=-1,gn}else if(t.avail_in===0&&Kf(n)<=Kf(r)&&n!==Jn)return Ri(t,Ml);if(e.status===lo&&t.avail_in!==0)return Ri(t,Ml);if(e.status===ua&&e.wrap===0&&(e.status=Mi),e.status===ua){let i=ms+(e.w_bits-8<<4)<<8,a=-1;if(e.strategy>=ss||e.level<2?a=0:e.level<6?a=1:e.level===6?a=2:a=3,i|=a<<6,e.strstart!==0&&(i|=J0),i+=31-i%31,so(e,i),e.strstart!==0&&(so(e,t.adler>>>16),so(e,t.adler&65535)),t.adler=1,e.status=Mi,Hn(t),e.pending!==0)return e.last_flush=-1,gn}if(e.status===ah){if(t.adler=0,be(e,31),be(e,139),be(e,8),e.gzhead)be(e,(e.gzhead.text?1:0)+(e.gzhead.hcrc?2:0)+(e.gzhead.extra?4:0)+(e.gzhead.name?8:0)+(e.gzhead.comment?16:0)),be(e,e.gzhead.time&255),be(e,e.gzhead.time>>8&255),be(e,e.gzhead.time>>16&255),be(e,e.gzhead.time>>24&255),be(e,e.level===9?2:e.strategy>=ss||e.level<2?4:0),be(e,e.gzhead.os&255),e.gzhead.extra&&e.gzhead.extra.length&&(be(e,e.gzhead.extra.length&255),be(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=ln(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=Kl;else if(be(e,0),be(e,0),be(e,0),be(e,0),be(e,0),be(e,e.level===9?2:e.strategy>=ss||e.level<2?4:0),be(e,Q0),e.status=Mi,Hn(t),e.pending!==0)return e.last_flush=-1,gn}if(e.status===Kl){if(e.gzhead.extra){let i=e.pending,a=(e.gzhead.extra.length&65535)-e.gzindex;for(;e.pending+a>e.pending_buf_size;){let l=e.pending_buf_size-e.pending;if(e.pending_buf.set(e.gzhead.extra.subarray(e.gzindex,e.gzindex+l),e.pending),e.pending=e.pending_buf_size,e.gzhead.hcrc&&e.pending>i&&(t.adler=ln(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex+=l,Hn(t),e.pending!==0)return e.last_flush=-1,gn;i=0,a-=l}let h=new Uint8Array(e.gzhead.extra);e.pending_buf.set(h.subarray(e.gzindex,e.gzindex+a),e.pending),e.pending+=a,e.gzhead.hcrc&&e.pending>i&&(t.adler=ln(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex=0}e.status=Xl}if(e.status===Xl){if(e.gzhead.name){let i=e.pending,a;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>i&&(t.adler=ln(t.adler,e.pending_buf,e.pending-i,i)),Hn(t),e.pending!==0)return e.last_flush=-1,gn;i=0}e.gzindex<e.gzhead.name.length?a=e.gzhead.name.charCodeAt(e.gzindex++)&255:a=0,be(e,a)}while(a!==0);e.gzhead.hcrc&&e.pending>i&&(t.adler=ln(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex=0}e.status=Jl}if(e.status===Jl){if(e.gzhead.comment){let i=e.pending,a;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>i&&(t.adler=ln(t.adler,e.pending_buf,e.pending-i,i)),Hn(t),e.pending!==0)return e.last_flush=-1,gn;i=0}e.gzindex<e.gzhead.comment.length?a=e.gzhead.comment.charCodeAt(e.gzindex++)&255:a=0,be(e,a)}while(a!==0);e.gzhead.hcrc&&e.pending>i&&(t.adler=ln(t.adler,e.pending_buf,e.pending-i,i))}e.status=Ql}if(e.status===Ql){if(e.gzhead.hcrc){if(e.pending+2>e.pending_buf_size&&(Hn(t),e.pending!==0))return e.last_flush=-1,gn;be(e,t.adler&255),be(e,t.adler>>8&255),t.adler=0}if(e.status=Mi,Hn(t),e.pending!==0)return e.last_flush=-1,gn}if(t.avail_in!==0||e.lookahead!==0||n!==ui&&e.status!==lo){let i=e.level===0?Hc(e,n):e.strategy===ss?r2(e,n):e.strategy===B0?n2(e,n):ho[e.level].func(e,n);if((i===Bi||i===va)&&(e.status=lo),i===Sn||i===Bi)return t.avail_out===0&&(e.last_flush=-1),gn;if(i===ma&&(n===T0?O0(e):n!==$f&&($l(e,0,0,!1),n===D0&&(hi(e.head),e.lookahead===0&&(e.strstart=0,e.block_start=0,e.insert=0))),Hn(t),t.avail_out===0))return e.last_flush=-1,gn}return n!==Jn?gn:e.wrap<=0?Yf:(e.wrap===2?(be(e,t.adler&255),be(e,t.adler>>8&255),be(e,t.adler>>16&255),be(e,t.adler>>24&255),be(e,t.total_in&255),be(e,t.total_in>>8&255),be(e,t.total_in>>16&255),be(e,t.total_in>>24&255)):(so(e,t.adler>>>16),so(e,t.adler&65535)),Hn(t),e.wrap>0&&(e.wrap=-e.wrap),e.pending!==0?gn:Yf)},h2=t=>{if(Ao(t))return Lr;let n=t.state.status;return t.state=null,n===Mi?Ri(t,M0):gn},f2=(t,n)=>{let e=n.length;if(Ao(t))return Lr;let r=t.state,i=r.wrap;if(i===2||i===1&&r.status!==ua||r.lookahead)return Lr;if(i===1&&(t.adler=bo(t.adler,n,e,0)),r.wrap=0,e>=r.w_size){i===0&&(hi(r.head),r.strstart=0,r.block_start=0,r.insert=0);let f=new Uint8Array(r.w_size);f.set(n.subarray(e-r.w_size,e),0),n=f,e=r.w_size}let a=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=e,t.next_in=0,t.input=n,da(r);r.lookahead>=ce;){let f=r.strstart,u=r.lookahead-(ce-1);do r.ins_h=di(r,r.ins_h,r.window[f+ce-1]),r.prev[f&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=f,f++;while(--u);r.strstart=f,r.lookahead=ce-1,da(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=ce-1,r.match_available=0,t.next_in=h,t.input=l,t.avail_in=a,r.wrap=i,gn},c2=s2,u2=Vc,d2=Gc,p2=Wc,g2=o2,m2=l2,v2=h2,b2=f2,w2="pako deflate (from Nodeca project)",co={deflateInit:c2,deflateInit2:u2,deflateReset:d2,deflateResetKeep:p2,deflateSetHeader:g2,deflate:m2,deflateEnd:v2,deflateSetDictionary:b2,deflateInfo:w2},y2=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),_2=function(t){let n=Array.prototype.slice.call(arguments,1);for(;n.length;){let e=n.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(let r in e)y2(e,r)&&(t[r]=e[r])}}return t},x2=t=>{let n=0;for(let r=0,i=t.length;r<i;r++)n+=t[r].length;let e=new Uint8Array(n);for(let r=0,i=0,a=t.length;r<a;r++){let h=t[r];e.set(h,i),i+=h.length}return e},vs={assign:_2,flattenChunks:x2},Zc=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Zc=!1}var wo=new Uint8Array(256);for(let t=0;t<256;t++)wo[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;wo[254]=wo[254]=1;var A2=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let n,e,r,i,a,h=t.length,l=0;for(i=0;i<h;i++)e=t.charCodeAt(i),(e&64512)===55296&&i+1<h&&(r=t.charCodeAt(i+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),i++)),l+=e<128?1:e<2048?2:e<65536?3:4;for(n=new Uint8Array(l),a=0,i=0;a<l;i++)e=t.charCodeAt(i),(e&64512)===55296&&i+1<h&&(r=t.charCodeAt(i+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),i++)),e<128?n[a++]=e:e<2048?(n[a++]=192|e>>>6,n[a++]=128|e&63):e<65536?(n[a++]=224|e>>>12,n[a++]=128|e>>>6&63,n[a++]=128|e&63):(n[a++]=240|e>>>18,n[a++]=128|e>>>12&63,n[a++]=128|e>>>6&63,n[a++]=128|e&63);return n},N2=(t,n)=>{if(n<65534&&t.subarray&&Zc)return String.fromCharCode.apply(null,t.length===n?t:t.subarray(0,n));let e="";for(let r=0;r<n;r++)e+=String.fromCharCode(t[r]);return e},L2=(t,n)=>{let e=n||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,n));let r,i,a=new Array(e*2);for(i=0,r=0;r<e;){let h=t[r++];if(h<128){a[i++]=h;continue}let l=wo[h];if(l>4){a[i++]=65533,r+=l-1;continue}for(h&=l===2?31:l===3?15:7;l>1&&r<e;)h=h<<6|t[r++]&63,l--;if(l>1){a[i++]=65533;continue}h<65536?a[i++]=h:(h-=65536,a[i++]=55296|h>>10&1023,a[i++]=56320|h&1023)}return N2(a,i)},S2=(t,n)=>{n=n||t.length,n>t.length&&(n=t.length);let e=n-1;for(;e>=0&&(t[e]&192)===128;)e--;return e<0||e===0?n:e+wo[t[e]]>n?e:n},yo={string2buf:A2,buf2string:L2,utf8border:S2};function k2(){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}var $c=k2,Yc=Object.prototype.toString,{Z_NO_FLUSH:P2,Z_SYNC_FLUSH:I2,Z_FULL_FLUSH:F2,Z_FINISH:E2,Z_OK:ps,Z_STREAM_END:C2,Z_DEFAULT_COMPRESSION:O2,Z_DEFAULT_STRATEGY:T2,Z_DEFLATED:D2}=ga;function No(t){this.options=vs.assign({level:O2,method:D2,chunkSize:16384,windowBits:15,memLevel:8,strategy:T2},t||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new $c,this.strm.avail_out=0;let e=co.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(e!==ps)throw new Error(ji[e]);if(n.header&&co.deflateSetHeader(this.strm,n.header),n.dictionary){let r;if(typeof n.dictionary=="string"?r=yo.string2buf(n.dictionary):Yc.call(n.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(n.dictionary):r=n.dictionary,e=co.deflateSetDictionary(this.strm,r),e!==ps)throw new Error(ji[e]);this._dict_set=!0}}No.prototype.push=function(t,n){let e=this.strm,r=this.options.chunkSize,i,a;if(this.ended)return!1;for(n===~~n?a=n:a=n===!0?E2:P2,typeof t=="string"?e.input=yo.string2buf(t):Yc.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){if(e.avail_out===0&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),(a===I2||a===F2)&&e.avail_out<=6){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(i=co.deflate(e,a),i===C2)return e.next_out>0&&this.onData(e.output.subarray(0,e.next_out)),i=co.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===ps;if(e.avail_out===0){this.onData(e.output);continue}if(a>0&&e.next_out>0){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(e.avail_in===0)break}return!0};No.prototype.onData=function(t){this.chunks.push(t)};No.prototype.onEnd=function(t){t===ps&&(this.result=vs.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function oh(t,n){let e=new No(n);if(e.push(t,!0),e.err)throw e.msg||ji[e.err];return e.result}function M2(t,n){return n=n||{},n.raw=!0,oh(t,n)}function R2(t,n){return n=n||{},n.gzip=!0,oh(t,n)}var j2=No,B2=oh,z2=M2,U2=R2,q2=ga,H2={Deflate:j2,deflate:B2,deflateRaw:z2,gzip:U2,constants:q2},ls=16209,W2=16191,G2=function(n,e){let r,i,a,h,l,f,u,g,w,A,p,E,P,T,L,H,U,j,rt,vt,ot,K,B,et,S=n.state;r=n.next_in,B=n.input,i=r+(n.avail_in-5),a=n.next_out,et=n.output,h=a-(e-n.avail_out),l=a+(n.avail_out-257),f=S.dmax,u=S.wsize,g=S.whave,w=S.wnext,A=S.window,p=S.hold,E=S.bits,P=S.lencode,T=S.distcode,L=(1<<S.lenbits)-1,H=(1<<S.distbits)-1;t:do{E<15&&(p+=B[r++]<<E,E+=8,p+=B[r++]<<E,E+=8),U=P[p&L];e:for(;;){if(j=U>>>24,p>>>=j,E-=j,j=U>>>16&255,j===0)et[a++]=U&65535;else if(j&16){rt=U&65535,j&=15,j&&(E<j&&(p+=B[r++]<<E,E+=8),rt+=p&(1<<j)-1,p>>>=j,E-=j),E<15&&(p+=B[r++]<<E,E+=8,p+=B[r++]<<E,E+=8),U=T[p&H];n:for(;;){if(j=U>>>24,p>>>=j,E-=j,j=U>>>16&255,j&16){if(vt=U&65535,j&=15,E<j&&(p+=B[r++]<<E,E+=8,E<j&&(p+=B[r++]<<E,E+=8)),vt+=p&(1<<j)-1,vt>f){n.msg="invalid distance too far back",S.mode=ls;break t}if(p>>>=j,E-=j,j=a-h,vt>j){if(j=vt-j,j>g&&S.sane){n.msg="invalid distance too far back",S.mode=ls;break t}if(ot=0,K=A,w===0){if(ot+=u-j,j<rt){rt-=j;do et[a++]=A[ot++];while(--j);ot=a-vt,K=et}}else if(w<j){if(ot+=u+w-j,j-=w,j<rt){rt-=j;do et[a++]=A[ot++];while(--j);if(ot=0,w<rt){j=w,rt-=j;do et[a++]=A[ot++];while(--j);ot=a-vt,K=et}}}else if(ot+=w-j,j<rt){rt-=j;do et[a++]=A[ot++];while(--j);ot=a-vt,K=et}for(;rt>2;)et[a++]=K[ot++],et[a++]=K[ot++],et[a++]=K[ot++],rt-=3;rt&&(et[a++]=K[ot++],rt>1&&(et[a++]=K[ot++]))}else{ot=a-vt;do et[a++]=et[ot++],et[a++]=et[ot++],et[a++]=et[ot++],rt-=3;while(rt>2);rt&&(et[a++]=et[ot++],rt>1&&(et[a++]=et[ot++]))}}else if((j&64)===0){U=T[(U&65535)+(p&(1<<j)-1)];continue n}else{n.msg="invalid distance code",S.mode=ls;break t}break}}else if((j&64)===0){U=P[(U&65535)+(p&(1<<j)-1)];continue e}else if(j&32){S.mode=W2;break t}else{n.msg="invalid literal/length code",S.mode=ls;break t}break}}while(r<i&&a<l);rt=E>>3,r-=rt,E-=rt<<3,p&=(1<<E)-1,n.next_in=r,n.next_out=a,n.avail_in=r<i?5+(i-r):5-(r-i),n.avail_out=a<l?257+(l-a):257-(a-l),S.hold=p,S.bits=E},fa=15,Xf=852,Jf=592,Qf=0,jl=1,tc=2,V2=new Uint16Array([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]),Z2=new Uint8Array([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]),$2=new Uint16Array([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]),Y2=new Uint8Array([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]),K2=(t,n,e,r,i,a,h,l)=>{let f=l.bits,u=0,g=0,w=0,A=0,p=0,E=0,P=0,T=0,L=0,H=0,U,j,rt,vt,ot,K=null,B,et=new Uint16Array(fa+1),S=new Uint16Array(fa+1),O=null,G,q,it;for(u=0;u<=fa;u++)et[u]=0;for(g=0;g<r;g++)et[n[e+g]]++;for(p=f,A=fa;A>=1&&et[A]===0;A--);if(p>A&&(p=A),A===0)return i[a++]=1<<24|64<<16|0,i[a++]=1<<24|64<<16|0,l.bits=1,0;for(w=1;w<A&&et[w]===0;w++);for(p<w&&(p=w),T=1,u=1;u<=fa;u++)if(T<<=1,T-=et[u],T<0)return-1;if(T>0&&(t===Qf||A!==1))return-1;for(S[1]=0,u=1;u<fa;u++)S[u+1]=S[u]+et[u];for(g=0;g<r;g++)n[e+g]!==0&&(h[S[n[e+g]]++]=g);if(t===Qf?(K=O=h,B=20):t===jl?(K=V2,O=Z2,B=257):(K=$2,O=Y2,B=0),H=0,g=0,u=w,ot=a,E=p,P=0,rt=-1,L=1<<p,vt=L-1,t===jl&&L>Xf||t===tc&&L>Jf)return 1;for(;;){G=u-P,h[g]+1<B?(q=0,it=h[g]):h[g]>=B?(q=O[h[g]-B],it=K[h[g]-B]):(q=96,it=0),U=1<<u-P,j=1<<E,w=j;do j-=U,i[ot+(H>>P)+j]=G<<24|q<<16|it|0;while(j!==0);for(U=1<<u-1;H&U;)U>>=1;if(U!==0?(H&=U-1,H+=U):H=0,g++,--et[u]===0){if(u===A)break;u=n[e+h[g]]}if(u>p&&(H&vt)!==rt){for(P===0&&(P=p),ot+=w,E=u-P,T=1<<E;E+P<A&&(T-=et[E+P],!(T<=0));)E++,T<<=1;if(L+=1<<E,t===jl&&L>Xf||t===tc&&L>Jf)return 1;rt=H&vt,i[rt]=p<<24|E<<16|ot-a|0}}return H!==0&&(i[ot+H]=u-P<<24|64<<16|0),l.bits=p,0},uo=K2,X2=0,Kc=1,Xc=2,{Z_FINISH:ec,Z_BLOCK:J2,Z_TREES:hs,Z_OK:zi,Z_STREAM_END:Q2,Z_NEED_DICT:t5,Z_STREAM_ERROR:Qn,Z_DATA_ERROR:Jc,Z_MEM_ERROR:Qc,Z_BUF_ERROR:e5,Z_DEFLATED:nc}=ga,bs=16180,rc=16181,ic=16182,ac=16183,oc=16184,sc=16185,lc=16186,hc=16187,fc=16188,cc=16189,gs=16190,Vr=16191,Bl=16192,uc=16193,zl=16194,dc=16195,pc=16196,gc=16197,mc=16198,fs=16199,cs=16200,vc=16201,bc=16202,wc=16203,yc=16204,_c=16205,Ul=16206,xc=16207,Ac=16208,Te=16209,tu=16210,eu=16211,n5=852,r5=592,i5=15,a5=i5,Nc=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function o5(){this.strm=null,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var Ui=t=>{if(!t)return 1;let n=t.state;return!n||n.strm!==t||n.mode<bs||n.mode>eu?1:0},nu=t=>{if(Ui(t))return Qn;let n=t.state;return t.total_in=t.total_out=n.total=0,t.msg="",n.wrap&&(t.adler=n.wrap&1),n.mode=bs,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(n5),n.distcode=n.distdyn=new Int32Array(r5),n.sane=1,n.back=-1,zi},ru=t=>{if(Ui(t))return Qn;let n=t.state;return n.wsize=0,n.whave=0,n.wnext=0,nu(t)},iu=(t,n)=>{let e;if(Ui(t))return Qn;let r=t.state;return n<0?(e=0,n=-n):(e=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?Qn:(r.window!==null&&r.wbits!==n&&(r.window=null),r.wrap=e,r.wbits=n,ru(t))},au=(t,n)=>{if(!t)return Qn;let e=new o5;t.state=e,e.strm=t,e.window=null,e.mode=bs;let r=iu(t,n);return r!==zi&&(t.state=null),r},s5=t=>au(t,a5),Lc=!0,ql,Hl,l5=t=>{if(Lc){ql=new Int32Array(512),Hl=new Int32Array(32);let n=0;for(;n<144;)t.lens[n++]=8;for(;n<256;)t.lens[n++]=9;for(;n<280;)t.lens[n++]=7;for(;n<288;)t.lens[n++]=8;for(uo(Kc,t.lens,0,288,ql,0,t.work,{bits:9}),n=0;n<32;)t.lens[n++]=5;uo(Xc,t.lens,0,32,Hl,0,t.work,{bits:5}),Lc=!1}t.lencode=ql,t.lenbits=9,t.distcode=Hl,t.distbits=5},ou=(t,n,e,r)=>{let i,a=t.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),r>=a.wsize?(a.window.set(n.subarray(e-a.wsize,e),0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),a.window.set(n.subarray(e-r,e-r+i),a.wnext),r-=i,r?(a.window.set(n.subarray(e-r,e),0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0},h5=(t,n)=>{let e,r,i,a,h,l,f,u,g,w,A,p,E,P,T=0,L,H,U,j,rt,vt,ot,K,B=new Uint8Array(4),et,S,O=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Ui(t)||!t.output||!t.input&&t.avail_in!==0)return Qn;e=t.state,e.mode===Vr&&(e.mode=Bl),h=t.next_out,i=t.output,f=t.avail_out,a=t.next_in,r=t.input,l=t.avail_in,u=e.hold,g=e.bits,w=l,A=f,K=zi;t:for(;;)switch(e.mode){case bs:if(e.wrap===0){e.mode=Bl;break}for(;g<16;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if(e.wrap&2&&u===35615){e.wbits===0&&(e.wbits=15),e.check=0,B[0]=u&255,B[1]=u>>>8&255,e.check=ln(e.check,B,2,0),u=0,g=0,e.mode=rc;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((u&255)<<8)+(u>>8))%31){t.msg="incorrect header check",e.mode=Te;break}if((u&15)!==nc){t.msg="unknown compression method",e.mode=Te;break}if(u>>>=4,g-=4,ot=(u&15)+8,e.wbits===0&&(e.wbits=ot),ot>15||ot>e.wbits){t.msg="invalid window size",e.mode=Te;break}e.dmax=1<<e.wbits,e.flags=0,t.adler=e.check=1,e.mode=u&512?cc:Vr,u=0,g=0;break;case rc:for(;g<16;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if(e.flags=u,(e.flags&255)!==nc){t.msg="unknown compression method",e.mode=Te;break}if(e.flags&57344){t.msg="unknown header flags set",e.mode=Te;break}e.head&&(e.head.text=u>>8&1),e.flags&512&&e.wrap&4&&(B[0]=u&255,B[1]=u>>>8&255,e.check=ln(e.check,B,2,0)),u=0,g=0,e.mode=ic;case ic:for(;g<32;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}e.head&&(e.head.time=u),e.flags&512&&e.wrap&4&&(B[0]=u&255,B[1]=u>>>8&255,B[2]=u>>>16&255,B[3]=u>>>24&255,e.check=ln(e.check,B,4,0)),u=0,g=0,e.mode=ac;case ac:for(;g<16;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}e.head&&(e.head.xflags=u&255,e.head.os=u>>8),e.flags&512&&e.wrap&4&&(B[0]=u&255,B[1]=u>>>8&255,e.check=ln(e.check,B,2,0)),u=0,g=0,e.mode=oc;case oc:if(e.flags&1024){for(;g<16;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}e.length=u,e.head&&(e.head.extra_len=u),e.flags&512&&e.wrap&4&&(B[0]=u&255,B[1]=u>>>8&255,e.check=ln(e.check,B,2,0)),u=0,g=0}else e.head&&(e.head.extra=null);e.mode=sc;case sc:if(e.flags&1024&&(p=e.length,p>l&&(p=l),p&&(e.head&&(ot=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(r.subarray(a,a+p),ot)),e.flags&512&&e.wrap&4&&(e.check=ln(e.check,r,p,a)),l-=p,a+=p,e.length-=p),e.length))break t;e.length=0,e.mode=lc;case lc:if(e.flags&2048){if(l===0)break t;p=0;do ot=r[a+p++],e.head&&ot&&e.length<65536&&(e.head.name+=String.fromCharCode(ot));while(ot&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=ln(e.check,r,p,a)),l-=p,a+=p,ot)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=hc;case hc:if(e.flags&4096){if(l===0)break t;p=0;do ot=r[a+p++],e.head&&ot&&e.length<65536&&(e.head.comment+=String.fromCharCode(ot));while(ot&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=ln(e.check,r,p,a)),l-=p,a+=p,ot)break t}else e.head&&(e.head.comment=null);e.mode=fc;case fc:if(e.flags&512){for(;g<16;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if(e.wrap&4&&u!==(e.check&65535)){t.msg="header crc mismatch",e.mode=Te;break}u=0,g=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),t.adler=e.check=0,e.mode=Vr;break;case cc:for(;g<32;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}t.adler=e.check=Nc(u),u=0,g=0,e.mode=gs;case gs:if(e.havedict===0)return t.next_out=h,t.avail_out=f,t.next_in=a,t.avail_in=l,e.hold=u,e.bits=g,t5;t.adler=e.check=1,e.mode=Vr;case Vr:if(n===J2||n===hs)break t;case Bl:if(e.last){u>>>=g&7,g-=g&7,e.mode=Ul;break}for(;g<3;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}switch(e.last=u&1,u>>>=1,g-=1,u&3){case 0:e.mode=uc;break;case 1:if(l5(e),e.mode=fs,n===hs){u>>>=2,g-=2;break t}break;case 2:e.mode=pc;break;case 3:t.msg="invalid block type",e.mode=Te}u>>>=2,g-=2;break;case uc:for(u>>>=g&7,g-=g&7;g<32;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if((u&65535)!==(u>>>16^65535)){t.msg="invalid stored block lengths",e.mode=Te;break}if(e.length=u&65535,u=0,g=0,e.mode=zl,n===hs)break t;case zl:e.mode=dc;case dc:if(p=e.length,p){if(p>l&&(p=l),p>f&&(p=f),p===0)break t;i.set(r.subarray(a,a+p),h),l-=p,a+=p,f-=p,h+=p,e.length-=p;break}e.mode=Vr;break;case pc:for(;g<14;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if(e.nlen=(u&31)+257,u>>>=5,g-=5,e.ndist=(u&31)+1,u>>>=5,g-=5,e.ncode=(u&15)+4,u>>>=4,g-=4,e.nlen>286||e.ndist>30){t.msg="too many length or distance symbols",e.mode=Te;break}e.have=0,e.mode=gc;case gc:for(;e.have<e.ncode;){for(;g<3;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}e.lens[O[e.have++]]=u&7,u>>>=3,g-=3}for(;e.have<19;)e.lens[O[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,et={bits:e.lenbits},K=uo(X2,e.lens,0,19,e.lencode,0,e.work,et),e.lenbits=et.bits,K){t.msg="invalid code lengths set",e.mode=Te;break}e.have=0,e.mode=mc;case mc:for(;e.have<e.nlen+e.ndist;){for(;T=e.lencode[u&(1<<e.lenbits)-1],L=T>>>24,H=T>>>16&255,U=T&65535,!(L<=g);){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if(U<16)u>>>=L,g-=L,e.lens[e.have++]=U;else{if(U===16){for(S=L+2;g<S;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if(u>>>=L,g-=L,e.have===0){t.msg="invalid bit length repeat",e.mode=Te;break}ot=e.lens[e.have-1],p=3+(u&3),u>>>=2,g-=2}else if(U===17){for(S=L+3;g<S;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}u>>>=L,g-=L,ot=0,p=3+(u&7),u>>>=3,g-=3}else{for(S=L+7;g<S;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}u>>>=L,g-=L,ot=0,p=11+(u&127),u>>>=7,g-=7}if(e.have+p>e.nlen+e.ndist){t.msg="invalid bit length repeat",e.mode=Te;break}for(;p--;)e.lens[e.have++]=ot}}if(e.mode===Te)break;if(e.lens[256]===0){t.msg="invalid code -- missing end-of-block",e.mode=Te;break}if(e.lenbits=9,et={bits:e.lenbits},K=uo(Kc,e.lens,0,e.nlen,e.lencode,0,e.work,et),e.lenbits=et.bits,K){t.msg="invalid literal/lengths set",e.mode=Te;break}if(e.distbits=6,e.distcode=e.distdyn,et={bits:e.distbits},K=uo(Xc,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,et),e.distbits=et.bits,K){t.msg="invalid distances set",e.mode=Te;break}if(e.mode=fs,n===hs)break t;case fs:e.mode=cs;case cs:if(l>=6&&f>=258){t.next_out=h,t.avail_out=f,t.next_in=a,t.avail_in=l,e.hold=u,e.bits=g,G2(t,A),h=t.next_out,i=t.output,f=t.avail_out,a=t.next_in,r=t.input,l=t.avail_in,u=e.hold,g=e.bits,e.mode===Vr&&(e.back=-1);break}for(e.back=0;T=e.lencode[u&(1<<e.lenbits)-1],L=T>>>24,H=T>>>16&255,U=T&65535,!(L<=g);){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if(H&&(H&240)===0){for(j=L,rt=H,vt=U;T=e.lencode[vt+((u&(1<<j+rt)-1)>>j)],L=T>>>24,H=T>>>16&255,U=T&65535,!(j+L<=g);){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}u>>>=j,g-=j,e.back+=j}if(u>>>=L,g-=L,e.back+=L,e.length=U,H===0){e.mode=_c;break}if(H&32){e.back=-1,e.mode=Vr;break}if(H&64){t.msg="invalid literal/length code",e.mode=Te;break}e.extra=H&15,e.mode=vc;case vc:if(e.extra){for(S=e.extra;g<S;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}e.length+=u&(1<<e.extra)-1,u>>>=e.extra,g-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=bc;case bc:for(;T=e.distcode[u&(1<<e.distbits)-1],L=T>>>24,H=T>>>16&255,U=T&65535,!(L<=g);){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if((H&240)===0){for(j=L,rt=H,vt=U;T=e.distcode[vt+((u&(1<<j+rt)-1)>>j)],L=T>>>24,H=T>>>16&255,U=T&65535,!(j+L<=g);){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}u>>>=j,g-=j,e.back+=j}if(u>>>=L,g-=L,e.back+=L,H&64){t.msg="invalid distance code",e.mode=Te;break}e.offset=U,e.extra=H&15,e.mode=wc;case wc:if(e.extra){for(S=e.extra;g<S;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}e.offset+=u&(1<<e.extra)-1,u>>>=e.extra,g-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){t.msg="invalid distance too far back",e.mode=Te;break}e.mode=yc;case yc:if(f===0)break t;if(p=A-f,e.offset>p){if(p=e.offset-p,p>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=Te;break}p>e.wnext?(p-=e.wnext,E=e.wsize-p):E=e.wnext-p,p>e.length&&(p=e.length),P=e.window}else P=i,E=h-e.offset,p=e.length;p>f&&(p=f),f-=p,e.length-=p;do i[h++]=P[E++];while(--p);e.length===0&&(e.mode=cs);break;case _c:if(f===0)break t;i[h++]=e.length,f--,e.mode=cs;break;case Ul:if(e.wrap){for(;g<32;){if(l===0)break t;l--,u|=r[a++]<<g,g+=8}if(A-=f,t.total_out+=A,e.total+=A,e.wrap&4&&A&&(t.adler=e.check=e.flags?ln(e.check,i,A,h-A):bo(e.check,i,A,h-A)),A=f,e.wrap&4&&(e.flags?u:Nc(u))!==e.check){t.msg="incorrect data check",e.mode=Te;break}u=0,g=0}e.mode=xc;case xc:if(e.wrap&&e.flags){for(;g<32;){if(l===0)break t;l--,u+=r[a++]<<g,g+=8}if(e.wrap&4&&u!==(e.total&4294967295)){t.msg="incorrect length check",e.mode=Te;break}u=0,g=0}e.mode=Ac;case Ac:K=Q2;break t;case Te:K=Jc;break t;case tu:return Qc;case eu:default:return Qn}return t.next_out=h,t.avail_out=f,t.next_in=a,t.avail_in=l,e.hold=u,e.bits=g,(e.wsize||A!==t.avail_out&&e.mode<Te&&(e.mode<Ul||n!==ec))&&ou(t,t.output,t.next_out,A-t.avail_out),w-=t.avail_in,A-=t.avail_out,t.total_in+=w,t.total_out+=A,e.total+=A,e.wrap&4&&A&&(t.adler=e.check=e.flags?ln(e.check,i,A,t.next_out-A):bo(e.check,i,A,t.next_out-A)),t.data_type=e.bits+(e.last?64:0)+(e.mode===Vr?128:0)+(e.mode===fs||e.mode===zl?256:0),(w===0&&A===0||n===ec)&&K===zi&&(K=e5),K},f5=t=>{if(Ui(t))return Qn;let n=t.state;return n.window&&(n.window=null),t.state=null,zi},c5=(t,n)=>{if(Ui(t))return Qn;let e=t.state;return(e.wrap&2)===0?Qn:(e.head=n,n.done=!1,zi)},u5=(t,n)=>{let e=n.length,r,i,a;return Ui(t)||(r=t.state,r.wrap!==0&&r.mode!==gs)?Qn:r.mode===gs&&(i=1,i=bo(i,n,e,0),i!==r.check)?Jc:(a=ou(t,n,e,e),a?(r.mode=tu,Qc):(r.havedict=1,zi))},d5=ru,p5=iu,g5=nu,m5=s5,v5=au,b5=h5,w5=f5,y5=c5,_5=u5,x5="pako inflate (from Nodeca project)",$r={inflateReset:d5,inflateReset2:p5,inflateResetKeep:g5,inflateInit:m5,inflateInit2:v5,inflate:b5,inflateEnd:w5,inflateGetHeader:y5,inflateSetDictionary:_5,inflateInfo:x5};function A5(){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}var N5=A5,su=Object.prototype.toString,{Z_NO_FLUSH:L5,Z_FINISH:S5,Z_OK:_o,Z_STREAM_END:Wl,Z_NEED_DICT:Gl,Z_STREAM_ERROR:k5,Z_DATA_ERROR:Sc,Z_MEM_ERROR:P5}=ga;function Lo(t){this.options=vs.assign({chunkSize:1024*64,windowBits:15,to:""},t||{});let n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(t&&t.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new $c,this.strm.avail_out=0;let e=$r.inflateInit2(this.strm,n.windowBits);if(e!==_o)throw new Error(ji[e]);if(this.header=new N5,$r.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=yo.string2buf(n.dictionary):su.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(e=$r.inflateSetDictionary(this.strm,n.dictionary),e!==_o)))throw new Error(ji[e])}Lo.prototype.push=function(t,n){let e=this.strm,r=this.options.chunkSize,i=this.options.dictionary,a,h,l;if(this.ended)return!1;for(n===~~n?h=n:h=n===!0?S5:L5,su.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),a=$r.inflate(e,h),a===Gl&&i&&(a=$r.inflateSetDictionary(e,i),a===_o?a=$r.inflate(e,h):a===Sc&&(a=Gl));e.avail_in>0&&a===Wl&&e.state.wrap>0&&t[e.next_in]!==0;)$r.inflateReset(e),a=$r.inflate(e,h);switch(a){case k5:case Sc:case Gl:case P5:return this.onEnd(a),this.ended=!0,!1}if(l=e.avail_out,e.next_out&&(e.avail_out===0||a===Wl))if(this.options.to==="string"){let f=yo.utf8border(e.output,e.next_out),u=e.next_out-f,g=yo.buf2string(e.output,f);e.next_out=u,e.avail_out=r-u,u&&e.output.set(e.output.subarray(f,f+u),0),this.onData(g)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out));if(!(a===_o&&l===0)){if(a===Wl)return a=$r.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(e.avail_in===0)break}}return!0};Lo.prototype.onData=function(t){this.chunks.push(t)};Lo.prototype.onEnd=function(t){t===_o&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=vs.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function sh(t,n){let e=new Lo(n);if(e.push(t),e.err)throw e.msg||ji[e.err];return e.result}function I5(t,n){return n=n||{},n.raw=!0,sh(t,n)}var F5=Lo,E5=sh,C5=I5,O5=sh,T5=ga,D5={Inflate:F5,inflate:E5,inflateRaw:C5,ungzip:O5,constants:T5},{Deflate:bp,deflate:wp,deflateRaw:yp,gzip:_p}=H2,{Inflate:M5,inflate:R5,inflateRaw:xp,ungzip:Ap}=D5;var lh=M5,lu=R5;var fu=[];for(let t=0;t<256;t++){let n=t;for(let e=0;e<8;e++)n&1?n=3988292384^n>>>1:n=n>>>1;fu[t]=n}var hu=4294967295;function j5(t,n,e){let r=t;for(let i=0;i<e;i++)r=fu[(r^n[i])&255]^r>>>8;return r}function B5(t,n){return(j5(hu,t,n)^hu)>>>0}function hh(t,n,e){let r=t.readUint32(),i=B5(new Uint8Array(t.buffer,t.byteOffset+t.offset-n-4,n),n);if(i!==r)throw new Error(`CRC mismatch for chunk ${e}. Expected ${r}, found ${i}`)}function ws(t,n,e){for(let r=0;r<e;r++)n[r]=t[r]}function ys(t,n,e,r){let i=0;for(;i<r;i++)n[i]=t[i];for(;i<e;i++)n[i]=t[i]+n[i-r]&255}function _s(t,n,e,r){let i=0;if(e.length===0)for(;i<r;i++)n[i]=t[i];else for(;i<r;i++)n[i]=t[i]+e[i]&255}function xs(t,n,e,r,i){let a=0;if(e.length===0){for(;a<i;a++)n[a]=t[a];for(;a<r;a++)n[a]=t[a]+(n[a-i]>>1)&255}else{for(;a<i;a++)n[a]=t[a]+(e[a]>>1)&255;for(;a<r;a++)n[a]=t[a]+(n[a-i]+e[a]>>1)&255}}function As(t,n,e,r,i){let a=0;if(e.length===0){for(;a<i;a++)n[a]=t[a];for(;a<r;a++)n[a]=t[a]+n[a-i]&255}else{for(;a<i;a++)n[a]=t[a]+e[a]&255;for(;a<r;a++)n[a]=t[a]+z5(n[a-i],e[a],e[a-i])&255}}function z5(t,n,e){let r=t+n-e,i=Math.abs(r-t),a=Math.abs(r-n),h=Math.abs(r-e);return i<=a&&i<=h?t:a<=h?n:e}function cu(t,n,e,r,i,a){switch(t){case 0:ws(n,e,i);break;case 1:ys(n,e,i,a);break;case 2:_s(n,e,r,i);break;case 3:xs(n,e,r,i,a);break;case 4:As(n,e,r,i,a);break;default:throw new Error(`Unsupported filter: ${t}`)}}var U5=new Uint16Array([255]),q5=new Uint8Array(U5.buffer),H5=q5[0]===255;function uu(t){let{data:n,width:e,height:r,channels:i,depth:a}=t,h=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],l=Math.ceil(a/8)*i,f=new Uint8Array(r*e*l),u=0;for(let g=0;g<7;g++){let w=h[g],A=Math.ceil((e-w.x)/w.xStep),p=Math.ceil((r-w.y)/w.yStep);if(A<=0||p<=0)continue;let E=A*l,P=new Uint8Array(E);for(let T=0;T<p;T++){let L=n[u++],H=n.subarray(u,u+E);u+=E;let U=new Uint8Array(E);cu(L,H,U,P,E,l),P.set(U);for(let j=0;j<A;j++){let rt=w.x+j*w.xStep,vt=w.y+T*w.yStep;if(!(rt>=e||vt>=r))for(let ot=0;ot<l;ot++)f[(vt*e+rt)*l+ot]=U[j*l+ot]}}}if(a===16){let g=new Uint16Array(f.buffer);if(H5)for(let w=0;w<g.length;w++)g[w]=W5(g[w]);return g}else return f}function W5(t){return(t&255)<<8|t>>8&255}var G5=new Uint16Array([255]),V5=new Uint8Array(G5.buffer),Z5=V5[0]===255,$5=new Uint8Array(0);function fh(t){let{data:n,width:e,height:r,channels:i,depth:a}=t,h=Math.ceil(a/8)*i,l=Math.ceil(a/8*i*e),f=new Uint8Array(r*l),u=$5,g=0,w,A;for(let p=0;p<r;p++){switch(w=n.subarray(g+1,g+1+l),A=f.subarray(p*l,(p+1)*l),n[g]){case 0:ws(w,A,l);break;case 1:ys(w,A,l,h);break;case 2:_s(w,A,u,l);break;case 3:xs(w,A,u,l,h);break;case 4:As(w,A,u,l,h);break;default:throw new Error(`Unsupported filter: ${n[g]}`)}u=A,g+=l+1}if(a===16){let p=new Uint16Array(f.buffer);if(Z5)for(let E=0;E<p.length;E++)p[E]=Y5(p[E]);return p}else return f}function Y5(t){return(t&255)<<8|t>>8&255}var Ns=Uint8Array.of(137,80,78,71,13,10,26,10);function ch(t){if(!du(t.readBytes(Ns.length)))throw new Error("wrong PNG signature")}function du(t){if(t.length<Ns.length)return!1;for(let n=0;n<Ns.length;n++)if(t[n]!==Ns[n])return!1;return!0}var pu="tEXt",X5=0,gu=new TextDecoder("latin1");function J5(t){if(td(t),t.length===0||t.length>79)throw new Error("keyword length must be between 1 and 79")}var Q5=/^[\u0000-\u00FF]*$/;function td(t){if(!Q5.test(t))throw new Error("invalid latin1 text")}function mu(t,n,e){let r=uh(n);t[r]=ed(n,e-r.length-1)}function uh(t){for(t.mark();t.readByte()!==X5;);let n=t.offset;t.reset();let e=gu.decode(t.readBytes(n-t.offset-1));return t.skip(1),J5(e),e}function ed(t,n){return gu.decode(t.readBytes(n))}var kn={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},So={UNKNOWN:-1,DEFLATE:0},Ls={UNKNOWN:-1,ADAPTIVE:0},ko={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Po={NONE:0,BACKGROUND:1,PREVIOUS:2},Ss={SOURCE:0,OVER:1};var Io=class extends oo{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(n,e={}){super(n);let{checkCrc:r=!1}=e;this._checkCrc=r,this._inflator=new lh,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=So.UNKNOWN,this._filterMethod=Ls.UNKNOWN,this._interlaceMethod=ko.UNKNOWN,this._colorType=kn.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(ch(this);!this._end;){let n=this.readUint32(),e=this.readChars(4);this.decodeChunk(n,e)}return this.decodeImage(),this._png}decodeApng(){for(ch(this);!this._end;){let n=this.readUint32(),e=this.readChars(4);this.decodeApngChunk(n,e)}return this.decodeApngImage(),this._apng}decodeChunk(n,e){let r=this.offset;switch(e){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(n);break;case"IDAT":this.decodeIDAT(n);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(n);break;case"iCCP":this.decodeiCCP(n);break;case pu:mu(this._png.text,this,n);break;case"pHYs":this.decodepHYs();break;default:this.skip(n);break}if(this.offset-r!==n)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?hh(this,n+4,e):this.skip(4)}decodeApngChunk(n,e){let r=this.offset;switch(e!=="fdAT"&&e!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),e){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(n);break;default:this.decodeChunk(n,e),this.offset=r+n;break}if(this.offset-r!==n)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?hh(this,n+4,e):this.skip(4)}decodeIHDR(){let n=this._png;n.width=this.readUint32(),n.height=this.readUint32(),n.depth=nd(this.readUint8());let e=this.readUint8();this._colorType=e;let r;switch(e){case kn.GREYSCALE:r=1;break;case kn.TRUECOLOUR:r=3;break;case kn.INDEXED_COLOUR:r=1;break;case kn.GREYSCALE_ALPHA:r=2;break;case kn.TRUECOLOUR_ALPHA:r=4;break;case kn.UNKNOWN:default:throw new Error(`Unknown color type: ${e}`)}if(this._png.channels=r,this._compressionMethod=this.readUint8(),this._compressionMethod!==So.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){let n={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(n)}decodePLTE(n){if(n%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${n}`);let e=n/3;this._hasPalette=!0;let r=[];this._palette=r;for(let i=0;i<e;i++)r.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(n){this._writingDataChunks=!0;let e=n,r=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,r,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(n)}decodeFDAT(n){this._writingDataChunks=!0;let e=n,r=this.offset+this.byteOffset;if(r+=4,e-=4,this._inflator.push(new Uint8Array(this.buffer,r,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(n)}decodetRNS(n){switch(this._colorType){case kn.GREYSCALE:case kn.TRUECOLOUR:{if(n%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${n}`);if(n/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${n/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(n/2);for(let e=0;e<n/2;e++)this._transparency[e]=this.readUint16();break}case kn.INDEXED_COLOUR:{if(n>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${n} vs ${this._palette.length})`);let e=0;for(;e<n;e++){let r=this.readByte();this._palette[e].push(r)}for(;e<this._palette.length;e++)this._palette[e].push(255);break}case kn.UNKNOWN:case kn.GREYSCALE_ALPHA:case kn.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(n){let e=uh(this),r=this.readUint8();if(r!==So.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${r}`);let i=this.readBytes(n-e.length-2);this._png.iccEmbeddedProfile={name:e,profile:lu(i)}}decodepHYs(){let n=this.readUint32(),e=this.readUint32(),r=this.readByte();this._png.resolution={x:n,y:e,unit:r}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let n=0;n<this._numberOfFrames;n++){let e={sequenceNumber:this._frames[n].sequenceNumber,delayNumber:this._frames[n].delayNumber,delayDenominator:this._frames[n].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},r=this._frames.at(n);if(r){if(r.data=fh({data:r.data,width:r.width,height:r.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),n===0||r.xOffset===0&&r.yOffset===0&&r.width===this._png.width&&r.height===this._png.height)e.data=r.data;else{let i=this._apng.frames.at(n-1);this.disposeFrame(r,i,e),this.addFrameDataToCanvas(e,r)}this._apng.frames.push(e)}}return this._apng}disposeFrame(n,e,r){switch(n.disposeOp){case Po.NONE:break;case Po.BACKGROUND:for(let i=0;i<this._png.height;i++)for(let a=0;a<this._png.width;a++){let h=(i*n.width+a)*this._png.channels;for(let l=0;l<this._png.channels;l++)r.data[h+l]=0}break;case Po.PREVIOUS:r.data.set(e.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(n,e){let r=1<<this._png.depth,i=(a,h)=>{let l=((a+e.yOffset)*this._png.width+e.xOffset+h)*this._png.channels,f=(a*e.width+h)*this._png.channels;return{index:l,frameIndex:f}};switch(e.blendOp){case Ss.SOURCE:for(let a=0;a<e.height;a++)for(let h=0;h<e.width;h++){let{index:l,frameIndex:f}=i(a,h);for(let u=0;u<this._png.channels;u++)n.data[l+u]=e.data[f+u]}break;case Ss.OVER:for(let a=0;a<e.height;a++)for(let h=0;h<e.width;h++){let{index:l,frameIndex:f}=i(a,h);for(let u=0;u<this._png.channels;u++){let g=e.data[f+this._png.channels-1]/r,w=u%(this._png.channels-1)===0?1:e.data[f+u],A=Math.floor(g*w+(1-g)*n.data[l+u]);n.data[l+u]+=A}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);let n=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==Ls.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===ko.NO_INTERLACE)this._png.data=fh({data:n,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===ko.ADAM7)this._png.data=uu({data:n,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){let n=this._inflator.result,e=this._frames.at(-1);e?e.data=n:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Po.NONE,blendOp:Ss.SOURCE,data:n}),this._inflator=new lh,this._writingDataChunks=!1}};function nd(t){if(t!==1&&t!==2&&t!==4&&t!==8&&t!==16)throw new Error(`invalid bit depth: ${t}`);return t}var vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"})(vu||(vu={}));function bu(t,n){return new Io(t,n).decode()}var Zt=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function dh(){Zt.console&&typeof Zt.console.log=="function"&&Zt.console.log.apply(Zt.console,arguments)}var Pe={log:dh,warn:function(t){Zt.console&&(typeof Zt.console.warn=="function"?Zt.console.warn.apply(Zt.console,arguments):dh.call(null,arguments))},error:function(t){Zt.console&&(typeof Zt.console.error=="function"?Zt.console.error.apply(Zt.console,arguments):dh(t))}};function ph(t,n,e){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){qi(r.response,n,e)},r.onerror=function(){Pe.error("could not download file")},r.send()}function wu(t){var n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch{}return n.status>=200&&n.status<=299}function ks(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var qi=Zt.saveAs||((typeof window>"u"?"undefined":Ne(window))!=="object"||window!==Zt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,n,e){var r=Zt.URL||Zt.webkitURL,i=document.createElement("a");n=n||t.name||"download",i.download=n,i.rel="noopener",typeof t=="string"?(i.href=t,i.origin!==location.origin?wu(i.href)?ph(t,n,e):ks(i,i.target="_blank"):ks(i)):(i.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){ks(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,e){if(n=n||t.name||"download",typeof t=="string")if(wu(t))ph(t,n,e);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){ks(r)})}else navigator.msSaveOrOpenBlob((function(i,a){return a===void 0?a={autoBom:!1}:Ne(a)!=="object"&&(Pe.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\uFEFF",i],{type:i.type}):i})(t,e),n)}:function(t,n,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return ph(t,n,e);var i=t.type==="application/octet-stream",a=/constructor/i.test(Zt.HTMLElement)||Zt.safari,h=/CriOS\/[\d]+/.test(navigator.userAgent);if((h||i&&a)&&(typeof FileReader>"u"?"undefined":Ne(FileReader))==="object"){var l=new FileReader;l.onloadend=function(){var g=l.result;g=h?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=g:location=g,r=null},l.readAsDataURL(t)}else{var f=Zt.URL||Zt.webkitURL,u=f.createObjectURL(t);r?r.location=u:location.href=u,r=null,setTimeout(function(){f.revokeObjectURL(u)},4e4)}});function Hu(t){var n;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(l){return[parseInt(l[1]),parseInt(l[2]),parseInt(l[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(l){return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(l){return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)]}}],r=0;r<e.length;r++){var i=e[r].re,a=e[r].process,h=i.exec(t);h&&(n=a(h),this.r=n[0],this.g=n[1],this.b=n[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var l=this.r.toString(16),f=this.g.toString(16),u=this.b.toString(16);return l.length==1&&(l="0"+l),f.length==1&&(f="0"+f),u.length==1&&(u="0"+u),"#"+l+f+u}}var Es=Zt.atob.bind(Zt),yu=Zt.btoa.bind(Zt);function gh(t,n){var e=t[0],r=t[1],i=t[2],a=t[3];e=bn(e,r,i,a,n[0],7,-680876936),a=bn(a,e,r,i,n[1],12,-389564586),i=bn(i,a,e,r,n[2],17,606105819),r=bn(r,i,a,e,n[3],22,-1044525330),e=bn(e,r,i,a,n[4],7,-176418897),a=bn(a,e,r,i,n[5],12,1200080426),i=bn(i,a,e,r,n[6],17,-1473231341),r=bn(r,i,a,e,n[7],22,-45705983),e=bn(e,r,i,a,n[8],7,1770035416),a=bn(a,e,r,i,n[9],12,-1958414417),i=bn(i,a,e,r,n[10],17,-42063),r=bn(r,i,a,e,n[11],22,-1990404162),e=bn(e,r,i,a,n[12],7,1804603682),a=bn(a,e,r,i,n[13],12,-40341101),i=bn(i,a,e,r,n[14],17,-1502002290),e=wn(e,r=bn(r,i,a,e,n[15],22,1236535329),i,a,n[1],5,-165796510),a=wn(a,e,r,i,n[6],9,-1069501632),i=wn(i,a,e,r,n[11],14,643717713),r=wn(r,i,a,e,n[0],20,-373897302),e=wn(e,r,i,a,n[5],5,-701558691),a=wn(a,e,r,i,n[10],9,38016083),i=wn(i,a,e,r,n[15],14,-660478335),r=wn(r,i,a,e,n[4],20,-405537848),e=wn(e,r,i,a,n[9],5,568446438),a=wn(a,e,r,i,n[14],9,-1019803690),i=wn(i,a,e,r,n[3],14,-187363961),r=wn(r,i,a,e,n[8],20,1163531501),e=wn(e,r,i,a,n[13],5,-1444681467),a=wn(a,e,r,i,n[2],9,-51403784),i=wn(i,a,e,r,n[7],14,1735328473),e=yn(e,r=wn(r,i,a,e,n[12],20,-1926607734),i,a,n[5],4,-378558),a=yn(a,e,r,i,n[8],11,-2022574463),i=yn(i,a,e,r,n[11],16,1839030562),r=yn(r,i,a,e,n[14],23,-35309556),e=yn(e,r,i,a,n[1],4,-1530992060),a=yn(a,e,r,i,n[4],11,1272893353),i=yn(i,a,e,r,n[7],16,-155497632),r=yn(r,i,a,e,n[10],23,-1094730640),e=yn(e,r,i,a,n[13],4,681279174),a=yn(a,e,r,i,n[0],11,-358537222),i=yn(i,a,e,r,n[3],16,-722521979),r=yn(r,i,a,e,n[6],23,76029189),e=yn(e,r,i,a,n[9],4,-640364487),a=yn(a,e,r,i,n[12],11,-421815835),i=yn(i,a,e,r,n[15],16,530742520),e=_n(e,r=yn(r,i,a,e,n[2],23,-995338651),i,a,n[0],6,-198630844),a=_n(a,e,r,i,n[7],10,1126891415),i=_n(i,a,e,r,n[14],15,-1416354905),r=_n(r,i,a,e,n[5],21,-57434055),e=_n(e,r,i,a,n[12],6,1700485571),a=_n(a,e,r,i,n[3],10,-1894986606),i=_n(i,a,e,r,n[10],15,-1051523),r=_n(r,i,a,e,n[1],21,-2054922799),e=_n(e,r,i,a,n[8],6,1873313359),a=_n(a,e,r,i,n[15],10,-30611744),i=_n(i,a,e,r,n[6],15,-1560198380),r=_n(r,i,a,e,n[13],21,1309151649),e=_n(e,r,i,a,n[4],6,-145523070),a=_n(a,e,r,i,n[11],10,-1120210379),i=_n(i,a,e,r,n[2],15,718787259),r=_n(r,i,a,e,n[9],21,-343485551),t[0]=gi(e,t[0]),t[1]=gi(r,t[1]),t[2]=gi(i,t[2]),t[3]=gi(a,t[3])}function js(t,n,e,r,i,a){return n=gi(gi(n,t),gi(r,a)),gi(n<<i|n>>>32-i,e)}function bn(t,n,e,r,i,a,h){return js(n&e|~n&r,t,n,i,a,h)}function wn(t,n,e,r,i,a,h){return js(n&r|e&~r,t,n,i,a,h)}function yn(t,n,e,r,i,a,h){return js(n^e^r,t,n,i,a,h)}function _n(t,n,e,r,i,a,h){return js(e^(n|~r),t,n,i,a,h)}function Wu(t){var n,e=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)gh(r,rd(t.substring(n-64,n)));t=t.substring(n-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)i[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(i[n>>2]|=128<<(n%4<<3),n>55)for(gh(r,i),n=0;n<16;n++)i[n]=0;return i[14]=8*e,gh(r,i),r}function rd(t){var n,e=[];for(n=0;n<64;n+=4)e[n>>2]=t.charCodeAt(n)+(t.charCodeAt(n+1)<<8)+(t.charCodeAt(n+2)<<16)+(t.charCodeAt(n+3)<<24);return e}var _u="0123456789abcdef".split("");function id(t){for(var n="",e=0;e<4;e++)n+=_u[t>>8*e+4&15]+_u[t>>8*e&15];return n}function ad(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function _h(t){return Wu(t).map(ad).join("")}var od=(function(t){for(var n=0;n<t.length;n++)t[n]=id(t[n]);return t.join("")})(Wu("hello"))!="5d41402abc4b2a76b9719d911017c592";function gi(t,n){if(od){var e=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(e>>16)<<16|65535&e}return t+n&4294967295}function xh(t,n){var e,r,i,a;if(t!==e){for(var h=(i=t,a=1+(256/t.length|0),new Array(a+1).join(i)),l=[],f=0;f<256;f++)l[f]=f;var u=0;for(f=0;f<256;f++){var g=l[f];u=(u+g+h.charCodeAt(f))%256,l[f]=l[u],l[u]=g}e=t,r=l}else l=r;var w=n.length,A=0,p=0,E="";for(f=0;f<w;f++)p=(p+(g=l[A=(A+1)%256]))%256,l[A]=l[p],l[p]=g,h=l[(l[A]+l[p])%256],E+=String.fromCharCode(n.charCodeAt(f)^h);return E}var xu={print:4,modify:8,copy:16,"annot-forms":32};function ya(t,n,e,r){this.v=1,this.r=2;var i=192;t.forEach(function(l){if(xu.perm!==void 0)throw new Error("Invalid permission: "+l);i+=xu[l]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var a=(n+this.padding).substr(0,32),h=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,h),this.P=-(1+(255^i)),this.encryptionKey=_h(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=xh(this.encryptionKey,this.padding)}function _a(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var n="",e=t.length,r=0;r<e;r++){var i=t.charCodeAt(r);n+=i<33||i===35||i===37||i===40||i===41||i===47||i===60||i===62||i===91||i===93||i===123||i===125||i>126?"#"+("0"+i.toString(16)).slice(-2):t[r]}return n}function Au(t){if(Ne(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var n={};this.subscribe=function(e,r,i){if(i=i||!1,typeof e!="string"||typeof r!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");n.hasOwnProperty(e)||(n[e]={});var a=Math.random().toString(35);return n[e][a]=[r,!!i],a},this.unsubscribe=function(e){for(var r in n)if(n[r][e])return delete n[r][e],Object.keys(n[r]).length===0&&delete n[r],!0;return!1},this.publish=function(e){if(n.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var a in n[e]){var h=n[e][a];try{h[0].apply(t,r)}catch(l){Zt.console&&Pe.error("jsPDF PubSub Error",l.message,l)}h[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return n}}function Ms(t){if(!(this instanceof Ms))return new Ms(t);var n="opacity,stroke-opacity".split(",");for(var e in t)t.hasOwnProperty(e)&&n.indexOf(e)>=0&&(this[e]=t[e]);this.id="",this.objectNumber=-1}function Gu(t,n){this.gState=t,this.matrix=n,this.id="",this.objectNumber=-1}function Hi(t,n,e,r,i){if(!(this instanceof Hi))return new Hi(t,n,e,r,i);this.type=t==="axial"?2:3,this.coords=n,this.colors=e,Gu.call(this,r,i)}function xa(t,n,e,r,i){if(!(this instanceof xa))return new xa(t,n,e,r,i);this.boundingBox=t,this.xStep=n,this.yStep=e,this.stream="",this.cloneIndex=0,Gu.call(this,r,i)}function Dt(t){var n,e=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],i=arguments[2],a=arguments[3],h=[],l=1,f=16,u="S",g=null;Ne(t=t||{})==="object"&&(e=t.orientation,r=t.unit||r,i=t.format||i,a=t.compress||t.compressPdf||a,(g=t.encryption||null)!==null&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),l=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(n=t.precision),t.floatPrecision!==void 0&&(f=t.floatPrecision),u=t.defaultPathOperation||"S"),h=t.filters||(a===!0?["FlateEncode"]:h),r=r||"mm",e=(""+(e||"P")).toLowerCase();var w=t.putOnlyUsedFonts||!1,A={},p={internal:{},__private__:{}};p.__private__.PubSub=Au;var E="1.3",P=p.__private__.getPdfVersion=function(){return E};p.__private__.setPdfVersion=function(c){E=c};var T={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return T};var L=p.__private__.getPageFormat=function(c){return T[c]};i=i||"a4";var H="compat",U="advanced",j=H;function rt(){this.saveGraphicsState(),M(new Wt(Gt,0,0,-Gt,0,Tn()*Gt).toString()+" cm"),this.setFontSize(this.getFontSize()/Gt),u="n",j=U}function vt(){this.restoreGraphicsState(),u="S",j=H}var ot=p.__private__.combineFontStyleAndFontWeight=function(c,b){if(c=="bold"&&b=="normal"||c=="bold"&&b==400||c=="normal"&&b=="italic"||c=="bold"&&b=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return b&&(c=b==400||b==="normal"?c==="italic"?"italic":"normal":b!=700&&b!=="bold"||c!=="normal"?(b==700?"bold":b)+""+c:"bold"),c};p.advancedAPI=function(c){var b=j===H;return b&&rt.call(this),typeof c!="function"||(c(this),b&&vt.call(this)),this},p.compatAPI=function(c){var b=j===U;return b&&vt.call(this),typeof c!="function"||(c(this),b&&rt.call(this)),this},p.isAdvancedAPI=function(){return j===U};var K,B=function(c){if(j!==U)throw new Error(c+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},et=p.roundToPrecision=p.__private__.roundToPrecision=function(c,b){var C=n||b;if(isNaN(c)||isNaN(C))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return c.toFixed(C).replace(/0+$/,"")};K=p.hpf=p.__private__.hpf=typeof f=="number"?function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.hpf");return et(c,f)}:f==="smart"?function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.hpf");return et(c,c>-1&&c<1?16:5)}:function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.hpf");return et(c,16)};var S=p.f2=p.__private__.f2=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.f2");return et(c,2)},O=p.__private__.f3=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.f3");return et(c,3)},G=p.scale=p.__private__.scale=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.scale");return j===H?c*Gt:j===U?c:void 0},q=function(c){return G((function(b){return j===H?Tn()-b:j===U?b:void 0})(c))};p.__private__.setPrecision=p.setPrecision=function(c){typeof parseInt(c,10)=="number"&&(n=parseInt(c,10))};var it,ft="00000000000000000000000000000000",dt=p.__private__.getFileId=function(){return ft},nt=p.__private__.setFileId=function(c){return ft=c!==void 0&&/^[a-fA-F0-9]{32}$/.test(c)?c.toUpperCase():ft.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),g!==null&&(Ue=new ya(g.userPermissions,g.userPassword,g.ownerPassword,ft)),ft};p.setFileId=function(c){return nt(c),this},p.getFileId=function(){return dt()};var ct=p.__private__.convertDateToPDFDate=function(c){var b=c.getTimezoneOffset(),C=b<0?"+":"-",z=Math.floor(Math.abs(b/60)),Y=Math.abs(b%60),pt=[C,R(z),"'",R(Y),"'"].join("");return["D:",c.getFullYear(),R(c.getMonth()+1),R(c.getDate()),R(c.getHours()),R(c.getMinutes()),R(c.getSeconds()),pt].join("")},Nt=p.__private__.convertPDFDateToDate=function(c){var b=parseInt(c.substr(2,4),10),C=parseInt(c.substr(6,2),10)-1,z=parseInt(c.substr(8,2),10),Y=parseInt(c.substr(10,2),10),pt=parseInt(c.substr(12,2),10),wt=parseInt(c.substr(14,2),10);return new Date(b,C,z,Y,pt,wt,0)},yt=p.__private__.setCreationDate=function(c){var b;if(c===void 0&&(c=new Date),c instanceof Date)b=ct(c);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(c))throw new Error("Invalid argument passed to jsPDF.setCreationDate");b=c}return it=b},x=p.__private__.getCreationDate=function(c){var b=it;return c==="jsDate"&&(b=Nt(it)),b};p.setCreationDate=function(c){return yt(c),this},p.getCreationDate=function(c){return x(c)};var D,R=p.__private__.padd2=function(c){return("0"+parseInt(c)).slice(-2)},V=p.__private__.padd2Hex=function(c){return("00"+(c=c.toString())).substr(c.length)},$=0,J=[],lt=[],at=0,mt=[],At=[],kt=!1,Pt=lt;p.__private__.setCustomOutputDestination=function(c){kt=!0,Pt=c};var st=function(c){kt||(Pt=c)};p.__private__.resetCustomOutputDestination=function(){kt=!1,Pt=lt};var M=p.__private__.out=function(c){return c=c.toString(),at+=c.length+1,Pt.push(c),Pt},le=p.__private__.write=function(c){return M(arguments.length===1?c.toString():Array.prototype.join.call(arguments," "))},ne=p.__private__.getArrayBuffer=function(c){for(var b=c.length,C=new ArrayBuffer(b),z=new Uint8Array(C);b--;)z[b]=c.charCodeAt(b);return C},qt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return qt};var xt=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(c){return xt=j===U?c/Gt:c,this};var jt,St=p.__private__.getFontSize=p.getFontSize=function(){return j===H?xt:xt*Gt},re=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(c){return re=c,this},p.__private__.getR2L=p.getR2L=function(){return re};var Ut,pe=p.__private__.setZoomMode=function(c){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(c))jt=c;else if(isNaN(c)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(c)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+c+'" is not recognized.');jt=c}else jt=parseInt(c,10)};p.__private__.getZoomMode=function(){return jt};var Xt,Jt=p.__private__.setPageMode=function(c){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(c)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+c+'" is not recognized.');Ut=c};p.__private__.getPageMode=function(){return Ut};var xe=p.__private__.setLayoutMode=function(c){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(c)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+c+'" is not recognized.');Xt=c};p.__private__.getLayoutMode=function(){return Xt},p.__private__.setDisplayMode=p.setDisplayMode=function(c,b,C){return pe(c),xe(b),Jt(C),this};var ie={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(c){if(Object.keys(ie).indexOf(c)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ie[c]},p.__private__.getDocumentProperties=function(){return ie},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(c){for(var b in ie)ie.hasOwnProperty(b)&&c[b]&&(ie[b]=c[b]);return this},p.__private__.setDocumentProperty=function(c,b){if(Object.keys(ie).indexOf(c)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ie[c]=b};var Bt,Gt,zt,Ie,ge,Mt={},Qt={},Le=[],Ht={},he={},te={},ze={},Qe=null,Se=0,$t=[],we=new Au(p),vi=t.hotfixes||[],mn={},Fr={},dr=[],Wt=function c(b,C,z,Y,pt,wt){if(!(this instanceof c))return new c(b,C,z,Y,pt,wt);isNaN(b)&&(b=1),isNaN(C)&&(C=0),isNaN(z)&&(z=0),isNaN(Y)&&(Y=1),isNaN(pt)&&(pt=0),isNaN(wt)&&(wt=0),this._matrix=[b,C,z,Y,pt,wt]};Object.defineProperty(Wt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(c){this._matrix[0]=c}}),Object.defineProperty(Wt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(c){this._matrix[1]=c}}),Object.defineProperty(Wt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(c){this._matrix[2]=c}}),Object.defineProperty(Wt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(c){this._matrix[3]=c}}),Object.defineProperty(Wt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(c){this._matrix[4]=c}}),Object.defineProperty(Wt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(c){this._matrix[5]=c}}),Object.defineProperty(Wt.prototype,"a",{get:function(){return this._matrix[0]},set:function(c){this._matrix[0]=c}}),Object.defineProperty(Wt.prototype,"b",{get:function(){return this._matrix[1]},set:function(c){this._matrix[1]=c}}),Object.defineProperty(Wt.prototype,"c",{get:function(){return this._matrix[2]},set:function(c){this._matrix[2]=c}}),Object.defineProperty(Wt.prototype,"d",{get:function(){return this._matrix[3]},set:function(c){this._matrix[3]=c}}),Object.defineProperty(Wt.prototype,"e",{get:function(){return this._matrix[4]},set:function(c){this._matrix[4]=c}}),Object.defineProperty(Wt.prototype,"f",{get:function(){return this._matrix[5]},set:function(c){this._matrix[5]=c}}),Object.defineProperty(Wt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Wt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Wt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Wt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Wt.prototype.join=function(c){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(K).join(c)},Wt.prototype.multiply=function(c){var b=c.sx*this.sx+c.shy*this.shx,C=c.sx*this.shy+c.shy*this.sy,z=c.shx*this.sx+c.sy*this.shx,Y=c.shx*this.shy+c.sy*this.sy,pt=c.tx*this.sx+c.ty*this.shx+this.tx,wt=c.tx*this.shy+c.ty*this.sy+this.ty;return new Wt(b,C,z,Y,pt,wt)},Wt.prototype.decompose=function(){var c=this.sx,b=this.shy,C=this.shx,z=this.sy,Y=this.tx,pt=this.ty,wt=Math.sqrt(c*c+b*b),Et=(c/=wt)*C+(b/=wt)*z;C-=c*Et,z-=b*Et;var Tt=Math.sqrt(C*C+z*z);return Et/=Tt,c*(z/=Tt)<b*(C/=Tt)&&(c=-c,b=-b,Et=-Et,wt=-wt),{scale:new Wt(wt,0,0,Tt,0,0),translate:new Wt(1,0,0,1,Y,pt),rotate:new Wt(c,b,-b,c,0,0),skew:new Wt(1,0,Et,1,0,0)}},Wt.prototype.toString=function(c){return this.join(" ")},Wt.prototype.inversed=function(){var c=this.sx,b=this.shy,C=this.shx,z=this.sy,Y=this.tx,pt=this.ty,wt=1/(c*z-b*C),Et=z*wt,Tt=-b*wt,Vt=-C*wt,ae=c*wt;return new Wt(Et,Tt,Vt,ae,-Et*Y-Vt*pt,-Tt*Y-ae*pt)},Wt.prototype.applyToPoint=function(c){var b=c.x*this.sx+c.y*this.shx+this.tx,C=c.x*this.shy+c.y*this.sy+this.ty;return new ki(b,C)},Wt.prototype.applyToRectangle=function(c){var b=this.applyToPoint(c),C=this.applyToPoint(new ki(c.x+c.w,c.y+c.h));return new ja(b.x,b.y,C.x-b.x,C.y-b.y)},Wt.prototype.clone=function(){var c=this.sx,b=this.shy,C=this.shx,z=this.sy,Y=this.tx,pt=this.ty;return new Wt(c,b,C,z,Y,pt)},p.Matrix=Wt;var Er=p.matrixMult=function(c,b){return b.multiply(c)},Cr=new Wt(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Cr;var Gn=function(c,b){if(!he[c]){var C=(b instanceof Hi?"Sh":"P")+(Object.keys(Ht).length+1).toString(10);b.id=C,he[c]=C,Ht[C]=b,we.publish("addPattern",b)}};p.ShadingPattern=Hi,p.TilingPattern=xa,p.addShadingPattern=function(c,b){return B("addShadingPattern()"),Gn(c,b),this},p.beginTilingPattern=function(c){B("beginTilingPattern()"),Ba(c.boundingBox[0],c.boundingBox[1],c.boundingBox[2]-c.boundingBox[0],c.boundingBox[3]-c.boundingBox[1],c.matrix)},p.endTilingPattern=function(c,b){B("endTilingPattern()"),b.stream=At[D].join(`
|
6
6
|
`),Gn(c,b),we.publish("endTilingPattern",b),dr.pop().restore()};var Vn,Me=p.__private__.newObject=function(){var c=on();return fn(c,!0),c},on=p.__private__.newObjectDeferred=function(){return $++,J[$]=function(){return at},$},fn=function(c,b){return b=typeof b=="boolean"&&b,J[c]=at,b&&M(c+" 0 obj"),c},bi=p.__private__.newAdditionalObject=function(){var c={objId:on(),content:""};return mt.push(c),c},Yr=on(),er=on(),pr=p.__private__.decodeColorString=function(c){var b=c.split(" ");if(b.length!==2||b[1]!=="g"&&b[1]!=="G")b.length!==5||b[4]!=="k"&&b[4]!=="K"||(b=[(1-b[0])*(1-b[3]),(1-b[1])*(1-b[3]),(1-b[2])*(1-b[3]),"r"]);else{var C=parseFloat(b[0]);b=[C,C,C,"r"]}for(var z="#",Y=0;Y<3;Y++)z+=("0"+Math.floor(255*parseFloat(b[Y])).toString(16)).slice(-2);return z},nr=p.__private__.encodeColorString=function(c){var b;typeof c=="string"&&(c={ch1:c});var C=c.ch1,z=c.ch2,Y=c.ch3,pt=c.ch4,wt=c.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof C=="string"&&C.charAt(0)!=="#"){var Et=new Hu(C);if(Et.ok)C=Et.toHex();else if(!/^\d*\.?\d*$/.test(C))throw new Error('Invalid color "'+C+'" passed to jsPDF.encodeColorString.')}if(typeof C=="string"&&/^#[0-9A-Fa-f]{3}$/.test(C)&&(C="#"+C[1]+C[1]+C[2]+C[2]+C[3]+C[3]),typeof C=="string"&&/^#[0-9A-Fa-f]{6}$/.test(C)){var Tt=parseInt(C.substr(1),16);C=Tt>>16&255,z=Tt>>8&255,Y=255&Tt}if(z===void 0||pt===void 0&&C===z&&z===Y)b=typeof C=="string"?C+" "+wt[0]:c.precision===2?S(C/255)+" "+wt[0]:O(C/255)+" "+wt[0];else if(pt===void 0||Ne(pt)==="object"){if(pt&&!isNaN(pt.a)&&pt.a===0)return["1.","1.","1.",wt[1]].join(" ");b=typeof C=="string"?[C,z,Y,wt[1]].join(" "):c.precision===2?[S(C/255),S(z/255),S(Y/255),wt[1]].join(" "):[O(C/255),O(z/255),O(Y/255),wt[1]].join(" ")}else b=typeof C=="string"?[C,z,Y,pt,wt[2]].join(" "):c.precision===2?[S(C),S(z),S(Y),S(pt),wt[2]].join(" "):[O(C),O(z),O(Y),O(pt),wt[2]].join(" ");return b},rr=p.__private__.getFilters=function(){return h},Zn=p.__private__.putStream=function(c){var b=(c=c||{}).data||"",C=c.filters||rr(),z=c.alreadyAppliedFilters||[],Y=c.addLength1||!1,pt=b.length,wt=c.objectId,Et=function(tn){return tn};if(g!==null&&wt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");g!==null&&(Et=Ue.encryptor(wt,0));var Tt={};C===!0&&(C=["FlateEncode"]);var Vt=c.additionalKeyValues||[],ae=(Tt=Dt.API.processDataByFilters!==void 0?Dt.API.processDataByFilters(b,C):{data:b,reverseChain:[]}).reverseChain+(Array.isArray(z)?z.join(" "):z.toString());if(Tt.data.length!==0&&(Vt.push({key:"Length",value:Tt.data.length}),Y===!0&&Vt.push({key:"Length1",value:pt})),ae.length!=0)if(ae.split("/").length-1==1)Vt.push({key:"Filter",value:ae});else{Vt.push({key:"Filter",value:"["+ae+"]"});for(var me=0;me<Vt.length;me+=1)if(Vt[me].key==="DecodeParms"){for(var De=[],Xe=0;Xe<Tt.reverseChain.split("/").length-1;Xe+=1)De.push("null");De.push(Vt[me].value),Vt[me].value="["+De.join(" ")+"]"}}M("<<");for(var Ae=0;Ae<Vt.length;Ae++)M("/"+Vt[Ae].key+" "+Vt[Ae].value);M(">>"),Tt.data.length!==0&&(M("stream"),M(Et(Tt.data)),M("endstream"))},wi=p.__private__.putPage=function(c){var b=c.number,C=c.data,z=c.objId,Y=c.contentsObjId;fn(z,!0),M("<</Type /Page"),M("/Parent "+c.rootDictionaryObjId+" 0 R"),M("/Resources "+c.resourceDictionaryObjId+" 0 R"),M("/MediaBox ["+parseFloat(K(c.mediaBox.bottomLeftX))+" "+parseFloat(K(c.mediaBox.bottomLeftY))+" "+K(c.mediaBox.topRightX)+" "+K(c.mediaBox.topRightY)+"]"),c.cropBox!==null&&M("/CropBox ["+K(c.cropBox.bottomLeftX)+" "+K(c.cropBox.bottomLeftY)+" "+K(c.cropBox.topRightX)+" "+K(c.cropBox.topRightY)+"]"),c.bleedBox!==null&&M("/BleedBox ["+K(c.bleedBox.bottomLeftX)+" "+K(c.bleedBox.bottomLeftY)+" "+K(c.bleedBox.topRightX)+" "+K(c.bleedBox.topRightY)+"]"),c.trimBox!==null&&M("/TrimBox ["+K(c.trimBox.bottomLeftX)+" "+K(c.trimBox.bottomLeftY)+" "+K(c.trimBox.topRightX)+" "+K(c.trimBox.topRightY)+"]"),c.artBox!==null&&M("/ArtBox ["+K(c.artBox.bottomLeftX)+" "+K(c.artBox.bottomLeftY)+" "+K(c.artBox.topRightX)+" "+K(c.artBox.topRightY)+"]"),typeof c.userUnit=="number"&&c.userUnit!==1&&M("/UserUnit "+c.userUnit),we.publish("putPage",{objId:z,pageContext:$t[b],pageNumber:b,page:C}),M("/Contents "+Y+" 0 R"),M(">>"),M("endobj");var pt=C.join(`
|
7
7
|
`);return j===U&&(pt+=`
|
@@ -41,7 +41,7 @@ T* `):c.join(` Tj
|
|
41
41
|
`),n}},Cross:{createAppearanceStream:function(t){var n={D:{Off:Ft.RadioButton.Cross.OffPushDown},N:{}};return n.N[t]=Ft.RadioButton.Cross.YesNormal,n.D[t]=Ft.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(t){var n=kr(t);n.scope=t.scope;var e=[],r=Ft.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+Kt(Ft.internal.getWidth(t)-2)+" "+Kt(Ft.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(Kt(r.x1.x)+" "+Kt(r.x1.y)+" m"),e.push(Kt(r.x2.x)+" "+Kt(r.x2.y)+" l"),e.push(Kt(r.x4.x)+" "+Kt(r.x4.y)+" m"),e.push(Kt(r.x3.x)+" "+Kt(r.x3.y)+" l"),e.push("s"),e.push("Q"),n.stream=e.join(`
|
42
42
|
`),n},YesPushDown:function(t){var n=kr(t);n.scope=t.scope;var e=Ft.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+Kt(Ft.internal.getWidth(t))+" "+Kt(Ft.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Kt(Ft.internal.getWidth(t)-2)+" "+Kt(Ft.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(Kt(e.x1.x)+" "+Kt(e.x1.y)+" m"),r.push(Kt(e.x2.x)+" "+Kt(e.x2.y)+" l"),r.push(Kt(e.x4.x)+" "+Kt(e.x4.y)+" m"),r.push(Kt(e.x3.x)+" "+Kt(e.x3.y)+" l"),r.push("s"),r.push("Q"),n.stream=r.join(`
|
43
43
|
`),n},OffPushDown:function(t){var n=kr(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Kt(Ft.internal.getWidth(t))+" "+Kt(Ft.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(`
|
44
|
-
`),n}}},createDefaultAppearanceStream:function(t){var n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+n+" "+t.fontSize+" Tf "+e}};Ft.internal={Bezier_C:.551915024494,calculateCross:function(t){var n=Ft.internal.getWidth(t),e=Ft.internal.getHeight(t),r=Math.min(n,e);return{x1:{x:(n-r)/2,y:(e-r)/2+r},x2:{x:(n-r)/2+r,y:(e-r)/2},x3:{x:(n-r)/2,y:(e-r)/2},x4:{x:(n-r)/2+r,y:(e-r)/2+r}}}},Ft.internal.getWidth=function(t){var n=0;return Ne(t)==="object"&&(n=Nu(t.Rect[2])),n},Ft.internal.getHeight=function(t){var n=0;return Ne(t)==="object"&&(n=Nu(t.Rect[3])),n};var gd=Be.addField=function(t){if(pd(this,t),!(t instanceof cr))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=t).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Be.AcroFormChoiceField=Aa,Be.AcroFormListBox=Na,Be.AcroFormComboBox=La,Be.AcroFormEditBox=Cs,Be.AcroFormButton=hn,Be.AcroFormPushButton=Os,Be.AcroFormRadioButton=Sa,Be.AcroFormCheckBox=Ts,Be.AcroFormTextField=Wi,Be.AcroFormPasswordField=Ds,Be.AcroFormAppearance=Ft,Be.AcroForm={ChoiceField:Aa,ListBox:Na,ComboBox:La,EditBox:Cs,Button:hn,PushButton:Os,RadioButton:Sa,CheckBox:Ts,TextField:Wi,PasswordField:Ds,Appearance:Ft},Dt.AcroForm={ChoiceField:Aa,ListBox:Na,ComboBox:La,EditBox:Cs,Button:hn,PushButton:Os,RadioButton:Sa,CheckBox:Ts,TextField:Wi,PasswordField:Ds,Appearance:Ft};var mg=Dt.AcroForm;function Yu(t){return t.reduce(function(n,e,r){return n[e]=r,n},{})}(function(t){var n="addImage_";t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=t.__addimage__.getImageFileTypeByImageData=function(S,O){var G,q,it,ft,dt,nt=e;if((O=O||e)==="RGBA"||S.data!==void 0&&S.data instanceof Uint8ClampedArray&&"height"in S&&"width"in S)return"RGBA";if(vt(S))for(dt in r)for(it=r[dt],G=0;G<it.length;G+=1){for(ft=!0,q=0;q<it[G].length;q+=1)if(it[G][q]!==void 0&&it[G][q]!==S[q]){ft=!1;break}if(ft===!0){nt=dt;break}}else for(dt in r)for(it=r[dt],G=0;G<it.length;G+=1){for(ft=!0,q=0;q<it[G].length;q+=1)if(it[G][q]!==void 0&&it[G][q]!==S.charCodeAt(q)){ft=!1;break}if(ft===!0){nt=dt;break}}return nt===e&&O!==e&&(nt=O),nt},a=function S(O){for(var G=this.internal.write,q=this.internal.putStream,it=(0,this.internal.getFilters)();it.indexOf("FlateEncode")!==-1;)it.splice(it.indexOf("FlateEncode"),1);O.objectId=this.internal.newObject();var ft=[];if(ft.push({key:"Type",value:"/XObject"}),ft.push({key:"Subtype",value:"/Image"}),ft.push({key:"Width",value:O.width}),ft.push({key:"Height",value:O.height}),O.colorSpace===L.INDEXED?ft.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(O.palette.length/3-1)+" "+("sMask"in O&&O.sMask!==void 0?O.objectId+2:O.objectId+1)+" 0 R]"}):(ft.push({key:"ColorSpace",value:"/"+O.colorSpace}),O.colorSpace===L.DEVICE_CMYK&&ft.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ft.push({key:"BitsPerComponent",value:O.bitsPerComponent}),"decodeParameters"in O&&O.decodeParameters!==void 0&&ft.push({key:"DecodeParms",value:"<<"+O.decodeParameters+">>"}),"transparency"in O&&Array.isArray(O.transparency)){for(var dt="",nt=0,ct=O.transparency.length;nt<ct;nt++)dt+=O.transparency[nt]+" "+O.transparency[nt]+" ";ft.push({key:"Mask",value:"["+dt+"]"})}O.sMask!==void 0&&ft.push({key:"SMask",value:O.objectId+1+" 0 R"});var Nt=O.filter!==void 0?["/"+O.filter]:void 0;if(q({data:O.data,additionalKeyValues:ft,alreadyAppliedFilters:Nt,objectId:O.objectId}),G("endobj"),"sMask"in O&&O.sMask!==void 0){var yt=(O.predictor!=null?"/Predictor "+O.predictor:"")+" /Colors 1 /BitsPerComponent 8 /Columns "+O.width,x={width:O.width,height:O.height,colorSpace:"DeviceGray",bitsPerComponent:O.bitsPerComponent,decodeParameters:yt,data:O.sMask};"filter"in O&&(x.filter=O.filter),S.call(this,x)}if(O.colorSpace===L.INDEXED){var D=this.internal.newObject();q({data:K(new Uint8Array(O.palette)),objectId:D}),G("endobj")}},h=function(){var S=this.internal.collections[n+"images"];for(var O in S)a.call(this,S[O])},l=function(){var S,O=this.internal.collections[n+"images"],G=this.internal.write;for(var q in O)G("/I"+(S=O[q]).index,S.objectId,"0","R")},f=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",h),this.internal.events.subscribe("putXobjectDict",l))},u=function(){var S=this.internal.collections[n+"images"];return f.call(this),S},g=function(){return Object.keys(this.internal.collections[n+"images"]).length},w=function(S){return typeof t["process"+S.toUpperCase()]=="function"},A=function(S){return Ne(S)==="object"&&S.nodeType===1},p=function(S,O){if(S.nodeName==="IMG"&&S.hasAttribute("src")){var G=""+S.getAttribute("src");if(G.indexOf("data:image/")===0)return Es(unescape(G).split("base64,").pop());var q=t.loadFile(G,!0);if(q!==void 0)return q}if(S.nodeName==="CANVAS"){if(S.width===0||S.height===0)throw new Error("Given canvas must have data. Canvas width: "+S.width+", height: "+S.height);var it;switch(O){case"PNG":it="image/png";break;case"WEBP":it="image/webp";break;default:it="image/jpeg"}return Es(S.toDataURL(it,1).split("base64,").pop())}},E=function(S){var O=this.internal.collections[n+"images"];if(O){for(var G in O)if(S===O[G].alias)return O[G]}},P=function(S,O,G){return S||O||(S=-96,O=-96),S<0&&(S=-1*G.width*72/S/this.internal.scaleFactor),O<0&&(O=-1*G.height*72/O/this.internal.scaleFactor),S===0&&(S=O*G.width/G.height),O===0&&(O=S*G.height/G.width),[S,O]},T=function(S,O,G,q,it,ft){var dt=P.call(this,G,q,it),nt=this.internal.getCoordinateString,ct=this.internal.getVerticalCoordinateString,Nt=u.call(this);if(G=dt[0],q=dt[1],Nt[it.index]=it,ft){ft*=Math.PI/180;var yt=Math.cos(ft),x=Math.sin(ft),D=function(V){return V.toFixed(4)},R=[D(yt),D(x),D(-1*x),D(yt),0,0,"cm"]}this.internal.write("q"),ft?(this.internal.write([1,"0","0",1,nt(S),ct(O+q),"cm"].join(" ")),this.internal.write(R.join(" ")),this.internal.write([nt(G),"0","0",nt(q),"0","0","cm"].join(" "))):this.internal.write([nt(G),"0","0",nt(q),nt(S),ct(O+q),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+it.index+" Do"),this.internal.write("Q")},L=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var H=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},U=t.__addimage__.sHashCode=function(S){var O,G,q=0;if(typeof S=="string")for(G=S.length,O=0;O<G;O++)q=(q<<5)-q+S.charCodeAt(O),q|=0;else if(vt(S))for(G=S.byteLength/2,O=0;O<G;O++)q=(q<<5)-q+S[O],q|=0;return q},j=t.__addimage__.validateStringAsBase64=function(S){(S=S||"").toString().trim();var O=!0;return S.length===0&&(O=!1),S.length%4!=0&&(O=!1),/^[A-Za-z0-9+/]+$/.test(S.substr(0,S.length-2))===!1&&(O=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(S.substr(-2))===!1&&(O=!1),O},rt=t.__addimage__.extractImageFromDataUrl=function(S){if(S==null||!(S=S.trim()).startsWith("data:"))return null;var O=S.indexOf(",");return O<0?null:S.substring(0,O).trim().endsWith("base64")?S.substring(O+1):null};t.__addimage__.isArrayBuffer=function(S){return S instanceof ArrayBuffer};var vt=t.__addimage__.isArrayBufferView=function(S){return S instanceof Int8Array||S instanceof Uint8Array||S instanceof Uint8ClampedArray||S instanceof Int16Array||S instanceof Uint16Array||S instanceof Int32Array||S instanceof Uint32Array||S instanceof Float32Array||S instanceof Float64Array},ot=t.__addimage__.binaryStringToUint8Array=function(S){for(var O=S.length,G=new Uint8Array(O),q=0;q<O;q++)G[q]=S.charCodeAt(q);return G},K=t.__addimage__.arrayBufferToBinaryString=function(S){for(var O="",G=vt(S)?S:new Uint8Array(S),q=0;q<G.length;q+=8192)O+=String.fromCharCode.apply(null,G.subarray(q,q+8192));return O};t.addImage=function(){var S,O,G,q,it,ft,dt,nt,ct;if(typeof arguments[1]=="number"?(O=e,G=arguments[1],q=arguments[2],it=arguments[3],ft=arguments[4],dt=arguments[5],nt=arguments[6],ct=arguments[7]):(O=arguments[1],G=arguments[2],q=arguments[3],it=arguments[4],ft=arguments[5],dt=arguments[6],nt=arguments[7],ct=arguments[8]),Ne(S=arguments[0])==="object"&&!A(S)&&"imageData"in S){var Nt=S;S=Nt.imageData,O=Nt.format||O||e,G=Nt.x||G||0,q=Nt.y||q||0,it=Nt.w||Nt.width||it,ft=Nt.h||Nt.height||ft,dt=Nt.alias||dt,nt=Nt.compression||nt,ct=Nt.rotation||Nt.angle||ct}var yt=this.internal.getFilters();if(nt===void 0&&yt.indexOf("FlateEncode")!==-1&&(nt="SLOW"),isNaN(G)||isNaN(q))throw new Error("Invalid coordinates passed to jsPDF.addImage");f.call(this);var x=B.call(this,S,O,dt,nt);return T.call(this,G,q,it,ft,x,ct),this};var B=function(S,O,G,q){var it,ft,dt;if(typeof S=="string"&&i(S)===e){S=unescape(S);var nt=et(S,!1);(nt!==""||(nt=t.loadFile(S,!0))!==void 0)&&(S=nt)}if(A(S)&&(S=p(S,O)),O=i(S,O),!w(O))throw new Error("addImage does not support files of type '"+O+"', please ensure that a plugin for '"+O+"' support is added.");if(((dt=G)==null||dt.length===0)&&(G=(function(ct){return typeof ct=="string"||vt(ct)?U(ct):vt(ct.data)?U(ct.data):null})(S)),(it=E.call(this,G))||(S instanceof Uint8Array||O==="RGBA"||(ft=S,S=ot(S)),it=this["process"+O.toUpperCase()](S,g.call(this),G,(function(ct){return ct&&typeof ct=="string"&&(ct=ct.toUpperCase()),ct in t.image_compression?ct:H.NONE})(q),ft)),!it)throw new Error("An unknown error occurred whilst processing the image.");return it},et=t.__addimage__.convertBase64ToBinaryString=function(S,O){O=typeof O!="boolean"||O;var G,q="";if(typeof S=="string"){var it;G=(it=rt(S))!==null&&it!==void 0?it:S;try{q=Es(G)}catch(ft){if(O)throw j(G)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+ft.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return q};t.getImageProperties=function(S){var O,G,q="";if(A(S)&&(S=p(S)),typeof S=="string"&&i(S)===e&&((q=et(S,!1))===""&&(q=t.loadFile(S)||""),S=q),G=i(S),!w(G))throw new Error("addImage does not support files of type '"+G+"', please ensure that a plugin for '"+G+"' support is added.");if(S instanceof Uint8Array||(S=ot(S)),!(O=this["process"+G.toUpperCase()](S)))throw new Error("An unknown error occurred whilst processing the image");return O.fileType=G,O}})(Dt.API),(function(t){var n=function(e){if(e!==void 0&&e!="")return!0};Dt.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var r,i,a,h=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,f=this.internal.getPageInfoByObjId(e.objId),u=e.pageContext.annotations,g=!1,w=0;w<u.length&&!g;w++)switch((r=u[w]).type){case"link":(n(r.options.url)||n(r.options.pageNumber))&&(g=!0);break;case"reference":case"text":case"freetext":g=!0}if(g!=0){this.internal.write("/Annots [");for(var A=0;A<u.length;A++){r=u[A];var p=this.internal.pdfEscape,E=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var P=this.internal.newAdditionalObject(),T=this.internal.newAdditionalObject(),L=this.internal.getEncryptor(P.objId),H=r.title||"Note";a="<</Type /Annot /Subtype /Text "+(i="/Rect ["+h(r.bounds.x)+" "+l(r.bounds.y+r.bounds.h)+" "+h(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y)+"] ")+"/Contents ("+p(L(r.contents))+")",a+=" /Popup "+T.objId+" 0 R",a+=" /P "+f.objId+" 0 R",a+=" /T ("+p(L(H))+") >>",P.content=a;var U=P.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+h(r.bounds.x+30)+" "+l(r.bounds.y+r.bounds.h)+" "+h(r.bounds.x+r.bounds.w+30)+" "+l(r.bounds.y)+"] ")+" /Parent "+U,r.open&&(a+=" /Open true"),a+=" >>",T.content=a,this.internal.write(P.objId,"0 R",T.objId,"0 R");break;case"freetext":i="/Rect ["+h(r.bounds.x)+" "+l(r.bounds.y)+" "+h(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y+r.bounds.h)+"] ";var j=r.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+p(E(r.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+j+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(r.options.name){var rt=this.annotations._nameMap[r.options.name];r.options.pageNumber=rt.page,r.options.top=rt.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",a="",r.options.url)a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+p(E(r.options.url))+") >>";else if(r.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,a+=" /FitV "+r.options.left+"]";break;default:var vt=l(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),a+=" /XYZ "+r.options.left+" "+vt+" "+r.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},t.link=function(e,r,i,a,h){var l=this.internal.getCurrentPageInfo(),f=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;l.pageContext.annotations.push({finalBounds:{x:f(e),y:u(r),w:f(e+i),h:u(r+a)},options:h,type:"link"})},t.textWithLink=function(e,r,i,a){var h,l,f=this.getTextWidth(e),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){l=a.maxWidth;var g=this.splitTextToSize(e,l).length;h=Math.ceil(u*g)}else l=f,h=u;return this.text(e,r,i,a),i+=.2*u,a.align==="center"&&(r-=f/2),a.align==="right"&&(r-=f),this.link(r,i-u,l,h,a),f},t.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}})(Dt.API),(function(t){var n={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var a=t.__arabicParser__.isInArabicSubstitutionA=function(P){return n[P.charCodeAt(0)]!==void 0},h=t.__arabicParser__.isArabicLetter=function(P){return typeof P=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(P)},l=t.__arabicParser__.isArabicEndLetter=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length<=2},f=t.__arabicParser__.isArabicAlfLetter=function(P){return h(P)&&i.indexOf(P.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length>=3};var g=t.__arabicParser__.arabicLetterHasMedialForm=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length==4},w=t.__arabicParser__.resolveLigatures=function(P){var T=0,L=e,H="",U=0;for(T=0;T<P.length;T+=1)L[P.charCodeAt(T)]!==void 0?(U++,typeof(L=L[P.charCodeAt(T)])=="number"&&(H+=String.fromCharCode(L),L=e,U=0),T===P.length-1&&(L=e,H+=P.charAt(T-(U-1)),T-=U-1,U=0)):(L=e,H+=P.charAt(T-U),T-=U,U=0);return H};t.__arabicParser__.isArabicDiacritic=function(P){return P!==void 0&&r[P.charCodeAt(0)]!==void 0};var A=t.__arabicParser__.getCorrectForm=function(P,T,L){return h(P)?a(P)===!1?-1:!u(P)||!h(T)&&!h(L)||!h(L)&&l(T)||l(P)&&!h(T)||l(P)&&f(T)||l(P)&&l(T)?0:g(P)&&h(T)&&!l(T)&&h(L)&&u(L)?3:l(P)||!h(L)?1:2:-1},p=function(P){var T=0,L=0,H=0,U="",j="",rt="",vt=(P=P||"").split("\\s+"),ot=[];for(T=0;T<vt.length;T+=1){for(ot.push(""),L=0;L<vt[T].length;L+=1)U=vt[T][L],j=vt[T][L-1],rt=vt[T][L+1],h(U)?(H=A(U,j,rt),ot[T]+=H!==-1?String.fromCharCode(n[U.charCodeAt(0)][H]):U):ot[T]+=U;ot[T]=w(ot[T])}return ot.join(" ")},E=t.__arabicParser__.processArabic=t.processArabic=function(){var P,T=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,L=[];if(Array.isArray(T)){var H=0;for(L=[],H=0;H<T.length;H+=1)Array.isArray(T[H])?L.push([p(T[H][0]),T[H][1],T[H][2]]):L.push([p(T[H])]);P=L}else P=p(T);return typeof arguments[0]=="string"?P:(arguments[0].text=P,arguments[0])};t.events.push(["preProcessText",E])})(Dt.API),Dt.API.autoPrint=function(t){var n;return(t=t||{}).variant=t.variant||"non-conform",t.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},(function(t){var n=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(l){e=l}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(l){r=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(l){i=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(l){a=l}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(l){h=l}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(e,r){var i;if((e=e||"2d")!=="2d")return null;for(i in r)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=r[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])})(Dt.API),(function(t){var n={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var f=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return f},set:function(P){f=P}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(P){u=P}});var g=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return g},set:function(P){g=P}});var w=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return w},set:function(P){w=P}});var A=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return A},set:function(P){A=P}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(P){p=P}});var E=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return E},set:function(P){E=P}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(f){return r.call(this),this.internal.__cell__.headerFunction=typeof f=="function"?f:void 0,this},t.getTextDimensions=function(f,u){r.call(this);var g=(u=u||{}).fontSize||this.getFontSize(),w=u.font||this.getFont(),A=u.scaleFactor||this.internal.scaleFactor,p=0,E=0,P=0,T=this;if(!Array.isArray(f)&&typeof f!="string"){if(typeof f!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");f=String(f)}var L=u.maxWidth;L>0?typeof f=="string"?f=this.splitTextToSize(f,L):Object.prototype.toString.call(f)==="[object Array]"&&(f=f.reduce(function(U,j){return U.concat(T.splitTextToSize(j,L))},[])):f=Array.isArray(f)?f:[f];for(var H=0;H<f.length;H++)p<(P=this.getStringUnitWidth(f[H],{font:w})*g)&&(p=P);return p!==0&&(E=f.length),{w:p/=A,h:Math.max((E*g*this.getLineHeightFactor()-g*(this.getLineHeightFactor()-1))/A,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var f=this.internal.__cell__.margins||n;return this.internal.__cell__.lastCell=new a(f.left,f.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var h=t.cell=function(){var f;f=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var u=this.internal.__cell__.lastCell,g=this.internal.__cell__.padding,w=this.internal.__cell__.margins||n,A=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return u.lineNumber!==void 0&&(u.lineNumber===f.lineNumber?(f.x=(u.x||0)+(u.width||0),f.y=u.y||0):u.y+u.height+f.height+w.bottom>this.getPageHeight()?(this.cellAddPage(),f.y=w.top,p&&A&&(this.printHeaderRow(f.lineNumber,!0),f.y+=A[0].height)):f.y=u.y+u.height||f.y),f.text[0]!==void 0&&(this.rect(f.x,f.y,f.width,f.height,e===!0?"FD":void 0),f.align==="right"?this.text(f.text,f.x+f.width-g,f.y+g,{align:"right",baseline:"top"}):f.align==="center"?this.text(f.text,f.x+f.width/2,f.y+g,{align:"center",baseline:"top",maxWidth:f.width-g-g}):this.text(f.text,f.x+g,f.y+g,{align:"left",baseline:"top",maxWidth:f.width-g-g})),this.internal.__cell__.lastCell=f,this};t.table=function(f,u,g,w,A){if(r.call(this),!g)throw new Error("No data for PDF table.");var p,E,P,T,L=[],H=[],U=[],j={},rt={},vt=[],ot=[],K=(A=A||{}).autoSize||!1,B=A.printHeaders!==!1,et=A.css&&A.css["font-size"]!==void 0?16*A.css["font-size"]:A.fontSize||12,S=A.margins||Object.assign({width:this.getPageWidth()},n),O=typeof A.padding=="number"?A.padding:3,G=A.headerBackgroundColor||"#c8c8c8",q=A.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=B,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=et,this.internal.__cell__.padding=O,this.internal.__cell__.headerBackgroundColor=G,this.internal.__cell__.headerTextColor=q,this.setFontSize(et),w==null)H=L=Object.keys(g[0]),U=L.map(function(){return"left"});else if(Array.isArray(w)&&Ne(w[0])==="object")for(L=w.map(function(Nt){return Nt.name}),H=w.map(function(Nt){return Nt.prompt||Nt.name||""}),U=w.map(function(Nt){return Nt.align||"left"}),p=0;p<w.length;p+=1)rt[w[p].name]=.7499990551181103*w[p].width;else Array.isArray(w)&&typeof w[0]=="string"&&(H=L=w,U=L.map(function(){return"left"}));if(K||Array.isArray(w)&&typeof w[0]=="string")for(p=0;p<L.length;p+=1){for(j[T=L[p]]=g.map(function(Nt){return Nt[T]}),this.setFont(void 0,"bold"),vt.push(this.getTextDimensions(H[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),E=j[T],this.setFont(void 0,"normal"),P=0;P<E.length;P+=1)vt.push(this.getTextDimensions(E[P],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);rt[T]=Math.max.apply(null,vt)+O+O,vt=[]}if(B){var it={};for(p=0;p<L.length;p+=1)it[L[p]]={},it[L[p]].text=H[p],it[L[p]].align=U[p];var ft=l.call(this,it,rt);ot=L.map(function(Nt){return new a(f,u,rt[Nt],ft,it[Nt].text,void 0,it[Nt].align)}),this.setTableHeaderRow(ot),this.printHeaderRow(1,!1)}var dt=w.reduce(function(Nt,yt){return Nt[yt.name]=yt.align,Nt},{});for(p=0;p<g.length;p+=1){"rowStart"in A&&A.rowStart instanceof Function&&A.rowStart({row:p,data:g[p]},this);var nt=l.call(this,g[p],rt);for(P=0;P<L.length;P+=1){var ct=g[p][L[P]];"cellStart"in A&&A.cellStart instanceof Function&&A.cellStart({row:p,col:P,data:ct},this),h.call(this,new a(f,u,rt[L[P]],nt,ct,p+2,dt[L[P]]))}}return this.internal.__cell__.table_x=f,this.internal.__cell__.table_y=u,this};var l=function(f,u){var g=this.internal.__cell__.padding,w=this.internal.__cell__.table_font_size,A=this.internal.scaleFactor;return Object.keys(f).map(function(p){var E=f[p];return this.splitTextToSize(E.hasOwnProperty("text")?E.text:E,u[p]-g-g)},this).map(function(p){return this.getLineHeightFactor()*p.length*w/A+g+g},this).reduce(function(p,E){return Math.max(p,E)},0)};t.setTableHeaderRow=function(f){r.call(this),this.internal.__cell__.tableHeaderRow=f},t.printHeaderRow=function(f,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var g;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var w=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(w[0],w[1],w[2],w[3],void 0,-1)}this.setFont(void 0,"bold");for(var A=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){g=this.internal.__cell__.tableHeaderRow[p].clone(),u&&(g.y=this.internal.__cell__.margins.top||0,A.push(g)),g.lineNumber=f;var E=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),h.call(this,g),this.setTextColor(E)}A.length>0&&this.setTableHeaderRow(A),this.setFont(void 0,"normal"),e=!1}})(Dt.API);var Ku={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Xu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Nh=Yu(Xu),Ju=[100,200,300,400,500,600,700,800,900],md=Yu(Ju);function vh(t){var n=t.family.replace(/"|'/g,"").toLowerCase(),e=(function(a){return Ku[a=a||"normal"]?a:"normal"})(t.style),r=(function(a){return a?typeof a=="number"?a>=100&&a<=900&&a%100==0?a:400:/^\d00$/.test(a)?parseInt(a):a==="bold"?700:400:400})(t.weight),i=(function(a){return typeof Nh[a=a||"normal"]=="number"?a:"normal"})(t.stretch);return{family:n,style:e,weight:r,stretch:i,src:t.src||[],ref:t.ref||{name:n,style:[i,e,r].join(" ")}}}function Lu(t,n,e,r){var i;for(i=e;i>=0&&i<n.length;i+=r)if(t[n[i]])return t[n[i]];for(i=e;i>=0&&i<n.length;i-=r)if(t[n[i]])return t[n[i]]}var vd={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Su={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function ku(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Pu(t){return t.trimLeft()}function bd(t,n){for(var e=0;e<t.length;){if(t.charAt(e)===n)return[t.substring(0,e),t.substring(e+1)];e+=1}return null}function wd(t){var n=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return n===null?null:[n[0],t.substring(n[0].length)]}var Is,Iu,Fu,wa,Fs,Eu,Cu,Ou,bh=["times"];function Tu(t,n,e,r){var i=4,a=Mu;switch(r){case Dt.API.image_compression.FAST:i=1,a=Du;break;case Dt.API.image_compression.MEDIUM:i=6,a=Ru;break;case Dt.API.image_compression.SLOW:i=9,a=ju}t=(function(l,f,u,g){for(var w,A=l.length/f,p=new Uint8Array(l.length+A),E=[yd,Du,Mu,Ru,ju],P=0;P<A;P+=1){var T=P*f,L=l.subarray(T,T+f);if(g)p.set(g(L,u,w),T+P);else{for(var H=E.length,U=[],j=0;j<H;j+=1)U[j]=E[j](L,u,w);var rt=xd(U.concat());p.set(U[rt],T+P)}w=L}return p})(t,n,e,a);var h=os(t,{level:i});return Dt.API.__addimage__.arrayBufferToBinaryString(h)}function yd(t){var n=Array.apply([],t);return n.unshift(0),n}function Du(t,n){var e=t.length,r=[];r[0]=1;for(var i=0;i<e;i+=1){var a=t[i-n]||0;r[i+1]=t[i]-a+256&255}return r}function Mu(t,n,e){var r=t.length,i=[];i[0]=2;for(var a=0;a<r;a+=1){var h=e&&e[a]||0;i[a+1]=t[a]-h+256&255}return i}function Ru(t,n,e){var r=t.length,i=[];i[0]=3;for(var a=0;a<r;a+=1){var h=t[a-n]||0,l=e&&e[a]||0;i[a+1]=t[a]+256-(h+l>>>1)&255}return i}function ju(t,n,e){var r=t.length,i=[];i[0]=4;for(var a=0;a<r;a+=1){var h=_d(t[a-n]||0,e&&e[a]||0,e&&e[a-n]||0);i[a+1]=t[a]-h+256&255}return i}function _d(t,n,e){if(t===n&&n===e)return t;var r=Math.abs(n-e),i=Math.abs(t-e),a=Math.abs(t+n-e-e);return r<=i&&r<=a?t:i<=a?n:e}function xd(t){var n=t.map(function(e){return e.reduce(function(r,i){return r+Math.abs(i)},0)});return n.indexOf(Math.min.apply(null,n))}function wh(t,n,e){var r=n*e,i=Math.floor(r/8),a=16-(r-8*i+e),h=(1<<e)-1;return Qu(t,i)>>a&h}function Bu(t,n,e,r){var i=e*r,a=Math.floor(i/8),h=16-(i-8*a+r),l=(1<<r)-1,f=(n&l)<<h;(function(u,g,w){if(g+1<u.byteLength)u.setUint16(g,w,!1);else{var A=w>>8&255;u.setUint8(g,A)}})(t,a,Qu(t,a)&~(l<<h)&65535|f)}function Qu(t,n){return n+1<t.byteLength?t.getUint16(n,!1):t.getUint8(n)<<8}function Ad(t){var n=0;if(t[n++]!==71||t[n++]!==73||t[n++]!==70||t[n++]!==56||(t[n++]+1&253)!=56||t[n++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=t[n++]|t[n++]<<8,r=t[n++]|t[n++]<<8,i=t[n++],a=i>>7,h=1<<1+(7&i);t[n++],t[n++];var l=null,f=null;a&&(l=n,f=h,n+=3*h);var u=!0,g=[],w=0,A=null,p=0,E=null;for(this.width=e,this.height=r;u&&n<t.length;)switch(t[n++]){case 33:switch(t[n++]){case 255:if(t[n]!==11||t[n+1]==78&&t[n+2]==69&&t[n+3]==84&&t[n+4]==83&&t[n+5]==67&&t[n+6]==65&&t[n+7]==80&&t[n+8]==69&&t[n+9]==50&&t[n+10]==46&&t[n+11]==48&&t[n+12]==3&&t[n+13]==1&&t[n+16]==0)n+=14,E=t[n++]|t[n++]<<8,n++;else for(n+=12;;){if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}break;case 249:if(t[n++]!==4||t[n+4]!==0)throw new Error("Invalid graphics extension block.");var P=t[n++];w=t[n++]|t[n++]<<8,A=t[n++],1&P||(A=null),p=P>>2&7,n++;break;case 254:for(;;){if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}break;default:throw new Error("Unknown graphic control label: 0x"+t[n-1].toString(16))}break;case 44:var T=t[n++]|t[n++]<<8,L=t[n++]|t[n++]<<8,H=t[n++]|t[n++]<<8,U=t[n++]|t[n++]<<8,j=t[n++],rt=j>>6&1,vt=1<<1+(7&j),ot=l,K=f,B=!1;j>>7&&(B=!0,ot=n,K=vt,n+=3*vt);var et=n;for(n++;;){var S;if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}g.push({x:T,y:L,width:H,height:U,has_local_palette:B,palette_offset:ot,palette_size:K,data_offset:et,data_length:n-et,transparent_index:A,interlaced:!!rt,delay:w,disposal:p});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[n-1].toString(16))}this.numFrames=function(){return g.length},this.loopCount=function(){return E},this.frameInfo=function(O){if(O<0||O>=g.length)throw new Error("Frame index out of range.");return g[O]},this.decodeAndBlitFrameBGRA=function(O,G){var q=this.frameInfo(O),it=q.width*q.height,ft=new Uint8Array(it);zu(t,q.data_offset,ft,it);var dt=q.palette_offset,nt=q.transparent_index;nt===null&&(nt=256);var ct=q.width,Nt=e-ct,yt=ct,x=4*(q.y*e+q.x),D=4*((q.y+q.height)*e+q.x),R=x,V=4*Nt;q.interlaced===!0&&(V+=4*e*7);for(var $=8,J=0,lt=ft.length;J<lt;++J){var at=ft[J];if(yt===0&&(yt=ct,(R+=V)>=D&&(V=4*Nt+4*e*($-1),R=x+(ct+Nt)*($<<1),$>>=1)),at===nt)R+=4;else{var mt=t[dt+3*at],At=t[dt+3*at+1],kt=t[dt+3*at+2];G[R++]=kt,G[R++]=At,G[R++]=mt,G[R++]=255}--yt}},this.decodeAndBlitFrameRGBA=function(O,G){var q=this.frameInfo(O),it=q.width*q.height,ft=new Uint8Array(it);zu(t,q.data_offset,ft,it);var dt=q.palette_offset,nt=q.transparent_index;nt===null&&(nt=256);var ct=q.width,Nt=e-ct,yt=ct,x=4*(q.y*e+q.x),D=4*((q.y+q.height)*e+q.x),R=x,V=4*Nt;q.interlaced===!0&&(V+=4*e*7);for(var $=8,J=0,lt=ft.length;J<lt;++J){var at=ft[J];if(yt===0&&(yt=ct,(R+=V)>=D&&(V=4*Nt+4*e*($-1),R=x+(ct+Nt)*($<<1),$>>=1)),at===nt)R+=4;else{var mt=t[dt+3*at],At=t[dt+3*at+1],kt=t[dt+3*at+2];G[R++]=mt,G[R++]=At,G[R++]=kt,G[R++]=255}--yt}}}function zu(t,n,e,r){for(var i=t[n++],a=1<<i,h=a+1,l=h+1,f=i+1,u=(1<<f)-1,g=0,w=0,A=0,p=t[n++],E=new Int32Array(4096),P=null;;){for(;g<16&&p!==0;)w|=t[n++]<<g,g+=8,p===1?p=t[n++]:--p;if(g<f)break;var T=w&u;if(w>>=f,g-=f,T!==a){if(T===h)break;for(var L=T<l?T:P,H=0,U=L;U>a;)U=E[U]>>8,++H;var j=U;if(A+H+(L!==T?1:0)>r)return void Pe.log("Warning, gif stream longer than expected.");e[A++]=j;var rt=A+=H;for(L!==T&&(e[A++]=j),U=L;H--;)U=E[U],e[--rt]=255&U,U>>=8;P!==null&&l<4096&&(E[l++]=P<<8|j,l>=u+1&&f<12&&(++f,u=u<<1|1)),P=T}else l=h+1,u=(1<<(f=i+1))-1,P=null}return A!==r&&Pe.log("Warning, gif stream shorter than expected."),e}function yh(t){var n,e,r,i,a,h=Math.floor,l=new Array(64),f=new Array(64),u=new Array(64),g=new Array(64),w=new Array(65535),A=new Array(65535),p=new Array(64),E=new Array(64),P=[],T=0,L=7,H=new Array(64),U=new Array(64),j=new Array(64),rt=new Array(256),vt=new Array(2048),ot=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],K=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],et=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],S=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],O=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],G=[0,1,2,3,4,5,6,7,8,9,10,11],q=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],it=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function ft(x,D){for(var R=0,V=0,$=new Array,J=1;J<=16;J++){for(var lt=1;lt<=x[J];lt++)$[D[V]]=[],$[D[V]][0]=R,$[D[V]][1]=J,V++,R++;R*=2}return $}function dt(x){for(var D=x[0],R=x[1]-1;R>=0;)D&1<<R&&(T|=1<<L),R--,--L<0&&(T==255?(nt(255),nt(0)):nt(T),L=7,T=0)}function nt(x){P.push(x)}function ct(x){nt(x>>8&255),nt(255&x)}function Nt(x,D,R,V,$){for(var J,lt=$[0],at=$[240],mt=(function(xt,jt){var St,re,Ut,pe,Xt,Jt,xe,ie,Bt,Gt,zt=0;for(Bt=0;Bt<8;++Bt){St=xt[zt],re=xt[zt+1],Ut=xt[zt+2],pe=xt[zt+3],Xt=xt[zt+4],Jt=xt[zt+5],xe=xt[zt+6];var Ie=St+(ie=xt[zt+7]),ge=St-ie,Mt=re+xe,Qt=re-xe,Le=Ut+Jt,Ht=Ut-Jt,he=pe+Xt,te=pe-Xt,ze=Ie+he,Qe=Ie-he,Se=Mt+Le,$t=Mt-Le;xt[zt]=ze+Se,xt[zt+4]=ze-Se;var we=.707106781*($t+Qe);xt[zt+2]=Qe+we,xt[zt+6]=Qe-we;var vi=.382683433*((ze=te+Ht)-($t=Qt+ge)),mn=.5411961*ze+vi,Fr=1.306562965*$t+vi,dr=.707106781*(Se=Ht+Qt),Wt=ge+dr,Er=ge-dr;xt[zt+5]=Er+mn,xt[zt+3]=Er-mn,xt[zt+1]=Wt+Fr,xt[zt+7]=Wt-Fr,zt+=8}for(zt=0,Bt=0;Bt<8;++Bt){St=xt[zt],re=xt[zt+8],Ut=xt[zt+16],pe=xt[zt+24],Xt=xt[zt+32],Jt=xt[zt+40],xe=xt[zt+48];var Cr=St+(ie=xt[zt+56]),Gn=St-ie,Vn=re+xe,Me=re-xe,on=Ut+Jt,fn=Ut-Jt,bi=pe+Xt,Yr=pe-Xt,er=Cr+bi,pr=Cr-bi,nr=Vn+on,rr=Vn-on;xt[zt]=er+nr,xt[zt+32]=er-nr;var Zn=.707106781*(rr+pr);xt[zt+16]=pr+Zn,xt[zt+48]=pr-Zn;var wi=.382683433*((er=Yr+fn)-(rr=Me+Gn)),gr=.5411961*er+wi,yi=1.306562965*rr+wi,Vi=.707106781*(nr=fn+Me),Zi=Gn+Vi,$i=Gn-Vi;xt[zt+40]=$i+gr,xt[zt+24]=$i-gr,xt[zt+8]=Zi+yi,xt[zt+56]=Zi-yi,zt++}for(Bt=0;Bt<64;++Bt)Gt=xt[Bt]*jt[Bt],p[Bt]=Gt>0?Gt+.5|0:Gt-.5|0;return p})(x,D),At=0;At<64;++At)E[ot[At]]=mt[At];var kt=E[0]-R;R=E[0],kt==0?dt(V[0]):(dt(V[A[J=32767+kt]]),dt(w[J]));for(var Pt=63;Pt>0&&E[Pt]==0;)Pt--;if(Pt==0)return dt(lt),R;for(var st,M=1;M<=Pt;){for(var le=M;E[M]==0&&M<=Pt;)++M;var ne=M-le;if(ne>=16){st=ne>>4;for(var qt=1;qt<=st;++qt)dt(at);ne&=15}J=32767+E[M],dt($[(ne<<4)+A[J]]),dt(w[J]),M++}return Pt!=63&&dt(lt),R}function yt(x){x=Math.min(Math.max(x,1),100),a!=x&&((function(D){for(var R=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],V=0;V<64;V++){var $=h((R[V]*D+50)/100);$=Math.min(Math.max($,1),255),l[ot[V]]=$}for(var J=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],lt=0;lt<64;lt++){var at=h((J[lt]*D+50)/100);at=Math.min(Math.max(at,1),255),f[ot[lt]]=at}for(var mt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],At=0,kt=0;kt<8;kt++)for(var Pt=0;Pt<8;Pt++)u[At]=1/(l[ot[At]]*mt[kt]*mt[Pt]*8),g[At]=1/(f[ot[At]]*mt[kt]*mt[Pt]*8),At++})(x<50?Math.floor(5e3/x):Math.floor(200-2*x)),a=x)}this.encode=function(x,D){D&&yt(D),P=new Array,T=0,L=7,ct(65496),ct(65504),ct(16),nt(74),nt(70),nt(73),nt(70),nt(0),nt(1),nt(1),nt(0),ct(1),ct(1),nt(0),nt(0),(function(){ct(65499),ct(132),nt(0);for(var re=0;re<64;re++)nt(l[re]);nt(1);for(var Ut=0;Ut<64;Ut++)nt(f[Ut])})(),(function(re,Ut){ct(65472),ct(17),nt(8),ct(Ut),ct(re),nt(3),nt(1),nt(17),nt(0),nt(2),nt(17),nt(1),nt(3),nt(17),nt(1)})(x.width,x.height),(function(){ct(65476),ct(418),nt(0);for(var re=0;re<16;re++)nt(K[re+1]);for(var Ut=0;Ut<=11;Ut++)nt(B[Ut]);nt(16);for(var pe=0;pe<16;pe++)nt(et[pe+1]);for(var Xt=0;Xt<=161;Xt++)nt(S[Xt]);nt(1);for(var Jt=0;Jt<16;Jt++)nt(O[Jt+1]);for(var xe=0;xe<=11;xe++)nt(G[xe]);nt(17);for(var ie=0;ie<16;ie++)nt(q[ie+1]);for(var Bt=0;Bt<=161;Bt++)nt(it[Bt])})(),ct(65498),ct(12),nt(3),nt(1),nt(0),nt(2),nt(17),nt(3),nt(17),nt(0),nt(63),nt(0);var R=0,V=0,$=0;T=0,L=7,this.encode.displayName="_encode_";for(var J,lt,at,mt,At,kt,Pt,st,M,le=x.data,ne=x.width,qt=x.height,xt=4*ne,jt=0;jt<qt;){for(J=0;J<xt;){for(At=xt*jt+J,Pt=-1,st=0,M=0;M<64;M++)kt=At+(st=M>>3)*xt+(Pt=4*(7&M)),jt+st>=qt&&(kt-=xt*(jt+1+st-qt)),J+Pt>=xt&&(kt-=J+Pt-xt+4),lt=le[kt++],at=le[kt++],mt=le[kt++],H[M]=(vt[lt]+vt[at+256|0]+vt[mt+512|0]>>16)-128,U[M]=(vt[lt+768|0]+vt[at+1024|0]+vt[mt+1280|0]>>16)-128,j[M]=(vt[lt+1280|0]+vt[at+1536|0]+vt[mt+1792|0]>>16)-128;R=Nt(H,u,R,n,r),V=Nt(U,g,V,e,i),$=Nt(j,g,$,e,i),J+=32}jt+=8}if(L>=0){var St=[];St[1]=L+1,St[0]=(1<<L+1)-1,dt(St)}return ct(65497),new Uint8Array(P)},t=t||50,(function(){for(var x=String.fromCharCode,D=0;D<256;D++)rt[D]=x(D)})(),n=ft(K,B),e=ft(O,G),r=ft(et,S),i=ft(q,it),(function(){for(var x=1,D=2,R=1;R<=15;R++){for(var V=x;V<D;V++)A[32767+V]=R,w[32767+V]=[],w[32767+V][1]=R,w[32767+V][0]=V;for(var $=-(D-1);$<=-x;$++)A[32767+$]=R,w[32767+$]=[],w[32767+$][1]=R,w[32767+$][0]=D-1+$;x<<=1,D<<=1}})(),(function(){for(var x=0;x<256;x++)vt[x]=19595*x,vt[x+256|0]=38470*x,vt[x+512|0]=7471*x+32768,vt[x+768|0]=-11059*x,vt[x+1024|0]=-21709*x,vt[x+1280|0]=32768*x+8421375,vt[x+1536|0]=-27439*x,vt[x+1792|0]=-5329*x})(),yt(t)}function fr(t,n){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!n,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Uu(t){function n(B){if(!B)throw Error("assert :P")}function e(B,et,S){for(var O=0;4>O;O++)if(B[et+O]!=S.charCodeAt(O))return!0;return!1}function r(B,et,S,O,G){for(var q=0;q<G;q++)B[et+q]=S[O+q]}function i(B,et,S,O){for(var G=0;G<O;G++)B[et+G]=S}function a(B){return new Int32Array(B)}function h(B,et){for(var S=[],O=0;O<B;O++)S.push(new et);return S}function l(B,et){var S=[];return(function O(G,q,it){for(var ft=it[q],dt=0;dt<ft&&(G.push(it.length>q+1?[]:new et),!(it.length<q+1));dt++)O(G[dt],q+1,it)})(S,0,B),S}var f=function(){var B=this;function et(o,s){for(var d=1<<s-1>>>0;o&d;)d>>>=1;return d?(o&d-1)+d:o}function S(o,s,d,m,v){n(!(m%d));do o[s+(m-=d)]=v;while(0<m)}function O(o,s,d,m,v){if(n(2328>=v),512>=v)var y=a(512);else if((y=a(v))==null)return 0;return(function(_,N,k,I,W,tt){var F,Z,X=N,ht=1<<k,Q=a(16),ut=a(16);for(n(W!=0),n(I!=null),n(_!=null),n(0<k),Z=0;Z<W;++Z){if(15<I[Z])return 0;++Q[I[Z]]}if(Q[0]==W)return 0;for(ut[1]=0,F=1;15>F;++F){if(Q[F]>1<<F)return 0;ut[F+1]=ut[F]+Q[F]}for(Z=0;Z<W;++Z)F=I[Z],0<I[Z]&&(tt[ut[F]++]=Z);if(ut[15]==1)return(I=new G).g=0,I.value=tt[0],S(_,X,1,ht,I),ht;var gt,_t=-1,bt=ht-1,Rt=0,It=1,oe=1,Ct=1<<k;for(Z=0,F=1,W=2;F<=k;++F,W<<=1){if(It+=oe<<=1,0>(oe-=Q[F]))return 0;for(;0<Q[F];--Q[F])(I=new G).g=F,I.value=tt[Z++],S(_,X+Rt,W,Ct,I),Rt=et(Rt,F)}for(F=k+1,W=2;15>=F;++F,W<<=1){if(It+=oe<<=1,0>(oe-=Q[F]))return 0;for(;0<Q[F];--Q[F]){if(I=new G,(Rt&bt)!=_t){for(X+=Ct,gt=1<<(_t=F)-k;15>_t&&!(0>=(gt-=Q[_t]));)++_t,gt<<=1;ht+=Ct=1<<(gt=_t-k),_[N+(_t=Rt&bt)].g=gt+k,_[N+_t].value=X-N-_t}I.g=F-k,I.value=tt[Z++],S(_,X+(Rt>>k),W,Ct,I),Rt=et(Rt,F)}}return It!=2*ut[15]-1?0:ht})(o,s,d,m,v,y)}function G(){this.value=this.g=0}function q(){this.value=this.g=0}function it(){this.G=h(5,G),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(br,q)}function ft(o,s,d,m){n(o!=null),n(s!=null),n(2147483648>m),o.Ca=254,o.I=0,o.b=-8,o.Ka=0,o.oa=s,o.pa=d,o.Jd=s,o.Yc=d+m,o.Zc=4<=m?d+m-4+1:d,lt(o)}function dt(o,s){for(var d=0;0<s--;)d|=mt(o,128)<<s;return d}function nt(o,s){var d=dt(o,s);return at(o)?-d:d}function ct(o,s,d,m){var v,y=0;for(n(o!=null),n(s!=null),n(4294967288>m),o.Sb=m,o.Ra=0,o.u=0,o.h=0,4<m&&(m=4),v=0;v<m;++v)y+=s[d+v]<<8*v;o.Ra=y,o.bb=m,o.oa=s,o.pa=d}function Nt(o){for(;8<=o.u&&o.bb<o.Sb;)o.Ra>>>=8,o.Ra+=o.oa[o.pa+o.bb]<<ni-8>>>0,++o.bb,o.u-=8;V(o)&&(o.h=1,o.u=0)}function yt(o,s){if(n(0<=s),!o.h&&s<=Va){var d=R(o)&ei[s];return o.u+=s,Nt(o),d}return o.h=1,o.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function D(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function R(o){return o.Ra>>>(o.u&ni-1)>>>0}function V(o){return n(o.bb<=o.Sb),o.h||o.bb==o.Sb&&o.u>ni}function $(o,s){o.u=s,o.h=V(o)}function J(o){o.u>=qe&&(n(o.u>=qe),Nt(o))}function lt(o){n(o!=null&&o.oa!=null),o.pa<o.Zc?(o.I=(o.oa[o.pa++]|o.I<<8)>>>0,o.b+=8):(n(o!=null&&o.oa!=null),o.pa<o.Yc?(o.b+=8,o.I=o.oa[o.pa++]|o.I<<8):o.Ka?o.b=0:(o.I<<=8,o.b+=8,o.Ka=1))}function at(o){return dt(o,1)}function mt(o,s){var d=o.Ca;0>o.b&<(o);var m=o.b,v=d*s>>>8,y=(o.I>>>m>v)+0;for(y?(d-=v,o.I-=v+1<<m>>>0):d=v+1,m=d,v=0;256<=m;)v+=8,m>>=8;return m=7^v+il[m],o.b-=m,o.Ca=(d<<m)-1,y}function At(o,s,d){o[s+0]=d>>24&255,o[s+1]=d>>16&255,o[s+2]=d>>8&255,o[s+3]=255&d}function kt(o,s){return o[s+0]|o[s+1]<<8}function Pt(o,s){return kt(o,s)|o[s+2]<<16}function st(o,s){return kt(o,s)|kt(o,s+2)<<16}function M(o,s){var d=1<<s;return n(o!=null),n(0<s),o.X=a(d),o.X==null?0:(o.Mb=32-s,o.Xa=s,1)}function le(o,s){n(o!=null),n(s!=null),n(o.Xa==s.Xa),r(s.X,0,o.X,0,1<<s.Xa)}function ne(){this.X=[],this.Xa=this.Mb=0}function qt(o,s,d,m){n(d!=null),n(m!=null);var v=d[0],y=m[0];return v==0&&(v=(o*y+s/2)/s),y==0&&(y=(s*v+o/2)/o),0>=v||0>=y?0:(d[0]=v,m[0]=y,1)}function xt(o,s){return o+(1<<s)-1>>>s}function jt(o,s){return((4278255360&o)+(4278255360&s)>>>0&4278255360)+((16711935&o)+(16711935&s)>>>0&16711935)>>>0}function St(o,s){B[s]=function(d,m,v,y,_,N,k){var I;for(I=0;I<_;++I){var W=B[o](N[k+I-1],v,y+I);N[k+I]=jt(d[m+I],W)}}}function re(){this.ud=this.hd=this.jd=0}function Ut(o,s){return((4278124286&(o^s))>>>1)+(o&s)>>>0}function pe(o){return 0<=o&&256>o?o:0>o?0:255<o?255:void 0}function Xt(o,s){return pe(o+(o-s+.5>>1))}function Jt(o,s,d){return Math.abs(s-d)-Math.abs(o-d)}function xe(o,s,d,m,v,y,_){for(m=y[_-1],d=0;d<v;++d)y[_+d]=m=jt(o[s+d],m)}function ie(o,s,d,m,v){var y;for(y=0;y<d;++y){var _=o[s+y],N=_>>8&255,k=16711935&(k=(k=16711935&_)+((N<<16)+N));m[v+y]=(4278255360&_)+k>>>0}}function Bt(o,s){s.jd=255&o,s.hd=o>>8&255,s.ud=o>>16&255}function Gt(o,s,d,m,v,y){var _;for(_=0;_<m;++_){var N=s[d+_],k=N>>>8,I=N,W=255&(W=(W=N>>>16)+((o.jd<<24>>24)*(k<<24>>24)>>>5));I=255&(I=(I+=(o.hd<<24>>24)*(k<<24>>24)>>>5)+((o.ud<<24>>24)*(W<<24>>24)>>>5)),v[y+_]=(4278255360&N)+(W<<16)+I}}function zt(o,s,d,m,v){B[s]=function(y,_,N,k,I,W,tt,F,Z){for(k=tt;k<F;++k)for(tt=0;tt<Z;++tt)I[W++]=v(N[m(y[_++])])},B[o]=function(y,_,N,k,I,W,tt){var F=8>>y.b,Z=y.Ea,X=y.K[0],ht=y.w;if(8>F)for(y=(1<<y.b)-1,ht=(1<<F)-1;_<N;++_){var Q,ut=0;for(Q=0;Q<Z;++Q)Q&y||(ut=m(k[I++])),W[tt++]=v(X[ut&ht]),ut>>=F}else B["VP8LMapColor"+d](k,I,X,ht,W,tt,_,N,Z)}}function Ie(o,s,d,m,v){for(d=s+d;s<d;){var y=o[s++];m[v++]=y>>16&255,m[v++]=y>>8&255,m[v++]=255&y}}function ge(o,s,d,m,v){for(d=s+d;s<d;){var y=o[s++];m[v++]=y>>16&255,m[v++]=y>>8&255,m[v++]=255&y,m[v++]=y>>24&255}}function Mt(o,s,d,m,v){for(d=s+d;s<d;){var y=(_=o[s++])>>16&240|_>>12&15,_=240&_|_>>28&15;m[v++]=y,m[v++]=_}}function Qt(o,s,d,m,v){for(d=s+d;s<d;){var y=(_=o[s++])>>16&248|_>>13&7,_=_>>5&224|_>>3&31;m[v++]=y,m[v++]=_}}function Le(o,s,d,m,v){for(d=s+d;s<d;){var y=o[s++];m[v++]=255&y,m[v++]=y>>8&255,m[v++]=y>>16&255}}function Ht(o,s,d,m,v,y){if(y==0)for(d=s+d;s<d;)At(m,((y=o[s++])[0]>>24|y[1]>>8&65280|y[2]<<8&16711680|y[3]<<24)>>>0),v+=32;else r(m,v,o,s,d)}function he(o,s){B[s][0]=B[o+"0"],B[s][1]=B[o+"1"],B[s][2]=B[o+"2"],B[s][3]=B[o+"3"],B[s][4]=B[o+"4"],B[s][5]=B[o+"5"],B[s][6]=B[o+"6"],B[s][7]=B[o+"7"],B[s][8]=B[o+"8"],B[s][9]=B[o+"9"],B[s][10]=B[o+"10"],B[s][11]=B[o+"11"],B[s][12]=B[o+"12"],B[s][13]=B[o+"13"],B[s][14]=B[o+"0"],B[s][15]=B[o+"0"]}function te(o){return o==sl||o==ll||o==$o||o==hl}function ze(){this.eb=[],this.size=this.A=this.fb=0}function Qe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Se(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ze,this.f.kb=new Qe,this.sd=null}function $t(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function we(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function vi(o){return alert("todo:WebPSamplerProcessPlane"),o.T}function mn(o,s){var d=o.T,m=s.ba.f.RGBA,v=m.eb,y=m.fb+o.ka*m.A,_=Xn[s.ba.S],N=o.y,k=o.O,I=o.f,W=o.N,tt=o.ea,F=o.W,Z=s.cc,X=s.dc,ht=s.Mc,Q=s.Nc,ut=o.ka,gt=o.ka+o.T,_t=o.U,bt=_t+1>>1;for(ut==0?_(N,k,null,null,I,W,tt,F,I,W,tt,F,v,y,null,null,_t):(_(s.ec,s.fc,N,k,Z,X,ht,Q,I,W,tt,F,v,y-m.A,v,y,_t),++d);ut+2<gt;ut+=2)Z=I,X=W,ht=tt,Q=F,W+=o.Rc,F+=o.Rc,y+=2*m.A,_(N,(k+=2*o.fa)-o.fa,N,k,Z,X,ht,Q,I,W,tt,F,v,y-m.A,v,y,_t);return k+=o.fa,o.j+gt<o.o?(r(s.ec,s.fc,N,k,_t),r(s.cc,s.dc,I,W,bt),r(s.Mc,s.Nc,tt,F,bt),d--):1>||_(N,k,null,null,I,W,tt,F,I,W,tt,F,v,y+m.A,null,null,_t),d}function Fr(o,s,d){var m=o.F,v=[o.J];if(m!=null){var y=o.U,_=s.ba.S,N=_==Zo||_==$o;s=s.ba.f.RGBA;var k=[0],I=o.ka;k[0]=o.T,o.Kb&&(I==0?--k[0]:(--I,v[0]-=o.width),o.j+o.ka+o.T==o.o&&(k[0]=o.o-o.j-I));var W=s.eb;I=s.fb+I*s.A,o=Hh(m,v[0],o.width,y,k,W,I+(N?0:3),s.A),n(d==k),o&&te(_)&&Ka(W,I,N,y,k,s.A)}return 0}function dr(o){var s=o.ma,d=s.ba.S,m=11>d,v=d==Go||d==Vo||d==Zo||d==ol||d==12||te(d);if(s.memory=null,s.Ib=null,s.Jb=null,s.Nd=null,!Pn(s.Oa,o,v?11:12))return 0;if(v&&te(d)&&qa(),o.da)alert("todo:use_scaling");else{if(m){if(s.Ib=vi,o.Kb){if(d=o.U+1>>1,s.memory=a(o.U+2*d),s.memory==null)return 0;s.ec=s.memory,s.fc=0,s.cc=s.ec,s.dc=s.fc+o.U,s.Mc=s.cc,s.Nc=s.dc+d,s.Ib=mn,qa()}}else alert("todo:EmitYUV");v&&(s.Jb=Fr,m&&Ii())}if(m&&!sf){for(o=0;256>o;++o)S1[o]=89858*(o-128)+Ko>>Yo,I1[o]=-22014*(o-128)+Ko,P1[o]=-45773*(o-128),k1[o]=113618*(o-128)+Ko>>Yo;for(o=Ja;o<ul;++o)s=76283*(o-16)+Ko>>Yo,F1[o-Ja]=en(s,255),E1[o-Ja]=en(s+8>>4,15);sf=1}return 1}function Wt(o){var s=o.ma,d=o.U,m=o.T;return n(!(1&o.ka)),0>=d||0>=m?0:(d=s.Ib(o,s),s.Jb!=null&&s.Jb(o,s,d),s.Dc+=d,1)}function Er(o){o.ma.memory=null}function Cr(o,s,d,m){return yt(o,8)!=47?0:(s[0]=yt(o,14)+1,d[0]=yt(o,14)+1,m[0]=yt(o,1),yt(o,3)!=0?0:!o.h)}function Gn(o,s){if(4>o)return o+1;var d=o-2>>1;return(2+(1&o)<<d)+yt(s,d)+1}function Vn(o,s){return 120<s?s-120:1<=(d=((d=u1[s-1])>>4)*o+(8-(15&d)))?d:1;var d}function Me(o,s,d){var m=R(d),v=o[s+=255&m].g-8;return 0<v&&($(d,d.u+8),m=R(d),s+=o[s].value,s+=m&(1<<v)-1),$(d,d.u+o[s].g),o[s].value}function on(o,s,d){return d.g+=o.g,d.value+=o.value<<s>>>0,n(8>=d.g),o.g}function fn(o,s,d){var m=o.xc;return n((s=m==0?0:o.vc[o.md*(d>>m)+(s>>m)])<o.Wb),o.Ya[s]}function bi(o,s,d,m){var v=o.ab,y=o.c*s,_=o.C;s=_+s;var N=d,k=m;for(m=o.Ta,d=o.Ua;0<v--;){var I=o.gc[v],W=_,tt=s,F=N,Z=k,X=(k=m,N=d,I.Ea);switch(n(W<tt),n(tt<=I.nc),I.hc){case 2:ia(F,Z,(tt-W)*X,k,N);break;case 0:var ht=W,Q=tt,ut=k,gt=N,_t=(Ct=I).Ea;ht==0&&(wr(F,Z,null,null,1,ut,gt),xe(F,Z+1,0,0,_t-1,ut,gt+1),Z+=_t,gt+=_t,++ht);for(var bt=1<<Ct.b,Rt=bt-1,It=xt(_t,Ct.b),oe=Ct.K,Ct=Ct.w+(ht>>Ct.b)*It;ht<Q;){var fe=oe,nn=Ct,se=1;for(yr(F,Z,ut,gt-_t,1,ut,gt);se<_t;){var Ot=(se&~Rt)+bt;Ot>_t&&(Ot=_t),(0,Ci[fe[nn++]>>8&15])(F,Z+ +se,ut,gt+se-_t,Ot-se,ut,gt+se),se=Ot}Z+=_t,gt+=_t,++ht&Rt||(Ct+=It)}tt!=I.nc&&r(k,N-X,k,N+(tt-W-1)*X,X);break;case 1:for(X=F,Q=Z,_t=(F=I.Ea)-(gt=F&~(ut=(Z=1<<I.b)-1)),ht=xt(F,I.b),bt=I.K,I=I.w+(W>>I.b)*ht;W<tt;){for(Rt=bt,It=I,oe=new re,Ct=Q+gt,fe=Q+F;Q<Ct;)Bt(Rt[It++],oe),Br(oe,X,Q,Z,k,N),Q+=Z,N+=Z;Q<fe&&(Bt(Rt[It++],oe),Br(oe,X,Q,_t,k,N),Q+=_t,N+=_t),++W&ut||(I+=ht)}break;case 3:if(F==k&&Z==N&&0<I.b){for(Q=k,F=X=N+(tt-W)*X-(gt=(tt-W)*xt(I.Ea,I.b)),Z=k,ut=N,ht=[],gt=(_t=gt)-1;0<=gt;--gt)ht[gt]=Z[ut+gt];for(gt=_t-1;0<=gt;--gt)Q[F+gt]=ht[gt];Za(I,W,tt,k,X,k,N)}else Za(I,W,tt,F,Z,k,N)}N=m,k=d}k!=d&&r(m,d,N,k,y)}function Yr(o,s){var d=o.V,m=o.Ba+o.c*o.C,v=s-o.C;if(n(s<=o.l.o),n(16>=v),0<v){var y=o.l,_=o.Ta,N=o.Ua,k=y.width;if(bi(o,v,d,m),v=N=[N],n((d=o.C)<(m=s)),n(y.v<y.va),m>y.o&&(m=y.o),d<y.j){var I=y.j-d;d=y.j,v[0]+=I*k}if(d>=m?d=0:(v[0]+=4*y.v,y.ka=d-y.j,y.U=y.va-y.v,y.T=m-d,d=1),d){if(N=N[0],11>(d=o.ca).S){var W=d.f.RGBA,tt=(m=d.S,v=y.U,y=y.T,I=W.eb,W.A),F=y;for(W=W.fb+o.Ma*W.A;0<F--;){var Z=_,X=N,ht=v,Q=I,ut=W;switch(m){case Wo:$a(Z,X,ht,Q,ut);break;case Go:Dn(Z,X,ht,Q,ut);break;case sl:Dn(Z,X,ht,Q,ut),Ka(Q,ut,0,ht,1,0);break;case Kh:Ee(Z,X,ht,Q,ut);break;case Vo:Ht(Z,X,ht,Q,ut,1);break;case ll:Ht(Z,X,ht,Q,ut,1),Ka(Q,ut,0,ht,1,0);break;case Zo:Ht(Z,X,ht,Q,ut,0);break;case $o:Ht(Z,X,ht,Q,ut,0),Ka(Q,ut,1,ht,1,0);break;case ol:_r(Z,X,ht,Q,ut);break;case hl:_r(Z,X,ht,Q,ut),qh(Q,ut,ht,1,0);break;case Xh:Fe(Z,X,ht,Q,ut);break;default:n(0)}N+=k,W+=tt}o.Ma+=y}else alert("todo:EmitRescaledRowsYUVA");n(o.Ma<=d.height)}}o.C=s,n(o.C<=o.i)}function er(o){var s;if(0<o.ua)return 0;for(s=0;s<o.Wb;++s){var d=o.Ya[s].G,m=o.Ya[s].H;if(0<d[1][m[1]+0].g||0<d[2][m[2]+0].g||0<d[3][m[3]+0].g)return 0}return 1}function pr(o,s,d,m,v,y){if(o.Z!=0){var _=o.qd,N=o.rd;for(n(ii[o.Z]!=null);s<d;++s)ii[o.Z](_,N,m,v,m,v,y),_=m,N=v,v+=y;o.qd=_,o.rd=N}}function nr(o,s){var d=o.l.ma,m=d.Z==0||d.Z==1?o.l.j:o.C;if(m=o.C<m?m:o.C,n(s<=o.l.o),s>m){var v=o.l.width,y=d.ca,_=d.tb+v*m,N=o.V,k=o.Ba+o.c*m,I=o.gc;n(o.ab==1),n(I[0].hc==3),oa(I[0],m,s,N,k,y,_),pr(d,m,s,y,_,v)}o.C=o.Ma=s}function rr(o,s,d,m,v,y,_){var N=o.$/m,k=o.$%m,I=o.m,W=o.s,tt=d+o.$,F=tt;v=d+m*v;var Z=d+m*y,X=280+W.ua,ht=o.Pb?N:16777216,Q=0<W.ua?W.Wa:null,ut=W.wc,gt=tt<Z?fn(W,k,N):null;n(o.C<y),n(Z<=v);var _t=!1;t:for(;;){for(;_t||tt<Z;){var bt=0;if(N>=ht){var Rt=tt-d;n((ht=o).Pb),ht.wd=ht.m,ht.xd=Rt,0<ht.s.ua&&le(ht.s.Wa,ht.s.vb),ht=N+p1}if(k&ut||(gt=fn(W,k,N)),n(gt!=null),gt.Qb&&(s[tt]=gt.qb,_t=!0),!_t)if(J(I),gt.jc){bt=I,Rt=s;var It=tt,oe=gt.pd[R(bt)&br-1];n(gt.jc),256>oe.g?($(bt,bt.u+oe.g),Rt[It]=oe.value,bt=0):($(bt,bt.u+oe.g-256),n(256<=oe.value),bt=oe.value),bt==0&&(_t=!0)}else bt=Me(gt.G[0],gt.H[0],I);if(I.h)break;if(_t||256>bt){if(!_t)if(gt.nd)s[tt]=(gt.qb|bt<<8)>>>0;else{if(J(I),_t=Me(gt.G[1],gt.H[1],I),J(I),Rt=Me(gt.G[2],gt.H[2],I),It=Me(gt.G[3],gt.H[3],I),I.h)break;s[tt]=(It<<24|_t<<16|bt<<8|Rt)>>>0}if(_t=!1,++tt,++k>=m&&(k=0,++N,_!=null&&N<=y&&!(N%16)&&_(o,N),Q!=null))for(;F<tt;)bt=s[F++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt}else if(280>bt){if(bt=Gn(bt-256,I),Rt=Me(gt.G[4],gt.H[4],I),J(I),Rt=Vn(m,Rt=Gn(Rt,I)),I.h)break;if(tt-d<Rt||v-tt<bt)break t;for(It=0;It<bt;++It)s[tt+It]=s[tt+It-Rt];for(tt+=bt,k+=bt;k>=m;)k-=m,++N,_!=null&&N<=y&&!(N%16)&&_(o,N);if(n(tt<=v),k&ut&&(gt=fn(W,k,N)),Q!=null)for(;F<tt;)bt=s[F++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt}else{if(!(bt<X))break t;for(_t=bt-280,n(Q!=null);F<tt;)bt=s[F++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt;bt=tt,n(!(_t>>>(Rt=Q).Xa)),s[bt]=Rt.X[_t],_t=!0}_t||n(I.h==V(I))}if(o.Pb&&I.h&&tt<v)n(o.m.h),o.a=5,o.m=o.wd,o.$=o.xd,0<o.s.ua&&le(o.s.vb,o.s.Wa);else{if(I.h)break t;_?.(o,N>y?y:N),o.a=0,o.$=tt-d}return 1}return o.a=3,0}function Zn(o){n(o!=null),o.vc=null,o.yc=null,o.Ya=null;var s=o.Wa;s!=null&&(s.X=null),o.vb=null,n(o!=null)}function wi(){var o=new De;return o==null?null:(o.a=0,o.xb=tf,he("Predictor","VP8LPredictors"),he("Predictor","VP8LPredictors_C"),he("PredictorAdd","VP8LPredictorsAdd"),he("PredictorAdd","VP8LPredictorsAdd_C"),ia=ie,Br=Gt,$a=Ie,Dn=ge,_r=Mt,Fe=Qt,Ee=Le,B.VP8LMapColor32b=aa,B.VP8LMapColor8b=Ei,o)}function gr(o,s,d,m,v){var y=1,_=[o],N=[s],k=m.m,I=m.s,W=null,tt=0;t:for(;;){if(d)for(;y&&yt(k,1);){var F=_,Z=N,X=m,ht=1,Q=X.m,ut=X.gc[X.ab],gt=yt(Q,2);if(X.Oc&1<<gt)y=0;else{switch(X.Oc|=1<<gt,ut.hc=gt,ut.Ea=F[0],ut.nc=Z[0],ut.K=[null],++X.ab,n(4>=X.ab),gt){case 0:case 1:ut.b=yt(Q,3)+2,ht=gr(xt(ut.Ea,ut.b),xt(ut.nc,ut.b),0,X,ut.K),ut.K=ut.K[0];break;case 3:var _t,bt=yt(Q,8)+1,Rt=16<bt?0:4<bt?1:2<bt?2:3;if(F[0]=xt(ut.Ea,Rt),ut.b=Rt,_t=ht=gr(bt,1,0,X,ut.K)){var It,oe=bt,Ct=ut,fe=1<<(8>>Ct.b),nn=a(fe);if(nn==null)_t=0;else{var se=Ct.K[0],Ot=Ct.w;for(nn[0]=Ct.K[0][0],It=1;It<1*oe;++It)nn[It]=jt(se[Ot+It],nn[It-1]);for(;It<4*fe;++It)nn[It]=0;Ct.K[0]=null,Ct.K[0]=nn,_t=1}}ht=_t;break;case 2:break;default:n(0)}y=ht}}if(_=_[0],N=N[0],y&&yt(k,1)&&!(y=1<=(tt=yt(k,4))&&11>=tt)){m.a=3;break t}var Lt;if(Lt=y)e:{var Ge,ee,ue,Oe=m,un=_,An=N,Re=tt,vn=d,Nn=Oe.m,rn=Oe.s,de=[null],ye=1,je=0,_e=d1[Re];n:for(;;){if(vn&&yt(Nn,1)){var dn=yt(Nn,3)+2,sr=xt(un,dn),Ve=xt(An,dn),Fn=sr*Ve;if(!gr(sr,Ve,0,Oe,de))break n;for(de=de[0],rn.xc=dn,Ge=0;Ge<Fn;++Ge){var ke=de[Ge]>>8&65535;de[Ge]=ke,ke>=ye&&(ye=ke+1)}}if(Nn.h)break n;for(ee=0;5>ee;++ee){var an=Jh[ee];!ee&&0<Re&&(an+=1<<Re),je<an&&(je=an)}var Rn=h(ye*_e,G),Ln=ye,jn=h(Ln,it);if(jn==null)var Bn=null;else n(65536>=Ln),Bn=jn;var En=a(je);if(Bn==null||En==null||Rn==null){Oe.a=1;break n}var zn=Rn;for(Ge=ue=0;Ge<ye;++Ge){var Ce=Bn[Ge],Un=Ce.G,lr=Ce.H,Oi=0,qr=1,pn=0;for(ee=0;5>ee;++ee){an=Jh[ee],Un[ee]=zn,lr[ee]=ue,!ee&&0<Re&&(an+=1<<Re);i:{var Jo,dl=an,Qo=Oe,Qa=En,T1=zn,D1=ue,pl=0,ai=Qo.m,M1=yt(ai,1);if(i(Qa,0,0,dl),M1){var R1=yt(ai,1)+1,j1=yt(ai,1),ff=yt(ai,j1==0?1:8);Qa[ff]=1,R1==2&&(Qa[ff=yt(ai,8)]=1);var ts=1}else{var cf=a(19),uf=yt(ai,4)+4;if(19<uf){Qo.a=3;var es=0;break i}for(Jo=0;Jo<uf;++Jo)cf[c1[Jo]]=yt(ai,3);var gl=void 0,to=void 0,df=Qo,B1=cf,ns=dl,pf=Qa,ml=0,oi=df.m,gf=8,mf=h(128,G);r:for(;O(mf,0,7,B1,19);){if(yt(oi,1)){var z1=2+2*yt(oi,3);if((gl=2+yt(oi,z1))>ns)break r}else gl=ns;for(to=0;to<ns&&gl--;){J(oi);var vf=mf[0+(127&R(oi))];$(oi,oi.u+vf.g);var la=vf.value;if(16>la)pf[to++]=la,la!=0&&(gf=la);else{var U1=la==16,bf=la-16,q1=h1[bf],wf=yt(oi,l1[bf])+q1;if(to+wf>ns)break r;for(var H1=U1?gf:0;0<wf--;)pf[to++]=H1}}ml=1;break r}ml||(df.a=3),ts=ml}(ts=ts&&!ai.h)&&(pl=O(T1,D1,8,Qa,dl)),ts&&pl!=0?es=pl:(Qo.a=3,es=0)}if(es==0)break n;if(qr&&f1[ee]==1&&(qr=zn[ue].g==0),Oi+=zn[ue].g,ue+=es,3>=ee){var eo,vl=En[0];for(eo=1;eo<an;++eo)En[eo]>vl&&(vl=En[eo]);pn+=vl}}if(Ce.nd=qr,Ce.Qb=0,qr&&(Ce.qb=(Un[3][lr[3]+0].value<<24|Un[1][lr[1]+0].value<<16|Un[2][lr[2]+0].value)>>>0,Oi==0&&256>Un[0][lr[0]+0].value&&(Ce.Qb=1,Ce.qb+=Un[0][lr[0]+0].value<<8)),Ce.jc=!Ce.Qb&&6>pn,Ce.jc){var rs,Hr=Ce;for(rs=0;rs<br;++rs){var si=rs,li=Hr.pd[si],is=Hr.G[0][Hr.H[0]+si];256<=is.value?(li.g=is.g+256,li.value=is.value):(li.g=0,li.value=0,si>>=on(is,8,li),si>>=on(Hr.G[1][Hr.H[1]+si],16,li),si>>=on(Hr.G[2][Hr.H[2]+si],0,li),on(Hr.G[3][Hr.H[3]+si],24,li))}}}rn.vc=de,rn.Wb=ye,rn.Ya=Bn,rn.yc=Rn,Lt=1;break e}Lt=0}if(!(y=Lt)){m.a=3;break t}if(0<tt){if(I.ua=1<<tt,!M(I.Wa,tt)){m.a=1,y=0;break t}}else I.ua=0;var bl=m,yf=_,W1=N,wl=bl.s,yl=wl.xc;if(bl.c=yf,bl.i=W1,wl.md=xt(yf,yl),wl.wc=yl==0?-1:(1<<yl)-1,d){m.xb=_1;break t}if((W=a(_*N))==null){m.a=1,y=0;break t}y=(y=rr(m,W,0,_,N,N,null))&&!k.h;break t}return y?(v!=null?v[0]=W:(n(W==null),n(d)),m.$=0,d||Zn(I)):Zn(I),y}function yi(o,s){var d=o.c*o.i,m=d+s+16*s;return n(o.c<=s),o.V=a(m),o.V==null?(o.Ta=null,o.Ua=0,o.a=1,0):(o.Ta=o.V,o.Ua=o.Ba+d+s,1)}function Vi(o,s){var d=o.C,m=s-d,v=o.V,y=o.Ba+o.c*d;for(n(s<=o.l.o);0<m;){var _=16<m?16:m,N=o.l.ma,k=o.l.width,I=k*_,W=N.ca,tt=N.tb+k*d,F=o.Ta,Z=o.Ua;bi(o,_,v,y),Wh(F,Z,W,tt,I),pr(N,d,d+_,W,tt,k),m-=_,v+=_*o.c,d+=_}n(d==s),o.C=o.Ma=s}function Zi(){this.ub=this.yd=this.td=this.Rb=0}function $i(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Us(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Pa(){this.Yb=(function(){var o=[];return(function s(d,m,v){for(var y=v[m],_=0;_<y&&(d.push(v.length>m+1?[]:0),!(v.length<m+1));_++)s(d[_],m+1,v)})(o,0,[3,11]),o})()}function Fo(){this.jb=a(3),this.Wc=l([4,8],Pa),this.Xc=l([4,17],Pa)}function Eo(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function $n(){this.ld=this.La=this.dd=this.tc=0}function Ia(){this.Na=this.la=0}function Co(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Fa(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Oo(){this.uc=this.M=this.Nb=0,this.wa=Array(new $n),this.Y=0,this.ya=Array(new Fa),this.aa=0,this.l=new Yi}function To(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Do(){this.cb=this.a=0,this.sc="",this.m=new x,this.Od=new Zi,this.Kc=new $i,this.ed=new Eo,this.Qa=new Us,this.Ic=this.$c=this.Aa=0,this.D=new Oo,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=h(8,x),this.ia=0,this.pb=h(4,Co),this.Pa=new Fo,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new To),this.Hd=0,this.rb=Array(new Ia),this.sb=0,this.wa=Array(new $n),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Fa),this.L=this.aa=0,this.gd=l([4,2],$n),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Yi(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function qs(){var o=new Do;return o!=null&&(o.a=0,o.sc="OK",o.cb=0,o.Xb=0,Xa||(Xa=Or)),o}function Ke(o,s,d){return o.a==0&&(o.a=s,o.sc=d,o.cb=0),0}function Mo(o,s,d){return 3<=d&&o[s+0]==157&&o[s+1]==1&&o[s+2]==42}function Ro(o,s){if(o==null)return 0;if(o.a=0,o.sc="OK",s==null)return Ke(o,2,"null VP8Io passed to VP8GetHeaders()");var d=s.data,m=s.w,v=s.ha;if(4>v)return Ke(o,7,"Truncated header.");var y=d[m+0]|d[m+1]<<8|d[m+2]<<16,_=o.Od;if(_.Rb=!(1&y),_.td=y>>1&7,_.yd=y>>4&1,_.ub=y>>5,3<_.td)return Ke(o,3,"Incorrect keyframe parameters.");if(!_.yd)return Ke(o,4,"Frame not displayable.");m+=3,v-=3;var N=o.Kc;if(_.Rb){if(7>v)return Ke(o,7,"cannot parse picture header");if(!Mo(d,m,v))return Ke(o,3,"Bad code word");N.c=16383&(d[m+4]<<8|d[m+3]),N.Td=d[m+4]>>6,N.i=16383&(d[m+6]<<8|d[m+5]),N.Ud=d[m+6]>>6,m+=7,v-=7,o.za=N.c+15>>4,o.Ub=N.i+15>>4,s.width=N.c,s.height=N.i,s.Da=0,s.j=0,s.v=0,s.va=s.width,s.o=s.height,s.da=0,s.ib=s.width,s.hb=s.height,s.U=s.width,s.T=s.height,i((y=o.Pa).jb,0,255,y.jb.length),n((y=o.Qa)!=null),y.Cb=0,y.Bb=0,y.Fb=1,i(y.Zb,0,0,y.Zb.length),i(y.Lb,0,0,y.Lb)}if(_.ub>v)return Ke(o,7,"bad partition length");ft(y=o.m,d,m,_.ub),m+=_.ub,v-=_.ub,_.Rb&&(N.Ld=at(y),N.Kd=at(y)),N=o.Qa;var k,I=o.Pa;if(n(y!=null),n(N!=null),N.Cb=at(y),N.Cb){if(N.Bb=at(y),at(y)){for(N.Fb=at(y),k=0;4>k;++k)N.Zb[k]=at(y)?nt(y,7):0;for(k=0;4>k;++k)N.Lb[k]=at(y)?nt(y,6):0}if(N.Bb)for(k=0;3>k;++k)I.jb[k]=at(y)?dt(y,8):255}else N.Bb=0;if(y.Ka)return Ke(o,3,"cannot parse segment header");if((N=o.ed).zd=at(y),N.Tb=dt(y,6),N.wb=dt(y,3),N.Pc=at(y),N.Pc&&at(y)){for(I=0;4>I;++I)at(y)&&(N.vd[I]=nt(y,6));for(I=0;4>I;++I)at(y)&&(N.od[I]=nt(y,6))}if(o.L=N.Tb==0?0:N.zd?1:2,y.Ka)return Ke(o,3,"cannot parse filter header");var W=v;if(v=k=m,m=k+W,N=W,o.Xb=(1<<dt(o.m,2))-1,W<3*(I=o.Xb))d=7;else{for(k+=3*I,N-=3*I,W=0;W<I;++W){var tt=d[v+0]|d[v+1]<<8|d[v+2]<<16;tt>N&&(tt=N),ft(o.Jc[+W],d,k,tt),k+=tt,N-=tt,v+=3}ft(o.Jc[+I],d,k,N),d=k<m?0:5}if(d!=0)return Ke(o,d,"cannot parse partitions");for(d=dt(k=o.m,7),v=at(k)?nt(k,4):0,m=at(k)?nt(k,4):0,N=at(k)?nt(k,4):0,I=at(k)?nt(k,4):0,k=at(k)?nt(k,4):0,W=o.Qa,tt=0;4>tt;++tt){if(W.Cb){var F=W.Zb[tt];W.Fb||(F+=d)}else{if(0<tt){o.pb[tt]=o.pb[0];continue}F=d}var Z=o.pb[tt];Z.Sc[0]=fl[en(F+v,127)],Z.Sc[1]=cl[en(F+0,127)],Z.Eb[0]=2*fl[en(F+m,127)],Z.Eb[1]=101581*cl[en(F+N,127)]>>16,8>Z.Eb[1]&&(Z.Eb[1]=8),Z.Qc[0]=fl[en(F+I,117)],Z.Qc[1]=cl[en(F+k,127)],Z.lc=F+k}if(!_.Rb)return Ke(o,4,"Not a key frame.");for(at(y),_=o.Pa,d=0;4>d;++d){for(v=0;8>v;++v)for(m=0;3>m;++m)for(N=0;11>N;++N)I=mt(y,w1[d][v][m][N])?dt(y,8):v1[d][v][m][N],_.Wc[d][v].Yb[m][N]=I;for(v=0;17>v;++v)_.Xc[d][v]=_.Wc[d][y1[v]]}return o.kc=at(y),o.kc&&(o.Bd=dt(y,8)),o.cb=1}function Or(o,s,d,m,v,y,_){var N=s[v].Yb[d];for(d=0;16>v;++v){if(!mt(o,N[d+0]))return v;for(;!mt(o,N[d+1]);)if(N=s[++v].Yb[0],d=0,v==16)return 16;var k=s[v+1].Yb;if(mt(o,N[d+2])){var I=o,W=0;if(mt(I,(F=N)[(tt=d)+3]))if(mt(I,F[tt+6])){for(N=0,tt=2*(W=mt(I,F[tt+8]))+(F=mt(I,F[tt+9+W])),W=0,F=g1[tt];F[N];++N)W+=W+mt(I,F[N]);W+=3+(8<<tt)}else mt(I,F[tt+7])?(W=7+2*mt(I,165),W+=mt(I,145)):W=5+mt(I,159);else W=mt(I,F[tt+4])?3+mt(I,F[tt+5]):2;N=k[2]}else W=1,N=k[1];k=_+m1[v],0>(I=o).b&<(I);var tt,F=I.b,Z=(tt=I.Ca>>1)-(I.I>>F)>>31;--I.b,I.Ca+=Z,I.Ca|=1,I.I-=(tt+1&Z)<<F,y[k]=((W^Z)-Z)*m[(0<v)+0]}return 16}function _i(o){var s=o.rb[o.sb-1];s.la=0,s.Na=0,i(o.zc,0,0,o.zc.length),o.ja=0}function ir(o,s,d,m,v){v=o[s+d+32*m]+(v>>3),o[s+d+32*m]=-256&v?0>v?0:255:v}function xi(o,s,d,m,v,y){ir(o,s,0,d,m+v),ir(o,s,1,d,m+y),ir(o,s,2,d,m-y),ir(o,s,3,d,m-v)}function Ue(o){return(20091*o>>16)+o}function Ea(o,s,d,m){var v,y=0,_=a(16);for(v=0;4>v;++v){var N=o[s+0]+o[s+8],k=o[s+0]-o[s+8],I=(35468*o[s+4]>>16)-Ue(o[s+12]),W=Ue(o[s+4])+(35468*o[s+12]>>16);_[y+0]=N+W,_[y+1]=k+I,_[y+2]=k-I,_[y+3]=N-W,y+=4,s++}for(v=y=0;4>v;++v)N=(o=_[y+0]+4)+_[y+8],k=o-_[y+8],I=(35468*_[y+4]>>16)-Ue(_[y+12]),ir(d,m,0,0,N+(W=Ue(_[y+4])+(35468*_[y+12]>>16))),ir(d,m,1,0,k+I),ir(d,m,2,0,k-I),ir(d,m,3,0,N-W),y++,m+=32}function Hs(o,s,d,m){var v=o[s+0]+4,y=35468*o[s+4]>>16,_=Ue(o[s+4]),N=35468*o[s+1]>>16;xi(d,m,0,v+_,o=Ue(o[s+1]),N),xi(d,m,1,v+y,o,N),xi(d,m,2,v-y,o,N),xi(d,m,3,v-_,o,N)}function Ws(o,s,d,m,v){Ea(o,s,d,m),v&&Ea(o,s+16,d,m+4)}function Gs(o,s,d,m){We(o,s+0,d,m,1),We(o,s+32,d,m+128,1)}function mr(o,s,d,m){var v;for(o=o[s+0]+4,v=0;4>v;++v)for(s=0;4>s;++s)ir(d,m,s,v,o)}function jo(o,s,d,m){o[s+0]&&xr(o,s+0,d,m),o[s+16]&&xr(o,s+16,d,m+4),o[s+32]&&xr(o,s+32,d,m+128),o[s+48]&&xr(o,s+48,d,m+128+4)}function Bo(o,s,d,m){var v,y=a(16);for(v=0;4>v;++v){var _=o[s+0+v]+o[s+12+v],N=o[s+4+v]+o[s+8+v],k=o[s+4+v]-o[s+8+v],I=o[s+0+v]-o[s+12+v];y[0+v]=_+N,y[8+v]=_-N,y[4+v]=I+k,y[12+v]=I-k}for(v=0;4>v;++v)_=(o=y[0+4*v]+3)+y[3+4*v],N=y[1+4*v]+y[2+4*v],k=y[1+4*v]-y[2+4*v],I=o-y[3+4*v],d[m+0]=_+N>>3,d[m+16]=I+k>>3,d[m+32]=_-N>>3,d[m+48]=I-k>>3,m+=64}function Kr(o,s,d){var m,v=s-32,y=Mn,_=255-o[v-1];for(m=0;m<d;++m){var N,k=y,I=_+o[s-1];for(N=0;N<d;++N)o[s+N]=k[I+o[v+N]];s+=32}}function Ca(o,s){Kr(o,s,4)}function Vs(o,s){Kr(o,s,8)}function Zs(o,s){Kr(o,s,16)}function $s(o,s){var d;for(d=0;16>d;++d)r(o,s+32*d,o,s-32,16)}function Oa(o,s){var d;for(d=16;0<d;--d)i(o,s,o[s-1],16),s+=32}function Ai(o,s,d){var m;for(m=0;16>m;++m)i(s,d+32*m,o,16)}function Xr(o,s){var d,m=16;for(d=0;16>d;++d)m+=o[s-1+32*d]+o[s+d-32];Ai(m>>5,o,s)}function Ys(o,s){var d,m=8;for(d=0;16>d;++d)m+=o[s-1+32*d];Ai(m>>4,o,s)}function Ni(o,s){var d,m=8;for(d=0;16>d;++d)m+=o[s+d-32];Ai(m>>4,o,s)}function Ta(o,s){Ai(128,o,s)}function Yt(o,s,d){return o+2*s+d+2>>2}function Ks(o,s){var d,m=s-32;for(m=new Uint8Array([Yt(o[m-1],o[m+0],o[m+1]),Yt(o[m+0],o[m+1],o[m+2]),Yt(o[m+1],o[m+2],o[m+3]),Yt(o[m+2],o[m+3],o[m+4])]),d=0;4>d;++d)r(o,s+32*d,m,0,m.length)}function Xs(o,s){var d=o[s-1],m=o[s-1+32],v=o[s-1+64],y=o[s-1+96];At(o,s+0,16843009*Yt(o[s-1-32],d,m)),At(o,s+32,16843009*Yt(d,m,v)),At(o,s+64,16843009*Yt(m,v,y)),At(o,s+96,16843009*Yt(v,y,y))}function Js(o,s){var d,m=4;for(d=0;4>d;++d)m+=o[s+d-32]+o[s-1+32*d];for(m>>=3,d=0;4>d;++d)i(o,s+32*d,m,4)}function Qs(o,s){var d=o[s-1+0],m=o[s-1+32],v=o[s-1+64],y=o[s-1-32],_=o[s+0-32],N=o[s+1-32],k=o[s+2-32],I=o[s+3-32];o[s+0+96]=Yt(m,v,o[s-1+96]),o[s+1+96]=o[s+0+64]=Yt(d,m,v),o[s+2+96]=o[s+1+64]=o[s+0+32]=Yt(y,d,m),o[s+3+96]=o[s+2+64]=o[s+1+32]=o[s+0+0]=Yt(_,y,d),o[s+3+64]=o[s+2+32]=o[s+1+0]=Yt(N,_,y),o[s+3+32]=o[s+2+0]=Yt(k,N,_),o[s+3+0]=Yt(I,k,N)}function Tr(o,s){var d=o[s+1-32],m=o[s+2-32],v=o[s+3-32],y=o[s+4-32],_=o[s+5-32],N=o[s+6-32],k=o[s+7-32];o[s+0+0]=Yt(o[s+0-32],d,m),o[s+1+0]=o[s+0+32]=Yt(d,m,v),o[s+2+0]=o[s+1+32]=o[s+0+64]=Yt(m,v,y),o[s+3+0]=o[s+2+32]=o[s+1+64]=o[s+0+96]=Yt(v,y,_),o[s+3+32]=o[s+2+64]=o[s+1+96]=Yt(y,_,N),o[s+3+64]=o[s+2+96]=Yt(_,N,k),o[s+3+96]=Yt(N,k,k)}function Dr(o,s){var d=o[s-1+0],m=o[s-1+32],v=o[s-1+64],y=o[s-1-32],_=o[s+0-32],N=o[s+1-32],k=o[s+2-32],I=o[s+3-32];o[s+0+0]=o[s+1+64]=y+_+1>>1,o[s+1+0]=o[s+2+64]=_+N+1>>1,o[s+2+0]=o[s+3+64]=N+k+1>>1,o[s+3+0]=k+I+1>>1,o[s+0+96]=Yt(v,m,d),o[s+0+64]=Yt(m,d,y),o[s+0+32]=o[s+1+96]=Yt(d,y,_),o[s+1+32]=o[s+2+96]=Yt(y,_,N),o[s+2+32]=o[s+3+96]=Yt(_,N,k),o[s+3+32]=Yt(N,k,I)}function tl(o,s){var d=o[s+0-32],m=o[s+1-32],v=o[s+2-32],y=o[s+3-32],_=o[s+4-32],N=o[s+5-32],k=o[s+6-32],I=o[s+7-32];o[s+0+0]=d+m+1>>1,o[s+1+0]=o[s+0+64]=m+v+1>>1,o[s+2+0]=o[s+1+64]=v+y+1>>1,o[s+3+0]=o[s+2+64]=y+_+1>>1,o[s+0+32]=Yt(d,m,v),o[s+1+32]=o[s+0+96]=Yt(m,v,y),o[s+2+32]=o[s+1+96]=Yt(v,y,_),o[s+3+32]=o[s+2+96]=Yt(y,_,N),o[s+3+64]=Yt(_,N,k),o[s+3+96]=Yt(N,k,I)}function el(o,s){var d=o[s-1+0],m=o[s-1+32],v=o[s-1+64],y=o[s-1+96];o[s+0+0]=d+m+1>>1,o[s+2+0]=o[s+0+32]=m+v+1>>1,o[s+2+32]=o[s+0+64]=v+y+1>>1,o[s+1+0]=Yt(d,m,v),o[s+3+0]=o[s+1+32]=Yt(m,v,y),o[s+3+32]=o[s+1+64]=Yt(v,y,y),o[s+3+64]=o[s+2+64]=o[s+0+96]=o[s+1+96]=o[s+2+96]=o[s+3+96]=y}function Ki(o,s){var d=o[s-1+0],m=o[s-1+32],v=o[s-1+64],y=o[s-1+96],_=o[s-1-32],N=o[s+0-32],k=o[s+1-32],I=o[s+2-32];o[s+0+0]=o[s+2+32]=d+_+1>>1,o[s+0+32]=o[s+2+64]=m+d+1>>1,o[s+0+64]=o[s+2+96]=v+m+1>>1,o[s+0+96]=y+v+1>>1,o[s+3+0]=Yt(N,k,I),o[s+2+0]=Yt(_,N,k),o[s+1+0]=o[s+3+32]=Yt(d,_,N),o[s+1+32]=o[s+3+64]=Yt(m,d,_),o[s+1+64]=o[s+3+96]=Yt(v,m,d),o[s+1+96]=Yt(y,v,m)}function Da(o,s){var d;for(d=0;8>d;++d)r(o,s+32*d,o,s-32,8)}function Li(o,s){var d;for(d=0;8>d;++d)i(o,s,o[s-1],8),s+=32}function Xi(o,s,d){var m;for(m=0;8>m;++m)i(s,d+32*m,o,8)}function Ji(o,s){var d,m=8;for(d=0;8>d;++d)m+=o[s+d-32]+o[s-1+32*d];Xi(m>>4,o,s)}function nl(o,s){var d,m=4;for(d=0;8>d;++d)m+=o[s+d-32];Xi(m>>3,o,s)}function Ma(o,s){var d,m=4;for(d=0;8>d;++d)m+=o[s-1+32*d];Xi(m>>3,o,s)}function Ra(o,s){Xi(128,o,s)}function Si(o,s,d){var m=o[s-d],v=o[s+0],y=3*(v-m)+al[1020+o[s-2*d]-o[s+d]],_=Ho[112+(y+4>>3)];o[s-d]=Mn[255+m+Ho[112+(y+3>>3)]],o[s+0]=Mn[255+v-_]}function ki(o,s,d,m){var v=o[s+0],y=o[s+d];return Kn[255+o[s-2*d]-o[s-d]]>m||Kn[255+y-v]>m}function ja(o,s,d,m){return 4*Kn[255+o[s-d]-o[s+0]]+Kn[255+o[s-2*d]-o[s+d]]<=m}function Qi(o,s,d,m,v){var y=o[s-3*d],_=o[s-2*d],N=o[s-d],k=o[s+0],I=o[s+d],W=o[s+2*d],tt=o[s+3*d];return 4*Kn[255+N-k]+Kn[255+_-I]>m?0:Kn[255+o[s-4*d]-y]<=v&&Kn[255+y-_]<=v&&Kn[255+_-N]<=v&&Kn[255+tt-W]<=v&&Kn[255+W-I]<=v&&Kn[255+I-k]<=v}function Ba(o,s,d,m){var v=2*m+1;for(m=0;16>m;++m)ja(o,s+m,d,v)&&Si(o,s+m,d)}function Pi(o,s,d,m){var v=2*m+1;for(m=0;16>m;++m)ja(o,s+m*d,1,v)&&Si(o,s+m*d,1)}function za(o,s,d,m){var v;for(v=3;0<v;--v)Ba(o,s+=4*d,d,m)}function Ua(o,s,d,m){var v;for(v=3;0<v;--v)Pi(o,s+=4,d,m)}function Tn(o,s,d,m,v,y,_,N){for(y=2*y+1;0<v--;){if(Qi(o,s,d,y,_))if(ki(o,s,d,N))Si(o,s,d);else{var k=o,I=s,W=d,tt=k[I-2*W],F=k[I-W],Z=k[I+0],X=k[I+W],ht=k[I+2*W],Q=27*(gt=al[1020+3*(Z-F)+al[1020+tt-X]])+63>>7,ut=18*gt+63>>7,gt=9*gt+63>>7;k[I-3*W]=Mn[255+k[I-3*W]+gt],k[I-2*W]=Mn[255+tt+ut],k[I-W]=Mn[255+F+Q],k[I+0]=Mn[255+Z-Q],k[I+W]=Mn[255+X-ut],k[I+2*W]=Mn[255+ht-gt]}s+=m}}function vr(o,s,d,m,v,y,_,N){for(y=2*y+1;0<v--;){if(Qi(o,s,d,y,_))if(ki(o,s,d,N))Si(o,s,d);else{var k=o,I=s,W=d,tt=k[I-W],F=k[I+0],Z=k[I+W],X=Ho[112+(4+(ht=3*(F-tt))>>3)],ht=Ho[112+(ht+3>>3)],Q=X+1>>1;k[I-2*W]=Mn[255+k[I-2*W]+Q],k[I-W]=Mn[255+tt+ht],k[I+0]=Mn[255+F-X],k[I+W]=Mn[255+Z-Q]}s+=m}}function c(o,s,d,m,v,y){Tn(o,s,d,1,16,m,v,y)}function b(o,s,d,m,v,y){Tn(o,s,1,d,16,m,v,y)}function C(o,s,d,m,v,y){var _;for(_=3;0<_;--_)vr(o,s+=4*d,d,1,16,m,v,y)}function z(o,s,d,m,v,y){var _;for(_=3;0<_;--_)vr(o,s+=4,1,d,16,m,v,y)}function Y(o,s,d,m,v,y,_,N){Tn(o,s,v,1,8,y,_,N),Tn(d,m,v,1,8,y,_,N)}function pt(o,s,d,m,v,y,_,N){Tn(o,s,1,v,8,y,_,N),Tn(d,m,1,v,8,y,_,N)}function wt(o,s,d,m,v,y,_,N){vr(o,s+4*v,v,1,8,y,_,N),vr(d,m+4*v,v,1,8,y,_,N)}function Et(o,s,d,m,v,y,_,N){vr(o,s+4,1,v,8,y,_,N),vr(d,m+4,1,v,8,y,_,N)}function Tt(){this.ba=new Se,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new we,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Vt(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ae(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function me(){this.ua=0,this.Wa=new ne,this.vb=new ne,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new it,this.yc=new G}function De(){this.xb=this.a=0,this.l=new Yi,this.ca=new Se,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new D,this.Pb=0,this.wd=new D,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new me,this.ab=0,this.gc=h(4,ae),this.Oc=0}function Xe(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Yi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ae(o,s,d,m,v,y,_){for(o=o==null?0:o[s+0],s=0;s<_;++s)v[y+s]=o+d[m+s]&255,o=v[y+s]}function tn(o,s,d,m,v,y,_){var N;if(o==null)Ae(null,null,d,m,v,y,_);else for(N=0;N<_;++N)v[y+N]=o[s+N]+d[m+N]&255}function Je(o,s,d,m,v,y,_){if(o==null)Ae(null,null,d,m,v,y,_);else{var N,k=o[s+0],I=k,W=k;for(N=0;N<_;++N)I=W+(k=o[s+N])-I,W=d[m+N]+(-256&I?0>I?0:255:I)&255,I=k,v[y+N]=W}}function cn(o,s,d,m){var v=s.width,y=s.o;if(n(o!=null&&s!=null),0>d||0>=m||d+m>y)return null;if(!o.Cc){if(o.ga==null){var _;if(o.ga=new Xe,(_=o.ga==null)||(_=s.width*s.o,n(o.Gb.length==0),o.Gb=a(_),o.Uc=0,o.Gb==null?_=0:(o.mb=o.Gb,o.nb=o.Uc,o.rc=null,_=1),_=!_),!_){_=o.ga;var N=o.Fa,k=o.P,I=o.qc,W=o.mb,tt=o.nb,F=k+1,Z=I-1,X=_.l;if(n(N!=null&&W!=null&&s!=null),ii[0]=null,ii[1]=Ae,ii[2]=tn,ii[3]=Je,_.ca=W,_.tb=tt,_.c=s.width,_.i=s.height,n(0<_.c&&0<_.i),1>=I)s=0;else if(_.$a=3&N[k+0],_.Z=N[k+0]>>2&3,_.Lc=N[k+0]>>4&3,k=N[k+0]>>6&3,0>_.$a||1<_.$a||4<=_.Z||1<_.Lc||k)s=0;else if(X.put=Wt,X.ac=dr,X.bc=Er,X.ma=_,X.width=s.width,X.height=s.height,X.Da=s.Da,X.v=s.v,X.va=s.va,X.j=s.j,X.o=s.o,_.$a)t:{n(_.$a==1),s=wi();e:for(;;){if(s==null){s=0;break t}if(n(_!=null),_.mc=s,s.c=_.c,s.i=_.i,s.l=_.l,s.l.ma=_,s.l.width=_.c,s.l.height=_.i,s.a=0,ct(s.m,N,F,Z),!gr(_.c,_.i,1,s,null)||(s.ab==1&&s.gc[0].hc==3&&er(s.s)?(_.ic=1,N=s.c*s.i,s.Ta=null,s.Ua=0,s.V=a(N),s.Ba=0,s.V==null?(s.a=1,s=0):s=1):(_.ic=0,s=yi(s,_.c)),!s))break e;s=1;break t}_.mc=null,s=0}else s=Z>=_.c*_.i;_=!s}if(_)return null;o.ga.Lc!=1?o.Ga=0:m=y-d}n(o.ga!=null),n(d+m<=y);t:{if(s=(N=o.ga).c,y=N.l.o,N.$a==0){if(F=o.rc,Z=o.Vc,X=o.Fa,k=o.P+1+d*s,I=o.mb,W=o.nb+d*s,n(k<=o.P+o.qc),N.Z!=0)for(n(ii[N.Z]!=null),_=0;_<m;++_)ii[N.Z](F,Z,X,k,I,W,s),F=I,Z=W,W+=s,k+=s;else for(_=0;_<m;++_)r(I,W,X,k,s),F=I,Z=W,W+=s,k+=s;o.rc=F,o.Vc=Z}else{if(n(N.mc!=null),s=d+m,n((_=N.mc)!=null),n(s<=_.i),_.C>=s)s=1;else if(N.ic||Ii(),N.ic){N=_.V,F=_.Ba,Z=_.c;var ht=_.i,Q=(X=1,k=_.$/Z,I=_.$%Z,W=_.m,tt=_.s,_.$),ut=Z*ht,gt=Z*s,_t=tt.wc,bt=Q<gt?fn(tt,I,k):null;n(Q<=ut),n(s<=ht),n(er(tt));e:for(;;){for(;!W.h&&Q<gt;){if(I&_t||(bt=fn(tt,I,k)),n(bt!=null),J(W),256>(ht=Me(bt.G[0],bt.H[0],W)))N[F+Q]=ht,++Q,++I>=Z&&(I=0,++k<=s&&!(k%16)&&nr(_,k));else{if(!(280>ht)){X=0;break e}ht=Gn(ht-256,W);var Rt,It=Me(bt.G[4],bt.H[4],W);if(J(W),!(Q>=(It=Vn(Z,It=Gn(It,W)))&&ut-Q>=ht)){X=0;break e}for(Rt=0;Rt<ht;++Rt)N[F+Q+Rt]=N[F+Q+Rt-It];for(Q+=ht,I+=ht;I>=Z;)I-=Z,++k<=s&&!(k%16)&&nr(_,k);Q<gt&&I&_t&&(bt=fn(tt,I,k))}n(W.h==V(W))}nr(_,k>s?s:k);break e}!X||W.h&&Q<ut?(X=0,_.a=W.h?5:3):_.$=Q,s=X}else s=rr(_,_.V,_.Ba,_.c,_.i,s,Vi);if(!s){m=0;break t}}d+m>=y&&(o.Cc=1),m=1}if(!m)return null;if(o.Cc&&((m=o.ga)!=null&&(m.mc=null),o.ga=null,0<o.Ga))return alert("todo:WebPDequantizeLevels"),null}return o.nb+d*v}function Mr(o,s,d,m,v,y){for(;0<v--;){var _,N=o,k=s+(d?1:0),I=o,W=s+(d?0:3);for(_=0;_<m;++_){var tt=I[W+4*_];tt!=255&&(tt*=32897,N[k+4*_+0]=N[k+4*_+0]*tt>>23,N[k+4*_+1]=N[k+4*_+1]*tt>>23,N[k+4*_+2]=N[k+4*_+2]*tt>>23)}s+=y}}function Jr(o,s,d,m,v){for(;0<m--;){var y;for(y=0;y<d;++y){var _=o[s+2*y+0],N=15&(I=o[s+2*y+1]),k=4369*N,I=(240&I|I>>4)*k>>16;o[s+2*y+0]=(240&_|_>>4)*k>>16&240|(15&_|_<<4)*k>>16>>4&15,o[s+2*y+1]=240&I|N}s+=v}}function rl(o,s,d,m,v,y,_,N){var k,I,W=255;for(I=0;I<v;++I){for(k=0;k<m;++k){var tt=o[s+k];y[_+4*k]=tt,W&=tt}s+=d,_+=N}return W!=255}function zo(o,s,d,m,v){var y;for(y=0;y<v;++y)d[m+y]=o[s+y]>>8}function Ii(){Ka=Mr,qh=Jr,Hh=rl,Wh=zo}function ar(o,s,d){B[o]=function(m,v,y,_,N,k,I,W,tt,F,Z,X,ht,Q,ut,gt,_t){var bt,Rt=_t-1>>1,It=N[k+0]|I[W+0]<<16,oe=tt[F+0]|Z[X+0]<<16;n(m!=null);var Ct=3*It+oe+131074>>2;for(s(m[v+0],255&Ct,Ct>>16,ht,Q),y!=null&&(Ct=3*oe+It+131074>>2,s(y[_+0],255&Ct,Ct>>16,ut,gt)),bt=1;bt<=Rt;++bt){var fe=N[k+bt]|I[W+bt]<<16,nn=tt[F+bt]|Z[X+bt]<<16,se=It+fe+oe+nn+524296,Ot=se+2*(fe+oe)>>3;Ct=Ot+It>>1,It=(se=se+2*(It+nn)>>3)+fe>>1,s(m[v+2*bt-1],255&Ct,Ct>>16,ht,Q+(2*bt-1)*d),s(m[v+2*bt-0],255&It,It>>16,ht,Q+(2*bt-0)*d),y!=null&&(Ct=se+oe>>1,It=Ot+nn>>1,s(y[_+2*bt-1],255&Ct,Ct>>16,ut,gt+(2*bt-1)*d),s(y[_+2*bt+0],255&It,It>>16,ut,gt+(2*bt+0)*d)),It=fe,oe=nn}1&_t||(Ct=3*It+oe+131074>>2,s(m[v+_t-1],255&Ct,Ct>>16,ht,Q+(_t-1)*d),y!=null&&(Ct=3*oe+It+131074>>2,s(y[_+_t-1],255&Ct,Ct>>16,ut,gt+(_t-1)*d)))}}function qa(){Xn[Wo]=x1,Xn[Go]=ef,Xn[Kh]=A1,Xn[Vo]=nf,Xn[Zo]=rf,Xn[ol]=af,Xn[Xh]=N1,Xn[sl]=ef,Xn[ll]=nf,Xn[$o]=rf,Xn[hl]=af}function ta(o){return o&~L1?0>o?0:255:o>>of}function Qr(o,s){return ta((19077*o>>8)+(26149*s>>8)-14234)}function sn(o,s,d){return ta((19077*o>>8)-(6419*s>>8)-(13320*d>>8)+8708)}function Rr(o,s){return ta((19077*o>>8)+(33050*s>>8)-17685)}function jr(o,s,d,m,v){m[v+0]=Qr(o,d),m[v+1]=sn(o,s,d),m[v+2]=Rr(o,s)}function ea(o,s,d,m,v){m[v+0]=Rr(o,s),m[v+1]=sn(o,s,d),m[v+2]=Qr(o,d)}function Ha(o,s,d,m,v){var y=sn(o,s,d);s=y<<3&224|Rr(o,s)>>3,m[v+0]=248&Qr(o,d)|y>>5,m[v+1]=s}function xn(o,s,d,m,v){var y=240&Rr(o,s)|15;m[v+0]=240&Qr(o,d)|sn(o,s,d)>>4,m[v+1]=y}function Uo(o,s,d,m,v){m[v+0]=255,jr(o,s,d,m,v+1)}function na(o,s,d,m,v){ea(o,s,d,m,v),m[v+3]=255}function qo(o,s,d,m,v){jr(o,s,d,m,v),m[v+3]=255}function en(o,s){return 0>o?0:o>s?s:o}function Yn(o,s,d){B[o]=function(m,v,y,_,N,k,I,W,tt){for(var F=W+(-2&tt)*d;W!=F;)s(m[v+0],y[_+0],N[k+0],I,W),s(m[v+1],y[_+0],N[k+0],I,W+d),v+=2,++_,++k,W+=2*d;1&tt&&s(m[v+0],y[_+0],N[k+0],I,W)}}function Wa(o,s,d){return d==0?o==0?s==0?6:5:s==0?4:0:d}function Ga(o,s,d,m,v){switch(o>>>30){case 3:We(s,d,m,v,0);break;case 2:zr(s,d,m,v);break;case 1:xr(s,d,m,v)}}function ti(o,s){var d,m,v=s.M,y=s.Nb,_=o.oc,N=o.pc+40,k=o.oc,I=o.pc+584,W=o.oc,tt=o.pc+600;for(d=0;16>d;++d)_[N+32*d-1]=129;for(d=0;8>d;++d)k[I+32*d-1]=129,W[tt+32*d-1]=129;for(0<v?_[N-1-32]=k[I-1-32]=W[tt-1-32]=129:(i(_,N-32-1,127,21),i(k,I-32-1,127,9),i(W,tt-32-1,127,9)),m=0;m<o.za;++m){var F=s.ya[s.aa+m];if(0<m){for(d=-1;16>d;++d)r(_,N+32*d-4,_,N+32*d+12,4);for(d=-1;8>d;++d)r(k,I+32*d-4,k,I+32*d+4,4),r(W,tt+32*d-4,W,tt+32*d+4,4)}var Z=o.Gd,X=o.Hd+m,ht=F.ad,Q=F.Hc;if(0<v&&(r(_,N-32,Z[X].y,0,16),r(k,I-32,Z[X].f,0,8),r(W,tt-32,Z[X].ea,0,8)),F.Za){var ut=_,gt=N-32+16;for(0<v&&(m>=o.za-1?i(ut,gt,Z[X].y[15],4):r(ut,gt,Z[X+1].y,0,4)),d=0;4>d;d++)ut[gt+128+d]=ut[gt+256+d]=ut[gt+384+d]=ut[gt+0+d];for(d=0;16>d;++d,Q<<=2)ut=_,gt=N+lf[d],or[F.Ob[d]](ut,gt),Ga(Q,ht,16*+d,ut,gt)}else if(ut=Wa(m,v,F.Ob[0]),ri[ut](_,N),Q!=0)for(d=0;16>d;++d,Q<<=2)Ga(Q,ht,16*+d,_,N+lf[d]);for(d=F.Gc,ut=Wa(m,v,F.Dd),Ur[ut](k,I),Ur[ut](W,tt),Q=ht,ut=k,gt=I,255&(F=0|d)&&(170&F?sa(Q,256,ut,gt):Ya(Q,256,ut,gt)),F=W,Q=tt,255&(d>>=8)&&(170&d?sa(ht,320,F,Q):Ya(ht,320,F,Q)),v<o.Ub-1&&(r(Z[X].y,0,_,N+480,16),r(Z[X].f,0,k,I+224,8),r(Z[X].ea,0,W,tt+224,8)),d=8*y*o.B,Z=o.sa,X=o.ta+16*m+16*y*o.R,ht=o.qa,F=o.ra+8*m+d,Q=o.Ha,ut=o.Ia+8*m+d,d=0;16>d;++d)r(Z,X+d*o.R,_,N+32*d,16);for(d=0;8>d;++d)r(ht,F+d*o.B,k,I+32*d,8),r(Q,ut+d*o.B,W,tt+32*d,8)}}function ra(o,s,d,m,v,y,_,N,k){var I=[0],W=[0],tt=0,F=k!=null?k.kd:0,Z=k??new Vt;if(o==null||12>d)return 7;Z.data=o,Z.w=s,Z.ha=d,s=[s],d=[d],Z.gb=[Z.gb];t:{var X=s,ht=d,Q=Z.gb;if(n(o!=null),n(ht!=null),n(Q!=null),Q[0]=0,12<=ht[0]&&!e(o,X[0],"RIFF")){if(e(o,X[0]+8,"WEBP")){Q=3;break t}var ut=st(o,X[0]+4);if(12>ut||4294967286<ut){Q=3;break t}if(F&&ut>ht[0]-8){Q=7;break t}Q[0]=ut,X[0]+=12,ht[0]-=12}Q=0}if(Q!=0)return Q;for(ut=0<Z.gb[0],d=d[0];;){t:{var gt=o;ht=s,Q=d;var _t=I,bt=W,Rt=X=[0];if((Ct=tt=[tt])[0]=0,8>Q[0])Q=7;else{if(!e(gt,ht[0],"VP8X")){if(st(gt,ht[0]+4)!=10){Q=3;break t}if(18>Q[0]){Q=7;break t}var It=st(gt,ht[0]+8),oe=1+Pt(gt,ht[0]+12);if(2147483648<=oe*(gt=1+Pt(gt,ht[0]+15))){Q=3;break t}Rt!=null&&(Rt[0]=It),_t!=null&&(_t[0]=oe),bt!=null&&(bt[0]=gt),ht[0]+=18,Q[0]-=18,Ct[0]=1}Q=0}}if(tt=tt[0],X=X[0],Q!=0)return Q;if(ht=!!(2&X),!ut&&tt)return 3;if(y!=null&&(y[0]=!!(16&X)),_!=null&&(_[0]=ht),N!=null&&(N[0]=0),_=I[0],X=W[0],tt&&ht&&k==null){Q=0;break}if(4>d){Q=7;break}if(ut&&tt||!ut&&!tt&&!e(o,s[0],"ALPH")){d=[d],Z.na=[Z.na],Z.P=[Z.P],Z.Sa=[Z.Sa];t:{It=o,Q=s,ut=d;var Ct=Z.gb;_t=Z.na,bt=Z.P,Rt=Z.Sa,oe=22,n(It!=null),n(ut!=null),gt=Q[0];var fe=ut[0];for(n(_t!=null),n(Rt!=null),_t[0]=null,bt[0]=null,Rt[0]=0;;){if(Q[0]=gt,ut[0]=fe,8>fe){Q=7;break t}var nn=st(It,gt+4);if(4294967286<nn){Q=3;break t}var se=8+nn+1&-2;if(oe+=se,0<Ct&&oe>Ct){Q=3;break t}if(!e(It,gt,"VP8 ")||!e(It,gt,"VP8L")){Q=0;break t}if(fe[0]<se){Q=7;break t}e(It,gt,"ALPH")||(_t[0]=It,bt[0]=gt+8,Rt[0]=nn),gt+=se,fe-=se}}if(d=d[0],Z.na=Z.na[0],Z.P=Z.P[0],Z.Sa=Z.Sa[0],Q!=0)break}d=[d],Z.Ja=[Z.Ja],Z.xa=[Z.xa];t:if(Ct=o,Q=s,ut=d,_t=Z.gb[0],bt=Z.Ja,Rt=Z.xa,It=Q[0],gt=!e(Ct,It,"VP8 "),oe=!e(Ct,It,"VP8L"),n(Ct!=null),n(ut!=null),n(bt!=null),n(Rt!=null),8>ut[0])Q=7;else{if(gt||oe){if(Ct=st(Ct,It+4),12<=_t&&Ct>_t-12){Q=3;break t}if(F&&Ct>ut[0]-8){Q=7;break t}bt[0]=Ct,Q[0]+=8,ut[0]-=8,Rt[0]=oe}else Rt[0]=5<=ut[0]&&Ct[It+0]==47&&!(Ct[It+4]>>5),bt[0]=ut[0];Q=0}if(d=d[0],Z.Ja=Z.Ja[0],Z.xa=Z.xa[0],s=s[0],Q!=0)break;if(4294967286<Z.Ja)return 3;if(N==null||ht||(N[0]=Z.xa?2:1),_=[_],X=[X],Z.xa){if(5>d){Q=7;break}N=_,F=X,ht=y,o==null||5>d?o=0:5<=d&&o[s+0]==47&&!(o[s+4]>>5)?(ut=[0],Ct=[0],_t=[0],ct(bt=new D,o,s,d),Cr(bt,ut,Ct,_t)?(N!=null&&(N[0]=ut[0]),F!=null&&(F[0]=Ct[0]),ht!=null&&(ht[0]=_t[0]),o=1):o=0):o=0}else{if(10>d){Q=7;break}N=X,o==null||10>d||!Mo(o,s+3,d-3)?o=0:(F=o[s+0]|o[s+1]<<8|o[s+2]<<16,ht=16383&(o[s+7]<<8|o[s+6]),o=16383&(o[s+9]<<8|o[s+8]),1&F||3<(F>>1&7)||!(F>>4&1)||F>>5>=Z.Ja||!ht||!o?o=0:(_&&(_[0]=ht),N&&(N[0]=o),o=1))}if(!o||(_=_[0],X=X[0],tt&&(I[0]!=_||W[0]!=X)))return 3;k!=null&&(k[0]=Z,k.offset=s-k.w,n(4294967286>s-k.w),n(k.offset==k.ha-d));break}return Q==0||Q==7&&tt&&k==null?(y!=null&&(y[0]|=Z.na!=null&&0<Z.na.length),m!=null&&(m[0]=_),v!=null&&(v[0]=X),0):Q}function Pn(o,s,d){var m=s.width,v=s.height,y=0,_=0,N=m,k=v;if(s.Da=o!=null&&0<o.Da,s.Da&&(N=o.cd,k=o.bd,y=o.v,_=o.j,11>d||(y&=-2,_&=-2),0>y||0>_||0>=N||0>=k||y+N>m||_+k>v))return 0;if(s.v=y,s.j=_,s.va=y+N,s.o=_+k,s.U=N,s.T=k,s.da=o!=null&&0<o.da,s.da){if(!qt(N,k,d=[o.ib],y=[o.hb]))return 0;s.ib=d[0],s.hb=y[0]}return s.ob=o!=null&&o.ob,s.Kb=o==null||!o.Sd,s.da&&(s.ob=s.ib<3*m/4&&s.hb<3*v/4,s.Kb=0),1}function In(o){if(o==null)return 2;if(11>o.S){var s=o.f.RGBA;s.fb+=(o.height-1)*s.A,s.A=-s.A}else s=o.f.kb,o=o.height,s.O+=(o-1)*s.fa,s.fa=-s.fa,s.N+=(o-1>>1)*s.Ab,s.Ab=-s.Ab,s.W+=(o-1>>1)*s.Db,s.Db=-s.Db,s.F!=null&&(s.J+=(o-1)*s.lb,s.lb=-s.lb);return 0}function Fi(o,s,d,m){if(m==null||0>=o||0>=s)return 2;if(d!=null){if(d.Da){var v=d.cd,y=d.bd,_=-2&d.v,N=-2&d.j;if(0>_||0>N||0>=v||0>=y||_+v>o||N+y>s)return 2;o=v,s=y}if(d.da){if(!qt(o,s,v=[d.ib],y=[d.hb]))return 2;o=v[0],s=y[0]}}m.width=o,m.height=s;t:{var k=m.width,I=m.height;if(o=m.S,0>=k||0>=I||!(o>=Wo&&13>o))o=2;else{if(0>=m.Rd&&m.sd==null){_=y=v=s=0;var W=(N=k*hf[o])*I;if(11>o||(y=(I+1)/2*(s=(k+1)/2),o==12&&(_=(v=k)*I)),(I=a(W+2*y+_))==null){o=1;break t}m.sd=I,11>o?((k=m.f.RGBA).eb=I,k.fb=0,k.A=N,k.size=W):((k=m.f.kb).y=I,k.O=0,k.fa=N,k.Fd=W,k.f=I,k.N=0+W,k.Ab=s,k.Cd=y,k.ea=I,k.W=0+W+y,k.Db=s,k.Ed=y,o==12&&(k.F=I,k.J=0+W+2*y),k.Tc=_,k.lb=v)}if(s=1,v=m.S,y=m.width,_=m.height,v>=Wo&&13>v)if(11>v)o=m.f.RGBA,s&=(N=Math.abs(o.A))*(_-1)+y<=o.size,s&=N>=y*hf[v],s&=o.eb!=null;else{o=m.f.kb,N=(y+1)/2,W=(_+1)/2,k=Math.abs(o.fa),I=Math.abs(o.Ab);var tt=Math.abs(o.Db),F=Math.abs(o.lb),Z=F*(_-1)+y;s&=k*(_-1)+y<=o.Fd,s&=I*(W-1)+N<=o.Cd,s=(s&=tt*(W-1)+N<=o.Ed)&k>=y&I>=N&tt>=N,s&=o.y!=null,s&=o.f!=null,s&=o.ea!=null,v==12&&(s&=F>=y,s&=Z<=o.Tc,s&=o.F!=null)}else s=0;o=s?0:2}}return o!=0||d!=null&&d.fd&&(o=In(m)),o}var br=64,ei=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Va=24,ni=32,qe=8,il=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];St("Predictor0","PredictorAdd0"),B.Predictor0=function(){return 4278190080},B.Predictor1=function(o){return o},B.Predictor2=function(o,s,d){return s[d+0]},B.Predictor3=function(o,s,d){return s[d+1]},B.Predictor4=function(o,s,d){return s[d-1]},B.Predictor5=function(o,s,d){return Ut(Ut(o,s[d+1]),s[d+0])},B.Predictor6=function(o,s,d){return Ut(o,s[d-1])},B.Predictor7=function(o,s,d){return Ut(o,s[d+0])},B.Predictor8=function(o,s,d){return Ut(s[d-1],s[d+0])},B.Predictor9=function(o,s,d){return Ut(s[d+0],s[d+1])},B.Predictor10=function(o,s,d){return Ut(Ut(o,s[d-1]),Ut(s[d+0],s[d+1]))},B.Predictor11=function(o,s,d){var m=s[d+0];return 0>=Jt(m>>24&255,o>>24&255,(s=s[d-1])>>24&255)+Jt(m>>16&255,o>>16&255,s>>16&255)+Jt(m>>8&255,o>>8&255,s>>8&255)+Jt(255&m,255&o,255&s)?m:o},B.Predictor12=function(o,s,d){var m=s[d+0];return(pe((o>>24&255)+(m>>24&255)-((s=s[d-1])>>24&255))<<24|pe((o>>16&255)+(m>>16&255)-(s>>16&255))<<16|pe((o>>8&255)+(m>>8&255)-(s>>8&255))<<8|pe((255&o)+(255&m)-(255&s)))>>>0},B.Predictor13=function(o,s,d){var m=s[d-1];return(Xt((o=Ut(o,s[d+0]))>>24&255,m>>24&255)<<24|Xt(o>>16&255,m>>16&255)<<16|Xt(o>>8&255,m>>8&255)<<8|Xt(255&o,255&m))>>>0};var wr=B.PredictorAdd0;B.PredictorAdd1=xe,St("Predictor2","PredictorAdd2"),St("Predictor3","PredictorAdd3"),St("Predictor4","PredictorAdd4"),St("Predictor5","PredictorAdd5"),St("Predictor6","PredictorAdd6"),St("Predictor7","PredictorAdd7"),St("Predictor8","PredictorAdd8"),St("Predictor9","PredictorAdd9"),St("Predictor10","PredictorAdd10"),St("Predictor11","PredictorAdd11"),St("Predictor12","PredictorAdd12"),St("Predictor13","PredictorAdd13");var yr=B.PredictorAdd2;zt("ColorIndexInverseTransform","MapARGB","32b",function(o){return o>>8&255},function(o){return o}),zt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(o){return o},function(o){return o>>8&255});var ia,Za=B.ColorIndexInverseTransform,aa=B.MapARGB,oa=B.VP8LColorIndexInverseTransformAlpha,Ei=B.MapAlpha,Ci=B.VP8LPredictorsAdd=[];Ci.length=16,(B.VP8LPredictors=[]).length=16,(B.VP8LPredictorsAdd_C=[]).length=16,(B.VP8LPredictors_C=[]).length=16;var Br,$a,Dn,_r,Fe,Ee,He,We,zr,sa,xr,Ya,Fh,Eh,Ch,Oh,Th,Dh,Mh,Rh,jh,Bh,zh,Uh,Ka,qh,Hh,Wh,Gh=a(511),Vh=a(2041),Zh=a(225),$h=a(767),Yh=0,al=Vh,Ho=Zh,Mn=$h,Kn=Gh,Wo=0,Go=1,Kh=2,Vo=3,Zo=4,ol=5,Xh=6,sl=7,ll=8,$o=9,hl=10,l1=[2,3,7],h1=[3,3,11],Jh=[280,256,256,256,40],f1=[0,1,1,1,0],c1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],u1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],d1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],p1=8,fl=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],cl=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Xa=null,g1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],m1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Qh=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],v1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],b1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],w1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],y1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ri=[],or=[],Ur=[],_1=1,tf=2,ii=[],Xn=[];ar("UpsampleRgbLinePair",jr,3),ar("UpsampleBgrLinePair",ea,3),ar("UpsampleRgbaLinePair",qo,4),ar("UpsampleBgraLinePair",na,4),ar("UpsampleArgbLinePair",Uo,4),ar("UpsampleRgba4444LinePair",xn,2),ar("UpsampleRgb565LinePair",Ha,2);var x1=B.UpsampleRgbLinePair,A1=B.UpsampleBgrLinePair,ef=B.UpsampleRgbaLinePair,nf=B.UpsampleBgraLinePair,rf=B.UpsampleArgbLinePair,af=B.UpsampleRgba4444LinePair,N1=B.UpsampleRgb565LinePair,Yo=16,Ko=1<<Yo-1,Ja=-227,ul=482,of=6,L1=(256<<of)-1,sf=0,S1=a(256),k1=a(256),P1=a(256),I1=a(256),F1=a(ul-Ja),E1=a(ul-Ja);Yn("YuvToRgbRow",jr,3),Yn("YuvToBgrRow",ea,3),Yn("YuvToRgbaRow",qo,4),Yn("YuvToBgraRow",na,4),Yn("YuvToArgbRow",Uo,4),Yn("YuvToRgba4444Row",xn,2),Yn("YuvToRgb565Row",Ha,2);var lf=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Xo=[0,2,8],C1=[8,7,6,4,4,2,2,2,1,1,1,1],O1=1;this.WebPDecodeRGBA=function(o,s,d,m,v){var y=Go,_=new Tt,N=new Se;_.ba=N,N.S=y,N.width=[N.width],N.height=[N.height];var k=N.width,I=N.height,W=new $t;if(W==null||o==null)var tt=2;else n(W!=null),tt=ra(o,s,d,W.width,W.height,W.Pd,W.Qd,W.format,null);if(tt!=0?k=0:(k!=null&&(k[0]=W.width[0]),I!=null&&(I[0]=W.height[0]),k=1),k){N.width=N.width[0],N.height=N.height[0],m!=null&&(m[0]=N.width),v!=null&&(v[0]=N.height);t:{if(m=new Yi,(v=new Vt).data=o,v.w=s,v.ha=d,v.kd=1,s=[0],n(v!=null),((o=ra(v.data,v.w,v.ha,null,null,null,s,null,v))==0||o==7)&&s[0]&&(o=4),(s=o)==0){if(n(_!=null),m.data=v.data,m.w=v.w+v.offset,m.ha=v.ha-v.offset,m.put=Wt,m.ac=dr,m.bc=Er,m.ma=_,v.xa){if((o=wi())==null){_=1;break t}if((function(F,Z){var X=[0],ht=[0],Q=[0];e:for(;;){if(F==null)return 0;if(Z==null)return F.a=2,0;if(F.l=Z,F.a=0,ct(F.m,Z.data,Z.w,Z.ha),!Cr(F.m,X,ht,Q)){F.a=3;break e}if(F.xb=tf,Z.width=X[0],Z.height=ht[0],!gr(X[0],ht[0],1,F,null))break e;return 1}return n(F.a!=0),0})(o,m)){if(m=(s=Fi(m.width,m.height,_.Oa,_.ba))==0){e:{m=o;n:for(;;){if(m==null){m=0;break e}if(n(m.s.yc!=null),n(m.s.Ya!=null),n(0<m.s.Wb),n((d=m.l)!=null),n((v=d.ma)!=null),m.xb!=0){if(m.ca=v.ba,m.tb=v.tb,n(m.ca!=null),!Pn(v.Oa,d,Vo)){m.a=2;break n}if(!yi(m,d.width)||d.da)break n;if((d.da||te(m.ca.S))&&Ii(),11>m.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),m.ca.f.kb.F!=null&&Ii()),m.Pb&&0<m.s.ua&&m.s.vb.X==null&&!M(m.s.vb,m.s.Wa.Xa)){m.a=1;break n}m.xb=0}if(!rr(m,m.V,m.Ba,m.c,m.i,d.o,Yr))break n;v.Dc=m.Ma,m=1;break e}n(m.a!=0),m=0}m=!m}m&&(s=o.a)}else s=o.a}else{if((o=new qs)==null){_=1;break t}if(o.Fa=v.na,o.P=v.P,o.qc=v.Sa,Ro(o,m)){if((s=Fi(m.width,m.height,_.Oa,_.ba))==0){if(o.Aa=0,d=_.Oa,n((v=o)!=null),d!=null){if(0<(k=0>(k=d.Md)?0:100<k?255:255*k/100)){for(I=W=0;4>I;++I)12>(tt=v.pb[I]).lc&&(tt.ia=k*C1[0>tt.lc?0:tt.lc]>>3),W|=tt.ia;W&&(alert("todo:VP8InitRandom"),v.ia=1)}v.Ga=d.Id,100<v.Ga?v.Ga=100:0>v.Ga&&(v.Ga=0)}(function(F,Z){if(F==null)return 0;if(Z==null)return Ke(F,2,"NULL VP8Io parameter in VP8Decode().");if(!F.cb&&!Ro(F,Z))return 0;if(n(F.cb),Z.ac==null||Z.ac(Z)){Z.ob&&(F.L=0);var X=Xo[F.L];if(F.L==2?(F.yb=0,F.zb=0):(F.yb=Z.v-X>>4,F.zb=Z.j-X>>4,0>F.yb&&(F.yb=0),0>F.zb&&(F.zb=0)),F.Va=Z.o+15+X>>4,F.Hb=Z.va+15+X>>4,F.Hb>F.za&&(F.Hb=F.za),F.Va>F.Ub&&(F.Va=F.Ub),0<F.L){var ht=F.ed;for(X=0;4>X;++X){var Q;if(F.Qa.Cb){var ut=F.Qa.Lb[X];F.Qa.Fb||(ut+=ht.Tb)}else ut=ht.Tb;for(Q=0;1>=Q;++Q){var gt=F.gd[X][Q],_t=ut;if(ht.Pc&&(_t+=ht.vd[0],Q&&(_t+=ht.od[0])),0<(_t=0>_t?0:63<_t?63:_t)){var bt=_t;0<ht.wb&&(bt=4<ht.wb?bt>>2:bt>>1)>9-ht.wb&&(bt=9-ht.wb),1>bt&&(bt=1),gt.dd=bt,gt.tc=2*_t+bt,gt.ld=40<=_t?2:15<=_t?1:0}else gt.tc=0;gt.La=Q}}}X=0}else Ke(F,6,"Frame setup failed"),X=F.a;if(X=X==0){if(X){F.$c=0,0<F.Aa||(F.Ic=O1);e:{X=F.Ic,ht=4*(bt=F.za);var Rt=32*bt,It=bt+1,oe=0<F.L?bt*(0<F.Aa?2:1):0,Ct=(F.Aa==2?2:1)*bt;if((gt=ht+832+(Q=3*(16*X+Xo[F.L])/2*Rt)+(ut=F.Fa!=null&&0<F.Fa.length?F.Kc.c*F.Kc.i:0))!=gt)X=0;else{if(gt>F.Vb){if(F.Vb=0,F.Ec=a(gt),F.Fc=0,F.Ec==null){X=Ke(F,1,"no memory during frame initialization.");break e}F.Vb=gt}gt=F.Ec,_t=F.Fc,F.Ac=gt,F.Bc=_t,_t+=ht,F.Gd=h(Rt,To),F.Hd=0,F.rb=h(It+1,Ia),F.sb=1,F.wa=oe?h(oe,$n):null,F.Y=0,F.D.Nb=0,F.D.wa=F.wa,F.D.Y=F.Y,0<F.Aa&&(F.D.Y+=bt),n(!0),F.oc=gt,F.pc=_t,_t+=832,F.ya=h(Ct,Fa),F.aa=0,F.D.ya=F.ya,F.D.aa=F.aa,F.Aa==2&&(F.D.aa+=bt),F.R=16*bt,F.B=8*bt,bt=(Rt=Xo[F.L])*F.R,Rt=Rt/2*F.B,F.sa=gt,F.ta=_t+bt,F.qa=F.sa,F.ra=F.ta+16*X*F.R+Rt,F.Ha=F.qa,F.Ia=F.ra+8*X*F.B+Rt,F.$c=0,_t+=Q,F.mb=ut?gt:null,F.nb=ut?_t:null,n(_t+ut<=F.Fc+F.Vb),_i(F),i(F.Ac,F.Bc,0,ht),X=1}}if(X){if(Z.ka=0,Z.y=F.sa,Z.O=F.ta,Z.f=F.qa,Z.N=F.ra,Z.ea=F.Ha,Z.Vd=F.Ia,Z.fa=F.R,Z.Rc=F.B,Z.F=null,Z.J=0,!Yh){for(X=-255;255>=X;++X)Gh[255+X]=0>X?-X:X;for(X=-1020;1020>=X;++X)Vh[1020+X]=-128>X?-128:127<X?127:X;for(X=-112;112>=X;++X)Zh[112+X]=-16>X?-16:15<X?15:X;for(X=-255;510>=X;++X)$h[255+X]=0>X?0:255<X?255:X;Yh=1}He=Bo,We=Ws,sa=Gs,xr=mr,Ya=jo,zr=Hs,Fh=c,Eh=b,Ch=Y,Oh=pt,Th=C,Dh=z,Mh=wt,Rh=Et,jh=Ba,Bh=Pi,zh=za,Uh=Ua,or[0]=Js,or[1]=Ca,or[2]=Ks,or[3]=Xs,or[4]=Qs,or[5]=Dr,or[6]=Tr,or[7]=tl,or[8]=Ki,or[9]=el,ri[0]=Xr,ri[1]=Zs,ri[2]=$s,ri[3]=Oa,ri[4]=Ys,ri[5]=Ni,ri[6]=Ta,Ur[0]=Ji,Ur[1]=Vs,Ur[2]=Da,Ur[3]=Li,Ur[4]=Ma,Ur[5]=nl,Ur[6]=Ra,X=1}else X=0}X&&(X=(function(fe,nn){for(fe.M=0;fe.M<fe.Va;++fe.M){var se,Ot=fe.Jc[fe.M&fe.Xb],Lt=fe.m,Ge=fe;for(se=0;se<Ge.za;++se){var ee=Lt,ue=Ge,Oe=ue.Ac,un=ue.Bc+4*se,An=ue.zc,Re=ue.ya[ue.aa+se];if(ue.Qa.Bb?Re.$b=mt(ee,ue.Pa.jb[0])?2+mt(ee,ue.Pa.jb[2]):mt(ee,ue.Pa.jb[1]):Re.$b=0,ue.kc&&(Re.Ad=mt(ee,ue.Bd)),Re.Za=!mt(ee,145)+0,Re.Za){var vn=Re.Ob,Nn=0;for(ue=0;4>ue;++ue){var rn,de=An[0+ue];for(rn=0;4>rn;++rn){de=b1[Oe[un+rn]][de];for(var ye=Qh[mt(ee,de[0])];0<ye;)ye=Qh[2*ye+mt(ee,de[ye])];de=-ye,Oe[un+rn]=de}r(vn,Nn,Oe,un,4),Nn+=4,An[0+ue]=de}}else de=mt(ee,156)?mt(ee,128)?1:3:mt(ee,163)?2:0,Re.Ob[0]=de,i(Oe,un,de,4),i(An,0,de,4);Re.Dd=mt(ee,142)?mt(ee,114)?mt(ee,183)?1:3:2:0}if(Ge.m.Ka)return Ke(fe,7,"Premature end-of-partition0 encountered.");for(;fe.ja<fe.za;++fe.ja){if(Ge=Ot,ee=(Lt=fe).rb[Lt.sb-1],Oe=Lt.rb[Lt.sb+Lt.ja],se=Lt.ya[Lt.aa+Lt.ja],un=Lt.kc?se.Ad:0)ee.la=Oe.la=0,se.Za||(ee.Na=Oe.Na=0),se.Hc=0,se.Gc=0,se.ia=0;else{var je,_e;if(ee=Oe,Oe=Ge,un=Lt.Pa.Xc,An=Lt.ya[Lt.aa+Lt.ja],Re=Lt.pb[An.$b],ue=An.ad,vn=0,Nn=Lt.rb[Lt.sb-1],de=rn=0,i(ue,vn,0,384),An.Za)var dn=0,sr=un[3];else{ye=a(16);var Ve=ee.Na+Nn.Na;if(Ve=Xa(Oe,un[1],Ve,Re.Eb,0,ye,0),ee.Na=Nn.Na=(0<Ve)+0,1<Ve)He(ye,0,ue,vn);else{var Fn=ye[0]+3>>3;for(ye=0;256>ye;ye+=16)ue[vn+ye]=Fn}dn=1,sr=un[0]}var ke=15&ee.la,an=15&Nn.la;for(ye=0;4>ye;++ye){var Rn=1&an;for(Fn=_e=0;4>Fn;++Fn)ke=ke>>1|(Rn=(Ve=Xa(Oe,sr,Ve=Rn+(1&ke),Re.Sc,dn,ue,vn))>dn)<<7,_e=_e<<2|(3<Ve?3:1<Ve?2:ue[vn+0]!=0),vn+=16;ke>>=4,an=an>>1|Rn<<7,rn=(rn<<8|_e)>>>0}for(sr=ke,dn=an>>4,je=0;4>je;je+=2){for(_e=0,ke=ee.la>>4+je,an=Nn.la>>4+je,ye=0;2>ye;++ye){for(Rn=1&an,Fn=0;2>Fn;++Fn)Ve=Rn+(1&ke),ke=ke>>1|(Rn=0<(Ve=Xa(Oe,un[2],Ve,Re.Qc,0,ue,vn)))<<3,_e=_e<<2|(3<Ve?3:1<Ve?2:ue[vn+0]!=0),vn+=16;ke>>=2,an=an>>1|Rn<<5}de|=_e<<4*je,sr|=ke<<4<<je,dn|=(240&an)<<je}ee.la=sr,Nn.la=dn,An.Hc=rn,An.Gc=de,An.ia=43690&de?0:Re.ia,un=!(rn|de)}if(0<Lt.L&&(Lt.wa[Lt.Y+Lt.ja]=Lt.gd[se.$b][se.Za],Lt.wa[Lt.Y+Lt.ja].La|=!un),Ge.Ka)return Ke(fe,7,"Premature end-of-file encountered.")}if(_i(fe),Lt=nn,Ge=1,se=(Ot=fe).D,ee=0<Ot.L&&Ot.M>=Ot.zb&&Ot.M<=Ot.Va,Ot.Aa==0)e:{if(se.M=Ot.M,se.uc=ee,ti(Ot,se),Ge=1,se=(_e=Ot.D).Nb,ee=(de=Xo[Ot.L])*Ot.R,Oe=de/2*Ot.B,ye=16*se*Ot.R,Fn=8*se*Ot.B,un=Ot.sa,An=Ot.ta-ee+ye,Re=Ot.qa,ue=Ot.ra-Oe+Fn,vn=Ot.Ha,Nn=Ot.Ia-Oe+Fn,an=(ke=_e.M)==0,rn=ke>=Ot.Va-1,Ot.Aa==2&&ti(Ot,_e),_e.uc)for(Rn=(Ve=Ot).D.M,n(Ve.D.uc),_e=Ve.yb;_e<Ve.Hb;++_e){dn=_e,sr=Rn;var Ln=(jn=(pn=Ve).D).Nb;je=pn.R;var jn=jn.wa[jn.Y+dn],Bn=pn.sa,En=pn.ta+16*Ln*je+16*dn,zn=jn.dd,Ce=jn.tc;if(Ce!=0)if(n(3<=Ce),pn.L==1)0<dn&&Bh(Bn,En,je,Ce+4),jn.La&&Uh(Bn,En,je,Ce),0<sr&&jh(Bn,En,je,Ce+4),jn.La&&zh(Bn,En,je,Ce);else{var Un=pn.B,lr=pn.qa,Oi=pn.ra+8*Ln*Un+8*dn,qr=pn.Ha,pn=pn.Ia+8*Ln*Un+8*dn;Ln=jn.ld,0<dn&&(Eh(Bn,En,je,Ce+4,zn,Ln),Oh(lr,Oi,qr,pn,Un,Ce+4,zn,Ln)),jn.La&&(Dh(Bn,En,je,Ce,zn,Ln),Rh(lr,Oi,qr,pn,Un,Ce,zn,Ln)),0<sr&&(Fh(Bn,En,je,Ce+4,zn,Ln),Ch(lr,Oi,qr,pn,Un,Ce+4,zn,Ln)),jn.La&&(Th(Bn,En,je,Ce,zn,Ln),Mh(lr,Oi,qr,pn,Un,Ce,zn,Ln))}}if(Ot.ia&&alert("todo:DitherRow"),Lt.put!=null){if(_e=16*ke,ke=16*(ke+1),an?(Lt.y=Ot.sa,Lt.O=Ot.ta+ye,Lt.f=Ot.qa,Lt.N=Ot.ra+Fn,Lt.ea=Ot.Ha,Lt.W=Ot.Ia+Fn):(_e-=de,Lt.y=un,Lt.O=An,Lt.f=Re,Lt.N=ue,Lt.ea=vn,Lt.W=Nn),rn||(ke-=de),ke>Lt.o&&(ke=Lt.o),Lt.F=null,Lt.J=null,Ot.Fa!=null&&0<Ot.Fa.length&&_e<ke&&(Lt.J=cn(Ot,Lt,_e,ke-_e),Lt.F=Ot.mb,Lt.F==null&&Lt.F.length==0)){Ge=Ke(Ot,3,"Could not decode alpha data.");break e}_e<Lt.j&&(de=Lt.j-_e,_e=Lt.j,n(!(1&de)),Lt.O+=Ot.R*de,Lt.N+=Ot.B*(de>>1),Lt.W+=Ot.B*(de>>1),Lt.F!=null&&(Lt.J+=Lt.width*de)),_e<ke&&(Lt.O+=Lt.v,Lt.N+=Lt.v>>1,Lt.W+=Lt.v>>1,Lt.F!=null&&(Lt.J+=Lt.v),Lt.ka=_e-Lt.j,Lt.U=Lt.va-Lt.v,Lt.T=ke-_e,Ge=Lt.put(Lt))}se+1!=Ot.Ic||rn||(r(Ot.sa,Ot.ta-ee,un,An+16*Ot.R,ee),r(Ot.qa,Ot.ra-Oe,Re,ue+8*Ot.B,Oe),r(Ot.Ha,Ot.Ia-Oe,vn,Nn+8*Ot.B,Oe))}if(!Ge)return Ke(fe,6,"Output aborted.")}return 1})(F,Z)),Z.bc!=null&&Z.bc(Z),X&=1}return X?(F.cb=0,X):0})(o,m)||(s=o.a)}}else s=o.a}s==0&&_.Oa!=null&&_.Oa.fd&&(s=In(_.ba))}_=s}y=_!=0?null:11>y?N.f.RGBA.eb:N.f.kb.y}else y=null;return y};var hf=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(B,et){for(var S="",O=0;O<4;O++)S+=String.fromCharCode(B[et++]);return S}function g(B,et){return B[et+0]|B[et+1]<<8}function w(B,et){return(B[et+0]|B[et+1]<<8|B[et+2]<<16)>>>0}function A(B,et){return(B[et+0]|B[et+1]<<8|B[et+2]<<16|B[et+3]<<24)>>>0}new f;var p=[0],E=[0],P=[],T=new f,L=t,H=(function(B,et){var S={},O=0,G=!1,q=0,it=0;if(S.frames=[],!(function(x,D){for(var R=0;R<4;R++)if(x[D+R]!="RIFF".charCodeAt(R))return!0;return!1})(B,et)){for(A(B,et+=4),et+=8;et<B.length;){var ft=u(B,et),dt=A(B,et+=4);et+=4;var nt=dt+(1&dt);switch(ft){case"VP8 ":case"VP8L":S.frames[O]===void 0&&(S.frames[O]={}),(yt=S.frames[O]).src_off=G?it:et-8,yt.src_size=q+dt+8,O++,G&&(G=!1,q=0,it=0);break;case"VP8X":(yt=S.header={}).feature_flags=B[et];var ct=et+4;yt.canvas_width=1+w(B,ct),ct+=3,yt.canvas_height=1+w(B,ct),ct+=3;break;case"ALPH":G=!0,q=nt+8,it=et-8;break;case"ANIM":(yt=S.header).bgcolor=A(B,et),ct=et+4,yt.loop_count=g(B,ct),ct+=2;break;case"ANMF":var Nt,yt;(yt=S.frames[O]={}).offset_x=2*w(B,et),et+=3,yt.offset_y=2*w(B,et),et+=3,yt.width=1+w(B,et),et+=3,yt.height=1+w(B,et),et+=3,yt.duration=w(B,et),et+=3,Nt=B[et++],yt.dispose=1&Nt,yt.blend=Nt>>1&1}ft!="ANMF"&&(et+=nt)}return S}})(L,0);H.response=L,H.rgbaoutput=!0,H.dataurl=!1;var U=H.header?H.header:null,j=H.frames?H.frames:null;if(U){U.loop_counter=U.loop_count,p=[U.canvas_height],E=[U.canvas_width];for(var rt=0;rt<j.length&&j[rt].blend!=0;rt++);}var vt=j[0],ot=T.WebPDecodeRGBA(L,vt.src_off,vt.src_size,E,p);vt.rgba=ot,vt.imgwidth=E[0],vt.imgheight=p[0];for(var K=0;K<E[0]*p[0]*4;K++)P[K]=ot[K];return this.width=E,this.height=p,this.data=P,this}(function(t){var n,e,r,i,a,h,l,f,u,g=function(x){return x=x||{},this.isStrokeTransparent=x.isStrokeTransparent||!1,this.strokeOpacity=x.strokeOpacity||1,this.strokeStyle=x.strokeStyle||"#000000",this.fillStyle=x.fillStyle||"#000000",this.isFillTransparent=x.isFillTransparent||!1,this.fillOpacity=x.fillOpacity||1,this.font=x.font||"10px sans-serif",this.textBaseline=x.textBaseline||"alphabetic",this.textAlign=x.textAlign||"left",this.lineWidth=x.lineWidth||1,this.lineJoin=x.lineJoin||"miter",this.lineCap=x.lineCap||"butt",this.path=x.path||[],this.transform=x.transform!==void 0?x.transform.clone():new f,this.globalCompositeOperation=x.globalCompositeOperation||"normal",this.globalAlpha=x.globalAlpha||1,this.clip_path=x.clip_path||[],this.currentPoint=x.currentPoint||new h,this.miterLimit=x.miterLimit||10,this.lastPoint=x.lastPoint||new h,this.lineDashOffset=x.lineDashOffset||0,this.lineDash=x.lineDash||[],this.margin=x.margin||[0,0,0,0],this.prevPageLastElemOffset=x.prevPageLastElemOffset||0,this.ignoreClearRect=typeof x.ignoreClearRect!="boolean"||x.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new w(this),n=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,h=this.internal.Point,l=this.internal.Rectangle,f=this.internal.Matrix,u=new g}]);var w=function(x){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var D=x;Object.defineProperty(this,"pdf",{get:function(){return D}});var R=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return R},set:function(st){R=!!st}});var V=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return V},set:function(st){V=!!st}});var $=0;Object.defineProperty(this,"posX",{get:function(){return $},set:function(st){isNaN(st)||($=st)}});var J=0;Object.defineProperty(this,"posY",{get:function(){return J},set:function(st){isNaN(st)||(J=st)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(st){var M;typeof st=="number"?M=[st,st,st,st]:((M=new Array(4))[0]=st[0],M[1]=st.length>=2?st[1]:M[0],M[2]=st.length>=3?st[2]:M[0],M[3]=st.length>=4?st[3]:M[1]),u.margin=M}});var lt=!1;Object.defineProperty(this,"autoPaging",{get:function(){return lt},set:function(st){lt=st}});var at=0;Object.defineProperty(this,"lastBreak",{get:function(){return at},set:function(st){at=st}});var mt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return mt},set:function(st){mt=st}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(st){st instanceof g&&(u=st)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(st){u.path=st}});var At=[];Object.defineProperty(this,"ctxStack",{get:function(){return At},set:function(st){At=st}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(st){var M;M=A(st),this.ctx.fillStyle=M.style,this.ctx.isFillTransparent=M.a===0,this.ctx.fillOpacity=M.a,this.pdf.setFillColor(M.r,M.g,M.b,{a:M.a}),this.pdf.setTextColor(M.r,M.g,M.b,{a:M.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(st){var M=A(st);this.ctx.strokeStyle=M.style,this.ctx.isStrokeTransparent=M.a===0,this.ctx.strokeOpacity=M.a,M.a===0?this.pdf.setDrawColor(255,255,255):(M.a,this.pdf.setDrawColor(M.r,M.g,M.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(st){["butt","round","square"].indexOf(st)!==-1&&(this.ctx.lineCap=st,this.pdf.setLineCap(st))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(st){isNaN(st)||(this.ctx.lineWidth=st,this.pdf.setLineWidth(st))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(st){["bevel","round","miter"].indexOf(st)!==-1&&(this.ctx.lineJoin=st,this.pdf.setLineJoin(st))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(st){isNaN(st)||(this.ctx.miterLimit=st,this.pdf.setMiterLimit(st))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(st){this.ctx.textBaseline=st}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(st){["right","end","center","left","start"].indexOf(st)!==-1&&(this.ctx.textAlign=st)}});var kt=null,Pt=null;Object.defineProperty(this,"fontFaces",{get:function(){return Pt},set:function(st){kt=null,Pt=st}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(st){var M;if(this.ctx.font=st,(M=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(st))!==null){var le=M[1];M[2];var ne=M[3],qt=M[4];M[5];var xt=M[6],jt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(qt)[2];qt=Math.floor(jt==="px"?parseFloat(qt)*this.pdf.internal.scaleFactor:jt==="em"?parseFloat(qt)*this.pdf.getFontSize():parseFloat(qt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(qt);var St=(function(Gt){var zt,Ie,ge=[],Mt=Gt.trim();if(Mt==="")return bh;if(Mt in Su)return[Su[Mt]];for(;Mt!=="";){switch(Ie=null,zt=(Mt=Pu(Mt)).charAt(0)){case'"':case"'":Ie=bd(Mt.substring(1),zt);break;default:Ie=wd(Mt)}if(Ie===null||(ge.push(Ie[0]),(Mt=Pu(Ie[1]))!==""&&Mt.charAt(0)!==","))return bh;Mt=Mt.replace(/^,/,"")}return ge})(xt);if(this.fontFaces){var re=(function(Gt,zt){if(kt===null){var Ie=(function(ge){var Mt=[];return Object.keys(ge).forEach(function(Qt){ge[Qt].forEach(function(Le){var Ht=null;switch(Le){case"bold":Ht={family:Qt,weight:"bold"};break;case"italic":Ht={family:Qt,style:"italic"};break;case"bolditalic":Ht={family:Qt,weight:"bold",style:"italic"};break;case"":case"normal":Ht={family:Qt}}Ht!==null&&(Ht.ref={name:Qt,style:Le},Mt.push(Ht))})}),Mt})(Gt.getFontList());kt=(function(ge){for(var Mt={},Qt=0;Qt<ge.length;++Qt){var Le=vh(ge[Qt]),Ht=Le.family,he=Le.stretch,te=Le.style,ze=Le.weight;Mt[Ht]=Mt[Ht]||{},Mt[Ht][he]=Mt[Ht][he]||{},Mt[Ht][he][te]=Mt[Ht][he][te]||{},Mt[Ht][he][te][ze]=Le}return Mt})(Ie.concat(zt))}return kt})(this.pdf,this.fontFaces),Ut=St.map(function(Gt){return{family:Gt,stretch:"normal",weight:ne,style:le}}),pe=(function(Gt,zt,Ie){for(var ge=(Ie=Ie||{}).defaultFontFamily||"times",Mt=Object.assign({},vd,Ie.genericFontFamilies||{}),Qt=null,Le=null,Ht=0;Ht<zt.length;++Ht)if(Mt[(Qt=vh(zt[Ht])).family]&&(Qt.family=Mt[Qt.family]),Gt.hasOwnProperty(Qt.family)){Le=Gt[Qt.family];break}if(!(Le=Le||Gt[ge]))throw new Error("Could not find a font-family for the rule '"+ku(Qt)+"' and default family '"+ge+"'.");if(Le=(function(he,te){if(te[he])return te[he];var ze=Nh[he],Qe=ze<=Nh.normal?-1:1,Se=Lu(te,Xu,ze,Qe);if(!Se)throw new Error("Could not find a matching font-stretch value for "+he);return Se})(Qt.stretch,Le),Le=(function(he,te){if(te[he])return te[he];for(var ze=Ku[he],Qe=0;Qe<ze.length;++Qe)if(te[ze[Qe]])return te[ze[Qe]];throw new Error("Could not find a matching font-style for "+he)})(Qt.style,Le),!(Le=(function(he,te){if(te[he])return te[he];if(he===400&&te[500])return te[500];if(he===500&&te[400])return te[400];var ze=md[he],Qe=Lu(te,Ju,ze,he<400?-1:1);if(!Qe)throw new Error("Could not find a matching font-weight for value "+he);return Qe})(Qt.weight,Le)))throw new Error("Failed to resolve a font for the rule '"+ku(Qt)+"'.");return Le})(re,Ut);this.pdf.setFont(pe.ref.name,pe.ref.style)}else{var Xt="";(ne==="bold"||parseInt(ne,10)>=700||le==="bold")&&(Xt="bold"),le==="italic"&&(Xt+="italic"),Xt.length===0&&(Xt="normal");for(var Jt="",xe={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ie=0;ie<St.length;ie++){if(this.pdf.internal.getFont(St[ie],Xt,{noFallback:!0,disableWarning:!0})!==void 0){Jt=St[ie];break}if(Xt==="bolditalic"&&this.pdf.internal.getFont(St[ie],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Jt=St[ie],Xt="bold";else if(this.pdf.internal.getFont(St[ie],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Jt=St[ie],Xt="normal";break}}if(Jt===""){for(var Bt=0;Bt<St.length;Bt++)if(xe[St[Bt]]){Jt=xe[St[Bt]];break}}Jt=Jt===""?"Times":Jt,this.pdf.setFont(Jt,Xt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(st){this.ctx.globalCompositeOperation=st}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(st){this.ctx.globalAlpha=st}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(st){this.ctx.lineDashOffset=st,yt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(st){this.ctx.lineDash=st,yt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(st){this.ctx.ignoreClearRect=!!st}})};w.prototype.setLineDash=function(x){this.lineDash=x},w.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},w.prototype.fill=function(){j.call(this,"fill",!1)},w.prototype.stroke=function(){j.call(this,"stroke",!1)},w.prototype.beginPath=function(){this.path=[{type:"begin"}]},w.prototype.moveTo=function(x,D){if(isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var R=this.ctx.transform.applyToPoint(new h(x,D));this.path.push({type:"mt",x:R.x,y:R.y}),this.ctx.lastPoint=new h(x,D)},w.prototype.closePath=function(){var x=new h(0,0),D=0;for(D=this.path.length-1;D!==-1;D--)if(this.path[D].type==="begin"&&Ne(this.path[D+1])==="object"&&typeof this.path[D+1].x=="number"){x=new h(this.path[D+1].x,this.path[D+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new h(x.x,x.y)},w.prototype.lineTo=function(x,D){if(isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var R=this.ctx.transform.applyToPoint(new h(x,D));this.path.push({type:"lt",x:R.x,y:R.y}),this.ctx.lastPoint=new h(R.x,R.y)},w.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),j.call(this,null,!0)},w.prototype.quadraticCurveTo=function(x,D,R,V){if(isNaN(R)||isNaN(V)||isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var $=this.ctx.transform.applyToPoint(new h(R,V)),J=this.ctx.transform.applyToPoint(new h(x,D));this.path.push({type:"qct",x1:J.x,y1:J.y,x:$.x,y:$.y}),this.ctx.lastPoint=new h($.x,$.y)},w.prototype.bezierCurveTo=function(x,D,R,V,$,J){if(isNaN($)||isNaN(J)||isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var lt=this.ctx.transform.applyToPoint(new h($,J)),at=this.ctx.transform.applyToPoint(new h(x,D)),mt=this.ctx.transform.applyToPoint(new h(R,V));this.path.push({type:"bct",x1:at.x,y1:at.y,x2:mt.x,y2:mt.y,x:lt.x,y:lt.y}),this.ctx.lastPoint=new h(lt.x,lt.y)},w.prototype.arc=function(x,D,R,V,$,J){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V)||isNaN($))throw Pe.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(J=!!J,!this.ctx.transform.isIdentity){var lt=this.ctx.transform.applyToPoint(new h(x,D));x=lt.x,D=lt.y;var at=this.ctx.transform.applyToPoint(new h(0,R)),mt=this.ctx.transform.applyToPoint(new h(0,0));R=Math.sqrt(Math.pow(at.x-mt.x,2)+Math.pow(at.y-mt.y,2))}Math.abs($-V)>=2*Math.PI&&(V=0,$=2*Math.PI),this.path.push({type:"arc",x,y:D,radius:R,startAngle:V,endAngle:$,counterclockwise:J})},w.prototype.arcTo=function(x,D,R,V,$){throw new Error("arcTo not implemented.")},w.prototype.rect=function(x,D,R,V){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,D),this.lineTo(x+R,D),this.lineTo(x+R,D+V),this.lineTo(x,D+V),this.lineTo(x,D),this.lineTo(x+R,D),this.lineTo(x,D)},w.prototype.fillRect=function(x,D,R,V){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var $={};this.lineCap!=="butt"&&($.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&($.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,D,R,V),this.fill(),$.hasOwnProperty("lineCap")&&(this.lineCap=$.lineCap),$.hasOwnProperty("lineJoin")&&(this.lineJoin=$.lineJoin)}},w.prototype.strokeRect=function(x,D,R,V){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");E.call(this)||(this.beginPath(),this.rect(x,D,R,V),this.stroke())},w.prototype.clearRect=function(x,D,R,V){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,D,R,V))},w.prototype.save=function(x){x=typeof x!="boolean"||x;for(var D=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R<this.pdf.internal.getNumberOfPages();R++)this.pdf.setPage(R+1),this.pdf.internal.out("q");if(this.pdf.setPage(D),x){this.ctx.fontSize=this.pdf.internal.getFontSize();var V=new g(this.ctx);this.ctxStack.push(this.ctx),this.ctx=V}},w.prototype.restore=function(x){x=typeof x!="boolean"||x;for(var D=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R<this.pdf.internal.getNumberOfPages();R++)this.pdf.setPage(R+1),this.pdf.internal.out("Q");this.pdf.setPage(D),x&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},w.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var A=function(x){var D,R,V,$;if(x.isCanvasGradient===!0&&(x=x.getColor()),!x)return{r:0,g:0,b:0,a:0,style:x};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(x))D=0,R=0,V=0,$=0;else{var J=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(x);if(J!==null)D=parseInt(J[1]),R=parseInt(J[2]),V=parseInt(J[3]),$=1;else if((J=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(x))!==null)D=parseInt(J[1]),R=parseInt(J[2]),V=parseInt(J[3]),$=parseFloat(J[4]);else{if($=1,typeof x=="string"&&x.charAt(0)!=="#"){var lt=new Hu(x);x=lt.ok?lt.toHex():"#000000"}x.length===4?(D=x.substring(1,2),D+=D,R=x.substring(2,3),R+=R,V=x.substring(3,4),V+=V):(D=x.substring(1,3),R=x.substring(3,5),V=x.substring(5,7)),D=parseInt(D,16),R=parseInt(R,16),V=parseInt(V,16)}}return{r:D,g:R,b:V,a:$,style:x}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},E=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};w.prototype.fillText=function(x,D,R,V){if(isNaN(D)||isNaN(R)||typeof x!="string")throw Pe.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(V=isNaN(V)?void 0:V,!p.call(this)){var $=nt(this.ctx.transform.rotation),J=this.ctx.transform.scaleX;O.call(this,{text:x,x:D,y:R,scale:J,angle:$,align:this.textAlign,maxWidth:V})}},w.prototype.strokeText=function(x,D,R,V){if(isNaN(D)||isNaN(R)||typeof x!="string")throw Pe.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!E.call(this)){V=isNaN(V)?void 0:V;var $=nt(this.ctx.transform.rotation),J=this.ctx.transform.scaleX;O.call(this,{text:x,x:D,y:R,scale:J,renderingMode:"stroke",angle:$,align:this.textAlign,maxWidth:V})}},w.prototype.measureText=function(x){if(typeof x!="string")throw Pe.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var D=this.pdf,R=this.pdf.internal.scaleFactor,V=D.internal.getFontSize(),$=D.getStringUnitWidth(x)*V/D.internal.scaleFactor;return new function(J){var lt=(J=J||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return lt}}),this}({width:$*=Math.round(96*R/72*1e4)/1e4})},w.prototype.scale=function(x,D){if(isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var R=new f(x,0,0,D,0,0);this.ctx.transform=this.ctx.transform.multiply(R)},w.prototype.rotate=function(x){if(isNaN(x))throw Pe.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var D=new f(Math.cos(x),Math.sin(x),-Math.sin(x),Math.cos(x),0,0);this.ctx.transform=this.ctx.transform.multiply(D)},w.prototype.translate=function(x,D){if(isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var R=new f(1,0,0,1,x,D);this.ctx.transform=this.ctx.transform.multiply(R)},w.prototype.transform=function(x,D,R,V,$,J){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V)||isNaN($)||isNaN(J))throw Pe.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var lt=new f(x,D,R,V,$,J);this.ctx.transform=this.ctx.transform.multiply(lt)},w.prototype.setTransform=function(x,D,R,V,$,J){x=isNaN(x)?1:x,D=isNaN(D)?0:D,R=isNaN(R)?0:R,V=isNaN(V)?1:V,$=isNaN($)?0:$,J=isNaN(J)?0:J,this.ctx.transform=new f(x,D,R,V,$,J)};var P=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};w.prototype.drawImage=function(x,D,R,V,$,J,lt,at,mt){var At=this.pdf.getImageProperties(x),kt=1,Pt=1,st=1,M=1;V!==void 0&&at!==void 0&&(st=at/V,M=mt/$,kt=At.width/V*at/V,Pt=At.height/$*mt/$),J===void 0&&(J=D,lt=R,D=0,R=0),V!==void 0&&at===void 0&&(at=V,mt=$),V===void 0&&at===void 0&&(at=At.width,mt=At.height);for(var le,ne=this.ctx.transform.decompose(),qt=nt(ne.rotate.shx),xt=new f,jt=(xt=(xt=(xt=xt.multiply(ne.translate)).multiply(ne.skew)).multiply(ne.scale)).applyToRectangle(new l(J-D*st,lt-R*M,V*kt,$*Pt)),St=T.call(this,jt),re=[],Ut=0;Ut<St.length;Ut+=1)re.indexOf(St[Ut])===-1&&re.push(St[Ut]);if(U(re),this.autoPaging)for(var pe=re[0],Xt=re[re.length-1],Jt=pe;Jt<Xt+1;Jt++){this.pdf.setPage(Jt);var xe=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ie=Jt===1?this.posY+this.margin[0]:this.margin[0],Bt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Gt=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],zt=Jt===1?0:Bt+(Jt-2)*Gt;if(this.ctx.clip_path.length!==0){var Ie=this.path;le=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(le,this.posX+this.margin[3],-zt+ie+this.ctx.prevPageLastElemOffset),rt.call(this,"fill",!0),this.path=Ie}var ge=JSON.parse(JSON.stringify(jt));ge=H([ge],this.posX+this.margin[3],-zt+ie+this.ctx.prevPageLastElemOffset)[0];var Mt=(Jt>pe||Jt<Xt)&&P.call(this);Mt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],xe,Gt,null).clip().discardPath()),this.pdf.addImage(x,"JPEG",ge.x,ge.y,ge.w,ge.h,null,null,qt),Mt&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(x,"JPEG",jt.x,jt.y,jt.w,jt.h,null,null,qt)};var T=function(x,D,R){var V=[];D=D||this.pdf.internal.pageSize.width,R=R||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var $=this.posY+this.ctx.prevPageLastElemOffset;switch(x.type){default:case"mt":case"lt":V.push(Math.floor((x.y+$)/R)+1);break;case"arc":V.push(Math.floor((x.y+$-x.radius)/R)+1),V.push(Math.floor((x.y+$+x.radius)/R)+1);break;case"qct":var J=ct(this.ctx.lastPoint.x,this.ctx.lastPoint.y,x.x1,x.y1,x.x,x.y);V.push(Math.floor((J.y+$)/R)+1),V.push(Math.floor((J.y+J.h+$)/R)+1);break;case"bct":var lt=Nt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,x.x1,x.y1,x.x2,x.y2,x.x,x.y);V.push(Math.floor((lt.y+$)/R)+1),V.push(Math.floor((lt.y+lt.h+$)/R)+1);break;case"rect":V.push(Math.floor((x.y+$)/R)+1),V.push(Math.floor((x.y+x.h+$)/R)+1)}for(var at=0;at<V.length;at+=1)for(;this.pdf.internal.getNumberOfPages()<V[at];)L.call(this);return V},L=function(){var x=this.fillStyle,D=this.strokeStyle,R=this.font,V=this.lineCap,$=this.lineWidth,J=this.lineJoin;this.pdf.addPage(),this.fillStyle=x,this.strokeStyle=D,this.font=R,this.lineCap=V,this.lineWidth=$,this.lineJoin=J},H=function(x,D,R){for(var V=0;V<x.length;V++)switch(x[V].type){case"bct":x[V].x2+=D,x[V].y2+=R;case"qct":x[V].x1+=D,x[V].y1+=R;default:x[V].x+=D,x[V].y+=R}return x},U=function(x){return x.sort(function(D,R){return D-R})},j=function(x,D){for(var R,V,$=this.fillStyle,J=this.strokeStyle,lt=this.lineCap,at=this.lineWidth,mt=Math.abs(at*this.ctx.transform.scaleX),At=this.lineJoin,kt=JSON.parse(JSON.stringify(this.path)),Pt=JSON.parse(JSON.stringify(this.path)),st=[],M=0;M<Pt.length;M++)if(Pt[M].x!==void 0)for(var le=T.call(this,Pt[M]),ne=0;ne<le.length;ne+=1)st.indexOf(le[ne])===-1&&st.push(le[ne]);for(var qt=0;qt<st.length;qt++)for(;this.pdf.internal.getNumberOfPages()<st[qt];)L.call(this);if(U(st),this.autoPaging)for(var xt=st[0],jt=st[st.length-1],St=xt;St<jt+1;St++){this.pdf.setPage(St),this.fillStyle=$,this.strokeStyle=J,this.lineCap=lt,this.lineWidth=mt,this.lineJoin=At;var re=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ut=St===1?this.posY+this.margin[0]:this.margin[0],pe=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Xt=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Jt=St===1?0:pe+(St-2)*Xt;if(this.ctx.clip_path.length!==0){var xe=this.path;R=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(R,this.posX+this.margin[3],-Jt+Ut+this.ctx.prevPageLastElemOffset),rt.call(this,x,!0),this.path=xe}if(V=JSON.parse(JSON.stringify(kt)),this.path=H(V,this.posX+this.margin[3],-Jt+Ut+this.ctx.prevPageLastElemOffset),D===!1||St===0){var ie=(St>xt||St<jt)&&P.call(this);ie&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],re,Xt,null).clip().discardPath()),rt.call(this,x,D),ie&&this.pdf.restoreGraphicsState()}this.lineWidth=at}else this.lineWidth=mt,rt.call(this,x,D),this.lineWidth=at;this.path=kt},rt=function(x,D){if((x!=="stroke"||D||!E.call(this))&&(x==="stroke"||D||!p.call(this))){for(var R,V,$=[],J=this.path,lt=0;lt<J.length;lt++){var at=J[lt];switch(at.type){case"begin":$.push({begin:!0});break;case"close":$.push({close:!0});break;case"mt":$.push({start:at,deltas:[],abs:[]});break;case"lt":var mt=$.length;if(J[lt-1]&&!isNaN(J[lt-1].x)&&(R=[at.x-J[lt-1].x,at.y-J[lt-1].y],mt>0)){for(;mt>=0;mt--)if($[mt-1].close!==!0&&$[mt-1].begin!==!0){$[mt-1].deltas.push(R),$[mt-1].abs.push(at);break}}break;case"bct":R=[at.x1-J[lt-1].x,at.y1-J[lt-1].y,at.x2-J[lt-1].x,at.y2-J[lt-1].y,at.x-J[lt-1].x,at.y-J[lt-1].y],$[$.length-1].deltas.push(R);break;case"qct":var At=J[lt-1].x+2/3*(at.x1-J[lt-1].x),kt=J[lt-1].y+2/3*(at.y1-J[lt-1].y),Pt=at.x+2/3*(at.x1-at.x),st=at.y+2/3*(at.y1-at.y),M=at.x,le=at.y;R=[At-J[lt-1].x,kt-J[lt-1].y,Pt-J[lt-1].x,st-J[lt-1].y,M-J[lt-1].x,le-J[lt-1].y],$[$.length-1].deltas.push(R);break;case"arc":$.push({deltas:[],abs:[],arc:!0}),Array.isArray($[$.length-1].abs)&&$[$.length-1].abs.push(at)}}V=D?null:x==="stroke"?"stroke":"fill";for(var ne=!1,qt=0;qt<$.length;qt++)if($[qt].arc)for(var xt=$[qt].abs,jt=0;jt<xt.length;jt++){var St=xt[jt];St.type==="arc"?K.call(this,St.x,St.y,St.radius,St.startAngle,St.endAngle,St.counterclockwise,void 0,D,!ne):G.call(this,St.x,St.y),ne=!0}else if($[qt].close===!0)this.pdf.internal.out("h"),ne=!1;else if($[qt].begin!==!0){var re=$[qt].start.x,Ut=$[qt].start.y;q.call(this,$[qt].deltas,re,Ut),ne=!0}V&&B.call(this,V),D&&et.call(this)}},vt=function(x){var D=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,R=D*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return x-R;case"top":return x+D-R;case"hanging":return x+D-2*R;case"middle":return x+D/2-R;default:return x}},ot=function(x){return x+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};w.prototype.createLinearGradient=function(){var x=function(){};return x.colorStops=[],x.addColorStop=function(D,R){this.colorStops.push([D,R])},x.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},x.isCanvasGradient=!0,x},w.prototype.createPattern=function(){return this.createLinearGradient()},w.prototype.createRadialGradient=function(){return this.createLinearGradient()};var K=function(x,D,R,V,$,J,lt,at,mt){for(var At=ft.call(this,R,V,$,J),kt=0;kt<At.length;kt++){var Pt=At[kt];kt===0&&(mt?S.call(this,Pt.x1+x,Pt.y1+D):G.call(this,Pt.x1+x,Pt.y1+D)),it.call(this,x,D,Pt.x2,Pt.y2,Pt.x3,Pt.y3,Pt.x4,Pt.y4)}at?et.call(this):B.call(this,lt)},B=function(x){switch(x){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},et=function(){this.pdf.clip(),this.pdf.discardPath()},S=function(x,D){this.pdf.internal.out(e(x)+" "+r(D)+" m")},O=function(x){var D;switch(x.align){case"right":case"end":D="right";break;case"center":D="center";break;default:D="left"}var R=this.pdf.getTextDimensions(x.text),V=vt.call(this,x.y),$=ot.call(this,V)-R.h,J=this.ctx.transform.applyToPoint(new h(x.x,V)),lt=this.ctx.transform.decompose(),at=new f;at=(at=(at=at.multiply(lt.translate)).multiply(lt.skew)).multiply(lt.scale);for(var mt,At,kt,Pt=this.ctx.transform.applyToRectangle(new l(x.x,V,R.w,R.h)),st=at.applyToRectangle(new l(x.x,$,R.w,R.h)),M=T.call(this,st),le=[],ne=0;ne<M.length;ne+=1)le.indexOf(M[ne])===-1&&le.push(M[ne]);if(U(le),this.autoPaging)for(var qt=le[0],xt=le[le.length-1],jt=qt;jt<xt+1;jt++){this.pdf.setPage(jt);var St=jt===1?this.posY+this.margin[0]:this.margin[0],re=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ut=this.pdf.internal.pageSize.height-this.margin[2],pe=Ut-this.margin[0],Xt=this.pdf.internal.pageSize.width-this.margin[1],Jt=Xt-this.margin[3],xe=jt===1?0:re+(jt-2)*pe;if(this.ctx.clip_path.length!==0){var ie=this.path;mt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(mt,this.posX+this.margin[3],-1*xe+St),rt.call(this,"fill",!0),this.path=ie}var Bt=H([JSON.parse(JSON.stringify(st))],this.posX+this.margin[3],-xe+St+this.ctx.prevPageLastElemOffset)[0];x.scale>=.01&&(At=this.pdf.internal.getFontSize(),this.pdf.setFontSize(At*x.scale),kt=this.lineWidth,this.lineWidth=kt*x.scale);var Gt=this.autoPaging!=="text";if(Gt||Bt.y+Bt.h<=Ut){if(Gt||Bt.y>=St&&Bt.x<=Xt){var zt=Gt?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||Xt-Bt.x)[0],Ie=H([JSON.parse(JSON.stringify(Pt))],this.posX+this.margin[3],-xe+St+this.ctx.prevPageLastElemOffset)[0],ge=Gt&&(jt>qt||jt<xt)&&P.call(this);ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Jt,pe,null).clip().discardPath()),this.pdf.text(zt,Ie.x,Ie.y,{angle:x.angle,align:D,renderingMode:x.renderingMode}),ge&&this.pdf.restoreGraphicsState()}}else Bt.y<Ut&&(this.ctx.prevPageLastElemOffset+=Ut-Bt.y);x.scale>=.01&&(this.pdf.setFontSize(At),this.lineWidth=kt)}else x.scale>=.01&&(At=this.pdf.internal.getFontSize(),this.pdf.setFontSize(At*x.scale),kt=this.lineWidth,this.lineWidth=kt*x.scale),this.pdf.text(x.text,J.x+this.posX,J.y+this.posY,{angle:x.angle,align:D,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(At),this.lineWidth=kt)},G=function(x,D,R,V){R=R||0,V=V||0,this.pdf.internal.out(e(x+R)+" "+r(D+V)+" l")},q=function(x,D,R){return this.pdf.lines(x,D,R,null,null)},it=function(x,D,R,V,$,J,lt,at){this.pdf.internal.out([n(i(R+x)),n(a(V+D)),n(i($+x)),n(a(J+D)),n(i(lt+x)),n(a(at+D)),"c"].join(" "))},ft=function(x,D,R,V){for(var $=2*Math.PI,J=Math.PI/2;D>R;)D-=$;var lt=Math.abs(R-D);lt<$&&V&&(lt=$-lt);for(var at=[],mt=V?-1:1,At=D;lt>1e-5;){var kt=At+mt*Math.min(lt,J);at.push(dt.call(this,x,At,kt)),lt-=Math.abs(kt-At),At=kt}return at},dt=function(x,D,R){var V=(R-D)/2,$=x*Math.cos(V),J=x*Math.sin(V),lt=$,at=-J,mt=lt*lt+at*at,At=mt+lt*$+at*J,kt=4/3*(Math.sqrt(2*mt*At)-At)/(lt*J-at*$),Pt=lt-kt*at,st=at+kt*lt,M=Pt,le=-st,ne=V+D,qt=Math.cos(ne),xt=Math.sin(ne);return{x1:x*Math.cos(D),y1:x*Math.sin(D),x2:Pt*qt-st*xt,y2:Pt*xt+st*qt,x3:M*qt-le*xt,y3:M*xt+le*qt,x4:x*Math.cos(R),y4:x*Math.sin(R)}},nt=function(x){return 180*x/Math.PI},ct=function(x,D,R,V,$,J){var lt=x+.5*(R-x),at=D+.5*(V-D),mt=$+.5*(R-$),At=J+.5*(V-J),kt=Math.min(x,$,lt,mt),Pt=Math.max(x,$,lt,mt),st=Math.min(D,J,at,At),M=Math.max(D,J,at,At);return new l(kt,st,Pt-kt,M-st)},Nt=function(x,D,R,V,$,J,lt,at){var mt,At,kt,Pt,st,M,le,ne,qt,xt,jt,St,re,Ut,pe=R-x,Xt=V-D,Jt=$-R,xe=J-V,ie=lt-$,Bt=at-J;for(At=0;At<41;At++)qt=(le=(kt=x+(mt=At/40)*pe)+mt*((st=R+mt*Jt)-kt))+mt*(st+mt*($+mt*ie-st)-le),xt=(ne=(Pt=D+mt*Xt)+mt*((M=V+mt*xe)-Pt))+mt*(M+mt*(J+mt*Bt-M)-ne),At==0?(jt=qt,St=xt,re=qt,Ut=xt):(jt=Math.min(jt,qt),St=Math.min(St,xt),re=Math.max(re,qt),Ut=Math.max(Ut,xt));return new l(Math.round(jt),Math.round(St),Math.round(re-jt),Math.round(Ut-St))},yt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,D,R=(x=this.ctx.lineDash,D=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:D}));this.prevLineDash!==R&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=R)}}})(Dt.API),(function(t){var n=function(h){var l,f,u,g,w,A,p,E,P,T;for(/[^\x00-\xFF]/.test(h),f=[],u=0,g=(h+=l="\0\0\0\0".slice(h.length%4||4)).length;g>u;u+=4)(w=(h.charCodeAt(u)<<24)+(h.charCodeAt(u+1)<<16)+(h.charCodeAt(u+2)<<8)+h.charCodeAt(u+3))!==0?(A=(w=((w=((w=((w=(w-(T=w%85))/85)-(P=w%85))/85)-(E=w%85))/85)-(p=w%85))/85)%85,f.push(A+33,p+33,E+33,P+33,T+33)):f.push(122);return(function(L,H){for(var U=H;U>0;U--)L.pop()})(f,l.length),String.fromCharCode.apply(String,f)+"~>"},e=function(h){var l,f,u,g,w,A=String,p="length",E=255,P="charCodeAt",T="slice",L="replace";for(h[T](-2),h=h[T](0,-2)[L](/\s/g,"")[L]("z","!!!!!"),u=[],g=0,w=(h+=l="uuuuu"[T](h[p]%5||5))[p];w>g;g+=5)f=52200625*(h[P](g)-33)+614125*(h[P](g+1)-33)+7225*(h[P](g+2)-33)+85*(h[P](g+3)-33)+(h[P](g+4)-33),u.push(E&f>>24,E&f>>16,E&f>>8,E&f);return(function(H,U){for(var j=U;j>0;j--)H.pop()})(u,l[p]),A.fromCharCode.apply(A,u)},r=function(h){return h.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(h){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),l.test(h)===!1)return"";for(var f="",u=0;u<h.length;u+=2)f+=String.fromCharCode("0x"+(h[u]+h[u+1]));return f},a=function(h){for(var l=new Uint8Array(h.length),f=h.length;f--;)l[f]=h.charCodeAt(f);return(l=os(l)).reduce(function(u,g){return u+String.fromCharCode(g)},"")};t.processDataByFilters=function(h,l){var f=0,u=h||"",g=[];for(typeof(l=l||[])=="string"&&(l=[l]),f=0;f<l.length;f+=1)switch(l[f]){case"ASCII85Decode":case"/ASCII85Decode":u=e(u),g.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=n(u),g.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=i(u),g.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=r(u),g.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=a(u),g.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[f]+'" is not implemented')}return{data:u,reverseChain:g.reverse().join(" ")}}})(Dt.API),(function(t){t.loadFile=function(n,e,r){return(function(i,a,h){a=a!==!1,h=typeof h=="function"?h:function(){};var l=void 0;try{l=(function(f,u,g){var w=new XMLHttpRequest,A=0,p=function(E){var P=E.length,T=[],L=String.fromCharCode;for(A=0;A<P;A+=1)T.push(L(255&E.charCodeAt(A)));return T.join("")};if(w.open("GET",f,!u),w.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(w.onload=function(){w.status===200?g(p(this.responseText)):g(void 0)}),w.send(null),u&&w.status===200)return p(w.responseText)})(i,a,h)}catch{}return l})(n,e,r)},t.loadImageFile=t.loadFile})(Dt.API),(function(t){function n(){return(Zt.html2canvas?Promise.resolve(Zt.html2canvas):import("./WS7EMZ3Z.js")).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function e(){return(Zt.DOMPurify?Promise.resolve(Zt.DOMPurify):import("./EW5YY2GX.js")).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var r=function(l){var f=Ne(l);return f==="undefined"?"undefined":f==="string"||l instanceof String?"string":f==="number"||l instanceof Number?"number":f==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":f==="object"?"object":"unknown"},i=function(l,f){var u=document.createElement(l);for(var g in f.className&&(u.className=f.className),f.innerHTML&&f.dompurify&&(u.innerHTML=f.dompurify.sanitize(f.innerHTML)),f.style)u.style[g]=f.style[g];return u},a=function l(f,u){for(var g=f.nodeType===3?document.createTextNode(f.nodeValue):f.cloneNode(!1),w=f.firstChild;w;w=w.nextSibling)u!==!0&&w.nodeType===1&&w.nodeName==="SCRIPT"||g.appendChild(l(w,u));return f.nodeType===1&&(f.nodeName==="CANVAS"?(g.width=f.width,g.height=f.height,g.getContext("2d").drawImage(f,0,0)):f.nodeName!=="TEXTAREA"&&f.nodeName!=="SELECT"||(g.value=f.value),g.addEventListener("load",function(){g.scrollTop=f.scrollTop,g.scrollLeft=f.scrollLeft},!0)),g},h=function l(f){var u=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),g=l.convert(Promise.resolve(),u);return(g=g.setProgress(1,l,1,[l])).set(f)};(h.prototype=Object.create(Promise.prototype)).constructor=h,h.convert=function(l,f){return l.__proto__=f||h.prototype,l},h.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},h.prototype.from=function(l,f){return this.then(function(){switch(f=f||(function(u){switch(r(u)){case"string":return"string";case"element":return u.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(l),f){case"string":return this.then(e).then(function(u){return this.set({src:i("div",{innerHTML:l,dompurify:u})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},h.prototype.to=function(l){switch(l){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},h.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var l={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},f=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);f.tagName==="BODY"&&(l.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(f),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},h.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(f){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,f(this.prop.container,u)}).then(function(f){(this.opt.html2canvas.onrendered||function(){})(f),this.prop.canvas=f,document.body.removeChild(this.prop.overlay)})},h.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(f){var u=this.opt.jsPDF,g=this.opt.fontFaces,w=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,A=Object.assign({async:!0,allowTaint:!0,scale:w,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete A.onrendered,u.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=g,g)for(var p=0;p<g.length;++p){var E=g[p],P=E.src.find(function(T){return T.format==="truetype"});P&&u.addFont(P.url,E.ref.name,E.ref.style)}return A.windowHeight=A.windowHeight||0,A.windowHeight=A.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):A.windowHeight,u.context2d.save(!0),f(this.prop.container,A)}).then(function(f){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(f),this.prop.canvas=f,document.body.removeChild(this.prop.overlay)})},h.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},h.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},h.prototype.output=function(l,f,u){return(u=u||"pdf").toLowerCase()==="img"||u.toLowerCase()==="image"?this.outputImg(l,f):this.outputPdf(l,f)},h.prototype.outputPdf=function(l,f){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,f)})},h.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+l+'" is not supported.'}})},h.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},h.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},h.prototype.set=function(l){if(r(l)!=="object")return this;var f=Object.keys(l||{}).map(function(u){if(u in h.template.prop)return function(){this.prop[u]=l[u]};switch(u){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[u]=l[u]}}},this);return this.then(function(){return this.thenList(f)})},h.prototype.get=function(l,f){return this.then(function(){var u=l in h.template.prop?this.prop[l]:this.opt[l];return f?f(u):u})},h.prototype.setMargin=function(l){return this.then(function(){switch(r(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},h.prototype.setPageSize=function(l){function f(u,g){return Math.floor(u*g/72*96)}return this.then(function(){(l=l||Dt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:f(l.inner.width,l.k),height:f(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},h.prototype.setProgress=function(l,f,u,g){return l!=null&&(this.progress.val=l),f!=null&&(this.progress.state=f),u!=null&&(this.progress.n=u),g!=null&&(this.progress.stack=g),this.progress.ratio=this.progress.val/this.progress.state,this},h.prototype.updateProgress=function(l,f,u,g){return this.setProgress(l?this.progress.val+l:null,f||null,u?this.progress.n+u:null,g?this.progress.stack.concat(g):null)},h.prototype.then=function(l,f){var u=this;return this.thenCore(l,f,function(g,w){return u.updateProgress(null,null,1,[g]),Promise.prototype.then.call(this,function(A){return u.updateProgress(null,g),A}).then(g,w).then(function(A){return u.updateProgress(1),A})})},h.prototype.thenCore=function(l,f,u){u=u||Promise.prototype.then;var g=this;l&&(l=l.bind(g)),f&&(f=f.bind(g));var w=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?g:h.convert(Object.assign({},g),Promise.prototype),A=u.call(w,l,f);return h.convert(A,g.__proto__)},h.prototype.thenExternal=function(l,f){return Promise.prototype.then.call(this,l,f)},h.prototype.thenList=function(l){var f=this;return l.forEach(function(u){f=f.thenCore(u)}),f},h.prototype.catch=function(l){l&&(l=l.bind(this));var f=Promise.prototype.catch.call(this,l);return h.convert(f,this)},h.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},h.prototype.error=function(l){return this.then(function(){throw new Error(l)})},h.prototype.using=h.prototype.set,h.prototype.saveAs=h.prototype.save,h.prototype.export=h.prototype.output,h.prototype.run=h.prototype.then,Dt.getPageSize=function(l,f,u){if(Ne(l)==="object"){var g=l;l=g.orientation,f=g.unit||f,u=g.format||u}f=f||"mm",u=u||"a4",l=(""+(l||"P")).toLowerCase();var w,A=(""+u).toLowerCase(),p={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(f){case"pt":w=1;break;case"mm":w=72/25.4;break;case"cm":w=72/2.54;break;case"in":w=72;break;case"px":w=.75;break;case"pc":case"em":w=12;break;case"ex":w=6;break;default:throw"Invalid unit: "+f}var E,P=0,T=0;if(p.hasOwnProperty(A))P=p[A][1]/w,T=p[A][0]/w;else try{P=u[1],T=u[0]}catch{throw new Error("Invalid format: "+u)}if(l==="p"||l==="portrait")l="p",T>P&&(E=T,T=P,P=E);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",P>T&&(E=T,T=P,P=E)}return{width:T,height:P,unit:f,k:w,orientation:l}},t.html=function(l,f){(f=f||{}).callback=f.callback||function(){},f.html2canvas=f.html2canvas||{},f.html2canvas.canvas=f.html2canvas.canvas||this.canvas,f.jsPDF=f.jsPDF||this,f.fontFaces=f.fontFaces?f.fontFaces.map(vh):null;var u=new h(f);return f.worker?u:u.from(l).doCallback()}})(Dt.API),Dt.API.addJS=function(t){return Fu=t,this.internal.events.subscribe("postPutResources",function(){Is=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Is+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Iu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Fu+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Is!==void 0&&Iu!==void 0&&this.internal.out("/Names <</JavaScript "+Is+" 0 R>>")}),this},(function(t){var n;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),a=0;a<i.length;a++){var h=i[a],l=r.exec(h);if(l!=null){var f=l[1];e.internal.newObjectDeferredBegin(f,!1)}e.internal.write(h)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,g=[];for(a=0;a<u;a++){var w=e.internal.newObject();g.push(w);var A=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+A.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<g.length;a++)e.internal.write("(page_"+(a+1)+")"+g[a]+" 0 R");e.internal.write(" ] >>","endobj"),n=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+n+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,i,a){var h={title:i,options:a,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var i=0;i<r.children.length;i++)this.genIds_r(r.children[i])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<r.children.length;a++){var h=r.children[a];this.objStart(h),this.line("/Title "+this.makeString(h.title)),this.line("/Parent "+this.makeRef(r)),a>0&&this.line("/Prev "+this.makeRef(r.children[a-1])),a<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[a+1])),h.children.length>0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var l=this.count=this.count_r({count:0},h);if(l>0&&this.line("/Count "+l),h.options&&h.options.pageNumber){var f=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+f.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},e.outline.line=function(r){this.ctx.val+=r+`\r
|
44
|
+
`),n}}},createDefaultAppearanceStream:function(t){var n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+n+" "+t.fontSize+" Tf "+e}};Ft.internal={Bezier_C:.551915024494,calculateCross:function(t){var n=Ft.internal.getWidth(t),e=Ft.internal.getHeight(t),r=Math.min(n,e);return{x1:{x:(n-r)/2,y:(e-r)/2+r},x2:{x:(n-r)/2+r,y:(e-r)/2},x3:{x:(n-r)/2,y:(e-r)/2},x4:{x:(n-r)/2+r,y:(e-r)/2+r}}}},Ft.internal.getWidth=function(t){var n=0;return Ne(t)==="object"&&(n=Nu(t.Rect[2])),n},Ft.internal.getHeight=function(t){var n=0;return Ne(t)==="object"&&(n=Nu(t.Rect[3])),n};var gd=Be.addField=function(t){if(pd(this,t),!(t instanceof cr))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=t).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Be.AcroFormChoiceField=Aa,Be.AcroFormListBox=Na,Be.AcroFormComboBox=La,Be.AcroFormEditBox=Cs,Be.AcroFormButton=hn,Be.AcroFormPushButton=Os,Be.AcroFormRadioButton=Sa,Be.AcroFormCheckBox=Ts,Be.AcroFormTextField=Wi,Be.AcroFormPasswordField=Ds,Be.AcroFormAppearance=Ft,Be.AcroForm={ChoiceField:Aa,ListBox:Na,ComboBox:La,EditBox:Cs,Button:hn,PushButton:Os,RadioButton:Sa,CheckBox:Ts,TextField:Wi,PasswordField:Ds,Appearance:Ft},Dt.AcroForm={ChoiceField:Aa,ListBox:Na,ComboBox:La,EditBox:Cs,Button:hn,PushButton:Os,RadioButton:Sa,CheckBox:Ts,TextField:Wi,PasswordField:Ds,Appearance:Ft};var mg=Dt.AcroForm;function Yu(t){return t.reduce(function(n,e,r){return n[e]=r,n},{})}(function(t){var n="addImage_";t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=t.__addimage__.getImageFileTypeByImageData=function(S,O){var G,q,it,ft,dt,nt=e;if((O=O||e)==="RGBA"||S.data!==void 0&&S.data instanceof Uint8ClampedArray&&"height"in S&&"width"in S)return"RGBA";if(vt(S))for(dt in r)for(it=r[dt],G=0;G<it.length;G+=1){for(ft=!0,q=0;q<it[G].length;q+=1)if(it[G][q]!==void 0&&it[G][q]!==S[q]){ft=!1;break}if(ft===!0){nt=dt;break}}else for(dt in r)for(it=r[dt],G=0;G<it.length;G+=1){for(ft=!0,q=0;q<it[G].length;q+=1)if(it[G][q]!==void 0&&it[G][q]!==S.charCodeAt(q)){ft=!1;break}if(ft===!0){nt=dt;break}}return nt===e&&O!==e&&(nt=O),nt},a=function S(O){for(var G=this.internal.write,q=this.internal.putStream,it=(0,this.internal.getFilters)();it.indexOf("FlateEncode")!==-1;)it.splice(it.indexOf("FlateEncode"),1);O.objectId=this.internal.newObject();var ft=[];if(ft.push({key:"Type",value:"/XObject"}),ft.push({key:"Subtype",value:"/Image"}),ft.push({key:"Width",value:O.width}),ft.push({key:"Height",value:O.height}),O.colorSpace===L.INDEXED?ft.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(O.palette.length/3-1)+" "+("sMask"in O&&O.sMask!==void 0?O.objectId+2:O.objectId+1)+" 0 R]"}):(ft.push({key:"ColorSpace",value:"/"+O.colorSpace}),O.colorSpace===L.DEVICE_CMYK&&ft.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),ft.push({key:"BitsPerComponent",value:O.bitsPerComponent}),"decodeParameters"in O&&O.decodeParameters!==void 0&&ft.push({key:"DecodeParms",value:"<<"+O.decodeParameters+">>"}),"transparency"in O&&Array.isArray(O.transparency)){for(var dt="",nt=0,ct=O.transparency.length;nt<ct;nt++)dt+=O.transparency[nt]+" "+O.transparency[nt]+" ";ft.push({key:"Mask",value:"["+dt+"]"})}O.sMask!==void 0&&ft.push({key:"SMask",value:O.objectId+1+" 0 R"});var Nt=O.filter!==void 0?["/"+O.filter]:void 0;if(q({data:O.data,additionalKeyValues:ft,alreadyAppliedFilters:Nt,objectId:O.objectId}),G("endobj"),"sMask"in O&&O.sMask!==void 0){var yt=(O.predictor!=null?"/Predictor "+O.predictor:"")+" /Colors 1 /BitsPerComponent 8 /Columns "+O.width,x={width:O.width,height:O.height,colorSpace:"DeviceGray",bitsPerComponent:O.bitsPerComponent,decodeParameters:yt,data:O.sMask};"filter"in O&&(x.filter=O.filter),S.call(this,x)}if(O.colorSpace===L.INDEXED){var D=this.internal.newObject();q({data:K(new Uint8Array(O.palette)),objectId:D}),G("endobj")}},h=function(){var S=this.internal.collections[n+"images"];for(var O in S)a.call(this,S[O])},l=function(){var S,O=this.internal.collections[n+"images"],G=this.internal.write;for(var q in O)G("/I"+(S=O[q]).index,S.objectId,"0","R")},f=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",h),this.internal.events.subscribe("putXobjectDict",l))},u=function(){var S=this.internal.collections[n+"images"];return f.call(this),S},g=function(){return Object.keys(this.internal.collections[n+"images"]).length},w=function(S){return typeof t["process"+S.toUpperCase()]=="function"},A=function(S){return Ne(S)==="object"&&S.nodeType===1},p=function(S,O){if(S.nodeName==="IMG"&&S.hasAttribute("src")){var G=""+S.getAttribute("src");if(G.indexOf("data:image/")===0)return Es(unescape(G).split("base64,").pop());var q=t.loadFile(G,!0);if(q!==void 0)return q}if(S.nodeName==="CANVAS"){if(S.width===0||S.height===0)throw new Error("Given canvas must have data. Canvas width: "+S.width+", height: "+S.height);var it;switch(O){case"PNG":it="image/png";break;case"WEBP":it="image/webp";break;default:it="image/jpeg"}return Es(S.toDataURL(it,1).split("base64,").pop())}},E=function(S){var O=this.internal.collections[n+"images"];if(O){for(var G in O)if(S===O[G].alias)return O[G]}},P=function(S,O,G){return S||O||(S=-96,O=-96),S<0&&(S=-1*G.width*72/S/this.internal.scaleFactor),O<0&&(O=-1*G.height*72/O/this.internal.scaleFactor),S===0&&(S=O*G.width/G.height),O===0&&(O=S*G.height/G.width),[S,O]},T=function(S,O,G,q,it,ft){var dt=P.call(this,G,q,it),nt=this.internal.getCoordinateString,ct=this.internal.getVerticalCoordinateString,Nt=u.call(this);if(G=dt[0],q=dt[1],Nt[it.index]=it,ft){ft*=Math.PI/180;var yt=Math.cos(ft),x=Math.sin(ft),D=function(V){return V.toFixed(4)},R=[D(yt),D(x),D(-1*x),D(yt),0,0,"cm"]}this.internal.write("q"),ft?(this.internal.write([1,"0","0",1,nt(S),ct(O+q),"cm"].join(" ")),this.internal.write(R.join(" ")),this.internal.write([nt(G),"0","0",nt(q),"0","0","cm"].join(" "))):this.internal.write([nt(G),"0","0",nt(q),nt(S),ct(O+q),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+it.index+" Do"),this.internal.write("Q")},L=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var H=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},U=t.__addimage__.sHashCode=function(S){var O,G,q=0;if(typeof S=="string")for(G=S.length,O=0;O<G;O++)q=(q<<5)-q+S.charCodeAt(O),q|=0;else if(vt(S))for(G=S.byteLength/2,O=0;O<G;O++)q=(q<<5)-q+S[O],q|=0;return q},j=t.__addimage__.validateStringAsBase64=function(S){(S=S||"").toString().trim();var O=!0;return S.length===0&&(O=!1),S.length%4!=0&&(O=!1),/^[A-Za-z0-9+/]+$/.test(S.substr(0,S.length-2))===!1&&(O=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(S.substr(-2))===!1&&(O=!1),O},rt=t.__addimage__.extractImageFromDataUrl=function(S){if(S==null||!(S=S.trim()).startsWith("data:"))return null;var O=S.indexOf(",");return O<0?null:S.substring(0,O).trim().endsWith("base64")?S.substring(O+1):null};t.__addimage__.isArrayBuffer=function(S){return S instanceof ArrayBuffer};var vt=t.__addimage__.isArrayBufferView=function(S){return S instanceof Int8Array||S instanceof Uint8Array||S instanceof Uint8ClampedArray||S instanceof Int16Array||S instanceof Uint16Array||S instanceof Int32Array||S instanceof Uint32Array||S instanceof Float32Array||S instanceof Float64Array},ot=t.__addimage__.binaryStringToUint8Array=function(S){for(var O=S.length,G=new Uint8Array(O),q=0;q<O;q++)G[q]=S.charCodeAt(q);return G},K=t.__addimage__.arrayBufferToBinaryString=function(S){for(var O="",G=vt(S)?S:new Uint8Array(S),q=0;q<G.length;q+=8192)O+=String.fromCharCode.apply(null,G.subarray(q,q+8192));return O};t.addImage=function(){var S,O,G,q,it,ft,dt,nt,ct;if(typeof arguments[1]=="number"?(O=e,G=arguments[1],q=arguments[2],it=arguments[3],ft=arguments[4],dt=arguments[5],nt=arguments[6],ct=arguments[7]):(O=arguments[1],G=arguments[2],q=arguments[3],it=arguments[4],ft=arguments[5],dt=arguments[6],nt=arguments[7],ct=arguments[8]),Ne(S=arguments[0])==="object"&&!A(S)&&"imageData"in S){var Nt=S;S=Nt.imageData,O=Nt.format||O||e,G=Nt.x||G||0,q=Nt.y||q||0,it=Nt.w||Nt.width||it,ft=Nt.h||Nt.height||ft,dt=Nt.alias||dt,nt=Nt.compression||nt,ct=Nt.rotation||Nt.angle||ct}var yt=this.internal.getFilters();if(nt===void 0&&yt.indexOf("FlateEncode")!==-1&&(nt="SLOW"),isNaN(G)||isNaN(q))throw new Error("Invalid coordinates passed to jsPDF.addImage");f.call(this);var x=B.call(this,S,O,dt,nt);return T.call(this,G,q,it,ft,x,ct),this};var B=function(S,O,G,q){var it,ft,dt;if(typeof S=="string"&&i(S)===e){S=unescape(S);var nt=et(S,!1);(nt!==""||(nt=t.loadFile(S,!0))!==void 0)&&(S=nt)}if(A(S)&&(S=p(S,O)),O=i(S,O),!w(O))throw new Error("addImage does not support files of type '"+O+"', please ensure that a plugin for '"+O+"' support is added.");if(((dt=G)==null||dt.length===0)&&(G=(function(ct){return typeof ct=="string"||vt(ct)?U(ct):vt(ct.data)?U(ct.data):null})(S)),(it=E.call(this,G))||(S instanceof Uint8Array||O==="RGBA"||(ft=S,S=ot(S)),it=this["process"+O.toUpperCase()](S,g.call(this),G,(function(ct){return ct&&typeof ct=="string"&&(ct=ct.toUpperCase()),ct in t.image_compression?ct:H.NONE})(q),ft)),!it)throw new Error("An unknown error occurred whilst processing the image.");return it},et=t.__addimage__.convertBase64ToBinaryString=function(S,O){O=typeof O!="boolean"||O;var G,q="";if(typeof S=="string"){var it;G=(it=rt(S))!==null&&it!==void 0?it:S;try{q=Es(G)}catch(ft){if(O)throw j(G)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+ft.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return q};t.getImageProperties=function(S){var O,G,q="";if(A(S)&&(S=p(S)),typeof S=="string"&&i(S)===e&&((q=et(S,!1))===""&&(q=t.loadFile(S)||""),S=q),G=i(S),!w(G))throw new Error("addImage does not support files of type '"+G+"', please ensure that a plugin for '"+G+"' support is added.");if(S instanceof Uint8Array||(S=ot(S)),!(O=this["process"+G.toUpperCase()](S)))throw new Error("An unknown error occurred whilst processing the image");return O.fileType=G,O}})(Dt.API),(function(t){var n=function(e){if(e!==void 0&&e!="")return!0};Dt.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var r,i,a,h=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,f=this.internal.getPageInfoByObjId(e.objId),u=e.pageContext.annotations,g=!1,w=0;w<u.length&&!g;w++)switch((r=u[w]).type){case"link":(n(r.options.url)||n(r.options.pageNumber))&&(g=!0);break;case"reference":case"text":case"freetext":g=!0}if(g!=0){this.internal.write("/Annots [");for(var A=0;A<u.length;A++){r=u[A];var p=this.internal.pdfEscape,E=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var P=this.internal.newAdditionalObject(),T=this.internal.newAdditionalObject(),L=this.internal.getEncryptor(P.objId),H=r.title||"Note";a="<</Type /Annot /Subtype /Text "+(i="/Rect ["+h(r.bounds.x)+" "+l(r.bounds.y+r.bounds.h)+" "+h(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y)+"] ")+"/Contents ("+p(L(r.contents))+")",a+=" /Popup "+T.objId+" 0 R",a+=" /P "+f.objId+" 0 R",a+=" /T ("+p(L(H))+") >>",P.content=a;var U=P.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+h(r.bounds.x+30)+" "+l(r.bounds.y+r.bounds.h)+" "+h(r.bounds.x+r.bounds.w+30)+" "+l(r.bounds.y)+"] ")+" /Parent "+U,r.open&&(a+=" /Open true"),a+=" >>",T.content=a,this.internal.write(P.objId,"0 R",T.objId,"0 R");break;case"freetext":i="/Rect ["+h(r.bounds.x)+" "+l(r.bounds.y)+" "+h(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y+r.bounds.h)+"] ";var j=r.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+p(E(r.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+j+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(r.options.name){var rt=this.annotations._nameMap[r.options.name];r.options.pageNumber=rt.page,r.options.top=rt.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",a="",r.options.url)a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+p(E(r.options.url))+") >>";else if(r.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,a+=" /FitV "+r.options.left+"]";break;default:var vt=l(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),a+=" /XYZ "+r.options.left+" "+vt+" "+r.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},t.link=function(e,r,i,a,h){var l=this.internal.getCurrentPageInfo(),f=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;l.pageContext.annotations.push({finalBounds:{x:f(e),y:u(r),w:f(e+i),h:u(r+a)},options:h,type:"link"})},t.textWithLink=function(e,r,i,a){var h,l,f=this.getTextWidth(e),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){l=a.maxWidth;var g=this.splitTextToSize(e,l).length;h=Math.ceil(u*g)}else l=f,h=u;return this.text(e,r,i,a),i+=.2*u,a.align==="center"&&(r-=f/2),a.align==="right"&&(r-=f),this.link(r,i-u,l,h,a),f},t.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}})(Dt.API),(function(t){var n={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var a=t.__arabicParser__.isInArabicSubstitutionA=function(P){return n[P.charCodeAt(0)]!==void 0},h=t.__arabicParser__.isArabicLetter=function(P){return typeof P=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(P)},l=t.__arabicParser__.isArabicEndLetter=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length<=2},f=t.__arabicParser__.isArabicAlfLetter=function(P){return h(P)&&i.indexOf(P.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length>=3};var g=t.__arabicParser__.arabicLetterHasMedialForm=function(P){return h(P)&&a(P)&&n[P.charCodeAt(0)].length==4},w=t.__arabicParser__.resolveLigatures=function(P){var T=0,L=e,H="",U=0;for(T=0;T<P.length;T+=1)L[P.charCodeAt(T)]!==void 0?(U++,typeof(L=L[P.charCodeAt(T)])=="number"&&(H+=String.fromCharCode(L),L=e,U=0),T===P.length-1&&(L=e,H+=P.charAt(T-(U-1)),T-=U-1,U=0)):(L=e,H+=P.charAt(T-U),T-=U,U=0);return H};t.__arabicParser__.isArabicDiacritic=function(P){return P!==void 0&&r[P.charCodeAt(0)]!==void 0};var A=t.__arabicParser__.getCorrectForm=function(P,T,L){return h(P)?a(P)===!1?-1:!u(P)||!h(T)&&!h(L)||!h(L)&&l(T)||l(P)&&!h(T)||l(P)&&f(T)||l(P)&&l(T)?0:g(P)&&h(T)&&!l(T)&&h(L)&&u(L)?3:l(P)||!h(L)?1:2:-1},p=function(P){var T=0,L=0,H=0,U="",j="",rt="",vt=(P=P||"").split("\\s+"),ot=[];for(T=0;T<vt.length;T+=1){for(ot.push(""),L=0;L<vt[T].length;L+=1)U=vt[T][L],j=vt[T][L-1],rt=vt[T][L+1],h(U)?(H=A(U,j,rt),ot[T]+=H!==-1?String.fromCharCode(n[U.charCodeAt(0)][H]):U):ot[T]+=U;ot[T]=w(ot[T])}return ot.join(" ")},E=t.__arabicParser__.processArabic=t.processArabic=function(){var P,T=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,L=[];if(Array.isArray(T)){var H=0;for(L=[],H=0;H<T.length;H+=1)Array.isArray(T[H])?L.push([p(T[H][0]),T[H][1],T[H][2]]):L.push([p(T[H])]);P=L}else P=p(T);return typeof arguments[0]=="string"?P:(arguments[0].text=P,arguments[0])};t.events.push(["preProcessText",E])})(Dt.API),Dt.API.autoPrint=function(t){var n;return(t=t||{}).variant=t.variant||"non-conform",t.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},(function(t){var n=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(l){e=l}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(l){r=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(l){i=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(l){a=l}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(l){h=l}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(e,r){var i;if((e=e||"2d")!=="2d")return null;for(i in r)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=r[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])})(Dt.API),(function(t){var n={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var f=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return f},set:function(P){f=P}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(P){u=P}});var g=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return g},set:function(P){g=P}});var w=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return w},set:function(P){w=P}});var A=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return A},set:function(P){A=P}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(P){p=P}});var E=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return E},set:function(P){E=P}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(f){return r.call(this),this.internal.__cell__.headerFunction=typeof f=="function"?f:void 0,this},t.getTextDimensions=function(f,u){r.call(this);var g=(u=u||{}).fontSize||this.getFontSize(),w=u.font||this.getFont(),A=u.scaleFactor||this.internal.scaleFactor,p=0,E=0,P=0,T=this;if(!Array.isArray(f)&&typeof f!="string"){if(typeof f!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");f=String(f)}var L=u.maxWidth;L>0?typeof f=="string"?f=this.splitTextToSize(f,L):Object.prototype.toString.call(f)==="[object Array]"&&(f=f.reduce(function(U,j){return U.concat(T.splitTextToSize(j,L))},[])):f=Array.isArray(f)?f:[f];for(var H=0;H<f.length;H++)p<(P=this.getStringUnitWidth(f[H],{font:w})*g)&&(p=P);return p!==0&&(E=f.length),{w:p/=A,h:Math.max((E*g*this.getLineHeightFactor()-g*(this.getLineHeightFactor()-1))/A,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var f=this.internal.__cell__.margins||n;return this.internal.__cell__.lastCell=new a(f.left,f.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var h=t.cell=function(){var f;f=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var u=this.internal.__cell__.lastCell,g=this.internal.__cell__.padding,w=this.internal.__cell__.margins||n,A=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return u.lineNumber!==void 0&&(u.lineNumber===f.lineNumber?(f.x=(u.x||0)+(u.width||0),f.y=u.y||0):u.y+u.height+f.height+w.bottom>this.getPageHeight()?(this.cellAddPage(),f.y=w.top,p&&A&&(this.printHeaderRow(f.lineNumber,!0),f.y+=A[0].height)):f.y=u.y+u.height||f.y),f.text[0]!==void 0&&(this.rect(f.x,f.y,f.width,f.height,e===!0?"FD":void 0),f.align==="right"?this.text(f.text,f.x+f.width-g,f.y+g,{align:"right",baseline:"top"}):f.align==="center"?this.text(f.text,f.x+f.width/2,f.y+g,{align:"center",baseline:"top",maxWidth:f.width-g-g}):this.text(f.text,f.x+g,f.y+g,{align:"left",baseline:"top",maxWidth:f.width-g-g})),this.internal.__cell__.lastCell=f,this};t.table=function(f,u,g,w,A){if(r.call(this),!g)throw new Error("No data for PDF table.");var p,E,P,T,L=[],H=[],U=[],j={},rt={},vt=[],ot=[],K=(A=A||{}).autoSize||!1,B=A.printHeaders!==!1,et=A.css&&A.css["font-size"]!==void 0?16*A.css["font-size"]:A.fontSize||12,S=A.margins||Object.assign({width:this.getPageWidth()},n),O=typeof A.padding=="number"?A.padding:3,G=A.headerBackgroundColor||"#c8c8c8",q=A.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=B,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=et,this.internal.__cell__.padding=O,this.internal.__cell__.headerBackgroundColor=G,this.internal.__cell__.headerTextColor=q,this.setFontSize(et),w==null)H=L=Object.keys(g[0]),U=L.map(function(){return"left"});else if(Array.isArray(w)&&Ne(w[0])==="object")for(L=w.map(function(Nt){return Nt.name}),H=w.map(function(Nt){return Nt.prompt||Nt.name||""}),U=w.map(function(Nt){return Nt.align||"left"}),p=0;p<w.length;p+=1)rt[w[p].name]=.7499990551181103*w[p].width;else Array.isArray(w)&&typeof w[0]=="string"&&(H=L=w,U=L.map(function(){return"left"}));if(K||Array.isArray(w)&&typeof w[0]=="string")for(p=0;p<L.length;p+=1){for(j[T=L[p]]=g.map(function(Nt){return Nt[T]}),this.setFont(void 0,"bold"),vt.push(this.getTextDimensions(H[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),E=j[T],this.setFont(void 0,"normal"),P=0;P<E.length;P+=1)vt.push(this.getTextDimensions(E[P],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);rt[T]=Math.max.apply(null,vt)+O+O,vt=[]}if(B){var it={};for(p=0;p<L.length;p+=1)it[L[p]]={},it[L[p]].text=H[p],it[L[p]].align=U[p];var ft=l.call(this,it,rt);ot=L.map(function(Nt){return new a(f,u,rt[Nt],ft,it[Nt].text,void 0,it[Nt].align)}),this.setTableHeaderRow(ot),this.printHeaderRow(1,!1)}var dt=w.reduce(function(Nt,yt){return Nt[yt.name]=yt.align,Nt},{});for(p=0;p<g.length;p+=1){"rowStart"in A&&A.rowStart instanceof Function&&A.rowStart({row:p,data:g[p]},this);var nt=l.call(this,g[p],rt);for(P=0;P<L.length;P+=1){var ct=g[p][L[P]];"cellStart"in A&&A.cellStart instanceof Function&&A.cellStart({row:p,col:P,data:ct},this),h.call(this,new a(f,u,rt[L[P]],nt,ct,p+2,dt[L[P]]))}}return this.internal.__cell__.table_x=f,this.internal.__cell__.table_y=u,this};var l=function(f,u){var g=this.internal.__cell__.padding,w=this.internal.__cell__.table_font_size,A=this.internal.scaleFactor;return Object.keys(f).map(function(p){var E=f[p];return this.splitTextToSize(E.hasOwnProperty("text")?E.text:E,u[p]-g-g)},this).map(function(p){return this.getLineHeightFactor()*p.length*w/A+g+g},this).reduce(function(p,E){return Math.max(p,E)},0)};t.setTableHeaderRow=function(f){r.call(this),this.internal.__cell__.tableHeaderRow=f},t.printHeaderRow=function(f,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var g;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var w=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(w[0],w[1],w[2],w[3],void 0,-1)}this.setFont(void 0,"bold");for(var A=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){g=this.internal.__cell__.tableHeaderRow[p].clone(),u&&(g.y=this.internal.__cell__.margins.top||0,A.push(g)),g.lineNumber=f;var E=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),h.call(this,g),this.setTextColor(E)}A.length>0&&this.setTableHeaderRow(A),this.setFont(void 0,"normal"),e=!1}})(Dt.API);var Ku={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Xu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Nh=Yu(Xu),Ju=[100,200,300,400,500,600,700,800,900],md=Yu(Ju);function vh(t){var n=t.family.replace(/"|'/g,"").toLowerCase(),e=(function(a){return Ku[a=a||"normal"]?a:"normal"})(t.style),r=(function(a){return a?typeof a=="number"?a>=100&&a<=900&&a%100==0?a:400:/^\d00$/.test(a)?parseInt(a):a==="bold"?700:400:400})(t.weight),i=(function(a){return typeof Nh[a=a||"normal"]=="number"?a:"normal"})(t.stretch);return{family:n,style:e,weight:r,stretch:i,src:t.src||[],ref:t.ref||{name:n,style:[i,e,r].join(" ")}}}function Lu(t,n,e,r){var i;for(i=e;i>=0&&i<n.length;i+=r)if(t[n[i]])return t[n[i]];for(i=e;i>=0&&i<n.length;i-=r)if(t[n[i]])return t[n[i]]}var vd={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Su={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function ku(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Pu(t){return t.trimLeft()}function bd(t,n){for(var e=0;e<t.length;){if(t.charAt(e)===n)return[t.substring(0,e),t.substring(e+1)];e+=1}return null}function wd(t){var n=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return n===null?null:[n[0],t.substring(n[0].length)]}var Is,Iu,Fu,wa,Fs,Eu,Cu,Ou,bh=["times"];function Tu(t,n,e,r){var i=4,a=Mu;switch(r){case Dt.API.image_compression.FAST:i=1,a=Du;break;case Dt.API.image_compression.MEDIUM:i=6,a=Ru;break;case Dt.API.image_compression.SLOW:i=9,a=ju}t=(function(l,f,u,g){for(var w,A=l.length/f,p=new Uint8Array(l.length+A),E=[yd,Du,Mu,Ru,ju],P=0;P<A;P+=1){var T=P*f,L=l.subarray(T,T+f);if(g)p.set(g(L,u,w),T+P);else{for(var H=E.length,U=[],j=0;j<H;j+=1)U[j]=E[j](L,u,w);var rt=xd(U.concat());p.set(U[rt],T+P)}w=L}return p})(t,n,e,a);var h=os(t,{level:i});return Dt.API.__addimage__.arrayBufferToBinaryString(h)}function yd(t){var n=Array.apply([],t);return n.unshift(0),n}function Du(t,n){var e=t.length,r=[];r[0]=1;for(var i=0;i<e;i+=1){var a=t[i-n]||0;r[i+1]=t[i]-a+256&255}return r}function Mu(t,n,e){var r=t.length,i=[];i[0]=2;for(var a=0;a<r;a+=1){var h=e&&e[a]||0;i[a+1]=t[a]-h+256&255}return i}function Ru(t,n,e){var r=t.length,i=[];i[0]=3;for(var a=0;a<r;a+=1){var h=t[a-n]||0,l=e&&e[a]||0;i[a+1]=t[a]+256-(h+l>>>1)&255}return i}function ju(t,n,e){var r=t.length,i=[];i[0]=4;for(var a=0;a<r;a+=1){var h=_d(t[a-n]||0,e&&e[a]||0,e&&e[a-n]||0);i[a+1]=t[a]-h+256&255}return i}function _d(t,n,e){if(t===n&&n===e)return t;var r=Math.abs(n-e),i=Math.abs(t-e),a=Math.abs(t+n-e-e);return r<=i&&r<=a?t:i<=a?n:e}function xd(t){var n=t.map(function(e){return e.reduce(function(r,i){return r+Math.abs(i)},0)});return n.indexOf(Math.min.apply(null,n))}function wh(t,n,e){var r=n*e,i=Math.floor(r/8),a=16-(r-8*i+e),h=(1<<e)-1;return Qu(t,i)>>a&h}function Bu(t,n,e,r){var i=e*r,a=Math.floor(i/8),h=16-(i-8*a+r),l=(1<<r)-1,f=(n&l)<<h;(function(u,g,w){if(g+1<u.byteLength)u.setUint16(g,w,!1);else{var A=w>>8&255;u.setUint8(g,A)}})(t,a,Qu(t,a)&~(l<<h)&65535|f)}function Qu(t,n){return n+1<t.byteLength?t.getUint16(n,!1):t.getUint8(n)<<8}function Ad(t){var n=0;if(t[n++]!==71||t[n++]!==73||t[n++]!==70||t[n++]!==56||(t[n++]+1&253)!=56||t[n++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=t[n++]|t[n++]<<8,r=t[n++]|t[n++]<<8,i=t[n++],a=i>>7,h=1<<1+(7&i);t[n++],t[n++];var l=null,f=null;a&&(l=n,f=h,n+=3*h);var u=!0,g=[],w=0,A=null,p=0,E=null;for(this.width=e,this.height=r;u&&n<t.length;)switch(t[n++]){case 33:switch(t[n++]){case 255:if(t[n]!==11||t[n+1]==78&&t[n+2]==69&&t[n+3]==84&&t[n+4]==83&&t[n+5]==67&&t[n+6]==65&&t[n+7]==80&&t[n+8]==69&&t[n+9]==50&&t[n+10]==46&&t[n+11]==48&&t[n+12]==3&&t[n+13]==1&&t[n+16]==0)n+=14,E=t[n++]|t[n++]<<8,n++;else for(n+=12;;){if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}break;case 249:if(t[n++]!==4||t[n+4]!==0)throw new Error("Invalid graphics extension block.");var P=t[n++];w=t[n++]|t[n++]<<8,A=t[n++],1&P||(A=null),p=P>>2&7,n++;break;case 254:for(;;){if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}break;default:throw new Error("Unknown graphic control label: 0x"+t[n-1].toString(16))}break;case 44:var T=t[n++]|t[n++]<<8,L=t[n++]|t[n++]<<8,H=t[n++]|t[n++]<<8,U=t[n++]|t[n++]<<8,j=t[n++],rt=j>>6&1,vt=1<<1+(7&j),ot=l,K=f,B=!1;j>>7&&(B=!0,ot=n,K=vt,n+=3*vt);var et=n;for(n++;;){var S;if(!((S=t[n++])>=0))throw Error("Invalid block size");if(S===0)break;n+=S}g.push({x:T,y:L,width:H,height:U,has_local_palette:B,palette_offset:ot,palette_size:K,data_offset:et,data_length:n-et,transparent_index:A,interlaced:!!rt,delay:w,disposal:p});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[n-1].toString(16))}this.numFrames=function(){return g.length},this.loopCount=function(){return E},this.frameInfo=function(O){if(O<0||O>=g.length)throw new Error("Frame index out of range.");return g[O]},this.decodeAndBlitFrameBGRA=function(O,G){var q=this.frameInfo(O),it=q.width*q.height,ft=new Uint8Array(it);zu(t,q.data_offset,ft,it);var dt=q.palette_offset,nt=q.transparent_index;nt===null&&(nt=256);var ct=q.width,Nt=e-ct,yt=ct,x=4*(q.y*e+q.x),D=4*((q.y+q.height)*e+q.x),R=x,V=4*Nt;q.interlaced===!0&&(V+=4*e*7);for(var $=8,J=0,lt=ft.length;J<lt;++J){var at=ft[J];if(yt===0&&(yt=ct,(R+=V)>=D&&(V=4*Nt+4*e*($-1),R=x+(ct+Nt)*($<<1),$>>=1)),at===nt)R+=4;else{var mt=t[dt+3*at],At=t[dt+3*at+1],kt=t[dt+3*at+2];G[R++]=kt,G[R++]=At,G[R++]=mt,G[R++]=255}--yt}},this.decodeAndBlitFrameRGBA=function(O,G){var q=this.frameInfo(O),it=q.width*q.height,ft=new Uint8Array(it);zu(t,q.data_offset,ft,it);var dt=q.palette_offset,nt=q.transparent_index;nt===null&&(nt=256);var ct=q.width,Nt=e-ct,yt=ct,x=4*(q.y*e+q.x),D=4*((q.y+q.height)*e+q.x),R=x,V=4*Nt;q.interlaced===!0&&(V+=4*e*7);for(var $=8,J=0,lt=ft.length;J<lt;++J){var at=ft[J];if(yt===0&&(yt=ct,(R+=V)>=D&&(V=4*Nt+4*e*($-1),R=x+(ct+Nt)*($<<1),$>>=1)),at===nt)R+=4;else{var mt=t[dt+3*at],At=t[dt+3*at+1],kt=t[dt+3*at+2];G[R++]=mt,G[R++]=At,G[R++]=kt,G[R++]=255}--yt}}}function zu(t,n,e,r){for(var i=t[n++],a=1<<i,h=a+1,l=h+1,f=i+1,u=(1<<f)-1,g=0,w=0,A=0,p=t[n++],E=new Int32Array(4096),P=null;;){for(;g<16&&p!==0;)w|=t[n++]<<g,g+=8,p===1?p=t[n++]:--p;if(g<f)break;var T=w&u;if(w>>=f,g-=f,T!==a){if(T===h)break;for(var L=T<l?T:P,H=0,U=L;U>a;)U=E[U]>>8,++H;var j=U;if(A+H+(L!==T?1:0)>r)return void Pe.log("Warning, gif stream longer than expected.");e[A++]=j;var rt=A+=H;for(L!==T&&(e[A++]=j),U=L;H--;)U=E[U],e[--rt]=255&U,U>>=8;P!==null&&l<4096&&(E[l++]=P<<8|j,l>=u+1&&f<12&&(++f,u=u<<1|1)),P=T}else l=h+1,u=(1<<(f=i+1))-1,P=null}return A!==r&&Pe.log("Warning, gif stream shorter than expected."),e}function yh(t){var n,e,r,i,a,h=Math.floor,l=new Array(64),f=new Array(64),u=new Array(64),g=new Array(64),w=new Array(65535),A=new Array(65535),p=new Array(64),E=new Array(64),P=[],T=0,L=7,H=new Array(64),U=new Array(64),j=new Array(64),rt=new Array(256),vt=new Array(2048),ot=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],K=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],et=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],S=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],O=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],G=[0,1,2,3,4,5,6,7,8,9,10,11],q=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],it=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function ft(x,D){for(var R=0,V=0,$=new Array,J=1;J<=16;J++){for(var lt=1;lt<=x[J];lt++)$[D[V]]=[],$[D[V]][0]=R,$[D[V]][1]=J,V++,R++;R*=2}return $}function dt(x){for(var D=x[0],R=x[1]-1;R>=0;)D&1<<R&&(T|=1<<L),R--,--L<0&&(T==255?(nt(255),nt(0)):nt(T),L=7,T=0)}function nt(x){P.push(x)}function ct(x){nt(x>>8&255),nt(255&x)}function Nt(x,D,R,V,$){for(var J,lt=$[0],at=$[240],mt=(function(xt,jt){var St,re,Ut,pe,Xt,Jt,xe,ie,Bt,Gt,zt=0;for(Bt=0;Bt<8;++Bt){St=xt[zt],re=xt[zt+1],Ut=xt[zt+2],pe=xt[zt+3],Xt=xt[zt+4],Jt=xt[zt+5],xe=xt[zt+6];var Ie=St+(ie=xt[zt+7]),ge=St-ie,Mt=re+xe,Qt=re-xe,Le=Ut+Jt,Ht=Ut-Jt,he=pe+Xt,te=pe-Xt,ze=Ie+he,Qe=Ie-he,Se=Mt+Le,$t=Mt-Le;xt[zt]=ze+Se,xt[zt+4]=ze-Se;var we=.707106781*($t+Qe);xt[zt+2]=Qe+we,xt[zt+6]=Qe-we;var vi=.382683433*((ze=te+Ht)-($t=Qt+ge)),mn=.5411961*ze+vi,Fr=1.306562965*$t+vi,dr=.707106781*(Se=Ht+Qt),Wt=ge+dr,Er=ge-dr;xt[zt+5]=Er+mn,xt[zt+3]=Er-mn,xt[zt+1]=Wt+Fr,xt[zt+7]=Wt-Fr,zt+=8}for(zt=0,Bt=0;Bt<8;++Bt){St=xt[zt],re=xt[zt+8],Ut=xt[zt+16],pe=xt[zt+24],Xt=xt[zt+32],Jt=xt[zt+40],xe=xt[zt+48];var Cr=St+(ie=xt[zt+56]),Gn=St-ie,Vn=re+xe,Me=re-xe,on=Ut+Jt,fn=Ut-Jt,bi=pe+Xt,Yr=pe-Xt,er=Cr+bi,pr=Cr-bi,nr=Vn+on,rr=Vn-on;xt[zt]=er+nr,xt[zt+32]=er-nr;var Zn=.707106781*(rr+pr);xt[zt+16]=pr+Zn,xt[zt+48]=pr-Zn;var wi=.382683433*((er=Yr+fn)-(rr=Me+Gn)),gr=.5411961*er+wi,yi=1.306562965*rr+wi,Vi=.707106781*(nr=fn+Me),Zi=Gn+Vi,$i=Gn-Vi;xt[zt+40]=$i+gr,xt[zt+24]=$i-gr,xt[zt+8]=Zi+yi,xt[zt+56]=Zi-yi,zt++}for(Bt=0;Bt<64;++Bt)Gt=xt[Bt]*jt[Bt],p[Bt]=Gt>0?Gt+.5|0:Gt-.5|0;return p})(x,D),At=0;At<64;++At)E[ot[At]]=mt[At];var kt=E[0]-R;R=E[0],kt==0?dt(V[0]):(dt(V[A[J=32767+kt]]),dt(w[J]));for(var Pt=63;Pt>0&&E[Pt]==0;)Pt--;if(Pt==0)return dt(lt),R;for(var st,M=1;M<=Pt;){for(var le=M;E[M]==0&&M<=Pt;)++M;var ne=M-le;if(ne>=16){st=ne>>4;for(var qt=1;qt<=st;++qt)dt(at);ne&=15}J=32767+E[M],dt($[(ne<<4)+A[J]]),dt(w[J]),M++}return Pt!=63&&dt(lt),R}function yt(x){x=Math.min(Math.max(x,1),100),a!=x&&((function(D){for(var R=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],V=0;V<64;V++){var $=h((R[V]*D+50)/100);$=Math.min(Math.max($,1),255),l[ot[V]]=$}for(var J=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],lt=0;lt<64;lt++){var at=h((J[lt]*D+50)/100);at=Math.min(Math.max(at,1),255),f[ot[lt]]=at}for(var mt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],At=0,kt=0;kt<8;kt++)for(var Pt=0;Pt<8;Pt++)u[At]=1/(l[ot[At]]*mt[kt]*mt[Pt]*8),g[At]=1/(f[ot[At]]*mt[kt]*mt[Pt]*8),At++})(x<50?Math.floor(5e3/x):Math.floor(200-2*x)),a=x)}this.encode=function(x,D){D&&yt(D),P=new Array,T=0,L=7,ct(65496),ct(65504),ct(16),nt(74),nt(70),nt(73),nt(70),nt(0),nt(1),nt(1),nt(0),ct(1),ct(1),nt(0),nt(0),(function(){ct(65499),ct(132),nt(0);for(var re=0;re<64;re++)nt(l[re]);nt(1);for(var Ut=0;Ut<64;Ut++)nt(f[Ut])})(),(function(re,Ut){ct(65472),ct(17),nt(8),ct(Ut),ct(re),nt(3),nt(1),nt(17),nt(0),nt(2),nt(17),nt(1),nt(3),nt(17),nt(1)})(x.width,x.height),(function(){ct(65476),ct(418),nt(0);for(var re=0;re<16;re++)nt(K[re+1]);for(var Ut=0;Ut<=11;Ut++)nt(B[Ut]);nt(16);for(var pe=0;pe<16;pe++)nt(et[pe+1]);for(var Xt=0;Xt<=161;Xt++)nt(S[Xt]);nt(1);for(var Jt=0;Jt<16;Jt++)nt(O[Jt+1]);for(var xe=0;xe<=11;xe++)nt(G[xe]);nt(17);for(var ie=0;ie<16;ie++)nt(q[ie+1]);for(var Bt=0;Bt<=161;Bt++)nt(it[Bt])})(),ct(65498),ct(12),nt(3),nt(1),nt(0),nt(2),nt(17),nt(3),nt(17),nt(0),nt(63),nt(0);var R=0,V=0,$=0;T=0,L=7,this.encode.displayName="_encode_";for(var J,lt,at,mt,At,kt,Pt,st,M,le=x.data,ne=x.width,qt=x.height,xt=4*ne,jt=0;jt<qt;){for(J=0;J<xt;){for(At=xt*jt+J,Pt=-1,st=0,M=0;M<64;M++)kt=At+(st=M>>3)*xt+(Pt=4*(7&M)),jt+st>=qt&&(kt-=xt*(jt+1+st-qt)),J+Pt>=xt&&(kt-=J+Pt-xt+4),lt=le[kt++],at=le[kt++],mt=le[kt++],H[M]=(vt[lt]+vt[at+256|0]+vt[mt+512|0]>>16)-128,U[M]=(vt[lt+768|0]+vt[at+1024|0]+vt[mt+1280|0]>>16)-128,j[M]=(vt[lt+1280|0]+vt[at+1536|0]+vt[mt+1792|0]>>16)-128;R=Nt(H,u,R,n,r),V=Nt(U,g,V,e,i),$=Nt(j,g,$,e,i),J+=32}jt+=8}if(L>=0){var St=[];St[1]=L+1,St[0]=(1<<L+1)-1,dt(St)}return ct(65497),new Uint8Array(P)},t=t||50,(function(){for(var x=String.fromCharCode,D=0;D<256;D++)rt[D]=x(D)})(),n=ft(K,B),e=ft(O,G),r=ft(et,S),i=ft(q,it),(function(){for(var x=1,D=2,R=1;R<=15;R++){for(var V=x;V<D;V++)A[32767+V]=R,w[32767+V]=[],w[32767+V][1]=R,w[32767+V][0]=V;for(var $=-(D-1);$<=-x;$++)A[32767+$]=R,w[32767+$]=[],w[32767+$][1]=R,w[32767+$][0]=D-1+$;x<<=1,D<<=1}})(),(function(){for(var x=0;x<256;x++)vt[x]=19595*x,vt[x+256|0]=38470*x,vt[x+512|0]=7471*x+32768,vt[x+768|0]=-11059*x,vt[x+1024|0]=-21709*x,vt[x+1280|0]=32768*x+8421375,vt[x+1536|0]=-27439*x,vt[x+1792|0]=-5329*x})(),yt(t)}function fr(t,n){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!n,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Uu(t){function n(B){if(!B)throw Error("assert :P")}function e(B,et,S){for(var O=0;4>O;O++)if(B[et+O]!=S.charCodeAt(O))return!0;return!1}function r(B,et,S,O,G){for(var q=0;q<G;q++)B[et+q]=S[O+q]}function i(B,et,S,O){for(var G=0;G<O;G++)B[et+G]=S}function a(B){return new Int32Array(B)}function h(B,et){for(var S=[],O=0;O<B;O++)S.push(new et);return S}function l(B,et){var S=[];return(function O(G,q,it){for(var ft=it[q],dt=0;dt<ft&&(G.push(it.length>q+1?[]:new et),!(it.length<q+1));dt++)O(G[dt],q+1,it)})(S,0,B),S}var f=function(){var B=this;function et(o,s){for(var d=1<<s-1>>>0;o&d;)d>>>=1;return d?(o&d-1)+d:o}function S(o,s,d,m,v){n(!(m%d));do o[s+(m-=d)]=v;while(0<m)}function O(o,s,d,m,v){if(n(2328>=v),512>=v)var y=a(512);else if((y=a(v))==null)return 0;return(function(_,N,k,I,W,tt){var F,Z,X=N,ht=1<<k,Q=a(16),ut=a(16);for(n(W!=0),n(I!=null),n(_!=null),n(0<k),Z=0;Z<W;++Z){if(15<I[Z])return 0;++Q[I[Z]]}if(Q[0]==W)return 0;for(ut[1]=0,F=1;15>F;++F){if(Q[F]>1<<F)return 0;ut[F+1]=ut[F]+Q[F]}for(Z=0;Z<W;++Z)F=I[Z],0<I[Z]&&(tt[ut[F]++]=Z);if(ut[15]==1)return(I=new G).g=0,I.value=tt[0],S(_,X,1,ht,I),ht;var gt,_t=-1,bt=ht-1,Rt=0,It=1,oe=1,Ct=1<<k;for(Z=0,F=1,W=2;F<=k;++F,W<<=1){if(It+=oe<<=1,0>(oe-=Q[F]))return 0;for(;0<Q[F];--Q[F])(I=new G).g=F,I.value=tt[Z++],S(_,X+Rt,W,Ct,I),Rt=et(Rt,F)}for(F=k+1,W=2;15>=F;++F,W<<=1){if(It+=oe<<=1,0>(oe-=Q[F]))return 0;for(;0<Q[F];--Q[F]){if(I=new G,(Rt&bt)!=_t){for(X+=Ct,gt=1<<(_t=F)-k;15>_t&&!(0>=(gt-=Q[_t]));)++_t,gt<<=1;ht+=Ct=1<<(gt=_t-k),_[N+(_t=Rt&bt)].g=gt+k,_[N+_t].value=X-N-_t}I.g=F-k,I.value=tt[Z++],S(_,X+(Rt>>k),W,Ct,I),Rt=et(Rt,F)}}return It!=2*ut[15]-1?0:ht})(o,s,d,m,v,y)}function G(){this.value=this.g=0}function q(){this.value=this.g=0}function it(){this.G=h(5,G),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(br,q)}function ft(o,s,d,m){n(o!=null),n(s!=null),n(2147483648>m),o.Ca=254,o.I=0,o.b=-8,o.Ka=0,o.oa=s,o.pa=d,o.Jd=s,o.Yc=d+m,o.Zc=4<=m?d+m-4+1:d,lt(o)}function dt(o,s){for(var d=0;0<s--;)d|=mt(o,128)<<s;return d}function nt(o,s){var d=dt(o,s);return at(o)?-d:d}function ct(o,s,d,m){var v,y=0;for(n(o!=null),n(s!=null),n(4294967288>m),o.Sb=m,o.Ra=0,o.u=0,o.h=0,4<m&&(m=4),v=0;v<m;++v)y+=s[d+v]<<8*v;o.Ra=y,o.bb=m,o.oa=s,o.pa=d}function Nt(o){for(;8<=o.u&&o.bb<o.Sb;)o.Ra>>>=8,o.Ra+=o.oa[o.pa+o.bb]<<ni-8>>>0,++o.bb,o.u-=8;V(o)&&(o.h=1,o.u=0)}function yt(o,s){if(n(0<=s),!o.h&&s<=Va){var d=R(o)&ei[s];return o.u+=s,Nt(o),d}return o.h=1,o.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function D(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function R(o){return o.Ra>>>(o.u&ni-1)>>>0}function V(o){return n(o.bb<=o.Sb),o.h||o.bb==o.Sb&&o.u>ni}function $(o,s){o.u=s,o.h=V(o)}function J(o){o.u>=qe&&(n(o.u>=qe),Nt(o))}function lt(o){n(o!=null&&o.oa!=null),o.pa<o.Zc?(o.I=(o.oa[o.pa++]|o.I<<8)>>>0,o.b+=8):(n(o!=null&&o.oa!=null),o.pa<o.Yc?(o.b+=8,o.I=o.oa[o.pa++]|o.I<<8):o.Ka?o.b=0:(o.I<<=8,o.b+=8,o.Ka=1))}function at(o){return dt(o,1)}function mt(o,s){var d=o.Ca;0>o.b&<(o);var m=o.b,v=d*s>>>8,y=(o.I>>>m>v)+0;for(y?(d-=v,o.I-=v+1<<m>>>0):d=v+1,m=d,v=0;256<=m;)v+=8,m>>=8;return m=7^v+il[m],o.b-=m,o.Ca=(d<<m)-1,y}function At(o,s,d){o[s+0]=d>>24&255,o[s+1]=d>>16&255,o[s+2]=d>>8&255,o[s+3]=255&d}function kt(o,s){return o[s+0]|o[s+1]<<8}function Pt(o,s){return kt(o,s)|o[s+2]<<16}function st(o,s){return kt(o,s)|kt(o,s+2)<<16}function M(o,s){var d=1<<s;return n(o!=null),n(0<s),o.X=a(d),o.X==null?0:(o.Mb=32-s,o.Xa=s,1)}function le(o,s){n(o!=null),n(s!=null),n(o.Xa==s.Xa),r(s.X,0,o.X,0,1<<s.Xa)}function ne(){this.X=[],this.Xa=this.Mb=0}function qt(o,s,d,m){n(d!=null),n(m!=null);var v=d[0],y=m[0];return v==0&&(v=(o*y+s/2)/s),y==0&&(y=(s*v+o/2)/o),0>=v||0>=y?0:(d[0]=v,m[0]=y,1)}function xt(o,s){return o+(1<<s)-1>>>s}function jt(o,s){return((4278255360&o)+(4278255360&s)>>>0&4278255360)+((16711935&o)+(16711935&s)>>>0&16711935)>>>0}function St(o,s){B[s]=function(d,m,v,y,_,N,k){var I;for(I=0;I<_;++I){var W=B[o](N[k+I-1],v,y+I);N[k+I]=jt(d[m+I],W)}}}function re(){this.ud=this.hd=this.jd=0}function Ut(o,s){return((4278124286&(o^s))>>>1)+(o&s)>>>0}function pe(o){return 0<=o&&256>o?o:0>o?0:255<o?255:void 0}function Xt(o,s){return pe(o+(o-s+.5>>1))}function Jt(o,s,d){return Math.abs(s-d)-Math.abs(o-d)}function xe(o,s,d,m,v,y,_){for(m=y[_-1],d=0;d<v;++d)y[_+d]=m=jt(o[s+d],m)}function ie(o,s,d,m,v){var y;for(y=0;y<d;++y){var _=o[s+y],N=_>>8&255,k=16711935&(k=(k=16711935&_)+((N<<16)+N));m[v+y]=(4278255360&_)+k>>>0}}function Bt(o,s){s.jd=255&o,s.hd=o>>8&255,s.ud=o>>16&255}function Gt(o,s,d,m,v,y){var _;for(_=0;_<m;++_){var N=s[d+_],k=N>>>8,I=N,W=255&(W=(W=N>>>16)+((o.jd<<24>>24)*(k<<24>>24)>>>5));I=255&(I=(I+=(o.hd<<24>>24)*(k<<24>>24)>>>5)+((o.ud<<24>>24)*(W<<24>>24)>>>5)),v[y+_]=(4278255360&N)+(W<<16)+I}}function zt(o,s,d,m,v){B[s]=function(y,_,N,k,I,W,tt,F,Z){for(k=tt;k<F;++k)for(tt=0;tt<Z;++tt)I[W++]=v(N[m(y[_++])])},B[o]=function(y,_,N,k,I,W,tt){var F=8>>y.b,Z=y.Ea,X=y.K[0],ht=y.w;if(8>F)for(y=(1<<y.b)-1,ht=(1<<F)-1;_<N;++_){var Q,ut=0;for(Q=0;Q<Z;++Q)Q&y||(ut=m(k[I++])),W[tt++]=v(X[ut&ht]),ut>>=F}else B["VP8LMapColor"+d](k,I,X,ht,W,tt,_,N,Z)}}function Ie(o,s,d,m,v){for(d=s+d;s<d;){var y=o[s++];m[v++]=y>>16&255,m[v++]=y>>8&255,m[v++]=255&y}}function ge(o,s,d,m,v){for(d=s+d;s<d;){var y=o[s++];m[v++]=y>>16&255,m[v++]=y>>8&255,m[v++]=255&y,m[v++]=y>>24&255}}function Mt(o,s,d,m,v){for(d=s+d;s<d;){var y=(_=o[s++])>>16&240|_>>12&15,_=240&_|_>>28&15;m[v++]=y,m[v++]=_}}function Qt(o,s,d,m,v){for(d=s+d;s<d;){var y=(_=o[s++])>>16&248|_>>13&7,_=_>>5&224|_>>3&31;m[v++]=y,m[v++]=_}}function Le(o,s,d,m,v){for(d=s+d;s<d;){var y=o[s++];m[v++]=255&y,m[v++]=y>>8&255,m[v++]=y>>16&255}}function Ht(o,s,d,m,v,y){if(y==0)for(d=s+d;s<d;)At(m,((y=o[s++])[0]>>24|y[1]>>8&65280|y[2]<<8&16711680|y[3]<<24)>>>0),v+=32;else r(m,v,o,s,d)}function he(o,s){B[s][0]=B[o+"0"],B[s][1]=B[o+"1"],B[s][2]=B[o+"2"],B[s][3]=B[o+"3"],B[s][4]=B[o+"4"],B[s][5]=B[o+"5"],B[s][6]=B[o+"6"],B[s][7]=B[o+"7"],B[s][8]=B[o+"8"],B[s][9]=B[o+"9"],B[s][10]=B[o+"10"],B[s][11]=B[o+"11"],B[s][12]=B[o+"12"],B[s][13]=B[o+"13"],B[s][14]=B[o+"0"],B[s][15]=B[o+"0"]}function te(o){return o==sl||o==ll||o==$o||o==hl}function ze(){this.eb=[],this.size=this.A=this.fb=0}function Qe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Se(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ze,this.f.kb=new Qe,this.sd=null}function $t(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function we(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function vi(o){return alert("todo:WebPSamplerProcessPlane"),o.T}function mn(o,s){var d=o.T,m=s.ba.f.RGBA,v=m.eb,y=m.fb+o.ka*m.A,_=Xn[s.ba.S],N=o.y,k=o.O,I=o.f,W=o.N,tt=o.ea,F=o.W,Z=s.cc,X=s.dc,ht=s.Mc,Q=s.Nc,ut=o.ka,gt=o.ka+o.T,_t=o.U,bt=_t+1>>1;for(ut==0?_(N,k,null,null,I,W,tt,F,I,W,tt,F,v,y,null,null,_t):(_(s.ec,s.fc,N,k,Z,X,ht,Q,I,W,tt,F,v,y-m.A,v,y,_t),++d);ut+2<gt;ut+=2)Z=I,X=W,ht=tt,Q=F,W+=o.Rc,F+=o.Rc,y+=2*m.A,_(N,(k+=2*o.fa)-o.fa,N,k,Z,X,ht,Q,I,W,tt,F,v,y-m.A,v,y,_t);return k+=o.fa,o.j+gt<o.o?(r(s.ec,s.fc,N,k,_t),r(s.cc,s.dc,I,W,bt),r(s.Mc,s.Nc,tt,F,bt),d--):1>||_(N,k,null,null,I,W,tt,F,I,W,tt,F,v,y+m.A,null,null,_t),d}function Fr(o,s,d){var m=o.F,v=[o.J];if(m!=null){var y=o.U,_=s.ba.S,N=_==Zo||_==$o;s=s.ba.f.RGBA;var k=[0],I=o.ka;k[0]=o.T,o.Kb&&(I==0?--k[0]:(--I,v[0]-=o.width),o.j+o.ka+o.T==o.o&&(k[0]=o.o-o.j-I));var W=s.eb;I=s.fb+I*s.A,o=Hh(m,v[0],o.width,y,k,W,I+(N?0:3),s.A),n(d==k),o&&te(_)&&Ka(W,I,N,y,k,s.A)}return 0}function dr(o){var s=o.ma,d=s.ba.S,m=11>d,v=d==Go||d==Vo||d==Zo||d==ol||d==12||te(d);if(s.memory=null,s.Ib=null,s.Jb=null,s.Nd=null,!Pn(s.Oa,o,v?11:12))return 0;if(v&&te(d)&&qa(),o.da)alert("todo:use_scaling");else{if(m){if(s.Ib=vi,o.Kb){if(d=o.U+1>>1,s.memory=a(o.U+2*d),s.memory==null)return 0;s.ec=s.memory,s.fc=0,s.cc=s.ec,s.dc=s.fc+o.U,s.Mc=s.cc,s.Nc=s.dc+d,s.Ib=mn,qa()}}else alert("todo:EmitYUV");v&&(s.Jb=Fr,m&&Ii())}if(m&&!sf){for(o=0;256>o;++o)S1[o]=89858*(o-128)+Ko>>Yo,I1[o]=-22014*(o-128)+Ko,P1[o]=-45773*(o-128),k1[o]=113618*(o-128)+Ko>>Yo;for(o=Ja;o<ul;++o)s=76283*(o-16)+Ko>>Yo,F1[o-Ja]=en(s,255),E1[o-Ja]=en(s+8>>4,15);sf=1}return 1}function Wt(o){var s=o.ma,d=o.U,m=o.T;return n(!(1&o.ka)),0>=d||0>=m?0:(d=s.Ib(o,s),s.Jb!=null&&s.Jb(o,s,d),s.Dc+=d,1)}function Er(o){o.ma.memory=null}function Cr(o,s,d,m){return yt(o,8)!=47?0:(s[0]=yt(o,14)+1,d[0]=yt(o,14)+1,m[0]=yt(o,1),yt(o,3)!=0?0:!o.h)}function Gn(o,s){if(4>o)return o+1;var d=o-2>>1;return(2+(1&o)<<d)+yt(s,d)+1}function Vn(o,s){return 120<s?s-120:1<=(d=((d=u1[s-1])>>4)*o+(8-(15&d)))?d:1;var d}function Me(o,s,d){var m=R(d),v=o[s+=255&m].g-8;return 0<v&&($(d,d.u+8),m=R(d),s+=o[s].value,s+=m&(1<<v)-1),$(d,d.u+o[s].g),o[s].value}function on(o,s,d){return d.g+=o.g,d.value+=o.value<<s>>>0,n(8>=d.g),o.g}function fn(o,s,d){var m=o.xc;return n((s=m==0?0:o.vc[o.md*(d>>m)+(s>>m)])<o.Wb),o.Ya[s]}function bi(o,s,d,m){var v=o.ab,y=o.c*s,_=o.C;s=_+s;var N=d,k=m;for(m=o.Ta,d=o.Ua;0<v--;){var I=o.gc[v],W=_,tt=s,F=N,Z=k,X=(k=m,N=d,I.Ea);switch(n(W<tt),n(tt<=I.nc),I.hc){case 2:ia(F,Z,(tt-W)*X,k,N);break;case 0:var ht=W,Q=tt,ut=k,gt=N,_t=(Ct=I).Ea;ht==0&&(wr(F,Z,null,null,1,ut,gt),xe(F,Z+1,0,0,_t-1,ut,gt+1),Z+=_t,gt+=_t,++ht);for(var bt=1<<Ct.b,Rt=bt-1,It=xt(_t,Ct.b),oe=Ct.K,Ct=Ct.w+(ht>>Ct.b)*It;ht<Q;){var fe=oe,nn=Ct,se=1;for(yr(F,Z,ut,gt-_t,1,ut,gt);se<_t;){var Ot=(se&~Rt)+bt;Ot>_t&&(Ot=_t),(0,Ci[fe[nn++]>>8&15])(F,Z+ +se,ut,gt+se-_t,Ot-se,ut,gt+se),se=Ot}Z+=_t,gt+=_t,++ht&Rt||(Ct+=It)}tt!=I.nc&&r(k,N-X,k,N+(tt-W-1)*X,X);break;case 1:for(X=F,Q=Z,_t=(F=I.Ea)-(gt=F&~(ut=(Z=1<<I.b)-1)),ht=xt(F,I.b),bt=I.K,I=I.w+(W>>I.b)*ht;W<tt;){for(Rt=bt,It=I,oe=new re,Ct=Q+gt,fe=Q+F;Q<Ct;)Bt(Rt[It++],oe),Br(oe,X,Q,Z,k,N),Q+=Z,N+=Z;Q<fe&&(Bt(Rt[It++],oe),Br(oe,X,Q,_t,k,N),Q+=_t,N+=_t),++W&ut||(I+=ht)}break;case 3:if(F==k&&Z==N&&0<I.b){for(Q=k,F=X=N+(tt-W)*X-(gt=(tt-W)*xt(I.Ea,I.b)),Z=k,ut=N,ht=[],gt=(_t=gt)-1;0<=gt;--gt)ht[gt]=Z[ut+gt];for(gt=_t-1;0<=gt;--gt)Q[F+gt]=ht[gt];Za(I,W,tt,k,X,k,N)}else Za(I,W,tt,F,Z,k,N)}N=m,k=d}k!=d&&r(m,d,N,k,y)}function Yr(o,s){var d=o.V,m=o.Ba+o.c*o.C,v=s-o.C;if(n(s<=o.l.o),n(16>=v),0<v){var y=o.l,_=o.Ta,N=o.Ua,k=y.width;if(bi(o,v,d,m),v=N=[N],n((d=o.C)<(m=s)),n(y.v<y.va),m>y.o&&(m=y.o),d<y.j){var I=y.j-d;d=y.j,v[0]+=I*k}if(d>=m?d=0:(v[0]+=4*y.v,y.ka=d-y.j,y.U=y.va-y.v,y.T=m-d,d=1),d){if(N=N[0],11>(d=o.ca).S){var W=d.f.RGBA,tt=(m=d.S,v=y.U,y=y.T,I=W.eb,W.A),F=y;for(W=W.fb+o.Ma*W.A;0<F--;){var Z=_,X=N,ht=v,Q=I,ut=W;switch(m){case Wo:$a(Z,X,ht,Q,ut);break;case Go:Dn(Z,X,ht,Q,ut);break;case sl:Dn(Z,X,ht,Q,ut),Ka(Q,ut,0,ht,1,0);break;case Kh:Ee(Z,X,ht,Q,ut);break;case Vo:Ht(Z,X,ht,Q,ut,1);break;case ll:Ht(Z,X,ht,Q,ut,1),Ka(Q,ut,0,ht,1,0);break;case Zo:Ht(Z,X,ht,Q,ut,0);break;case $o:Ht(Z,X,ht,Q,ut,0),Ka(Q,ut,1,ht,1,0);break;case ol:_r(Z,X,ht,Q,ut);break;case hl:_r(Z,X,ht,Q,ut),qh(Q,ut,ht,1,0);break;case Xh:Fe(Z,X,ht,Q,ut);break;default:n(0)}N+=k,W+=tt}o.Ma+=y}else alert("todo:EmitRescaledRowsYUVA");n(o.Ma<=d.height)}}o.C=s,n(o.C<=o.i)}function er(o){var s;if(0<o.ua)return 0;for(s=0;s<o.Wb;++s){var d=o.Ya[s].G,m=o.Ya[s].H;if(0<d[1][m[1]+0].g||0<d[2][m[2]+0].g||0<d[3][m[3]+0].g)return 0}return 1}function pr(o,s,d,m,v,y){if(o.Z!=0){var _=o.qd,N=o.rd;for(n(ii[o.Z]!=null);s<d;++s)ii[o.Z](_,N,m,v,m,v,y),_=m,N=v,v+=y;o.qd=_,o.rd=N}}function nr(o,s){var d=o.l.ma,m=d.Z==0||d.Z==1?o.l.j:o.C;if(m=o.C<m?m:o.C,n(s<=o.l.o),s>m){var v=o.l.width,y=d.ca,_=d.tb+v*m,N=o.V,k=o.Ba+o.c*m,I=o.gc;n(o.ab==1),n(I[0].hc==3),oa(I[0],m,s,N,k,y,_),pr(d,m,s,y,_,v)}o.C=o.Ma=s}function rr(o,s,d,m,v,y,_){var N=o.$/m,k=o.$%m,I=o.m,W=o.s,tt=d+o.$,F=tt;v=d+m*v;var Z=d+m*y,X=280+W.ua,ht=o.Pb?N:16777216,Q=0<W.ua?W.Wa:null,ut=W.wc,gt=tt<Z?fn(W,k,N):null;n(o.C<y),n(Z<=v);var _t=!1;t:for(;;){for(;_t||tt<Z;){var bt=0;if(N>=ht){var Rt=tt-d;n((ht=o).Pb),ht.wd=ht.m,ht.xd=Rt,0<ht.s.ua&&le(ht.s.Wa,ht.s.vb),ht=N+p1}if(k&ut||(gt=fn(W,k,N)),n(gt!=null),gt.Qb&&(s[tt]=gt.qb,_t=!0),!_t)if(J(I),gt.jc){bt=I,Rt=s;var It=tt,oe=gt.pd[R(bt)&br-1];n(gt.jc),256>oe.g?($(bt,bt.u+oe.g),Rt[It]=oe.value,bt=0):($(bt,bt.u+oe.g-256),n(256<=oe.value),bt=oe.value),bt==0&&(_t=!0)}else bt=Me(gt.G[0],gt.H[0],I);if(I.h)break;if(_t||256>bt){if(!_t)if(gt.nd)s[tt]=(gt.qb|bt<<8)>>>0;else{if(J(I),_t=Me(gt.G[1],gt.H[1],I),J(I),Rt=Me(gt.G[2],gt.H[2],I),It=Me(gt.G[3],gt.H[3],I),I.h)break;s[tt]=(It<<24|_t<<16|bt<<8|Rt)>>>0}if(_t=!1,++tt,++k>=m&&(k=0,++N,_!=null&&N<=y&&!(N%16)&&_(o,N),Q!=null))for(;F<tt;)bt=s[F++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt}else if(280>bt){if(bt=Gn(bt-256,I),Rt=Me(gt.G[4],gt.H[4],I),J(I),Rt=Vn(m,Rt=Gn(Rt,I)),I.h)break;if(tt-d<Rt||v-tt<bt)break t;for(It=0;It<bt;++It)s[tt+It]=s[tt+It-Rt];for(tt+=bt,k+=bt;k>=m;)k-=m,++N,_!=null&&N<=y&&!(N%16)&&_(o,N);if(n(tt<=v),k&ut&&(gt=fn(W,k,N)),Q!=null)for(;F<tt;)bt=s[F++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt}else{if(!(bt<X))break t;for(_t=bt-280,n(Q!=null);F<tt;)bt=s[F++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt;bt=tt,n(!(_t>>>(Rt=Q).Xa)),s[bt]=Rt.X[_t],_t=!0}_t||n(I.h==V(I))}if(o.Pb&&I.h&&tt<v)n(o.m.h),o.a=5,o.m=o.wd,o.$=o.xd,0<o.s.ua&&le(o.s.vb,o.s.Wa);else{if(I.h)break t;_?.(o,N>y?y:N),o.a=0,o.$=tt-d}return 1}return o.a=3,0}function Zn(o){n(o!=null),o.vc=null,o.yc=null,o.Ya=null;var s=o.Wa;s!=null&&(s.X=null),o.vb=null,n(o!=null)}function wi(){var o=new De;return o==null?null:(o.a=0,o.xb=tf,he("Predictor","VP8LPredictors"),he("Predictor","VP8LPredictors_C"),he("PredictorAdd","VP8LPredictorsAdd"),he("PredictorAdd","VP8LPredictorsAdd_C"),ia=ie,Br=Gt,$a=Ie,Dn=ge,_r=Mt,Fe=Qt,Ee=Le,B.VP8LMapColor32b=aa,B.VP8LMapColor8b=Ei,o)}function gr(o,s,d,m,v){var y=1,_=[o],N=[s],k=m.m,I=m.s,W=null,tt=0;t:for(;;){if(d)for(;y&&yt(k,1);){var F=_,Z=N,X=m,ht=1,Q=X.m,ut=X.gc[X.ab],gt=yt(Q,2);if(X.Oc&1<<gt)y=0;else{switch(X.Oc|=1<<gt,ut.hc=gt,ut.Ea=F[0],ut.nc=Z[0],ut.K=[null],++X.ab,n(4>=X.ab),gt){case 0:case 1:ut.b=yt(Q,3)+2,ht=gr(xt(ut.Ea,ut.b),xt(ut.nc,ut.b),0,X,ut.K),ut.K=ut.K[0];break;case 3:var _t,bt=yt(Q,8)+1,Rt=16<bt?0:4<bt?1:2<bt?2:3;if(F[0]=xt(ut.Ea,Rt),ut.b=Rt,_t=ht=gr(bt,1,0,X,ut.K)){var It,oe=bt,Ct=ut,fe=1<<(8>>Ct.b),nn=a(fe);if(nn==null)_t=0;else{var se=Ct.K[0],Ot=Ct.w;for(nn[0]=Ct.K[0][0],It=1;It<1*oe;++It)nn[It]=jt(se[Ot+It],nn[It-1]);for(;It<4*fe;++It)nn[It]=0;Ct.K[0]=null,Ct.K[0]=nn,_t=1}}ht=_t;break;case 2:break;default:n(0)}y=ht}}if(_=_[0],N=N[0],y&&yt(k,1)&&!(y=1<=(tt=yt(k,4))&&11>=tt)){m.a=3;break t}var Lt;if(Lt=y)e:{var Ge,ee,ue,Oe=m,un=_,An=N,Re=tt,vn=d,Nn=Oe.m,rn=Oe.s,de=[null],ye=1,je=0,_e=d1[Re];n:for(;;){if(vn&&yt(Nn,1)){var dn=yt(Nn,3)+2,sr=xt(un,dn),Ve=xt(An,dn),Fn=sr*Ve;if(!gr(sr,Ve,0,Oe,de))break n;for(de=de[0],rn.xc=dn,Ge=0;Ge<Fn;++Ge){var ke=de[Ge]>>8&65535;de[Ge]=ke,ke>=ye&&(ye=ke+1)}}if(Nn.h)break n;for(ee=0;5>ee;++ee){var an=Jh[ee];!ee&&0<Re&&(an+=1<<Re),je<an&&(je=an)}var Rn=h(ye*_e,G),Ln=ye,jn=h(Ln,it);if(jn==null)var Bn=null;else n(65536>=Ln),Bn=jn;var En=a(je);if(Bn==null||En==null||Rn==null){Oe.a=1;break n}var zn=Rn;for(Ge=ue=0;Ge<ye;++Ge){var Ce=Bn[Ge],Un=Ce.G,lr=Ce.H,Oi=0,qr=1,pn=0;for(ee=0;5>ee;++ee){an=Jh[ee],Un[ee]=zn,lr[ee]=ue,!ee&&0<Re&&(an+=1<<Re);i:{var Jo,dl=an,Qo=Oe,Qa=En,T1=zn,D1=ue,pl=0,ai=Qo.m,M1=yt(ai,1);if(i(Qa,0,0,dl),M1){var R1=yt(ai,1)+1,j1=yt(ai,1),ff=yt(ai,j1==0?1:8);Qa[ff]=1,R1==2&&(Qa[ff=yt(ai,8)]=1);var ts=1}else{var cf=a(19),uf=yt(ai,4)+4;if(19<uf){Qo.a=3;var es=0;break i}for(Jo=0;Jo<uf;++Jo)cf[c1[Jo]]=yt(ai,3);var gl=void 0,to=void 0,df=Qo,B1=cf,ns=dl,pf=Qa,ml=0,oi=df.m,gf=8,mf=h(128,G);r:for(;O(mf,0,7,B1,19);){if(yt(oi,1)){var z1=2+2*yt(oi,3);if((gl=2+yt(oi,z1))>ns)break r}else gl=ns;for(to=0;to<ns&&gl--;){J(oi);var vf=mf[0+(127&R(oi))];$(oi,oi.u+vf.g);var la=vf.value;if(16>la)pf[to++]=la,la!=0&&(gf=la);else{var U1=la==16,bf=la-16,q1=h1[bf],wf=yt(oi,l1[bf])+q1;if(to+wf>ns)break r;for(var H1=U1?gf:0;0<wf--;)pf[to++]=H1}}ml=1;break r}ml||(df.a=3),ts=ml}(ts=ts&&!ai.h)&&(pl=O(T1,D1,8,Qa,dl)),ts&&pl!=0?es=pl:(Qo.a=3,es=0)}if(es==0)break n;if(qr&&f1[ee]==1&&(qr=zn[ue].g==0),Oi+=zn[ue].g,ue+=es,3>=ee){var eo,vl=En[0];for(eo=1;eo<an;++eo)En[eo]>vl&&(vl=En[eo]);pn+=vl}}if(Ce.nd=qr,Ce.Qb=0,qr&&(Ce.qb=(Un[3][lr[3]+0].value<<24|Un[1][lr[1]+0].value<<16|Un[2][lr[2]+0].value)>>>0,Oi==0&&256>Un[0][lr[0]+0].value&&(Ce.Qb=1,Ce.qb+=Un[0][lr[0]+0].value<<8)),Ce.jc=!Ce.Qb&&6>pn,Ce.jc){var rs,Hr=Ce;for(rs=0;rs<br;++rs){var si=rs,li=Hr.pd[si],is=Hr.G[0][Hr.H[0]+si];256<=is.value?(li.g=is.g+256,li.value=is.value):(li.g=0,li.value=0,si>>=on(is,8,li),si>>=on(Hr.G[1][Hr.H[1]+si],16,li),si>>=on(Hr.G[2][Hr.H[2]+si],0,li),on(Hr.G[3][Hr.H[3]+si],24,li))}}}rn.vc=de,rn.Wb=ye,rn.Ya=Bn,rn.yc=Rn,Lt=1;break e}Lt=0}if(!(y=Lt)){m.a=3;break t}if(0<tt){if(I.ua=1<<tt,!M(I.Wa,tt)){m.a=1,y=0;break t}}else I.ua=0;var bl=m,yf=_,W1=N,wl=bl.s,yl=wl.xc;if(bl.c=yf,bl.i=W1,wl.md=xt(yf,yl),wl.wc=yl==0?-1:(1<<yl)-1,d){m.xb=_1;break t}if((W=a(_*N))==null){m.a=1,y=0;break t}y=(y=rr(m,W,0,_,N,N,null))&&!k.h;break t}return y?(v!=null?v[0]=W:(n(W==null),n(d)),m.$=0,d||Zn(I)):Zn(I),y}function yi(o,s){var d=o.c*o.i,m=d+s+16*s;return n(o.c<=s),o.V=a(m),o.V==null?(o.Ta=null,o.Ua=0,o.a=1,0):(o.Ta=o.V,o.Ua=o.Ba+d+s,1)}function Vi(o,s){var d=o.C,m=s-d,v=o.V,y=o.Ba+o.c*d;for(n(s<=o.l.o);0<m;){var _=16<m?16:m,N=o.l.ma,k=o.l.width,I=k*_,W=N.ca,tt=N.tb+k*d,F=o.Ta,Z=o.Ua;bi(o,_,v,y),Wh(F,Z,W,tt,I),pr(N,d,d+_,W,tt,k),m-=_,v+=_*o.c,d+=_}n(d==s),o.C=o.Ma=s}function Zi(){this.ub=this.yd=this.td=this.Rb=0}function $i(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Us(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Pa(){this.Yb=(function(){var o=[];return(function s(d,m,v){for(var y=v[m],_=0;_<y&&(d.push(v.length>m+1?[]:0),!(v.length<m+1));_++)s(d[_],m+1,v)})(o,0,[3,11]),o})()}function Fo(){this.jb=a(3),this.Wc=l([4,8],Pa),this.Xc=l([4,17],Pa)}function Eo(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function $n(){this.ld=this.La=this.dd=this.tc=0}function Ia(){this.Na=this.la=0}function Co(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Fa(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Oo(){this.uc=this.M=this.Nb=0,this.wa=Array(new $n),this.Y=0,this.ya=Array(new Fa),this.aa=0,this.l=new Yi}function To(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Do(){this.cb=this.a=0,this.sc="",this.m=new x,this.Od=new Zi,this.Kc=new $i,this.ed=new Eo,this.Qa=new Us,this.Ic=this.$c=this.Aa=0,this.D=new Oo,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=h(8,x),this.ia=0,this.pb=h(4,Co),this.Pa=new Fo,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new To),this.Hd=0,this.rb=Array(new Ia),this.sb=0,this.wa=Array(new $n),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Fa),this.L=this.aa=0,this.gd=l([4,2],$n),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Yi(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function qs(){var o=new Do;return o!=null&&(o.a=0,o.sc="OK",o.cb=0,o.Xb=0,Xa||(Xa=Or)),o}function Ke(o,s,d){return o.a==0&&(o.a=s,o.sc=d,o.cb=0),0}function Mo(o,s,d){return 3<=d&&o[s+0]==157&&o[s+1]==1&&o[s+2]==42}function Ro(o,s){if(o==null)return 0;if(o.a=0,o.sc="OK",s==null)return Ke(o,2,"null VP8Io passed to VP8GetHeaders()");var d=s.data,m=s.w,v=s.ha;if(4>v)return Ke(o,7,"Truncated header.");var y=d[m+0]|d[m+1]<<8|d[m+2]<<16,_=o.Od;if(_.Rb=!(1&y),_.td=y>>1&7,_.yd=y>>4&1,_.ub=y>>5,3<_.td)return Ke(o,3,"Incorrect keyframe parameters.");if(!_.yd)return Ke(o,4,"Frame not displayable.");m+=3,v-=3;var N=o.Kc;if(_.Rb){if(7>v)return Ke(o,7,"cannot parse picture header");if(!Mo(d,m,v))return Ke(o,3,"Bad code word");N.c=16383&(d[m+4]<<8|d[m+3]),N.Td=d[m+4]>>6,N.i=16383&(d[m+6]<<8|d[m+5]),N.Ud=d[m+6]>>6,m+=7,v-=7,o.za=N.c+15>>4,o.Ub=N.i+15>>4,s.width=N.c,s.height=N.i,s.Da=0,s.j=0,s.v=0,s.va=s.width,s.o=s.height,s.da=0,s.ib=s.width,s.hb=s.height,s.U=s.width,s.T=s.height,i((y=o.Pa).jb,0,255,y.jb.length),n((y=o.Qa)!=null),y.Cb=0,y.Bb=0,y.Fb=1,i(y.Zb,0,0,y.Zb.length),i(y.Lb,0,0,y.Lb)}if(_.ub>v)return Ke(o,7,"bad partition length");ft(y=o.m,d,m,_.ub),m+=_.ub,v-=_.ub,_.Rb&&(N.Ld=at(y),N.Kd=at(y)),N=o.Qa;var k,I=o.Pa;if(n(y!=null),n(N!=null),N.Cb=at(y),N.Cb){if(N.Bb=at(y),at(y)){for(N.Fb=at(y),k=0;4>k;++k)N.Zb[k]=at(y)?nt(y,7):0;for(k=0;4>k;++k)N.Lb[k]=at(y)?nt(y,6):0}if(N.Bb)for(k=0;3>k;++k)I.jb[k]=at(y)?dt(y,8):255}else N.Bb=0;if(y.Ka)return Ke(o,3,"cannot parse segment header");if((N=o.ed).zd=at(y),N.Tb=dt(y,6),N.wb=dt(y,3),N.Pc=at(y),N.Pc&&at(y)){for(I=0;4>I;++I)at(y)&&(N.vd[I]=nt(y,6));for(I=0;4>I;++I)at(y)&&(N.od[I]=nt(y,6))}if(o.L=N.Tb==0?0:N.zd?1:2,y.Ka)return Ke(o,3,"cannot parse filter header");var W=v;if(v=k=m,m=k+W,N=W,o.Xb=(1<<dt(o.m,2))-1,W<3*(I=o.Xb))d=7;else{for(k+=3*I,N-=3*I,W=0;W<I;++W){var tt=d[v+0]|d[v+1]<<8|d[v+2]<<16;tt>N&&(tt=N),ft(o.Jc[+W],d,k,tt),k+=tt,N-=tt,v+=3}ft(o.Jc[+I],d,k,N),d=k<m?0:5}if(d!=0)return Ke(o,d,"cannot parse partitions");for(d=dt(k=o.m,7),v=at(k)?nt(k,4):0,m=at(k)?nt(k,4):0,N=at(k)?nt(k,4):0,I=at(k)?nt(k,4):0,k=at(k)?nt(k,4):0,W=o.Qa,tt=0;4>tt;++tt){if(W.Cb){var F=W.Zb[tt];W.Fb||(F+=d)}else{if(0<tt){o.pb[tt]=o.pb[0];continue}F=d}var Z=o.pb[tt];Z.Sc[0]=fl[en(F+v,127)],Z.Sc[1]=cl[en(F+0,127)],Z.Eb[0]=2*fl[en(F+m,127)],Z.Eb[1]=101581*cl[en(F+N,127)]>>16,8>Z.Eb[1]&&(Z.Eb[1]=8),Z.Qc[0]=fl[en(F+I,117)],Z.Qc[1]=cl[en(F+k,127)],Z.lc=F+k}if(!_.Rb)return Ke(o,4,"Not a key frame.");for(at(y),_=o.Pa,d=0;4>d;++d){for(v=0;8>v;++v)for(m=0;3>m;++m)for(N=0;11>N;++N)I=mt(y,w1[d][v][m][N])?dt(y,8):v1[d][v][m][N],_.Wc[d][v].Yb[m][N]=I;for(v=0;17>v;++v)_.Xc[d][v]=_.Wc[d][y1[v]]}return o.kc=at(y),o.kc&&(o.Bd=dt(y,8)),o.cb=1}function Or(o,s,d,m,v,y,_){var N=s[v].Yb[d];for(d=0;16>v;++v){if(!mt(o,N[d+0]))return v;for(;!mt(o,N[d+1]);)if(N=s[++v].Yb[0],d=0,v==16)return 16;var k=s[v+1].Yb;if(mt(o,N[d+2])){var I=o,W=0;if(mt(I,(F=N)[(tt=d)+3]))if(mt(I,F[tt+6])){for(N=0,tt=2*(W=mt(I,F[tt+8]))+(F=mt(I,F[tt+9+W])),W=0,F=g1[tt];F[N];++N)W+=W+mt(I,F[N]);W+=3+(8<<tt)}else mt(I,F[tt+7])?(W=7+2*mt(I,165),W+=mt(I,145)):W=5+mt(I,159);else W=mt(I,F[tt+4])?3+mt(I,F[tt+5]):2;N=k[2]}else W=1,N=k[1];k=_+m1[v],0>(I=o).b&<(I);var tt,F=I.b,Z=(tt=I.Ca>>1)-(I.I>>F)>>31;--I.b,I.Ca+=Z,I.Ca|=1,I.I-=(tt+1&Z)<<F,y[k]=((W^Z)-Z)*m[(0<v)+0]}return 16}function _i(o){var s=o.rb[o.sb-1];s.la=0,s.Na=0,i(o.zc,0,0,o.zc.length),o.ja=0}function ir(o,s,d,m,v){v=o[s+d+32*m]+(v>>3),o[s+d+32*m]=-256&v?0>v?0:255:v}function xi(o,s,d,m,v,y){ir(o,s,0,d,m+v),ir(o,s,1,d,m+y),ir(o,s,2,d,m-y),ir(o,s,3,d,m-v)}function Ue(o){return(20091*o>>16)+o}function Ea(o,s,d,m){var v,y=0,_=a(16);for(v=0;4>v;++v){var N=o[s+0]+o[s+8],k=o[s+0]-o[s+8],I=(35468*o[s+4]>>16)-Ue(o[s+12]),W=Ue(o[s+4])+(35468*o[s+12]>>16);_[y+0]=N+W,_[y+1]=k+I,_[y+2]=k-I,_[y+3]=N-W,y+=4,s++}for(v=y=0;4>v;++v)N=(o=_[y+0]+4)+_[y+8],k=o-_[y+8],I=(35468*_[y+4]>>16)-Ue(_[y+12]),ir(d,m,0,0,N+(W=Ue(_[y+4])+(35468*_[y+12]>>16))),ir(d,m,1,0,k+I),ir(d,m,2,0,k-I),ir(d,m,3,0,N-W),y++,m+=32}function Hs(o,s,d,m){var v=o[s+0]+4,y=35468*o[s+4]>>16,_=Ue(o[s+4]),N=35468*o[s+1]>>16;xi(d,m,0,v+_,o=Ue(o[s+1]),N),xi(d,m,1,v+y,o,N),xi(d,m,2,v-y,o,N),xi(d,m,3,v-_,o,N)}function Ws(o,s,d,m,v){Ea(o,s,d,m),v&&Ea(o,s+16,d,m+4)}function Gs(o,s,d,m){We(o,s+0,d,m,1),We(o,s+32,d,m+128,1)}function mr(o,s,d,m){var v;for(o=o[s+0]+4,v=0;4>v;++v)for(s=0;4>s;++s)ir(d,m,s,v,o)}function jo(o,s,d,m){o[s+0]&&xr(o,s+0,d,m),o[s+16]&&xr(o,s+16,d,m+4),o[s+32]&&xr(o,s+32,d,m+128),o[s+48]&&xr(o,s+48,d,m+128+4)}function Bo(o,s,d,m){var v,y=a(16);for(v=0;4>v;++v){var _=o[s+0+v]+o[s+12+v],N=o[s+4+v]+o[s+8+v],k=o[s+4+v]-o[s+8+v],I=o[s+0+v]-o[s+12+v];y[0+v]=_+N,y[8+v]=_-N,y[4+v]=I+k,y[12+v]=I-k}for(v=0;4>v;++v)_=(o=y[0+4*v]+3)+y[3+4*v],N=y[1+4*v]+y[2+4*v],k=y[1+4*v]-y[2+4*v],I=o-y[3+4*v],d[m+0]=_+N>>3,d[m+16]=I+k>>3,d[m+32]=_-N>>3,d[m+48]=I-k>>3,m+=64}function Kr(o,s,d){var m,v=s-32,y=Mn,_=255-o[v-1];for(m=0;m<d;++m){var N,k=y,I=_+o[s-1];for(N=0;N<d;++N)o[s+N]=k[I+o[v+N]];s+=32}}function Ca(o,s){Kr(o,s,4)}function Vs(o,s){Kr(o,s,8)}function Zs(o,s){Kr(o,s,16)}function $s(o,s){var d;for(d=0;16>d;++d)r(o,s+32*d,o,s-32,16)}function Oa(o,s){var d;for(d=16;0<d;--d)i(o,s,o[s-1],16),s+=32}function Ai(o,s,d){var m;for(m=0;16>m;++m)i(s,d+32*m,o,16)}function Xr(o,s){var d,m=16;for(d=0;16>d;++d)m+=o[s-1+32*d]+o[s+d-32];Ai(m>>5,o,s)}function Ys(o,s){var d,m=8;for(d=0;16>d;++d)m+=o[s-1+32*d];Ai(m>>4,o,s)}function Ni(o,s){var d,m=8;for(d=0;16>d;++d)m+=o[s+d-32];Ai(m>>4,o,s)}function Ta(o,s){Ai(128,o,s)}function Yt(o,s,d){return o+2*s+d+2>>2}function Ks(o,s){var d,m=s-32;for(m=new Uint8Array([Yt(o[m-1],o[m+0],o[m+1]),Yt(o[m+0],o[m+1],o[m+2]),Yt(o[m+1],o[m+2],o[m+3]),Yt(o[m+2],o[m+3],o[m+4])]),d=0;4>d;++d)r(o,s+32*d,m,0,m.length)}function Xs(o,s){var d=o[s-1],m=o[s-1+32],v=o[s-1+64],y=o[s-1+96];At(o,s+0,16843009*Yt(o[s-1-32],d,m)),At(o,s+32,16843009*Yt(d,m,v)),At(o,s+64,16843009*Yt(m,v,y)),At(o,s+96,16843009*Yt(v,y,y))}function Js(o,s){var d,m=4;for(d=0;4>d;++d)m+=o[s+d-32]+o[s-1+32*d];for(m>>=3,d=0;4>d;++d)i(o,s+32*d,m,4)}function Qs(o,s){var d=o[s-1+0],m=o[s-1+32],v=o[s-1+64],y=o[s-1-32],_=o[s+0-32],N=o[s+1-32],k=o[s+2-32],I=o[s+3-32];o[s+0+96]=Yt(m,v,o[s-1+96]),o[s+1+96]=o[s+0+64]=Yt(d,m,v),o[s+2+96]=o[s+1+64]=o[s+0+32]=Yt(y,d,m),o[s+3+96]=o[s+2+64]=o[s+1+32]=o[s+0+0]=Yt(_,y,d),o[s+3+64]=o[s+2+32]=o[s+1+0]=Yt(N,_,y),o[s+3+32]=o[s+2+0]=Yt(k,N,_),o[s+3+0]=Yt(I,k,N)}function Tr(o,s){var d=o[s+1-32],m=o[s+2-32],v=o[s+3-32],y=o[s+4-32],_=o[s+5-32],N=o[s+6-32],k=o[s+7-32];o[s+0+0]=Yt(o[s+0-32],d,m),o[s+1+0]=o[s+0+32]=Yt(d,m,v),o[s+2+0]=o[s+1+32]=o[s+0+64]=Yt(m,v,y),o[s+3+0]=o[s+2+32]=o[s+1+64]=o[s+0+96]=Yt(v,y,_),o[s+3+32]=o[s+2+64]=o[s+1+96]=Yt(y,_,N),o[s+3+64]=o[s+2+96]=Yt(_,N,k),o[s+3+96]=Yt(N,k,k)}function Dr(o,s){var d=o[s-1+0],m=o[s-1+32],v=o[s-1+64],y=o[s-1-32],_=o[s+0-32],N=o[s+1-32],k=o[s+2-32],I=o[s+3-32];o[s+0+0]=o[s+1+64]=y+_+1>>1,o[s+1+0]=o[s+2+64]=_+N+1>>1,o[s+2+0]=o[s+3+64]=N+k+1>>1,o[s+3+0]=k+I+1>>1,o[s+0+96]=Yt(v,m,d),o[s+0+64]=Yt(m,d,y),o[s+0+32]=o[s+1+96]=Yt(d,y,_),o[s+1+32]=o[s+2+96]=Yt(y,_,N),o[s+2+32]=o[s+3+96]=Yt(_,N,k),o[s+3+32]=Yt(N,k,I)}function tl(o,s){var d=o[s+0-32],m=o[s+1-32],v=o[s+2-32],y=o[s+3-32],_=o[s+4-32],N=o[s+5-32],k=o[s+6-32],I=o[s+7-32];o[s+0+0]=d+m+1>>1,o[s+1+0]=o[s+0+64]=m+v+1>>1,o[s+2+0]=o[s+1+64]=v+y+1>>1,o[s+3+0]=o[s+2+64]=y+_+1>>1,o[s+0+32]=Yt(d,m,v),o[s+1+32]=o[s+0+96]=Yt(m,v,y),o[s+2+32]=o[s+1+96]=Yt(v,y,_),o[s+3+32]=o[s+2+96]=Yt(y,_,N),o[s+3+64]=Yt(_,N,k),o[s+3+96]=Yt(N,k,I)}function el(o,s){var d=o[s-1+0],m=o[s-1+32],v=o[s-1+64],y=o[s-1+96];o[s+0+0]=d+m+1>>1,o[s+2+0]=o[s+0+32]=m+v+1>>1,o[s+2+32]=o[s+0+64]=v+y+1>>1,o[s+1+0]=Yt(d,m,v),o[s+3+0]=o[s+1+32]=Yt(m,v,y),o[s+3+32]=o[s+1+64]=Yt(v,y,y),o[s+3+64]=o[s+2+64]=o[s+0+96]=o[s+1+96]=o[s+2+96]=o[s+3+96]=y}function Ki(o,s){var d=o[s-1+0],m=o[s-1+32],v=o[s-1+64],y=o[s-1+96],_=o[s-1-32],N=o[s+0-32],k=o[s+1-32],I=o[s+2-32];o[s+0+0]=o[s+2+32]=d+_+1>>1,o[s+0+32]=o[s+2+64]=m+d+1>>1,o[s+0+64]=o[s+2+96]=v+m+1>>1,o[s+0+96]=y+v+1>>1,o[s+3+0]=Yt(N,k,I),o[s+2+0]=Yt(_,N,k),o[s+1+0]=o[s+3+32]=Yt(d,_,N),o[s+1+32]=o[s+3+64]=Yt(m,d,_),o[s+1+64]=o[s+3+96]=Yt(v,m,d),o[s+1+96]=Yt(y,v,m)}function Da(o,s){var d;for(d=0;8>d;++d)r(o,s+32*d,o,s-32,8)}function Li(o,s){var d;for(d=0;8>d;++d)i(o,s,o[s-1],8),s+=32}function Xi(o,s,d){var m;for(m=0;8>m;++m)i(s,d+32*m,o,8)}function Ji(o,s){var d,m=8;for(d=0;8>d;++d)m+=o[s+d-32]+o[s-1+32*d];Xi(m>>4,o,s)}function nl(o,s){var d,m=4;for(d=0;8>d;++d)m+=o[s+d-32];Xi(m>>3,o,s)}function Ma(o,s){var d,m=4;for(d=0;8>d;++d)m+=o[s-1+32*d];Xi(m>>3,o,s)}function Ra(o,s){Xi(128,o,s)}function Si(o,s,d){var m=o[s-d],v=o[s+0],y=3*(v-m)+al[1020+o[s-2*d]-o[s+d]],_=Ho[112+(y+4>>3)];o[s-d]=Mn[255+m+Ho[112+(y+3>>3)]],o[s+0]=Mn[255+v-_]}function ki(o,s,d,m){var v=o[s+0],y=o[s+d];return Kn[255+o[s-2*d]-o[s-d]]>m||Kn[255+y-v]>m}function ja(o,s,d,m){return 4*Kn[255+o[s-d]-o[s+0]]+Kn[255+o[s-2*d]-o[s+d]]<=m}function Qi(o,s,d,m,v){var y=o[s-3*d],_=o[s-2*d],N=o[s-d],k=o[s+0],I=o[s+d],W=o[s+2*d],tt=o[s+3*d];return 4*Kn[255+N-k]+Kn[255+_-I]>m?0:Kn[255+o[s-4*d]-y]<=v&&Kn[255+y-_]<=v&&Kn[255+_-N]<=v&&Kn[255+tt-W]<=v&&Kn[255+W-I]<=v&&Kn[255+I-k]<=v}function Ba(o,s,d,m){var v=2*m+1;for(m=0;16>m;++m)ja(o,s+m,d,v)&&Si(o,s+m,d)}function Pi(o,s,d,m){var v=2*m+1;for(m=0;16>m;++m)ja(o,s+m*d,1,v)&&Si(o,s+m*d,1)}function za(o,s,d,m){var v;for(v=3;0<v;--v)Ba(o,s+=4*d,d,m)}function Ua(o,s,d,m){var v;for(v=3;0<v;--v)Pi(o,s+=4,d,m)}function Tn(o,s,d,m,v,y,_,N){for(y=2*y+1;0<v--;){if(Qi(o,s,d,y,_))if(ki(o,s,d,N))Si(o,s,d);else{var k=o,I=s,W=d,tt=k[I-2*W],F=k[I-W],Z=k[I+0],X=k[I+W],ht=k[I+2*W],Q=27*(gt=al[1020+3*(Z-F)+al[1020+tt-X]])+63>>7,ut=18*gt+63>>7,gt=9*gt+63>>7;k[I-3*W]=Mn[255+k[I-3*W]+gt],k[I-2*W]=Mn[255+tt+ut],k[I-W]=Mn[255+F+Q],k[I+0]=Mn[255+Z-Q],k[I+W]=Mn[255+X-ut],k[I+2*W]=Mn[255+ht-gt]}s+=m}}function vr(o,s,d,m,v,y,_,N){for(y=2*y+1;0<v--;){if(Qi(o,s,d,y,_))if(ki(o,s,d,N))Si(o,s,d);else{var k=o,I=s,W=d,tt=k[I-W],F=k[I+0],Z=k[I+W],X=Ho[112+(4+(ht=3*(F-tt))>>3)],ht=Ho[112+(ht+3>>3)],Q=X+1>>1;k[I-2*W]=Mn[255+k[I-2*W]+Q],k[I-W]=Mn[255+tt+ht],k[I+0]=Mn[255+F-X],k[I+W]=Mn[255+Z-Q]}s+=m}}function c(o,s,d,m,v,y){Tn(o,s,d,1,16,m,v,y)}function b(o,s,d,m,v,y){Tn(o,s,1,d,16,m,v,y)}function C(o,s,d,m,v,y){var _;for(_=3;0<_;--_)vr(o,s+=4*d,d,1,16,m,v,y)}function z(o,s,d,m,v,y){var _;for(_=3;0<_;--_)vr(o,s+=4,1,d,16,m,v,y)}function Y(o,s,d,m,v,y,_,N){Tn(o,s,v,1,8,y,_,N),Tn(d,m,v,1,8,y,_,N)}function pt(o,s,d,m,v,y,_,N){Tn(o,s,1,v,8,y,_,N),Tn(d,m,1,v,8,y,_,N)}function wt(o,s,d,m,v,y,_,N){vr(o,s+4*v,v,1,8,y,_,N),vr(d,m+4*v,v,1,8,y,_,N)}function Et(o,s,d,m,v,y,_,N){vr(o,s+4,1,v,8,y,_,N),vr(d,m+4,1,v,8,y,_,N)}function Tt(){this.ba=new Se,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new we,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Vt(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ae(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function me(){this.ua=0,this.Wa=new ne,this.vb=new ne,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new it,this.yc=new G}function De(){this.xb=this.a=0,this.l=new Yi,this.ca=new Se,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new D,this.Pb=0,this.wd=new D,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new me,this.ab=0,this.gc=h(4,ae),this.Oc=0}function Xe(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Yi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ae(o,s,d,m,v,y,_){for(o=o==null?0:o[s+0],s=0;s<_;++s)v[y+s]=o+d[m+s]&255,o=v[y+s]}function tn(o,s,d,m,v,y,_){var N;if(o==null)Ae(null,null,d,m,v,y,_);else for(N=0;N<_;++N)v[y+N]=o[s+N]+d[m+N]&255}function Je(o,s,d,m,v,y,_){if(o==null)Ae(null,null,d,m,v,y,_);else{var N,k=o[s+0],I=k,W=k;for(N=0;N<_;++N)I=W+(k=o[s+N])-I,W=d[m+N]+(-256&I?0>I?0:255:I)&255,I=k,v[y+N]=W}}function cn(o,s,d,m){var v=s.width,y=s.o;if(n(o!=null&&s!=null),0>d||0>=m||d+m>y)return null;if(!o.Cc){if(o.ga==null){var _;if(o.ga=new Xe,(_=o.ga==null)||(_=s.width*s.o,n(o.Gb.length==0),o.Gb=a(_),o.Uc=0,o.Gb==null?_=0:(o.mb=o.Gb,o.nb=o.Uc,o.rc=null,_=1),_=!_),!_){_=o.ga;var N=o.Fa,k=o.P,I=o.qc,W=o.mb,tt=o.nb,F=k+1,Z=I-1,X=_.l;if(n(N!=null&&W!=null&&s!=null),ii[0]=null,ii[1]=Ae,ii[2]=tn,ii[3]=Je,_.ca=W,_.tb=tt,_.c=s.width,_.i=s.height,n(0<_.c&&0<_.i),1>=I)s=0;else if(_.$a=3&N[k+0],_.Z=N[k+0]>>2&3,_.Lc=N[k+0]>>4&3,k=N[k+0]>>6&3,0>_.$a||1<_.$a||4<=_.Z||1<_.Lc||k)s=0;else if(X.put=Wt,X.ac=dr,X.bc=Er,X.ma=_,X.width=s.width,X.height=s.height,X.Da=s.Da,X.v=s.v,X.va=s.va,X.j=s.j,X.o=s.o,_.$a)t:{n(_.$a==1),s=wi();e:for(;;){if(s==null){s=0;break t}if(n(_!=null),_.mc=s,s.c=_.c,s.i=_.i,s.l=_.l,s.l.ma=_,s.l.width=_.c,s.l.height=_.i,s.a=0,ct(s.m,N,F,Z),!gr(_.c,_.i,1,s,null)||(s.ab==1&&s.gc[0].hc==3&&er(s.s)?(_.ic=1,N=s.c*s.i,s.Ta=null,s.Ua=0,s.V=a(N),s.Ba=0,s.V==null?(s.a=1,s=0):s=1):(_.ic=0,s=yi(s,_.c)),!s))break e;s=1;break t}_.mc=null,s=0}else s=Z>=_.c*_.i;_=!s}if(_)return null;o.ga.Lc!=1?o.Ga=0:m=y-d}n(o.ga!=null),n(d+m<=y);t:{if(s=(N=o.ga).c,y=N.l.o,N.$a==0){if(F=o.rc,Z=o.Vc,X=o.Fa,k=o.P+1+d*s,I=o.mb,W=o.nb+d*s,n(k<=o.P+o.qc),N.Z!=0)for(n(ii[N.Z]!=null),_=0;_<m;++_)ii[N.Z](F,Z,X,k,I,W,s),F=I,Z=W,W+=s,k+=s;else for(_=0;_<m;++_)r(I,W,X,k,s),F=I,Z=W,W+=s,k+=s;o.rc=F,o.Vc=Z}else{if(n(N.mc!=null),s=d+m,n((_=N.mc)!=null),n(s<=_.i),_.C>=s)s=1;else if(N.ic||Ii(),N.ic){N=_.V,F=_.Ba,Z=_.c;var ht=_.i,Q=(X=1,k=_.$/Z,I=_.$%Z,W=_.m,tt=_.s,_.$),ut=Z*ht,gt=Z*s,_t=tt.wc,bt=Q<gt?fn(tt,I,k):null;n(Q<=ut),n(s<=ht),n(er(tt));e:for(;;){for(;!W.h&&Q<gt;){if(I&_t||(bt=fn(tt,I,k)),n(bt!=null),J(W),256>(ht=Me(bt.G[0],bt.H[0],W)))N[F+Q]=ht,++Q,++I>=Z&&(I=0,++k<=s&&!(k%16)&&nr(_,k));else{if(!(280>ht)){X=0;break e}ht=Gn(ht-256,W);var Rt,It=Me(bt.G[4],bt.H[4],W);if(J(W),!(Q>=(It=Vn(Z,It=Gn(It,W)))&&ut-Q>=ht)){X=0;break e}for(Rt=0;Rt<ht;++Rt)N[F+Q+Rt]=N[F+Q+Rt-It];for(Q+=ht,I+=ht;I>=Z;)I-=Z,++k<=s&&!(k%16)&&nr(_,k);Q<gt&&I&_t&&(bt=fn(tt,I,k))}n(W.h==V(W))}nr(_,k>s?s:k);break e}!X||W.h&&Q<ut?(X=0,_.a=W.h?5:3):_.$=Q,s=X}else s=rr(_,_.V,_.Ba,_.c,_.i,s,Vi);if(!s){m=0;break t}}d+m>=y&&(o.Cc=1),m=1}if(!m)return null;if(o.Cc&&((m=o.ga)!=null&&(m.mc=null),o.ga=null,0<o.Ga))return alert("todo:WebPDequantizeLevels"),null}return o.nb+d*v}function Mr(o,s,d,m,v,y){for(;0<v--;){var _,N=o,k=s+(d?1:0),I=o,W=s+(d?0:3);for(_=0;_<m;++_){var tt=I[W+4*_];tt!=255&&(tt*=32897,N[k+4*_+0]=N[k+4*_+0]*tt>>23,N[k+4*_+1]=N[k+4*_+1]*tt>>23,N[k+4*_+2]=N[k+4*_+2]*tt>>23)}s+=y}}function Jr(o,s,d,m,v){for(;0<m--;){var y;for(y=0;y<d;++y){var _=o[s+2*y+0],N=15&(I=o[s+2*y+1]),k=4369*N,I=(240&I|I>>4)*k>>16;o[s+2*y+0]=(240&_|_>>4)*k>>16&240|(15&_|_<<4)*k>>16>>4&15,o[s+2*y+1]=240&I|N}s+=v}}function rl(o,s,d,m,v,y,_,N){var k,I,W=255;for(I=0;I<v;++I){for(k=0;k<m;++k){var tt=o[s+k];y[_+4*k]=tt,W&=tt}s+=d,_+=N}return W!=255}function zo(o,s,d,m,v){var y;for(y=0;y<v;++y)d[m+y]=o[s+y]>>8}function Ii(){Ka=Mr,qh=Jr,Hh=rl,Wh=zo}function ar(o,s,d){B[o]=function(m,v,y,_,N,k,I,W,tt,F,Z,X,ht,Q,ut,gt,_t){var bt,Rt=_t-1>>1,It=N[k+0]|I[W+0]<<16,oe=tt[F+0]|Z[X+0]<<16;n(m!=null);var Ct=3*It+oe+131074>>2;for(s(m[v+0],255&Ct,Ct>>16,ht,Q),y!=null&&(Ct=3*oe+It+131074>>2,s(y[_+0],255&Ct,Ct>>16,ut,gt)),bt=1;bt<=Rt;++bt){var fe=N[k+bt]|I[W+bt]<<16,nn=tt[F+bt]|Z[X+bt]<<16,se=It+fe+oe+nn+524296,Ot=se+2*(fe+oe)>>3;Ct=Ot+It>>1,It=(se=se+2*(It+nn)>>3)+fe>>1,s(m[v+2*bt-1],255&Ct,Ct>>16,ht,Q+(2*bt-1)*d),s(m[v+2*bt-0],255&It,It>>16,ht,Q+(2*bt-0)*d),y!=null&&(Ct=se+oe>>1,It=Ot+nn>>1,s(y[_+2*bt-1],255&Ct,Ct>>16,ut,gt+(2*bt-1)*d),s(y[_+2*bt+0],255&It,It>>16,ut,gt+(2*bt+0)*d)),It=fe,oe=nn}1&_t||(Ct=3*It+oe+131074>>2,s(m[v+_t-1],255&Ct,Ct>>16,ht,Q+(_t-1)*d),y!=null&&(Ct=3*oe+It+131074>>2,s(y[_+_t-1],255&Ct,Ct>>16,ut,gt+(_t-1)*d)))}}function qa(){Xn[Wo]=x1,Xn[Go]=ef,Xn[Kh]=A1,Xn[Vo]=nf,Xn[Zo]=rf,Xn[ol]=af,Xn[Xh]=N1,Xn[sl]=ef,Xn[ll]=nf,Xn[$o]=rf,Xn[hl]=af}function ta(o){return o&~L1?0>o?0:255:o>>of}function Qr(o,s){return ta((19077*o>>8)+(26149*s>>8)-14234)}function sn(o,s,d){return ta((19077*o>>8)-(6419*s>>8)-(13320*d>>8)+8708)}function Rr(o,s){return ta((19077*o>>8)+(33050*s>>8)-17685)}function jr(o,s,d,m,v){m[v+0]=Qr(o,d),m[v+1]=sn(o,s,d),m[v+2]=Rr(o,s)}function ea(o,s,d,m,v){m[v+0]=Rr(o,s),m[v+1]=sn(o,s,d),m[v+2]=Qr(o,d)}function Ha(o,s,d,m,v){var y=sn(o,s,d);s=y<<3&224|Rr(o,s)>>3,m[v+0]=248&Qr(o,d)|y>>5,m[v+1]=s}function xn(o,s,d,m,v){var y=240&Rr(o,s)|15;m[v+0]=240&Qr(o,d)|sn(o,s,d)>>4,m[v+1]=y}function Uo(o,s,d,m,v){m[v+0]=255,jr(o,s,d,m,v+1)}function na(o,s,d,m,v){ea(o,s,d,m,v),m[v+3]=255}function qo(o,s,d,m,v){jr(o,s,d,m,v),m[v+3]=255}function en(o,s){return 0>o?0:o>s?s:o}function Yn(o,s,d){B[o]=function(m,v,y,_,N,k,I,W,tt){for(var F=W+(-2&tt)*d;W!=F;)s(m[v+0],y[_+0],N[k+0],I,W),s(m[v+1],y[_+0],N[k+0],I,W+d),v+=2,++_,++k,W+=2*d;1&tt&&s(m[v+0],y[_+0],N[k+0],I,W)}}function Wa(o,s,d){return d==0?o==0?s==0?6:5:s==0?4:0:d}function Ga(o,s,d,m,v){switch(o>>>30){case 3:We(s,d,m,v,0);break;case 2:zr(s,d,m,v);break;case 1:xr(s,d,m,v)}}function ti(o,s){var d,m,v=s.M,y=s.Nb,_=o.oc,N=o.pc+40,k=o.oc,I=o.pc+584,W=o.oc,tt=o.pc+600;for(d=0;16>d;++d)_[N+32*d-1]=129;for(d=0;8>d;++d)k[I+32*d-1]=129,W[tt+32*d-1]=129;for(0<v?_[N-1-32]=k[I-1-32]=W[tt-1-32]=129:(i(_,N-32-1,127,21),i(k,I-32-1,127,9),i(W,tt-32-1,127,9)),m=0;m<o.za;++m){var F=s.ya[s.aa+m];if(0<m){for(d=-1;16>d;++d)r(_,N+32*d-4,_,N+32*d+12,4);for(d=-1;8>d;++d)r(k,I+32*d-4,k,I+32*d+4,4),r(W,tt+32*d-4,W,tt+32*d+4,4)}var Z=o.Gd,X=o.Hd+m,ht=F.ad,Q=F.Hc;if(0<v&&(r(_,N-32,Z[X].y,0,16),r(k,I-32,Z[X].f,0,8),r(W,tt-32,Z[X].ea,0,8)),F.Za){var ut=_,gt=N-32+16;for(0<v&&(m>=o.za-1?i(ut,gt,Z[X].y[15],4):r(ut,gt,Z[X+1].y,0,4)),d=0;4>d;d++)ut[gt+128+d]=ut[gt+256+d]=ut[gt+384+d]=ut[gt+0+d];for(d=0;16>d;++d,Q<<=2)ut=_,gt=N+lf[d],or[F.Ob[d]](ut,gt),Ga(Q,ht,16*+d,ut,gt)}else if(ut=Wa(m,v,F.Ob[0]),ri[ut](_,N),Q!=0)for(d=0;16>d;++d,Q<<=2)Ga(Q,ht,16*+d,_,N+lf[d]);for(d=F.Gc,ut=Wa(m,v,F.Dd),Ur[ut](k,I),Ur[ut](W,tt),Q=ht,ut=k,gt=I,255&(F=0|d)&&(170&F?sa(Q,256,ut,gt):Ya(Q,256,ut,gt)),F=W,Q=tt,255&(d>>=8)&&(170&d?sa(ht,320,F,Q):Ya(ht,320,F,Q)),v<o.Ub-1&&(r(Z[X].y,0,_,N+480,16),r(Z[X].f,0,k,I+224,8),r(Z[X].ea,0,W,tt+224,8)),d=8*y*o.B,Z=o.sa,X=o.ta+16*m+16*y*o.R,ht=o.qa,F=o.ra+8*m+d,Q=o.Ha,ut=o.Ia+8*m+d,d=0;16>d;++d)r(Z,X+d*o.R,_,N+32*d,16);for(d=0;8>d;++d)r(ht,F+d*o.B,k,I+32*d,8),r(Q,ut+d*o.B,W,tt+32*d,8)}}function ra(o,s,d,m,v,y,_,N,k){var I=[0],W=[0],tt=0,F=k!=null?k.kd:0,Z=k??new Vt;if(o==null||12>d)return 7;Z.data=o,Z.w=s,Z.ha=d,s=[s],d=[d],Z.gb=[Z.gb];t:{var X=s,ht=d,Q=Z.gb;if(n(o!=null),n(ht!=null),n(Q!=null),Q[0]=0,12<=ht[0]&&!e(o,X[0],"RIFF")){if(e(o,X[0]+8,"WEBP")){Q=3;break t}var ut=st(o,X[0]+4);if(12>ut||4294967286<ut){Q=3;break t}if(F&&ut>ht[0]-8){Q=7;break t}Q[0]=ut,X[0]+=12,ht[0]-=12}Q=0}if(Q!=0)return Q;for(ut=0<Z.gb[0],d=d[0];;){t:{var gt=o;ht=s,Q=d;var _t=I,bt=W,Rt=X=[0];if((Ct=tt=[tt])[0]=0,8>Q[0])Q=7;else{if(!e(gt,ht[0],"VP8X")){if(st(gt,ht[0]+4)!=10){Q=3;break t}if(18>Q[0]){Q=7;break t}var It=st(gt,ht[0]+8),oe=1+Pt(gt,ht[0]+12);if(2147483648<=oe*(gt=1+Pt(gt,ht[0]+15))){Q=3;break t}Rt!=null&&(Rt[0]=It),_t!=null&&(_t[0]=oe),bt!=null&&(bt[0]=gt),ht[0]+=18,Q[0]-=18,Ct[0]=1}Q=0}}if(tt=tt[0],X=X[0],Q!=0)return Q;if(ht=!!(2&X),!ut&&tt)return 3;if(y!=null&&(y[0]=!!(16&X)),_!=null&&(_[0]=ht),N!=null&&(N[0]=0),_=I[0],X=W[0],tt&&ht&&k==null){Q=0;break}if(4>d){Q=7;break}if(ut&&tt||!ut&&!tt&&!e(o,s[0],"ALPH")){d=[d],Z.na=[Z.na],Z.P=[Z.P],Z.Sa=[Z.Sa];t:{It=o,Q=s,ut=d;var Ct=Z.gb;_t=Z.na,bt=Z.P,Rt=Z.Sa,oe=22,n(It!=null),n(ut!=null),gt=Q[0];var fe=ut[0];for(n(_t!=null),n(Rt!=null),_t[0]=null,bt[0]=null,Rt[0]=0;;){if(Q[0]=gt,ut[0]=fe,8>fe){Q=7;break t}var nn=st(It,gt+4);if(4294967286<nn){Q=3;break t}var se=8+nn+1&-2;if(oe+=se,0<Ct&&oe>Ct){Q=3;break t}if(!e(It,gt,"VP8 ")||!e(It,gt,"VP8L")){Q=0;break t}if(fe[0]<se){Q=7;break t}e(It,gt,"ALPH")||(_t[0]=It,bt[0]=gt+8,Rt[0]=nn),gt+=se,fe-=se}}if(d=d[0],Z.na=Z.na[0],Z.P=Z.P[0],Z.Sa=Z.Sa[0],Q!=0)break}d=[d],Z.Ja=[Z.Ja],Z.xa=[Z.xa];t:if(Ct=o,Q=s,ut=d,_t=Z.gb[0],bt=Z.Ja,Rt=Z.xa,It=Q[0],gt=!e(Ct,It,"VP8 "),oe=!e(Ct,It,"VP8L"),n(Ct!=null),n(ut!=null),n(bt!=null),n(Rt!=null),8>ut[0])Q=7;else{if(gt||oe){if(Ct=st(Ct,It+4),12<=_t&&Ct>_t-12){Q=3;break t}if(F&&Ct>ut[0]-8){Q=7;break t}bt[0]=Ct,Q[0]+=8,ut[0]-=8,Rt[0]=oe}else Rt[0]=5<=ut[0]&&Ct[It+0]==47&&!(Ct[It+4]>>5),bt[0]=ut[0];Q=0}if(d=d[0],Z.Ja=Z.Ja[0],Z.xa=Z.xa[0],s=s[0],Q!=0)break;if(4294967286<Z.Ja)return 3;if(N==null||ht||(N[0]=Z.xa?2:1),_=[_],X=[X],Z.xa){if(5>d){Q=7;break}N=_,F=X,ht=y,o==null||5>d?o=0:5<=d&&o[s+0]==47&&!(o[s+4]>>5)?(ut=[0],Ct=[0],_t=[0],ct(bt=new D,o,s,d),Cr(bt,ut,Ct,_t)?(N!=null&&(N[0]=ut[0]),F!=null&&(F[0]=Ct[0]),ht!=null&&(ht[0]=_t[0]),o=1):o=0):o=0}else{if(10>d){Q=7;break}N=X,o==null||10>d||!Mo(o,s+3,d-3)?o=0:(F=o[s+0]|o[s+1]<<8|o[s+2]<<16,ht=16383&(o[s+7]<<8|o[s+6]),o=16383&(o[s+9]<<8|o[s+8]),1&F||3<(F>>1&7)||!(F>>4&1)||F>>5>=Z.Ja||!ht||!o?o=0:(_&&(_[0]=ht),N&&(N[0]=o),o=1))}if(!o||(_=_[0],X=X[0],tt&&(I[0]!=_||W[0]!=X)))return 3;k!=null&&(k[0]=Z,k.offset=s-k.w,n(4294967286>s-k.w),n(k.offset==k.ha-d));break}return Q==0||Q==7&&tt&&k==null?(y!=null&&(y[0]|=Z.na!=null&&0<Z.na.length),m!=null&&(m[0]=_),v!=null&&(v[0]=X),0):Q}function Pn(o,s,d){var m=s.width,v=s.height,y=0,_=0,N=m,k=v;if(s.Da=o!=null&&0<o.Da,s.Da&&(N=o.cd,k=o.bd,y=o.v,_=o.j,11>d||(y&=-2,_&=-2),0>y||0>_||0>=N||0>=k||y+N>m||_+k>v))return 0;if(s.v=y,s.j=_,s.va=y+N,s.o=_+k,s.U=N,s.T=k,s.da=o!=null&&0<o.da,s.da){if(!qt(N,k,d=[o.ib],y=[o.hb]))return 0;s.ib=d[0],s.hb=y[0]}return s.ob=o!=null&&o.ob,s.Kb=o==null||!o.Sd,s.da&&(s.ob=s.ib<3*m/4&&s.hb<3*v/4,s.Kb=0),1}function In(o){if(o==null)return 2;if(11>o.S){var s=o.f.RGBA;s.fb+=(o.height-1)*s.A,s.A=-s.A}else s=o.f.kb,o=o.height,s.O+=(o-1)*s.fa,s.fa=-s.fa,s.N+=(o-1>>1)*s.Ab,s.Ab=-s.Ab,s.W+=(o-1>>1)*s.Db,s.Db=-s.Db,s.F!=null&&(s.J+=(o-1)*s.lb,s.lb=-s.lb);return 0}function Fi(o,s,d,m){if(m==null||0>=o||0>=s)return 2;if(d!=null){if(d.Da){var v=d.cd,y=d.bd,_=-2&d.v,N=-2&d.j;if(0>_||0>N||0>=v||0>=y||_+v>o||N+y>s)return 2;o=v,s=y}if(d.da){if(!qt(o,s,v=[d.ib],y=[d.hb]))return 2;o=v[0],s=y[0]}}m.width=o,m.height=s;t:{var k=m.width,I=m.height;if(o=m.S,0>=k||0>=I||!(o>=Wo&&13>o))o=2;else{if(0>=m.Rd&&m.sd==null){_=y=v=s=0;var W=(N=k*hf[o])*I;if(11>o||(y=(I+1)/2*(s=(k+1)/2),o==12&&(_=(v=k)*I)),(I=a(W+2*y+_))==null){o=1;break t}m.sd=I,11>o?((k=m.f.RGBA).eb=I,k.fb=0,k.A=N,k.size=W):((k=m.f.kb).y=I,k.O=0,k.fa=N,k.Fd=W,k.f=I,k.N=0+W,k.Ab=s,k.Cd=y,k.ea=I,k.W=0+W+y,k.Db=s,k.Ed=y,o==12&&(k.F=I,k.J=0+W+2*y),k.Tc=_,k.lb=v)}if(s=1,v=m.S,y=m.width,_=m.height,v>=Wo&&13>v)if(11>v)o=m.f.RGBA,s&=(N=Math.abs(o.A))*(_-1)+y<=o.size,s&=N>=y*hf[v],s&=o.eb!=null;else{o=m.f.kb,N=(y+1)/2,W=(_+1)/2,k=Math.abs(o.fa),I=Math.abs(o.Ab);var tt=Math.abs(o.Db),F=Math.abs(o.lb),Z=F*(_-1)+y;s&=k*(_-1)+y<=o.Fd,s&=I*(W-1)+N<=o.Cd,s=(s&=tt*(W-1)+N<=o.Ed)&k>=y&I>=N&tt>=N,s&=o.y!=null,s&=o.f!=null,s&=o.ea!=null,v==12&&(s&=F>=y,s&=Z<=o.Tc,s&=o.F!=null)}else s=0;o=s?0:2}}return o!=0||d!=null&&d.fd&&(o=In(m)),o}var br=64,ei=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Va=24,ni=32,qe=8,il=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];St("Predictor0","PredictorAdd0"),B.Predictor0=function(){return 4278190080},B.Predictor1=function(o){return o},B.Predictor2=function(o,s,d){return s[d+0]},B.Predictor3=function(o,s,d){return s[d+1]},B.Predictor4=function(o,s,d){return s[d-1]},B.Predictor5=function(o,s,d){return Ut(Ut(o,s[d+1]),s[d+0])},B.Predictor6=function(o,s,d){return Ut(o,s[d-1])},B.Predictor7=function(o,s,d){return Ut(o,s[d+0])},B.Predictor8=function(o,s,d){return Ut(s[d-1],s[d+0])},B.Predictor9=function(o,s,d){return Ut(s[d+0],s[d+1])},B.Predictor10=function(o,s,d){return Ut(Ut(o,s[d-1]),Ut(s[d+0],s[d+1]))},B.Predictor11=function(o,s,d){var m=s[d+0];return 0>=Jt(m>>24&255,o>>24&255,(s=s[d-1])>>24&255)+Jt(m>>16&255,o>>16&255,s>>16&255)+Jt(m>>8&255,o>>8&255,s>>8&255)+Jt(255&m,255&o,255&s)?m:o},B.Predictor12=function(o,s,d){var m=s[d+0];return(pe((o>>24&255)+(m>>24&255)-((s=s[d-1])>>24&255))<<24|pe((o>>16&255)+(m>>16&255)-(s>>16&255))<<16|pe((o>>8&255)+(m>>8&255)-(s>>8&255))<<8|pe((255&o)+(255&m)-(255&s)))>>>0},B.Predictor13=function(o,s,d){var m=s[d-1];return(Xt((o=Ut(o,s[d+0]))>>24&255,m>>24&255)<<24|Xt(o>>16&255,m>>16&255)<<16|Xt(o>>8&255,m>>8&255)<<8|Xt(255&o,255&m))>>>0};var wr=B.PredictorAdd0;B.PredictorAdd1=xe,St("Predictor2","PredictorAdd2"),St("Predictor3","PredictorAdd3"),St("Predictor4","PredictorAdd4"),St("Predictor5","PredictorAdd5"),St("Predictor6","PredictorAdd6"),St("Predictor7","PredictorAdd7"),St("Predictor8","PredictorAdd8"),St("Predictor9","PredictorAdd9"),St("Predictor10","PredictorAdd10"),St("Predictor11","PredictorAdd11"),St("Predictor12","PredictorAdd12"),St("Predictor13","PredictorAdd13");var yr=B.PredictorAdd2;zt("ColorIndexInverseTransform","MapARGB","32b",function(o){return o>>8&255},function(o){return o}),zt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(o){return o},function(o){return o>>8&255});var ia,Za=B.ColorIndexInverseTransform,aa=B.MapARGB,oa=B.VP8LColorIndexInverseTransformAlpha,Ei=B.MapAlpha,Ci=B.VP8LPredictorsAdd=[];Ci.length=16,(B.VP8LPredictors=[]).length=16,(B.VP8LPredictorsAdd_C=[]).length=16,(B.VP8LPredictors_C=[]).length=16;var Br,$a,Dn,_r,Fe,Ee,He,We,zr,sa,xr,Ya,Fh,Eh,Ch,Oh,Th,Dh,Mh,Rh,jh,Bh,zh,Uh,Ka,qh,Hh,Wh,Gh=a(511),Vh=a(2041),Zh=a(225),$h=a(767),Yh=0,al=Vh,Ho=Zh,Mn=$h,Kn=Gh,Wo=0,Go=1,Kh=2,Vo=3,Zo=4,ol=5,Xh=6,sl=7,ll=8,$o=9,hl=10,l1=[2,3,7],h1=[3,3,11],Jh=[280,256,256,256,40],f1=[0,1,1,1,0],c1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],u1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],d1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],p1=8,fl=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],cl=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Xa=null,g1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],m1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Qh=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],v1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],b1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],w1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],y1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ri=[],or=[],Ur=[],_1=1,tf=2,ii=[],Xn=[];ar("UpsampleRgbLinePair",jr,3),ar("UpsampleBgrLinePair",ea,3),ar("UpsampleRgbaLinePair",qo,4),ar("UpsampleBgraLinePair",na,4),ar("UpsampleArgbLinePair",Uo,4),ar("UpsampleRgba4444LinePair",xn,2),ar("UpsampleRgb565LinePair",Ha,2);var x1=B.UpsampleRgbLinePair,A1=B.UpsampleBgrLinePair,ef=B.UpsampleRgbaLinePair,nf=B.UpsampleBgraLinePair,rf=B.UpsampleArgbLinePair,af=B.UpsampleRgba4444LinePair,N1=B.UpsampleRgb565LinePair,Yo=16,Ko=1<<Yo-1,Ja=-227,ul=482,of=6,L1=(256<<of)-1,sf=0,S1=a(256),k1=a(256),P1=a(256),I1=a(256),F1=a(ul-Ja),E1=a(ul-Ja);Yn("YuvToRgbRow",jr,3),Yn("YuvToBgrRow",ea,3),Yn("YuvToRgbaRow",qo,4),Yn("YuvToBgraRow",na,4),Yn("YuvToArgbRow",Uo,4),Yn("YuvToRgba4444Row",xn,2),Yn("YuvToRgb565Row",Ha,2);var lf=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Xo=[0,2,8],C1=[8,7,6,4,4,2,2,2,1,1,1,1],O1=1;this.WebPDecodeRGBA=function(o,s,d,m,v){var y=Go,_=new Tt,N=new Se;_.ba=N,N.S=y,N.width=[N.width],N.height=[N.height];var k=N.width,I=N.height,W=new $t;if(W==null||o==null)var tt=2;else n(W!=null),tt=ra(o,s,d,W.width,W.height,W.Pd,W.Qd,W.format,null);if(tt!=0?k=0:(k!=null&&(k[0]=W.width[0]),I!=null&&(I[0]=W.height[0]),k=1),k){N.width=N.width[0],N.height=N.height[0],m!=null&&(m[0]=N.width),v!=null&&(v[0]=N.height);t:{if(m=new Yi,(v=new Vt).data=o,v.w=s,v.ha=d,v.kd=1,s=[0],n(v!=null),((o=ra(v.data,v.w,v.ha,null,null,null,s,null,v))==0||o==7)&&s[0]&&(o=4),(s=o)==0){if(n(_!=null),m.data=v.data,m.w=v.w+v.offset,m.ha=v.ha-v.offset,m.put=Wt,m.ac=dr,m.bc=Er,m.ma=_,v.xa){if((o=wi())==null){_=1;break t}if((function(F,Z){var X=[0],ht=[0],Q=[0];e:for(;;){if(F==null)return 0;if(Z==null)return F.a=2,0;if(F.l=Z,F.a=0,ct(F.m,Z.data,Z.w,Z.ha),!Cr(F.m,X,ht,Q)){F.a=3;break e}if(F.xb=tf,Z.width=X[0],Z.height=ht[0],!gr(X[0],ht[0],1,F,null))break e;return 1}return n(F.a!=0),0})(o,m)){if(m=(s=Fi(m.width,m.height,_.Oa,_.ba))==0){e:{m=o;n:for(;;){if(m==null){m=0;break e}if(n(m.s.yc!=null),n(m.s.Ya!=null),n(0<m.s.Wb),n((d=m.l)!=null),n((v=d.ma)!=null),m.xb!=0){if(m.ca=v.ba,m.tb=v.tb,n(m.ca!=null),!Pn(v.Oa,d,Vo)){m.a=2;break n}if(!yi(m,d.width)||d.da)break n;if((d.da||te(m.ca.S))&&Ii(),11>m.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),m.ca.f.kb.F!=null&&Ii()),m.Pb&&0<m.s.ua&&m.s.vb.X==null&&!M(m.s.vb,m.s.Wa.Xa)){m.a=1;break n}m.xb=0}if(!rr(m,m.V,m.Ba,m.c,m.i,d.o,Yr))break n;v.Dc=m.Ma,m=1;break e}n(m.a!=0),m=0}m=!m}m&&(s=o.a)}else s=o.a}else{if((o=new qs)==null){_=1;break t}if(o.Fa=v.na,o.P=v.P,o.qc=v.Sa,Ro(o,m)){if((s=Fi(m.width,m.height,_.Oa,_.ba))==0){if(o.Aa=0,d=_.Oa,n((v=o)!=null),d!=null){if(0<(k=0>(k=d.Md)?0:100<k?255:255*k/100)){for(I=W=0;4>I;++I)12>(tt=v.pb[I]).lc&&(tt.ia=k*C1[0>tt.lc?0:tt.lc]>>3),W|=tt.ia;W&&(alert("todo:VP8InitRandom"),v.ia=1)}v.Ga=d.Id,100<v.Ga?v.Ga=100:0>v.Ga&&(v.Ga=0)}(function(F,Z){if(F==null)return 0;if(Z==null)return Ke(F,2,"NULL VP8Io parameter in VP8Decode().");if(!F.cb&&!Ro(F,Z))return 0;if(n(F.cb),Z.ac==null||Z.ac(Z)){Z.ob&&(F.L=0);var X=Xo[F.L];if(F.L==2?(F.yb=0,F.zb=0):(F.yb=Z.v-X>>4,F.zb=Z.j-X>>4,0>F.yb&&(F.yb=0),0>F.zb&&(F.zb=0)),F.Va=Z.o+15+X>>4,F.Hb=Z.va+15+X>>4,F.Hb>F.za&&(F.Hb=F.za),F.Va>F.Ub&&(F.Va=F.Ub),0<F.L){var ht=F.ed;for(X=0;4>X;++X){var Q;if(F.Qa.Cb){var ut=F.Qa.Lb[X];F.Qa.Fb||(ut+=ht.Tb)}else ut=ht.Tb;for(Q=0;1>=Q;++Q){var gt=F.gd[X][Q],_t=ut;if(ht.Pc&&(_t+=ht.vd[0],Q&&(_t+=ht.od[0])),0<(_t=0>_t?0:63<_t?63:_t)){var bt=_t;0<ht.wb&&(bt=4<ht.wb?bt>>2:bt>>1)>9-ht.wb&&(bt=9-ht.wb),1>bt&&(bt=1),gt.dd=bt,gt.tc=2*_t+bt,gt.ld=40<=_t?2:15<=_t?1:0}else gt.tc=0;gt.La=Q}}}X=0}else Ke(F,6,"Frame setup failed"),X=F.a;if(X=X==0){if(X){F.$c=0,0<F.Aa||(F.Ic=O1);e:{X=F.Ic,ht=4*(bt=F.za);var Rt=32*bt,It=bt+1,oe=0<F.L?bt*(0<F.Aa?2:1):0,Ct=(F.Aa==2?2:1)*bt;if((gt=ht+832+(Q=3*(16*X+Xo[F.L])/2*Rt)+(ut=F.Fa!=null&&0<F.Fa.length?F.Kc.c*F.Kc.i:0))!=gt)X=0;else{if(gt>F.Vb){if(F.Vb=0,F.Ec=a(gt),F.Fc=0,F.Ec==null){X=Ke(F,1,"no memory during frame initialization.");break e}F.Vb=gt}gt=F.Ec,_t=F.Fc,F.Ac=gt,F.Bc=_t,_t+=ht,F.Gd=h(Rt,To),F.Hd=0,F.rb=h(It+1,Ia),F.sb=1,F.wa=oe?h(oe,$n):null,F.Y=0,F.D.Nb=0,F.D.wa=F.wa,F.D.Y=F.Y,0<F.Aa&&(F.D.Y+=bt),n(!0),F.oc=gt,F.pc=_t,_t+=832,F.ya=h(Ct,Fa),F.aa=0,F.D.ya=F.ya,F.D.aa=F.aa,F.Aa==2&&(F.D.aa+=bt),F.R=16*bt,F.B=8*bt,bt=(Rt=Xo[F.L])*F.R,Rt=Rt/2*F.B,F.sa=gt,F.ta=_t+bt,F.qa=F.sa,F.ra=F.ta+16*X*F.R+Rt,F.Ha=F.qa,F.Ia=F.ra+8*X*F.B+Rt,F.$c=0,_t+=Q,F.mb=ut?gt:null,F.nb=ut?_t:null,n(_t+ut<=F.Fc+F.Vb),_i(F),i(F.Ac,F.Bc,0,ht),X=1}}if(X){if(Z.ka=0,Z.y=F.sa,Z.O=F.ta,Z.f=F.qa,Z.N=F.ra,Z.ea=F.Ha,Z.Vd=F.Ia,Z.fa=F.R,Z.Rc=F.B,Z.F=null,Z.J=0,!Yh){for(X=-255;255>=X;++X)Gh[255+X]=0>X?-X:X;for(X=-1020;1020>=X;++X)Vh[1020+X]=-128>X?-128:127<X?127:X;for(X=-112;112>=X;++X)Zh[112+X]=-16>X?-16:15<X?15:X;for(X=-255;510>=X;++X)$h[255+X]=0>X?0:255<X?255:X;Yh=1}He=Bo,We=Ws,sa=Gs,xr=mr,Ya=jo,zr=Hs,Fh=c,Eh=b,Ch=Y,Oh=pt,Th=C,Dh=z,Mh=wt,Rh=Et,jh=Ba,Bh=Pi,zh=za,Uh=Ua,or[0]=Js,or[1]=Ca,or[2]=Ks,or[3]=Xs,or[4]=Qs,or[5]=Dr,or[6]=Tr,or[7]=tl,or[8]=Ki,or[9]=el,ri[0]=Xr,ri[1]=Zs,ri[2]=$s,ri[3]=Oa,ri[4]=Ys,ri[5]=Ni,ri[6]=Ta,Ur[0]=Ji,Ur[1]=Vs,Ur[2]=Da,Ur[3]=Li,Ur[4]=Ma,Ur[5]=nl,Ur[6]=Ra,X=1}else X=0}X&&(X=(function(fe,nn){for(fe.M=0;fe.M<fe.Va;++fe.M){var se,Ot=fe.Jc[fe.M&fe.Xb],Lt=fe.m,Ge=fe;for(se=0;se<Ge.za;++se){var ee=Lt,ue=Ge,Oe=ue.Ac,un=ue.Bc+4*se,An=ue.zc,Re=ue.ya[ue.aa+se];if(ue.Qa.Bb?Re.$b=mt(ee,ue.Pa.jb[0])?2+mt(ee,ue.Pa.jb[2]):mt(ee,ue.Pa.jb[1]):Re.$b=0,ue.kc&&(Re.Ad=mt(ee,ue.Bd)),Re.Za=!mt(ee,145)+0,Re.Za){var vn=Re.Ob,Nn=0;for(ue=0;4>ue;++ue){var rn,de=An[0+ue];for(rn=0;4>rn;++rn){de=b1[Oe[un+rn]][de];for(var ye=Qh[mt(ee,de[0])];0<ye;)ye=Qh[2*ye+mt(ee,de[ye])];de=-ye,Oe[un+rn]=de}r(vn,Nn,Oe,un,4),Nn+=4,An[0+ue]=de}}else de=mt(ee,156)?mt(ee,128)?1:3:mt(ee,163)?2:0,Re.Ob[0]=de,i(Oe,un,de,4),i(An,0,de,4);Re.Dd=mt(ee,142)?mt(ee,114)?mt(ee,183)?1:3:2:0}if(Ge.m.Ka)return Ke(fe,7,"Premature end-of-partition0 encountered.");for(;fe.ja<fe.za;++fe.ja){if(Ge=Ot,ee=(Lt=fe).rb[Lt.sb-1],Oe=Lt.rb[Lt.sb+Lt.ja],se=Lt.ya[Lt.aa+Lt.ja],un=Lt.kc?se.Ad:0)ee.la=Oe.la=0,se.Za||(ee.Na=Oe.Na=0),se.Hc=0,se.Gc=0,se.ia=0;else{var je,_e;if(ee=Oe,Oe=Ge,un=Lt.Pa.Xc,An=Lt.ya[Lt.aa+Lt.ja],Re=Lt.pb[An.$b],ue=An.ad,vn=0,Nn=Lt.rb[Lt.sb-1],de=rn=0,i(ue,vn,0,384),An.Za)var dn=0,sr=un[3];else{ye=a(16);var Ve=ee.Na+Nn.Na;if(Ve=Xa(Oe,un[1],Ve,Re.Eb,0,ye,0),ee.Na=Nn.Na=(0<Ve)+0,1<Ve)He(ye,0,ue,vn);else{var Fn=ye[0]+3>>3;for(ye=0;256>ye;ye+=16)ue[vn+ye]=Fn}dn=1,sr=un[0]}var ke=15&ee.la,an=15&Nn.la;for(ye=0;4>ye;++ye){var Rn=1&an;for(Fn=_e=0;4>Fn;++Fn)ke=ke>>1|(Rn=(Ve=Xa(Oe,sr,Ve=Rn+(1&ke),Re.Sc,dn,ue,vn))>dn)<<7,_e=_e<<2|(3<Ve?3:1<Ve?2:ue[vn+0]!=0),vn+=16;ke>>=4,an=an>>1|Rn<<7,rn=(rn<<8|_e)>>>0}for(sr=ke,dn=an>>4,je=0;4>je;je+=2){for(_e=0,ke=ee.la>>4+je,an=Nn.la>>4+je,ye=0;2>ye;++ye){for(Rn=1&an,Fn=0;2>Fn;++Fn)Ve=Rn+(1&ke),ke=ke>>1|(Rn=0<(Ve=Xa(Oe,un[2],Ve,Re.Qc,0,ue,vn)))<<3,_e=_e<<2|(3<Ve?3:1<Ve?2:ue[vn+0]!=0),vn+=16;ke>>=2,an=an>>1|Rn<<5}de|=_e<<4*je,sr|=ke<<4<<je,dn|=(240&an)<<je}ee.la=sr,Nn.la=dn,An.Hc=rn,An.Gc=de,An.ia=43690&de?0:Re.ia,un=!(rn|de)}if(0<Lt.L&&(Lt.wa[Lt.Y+Lt.ja]=Lt.gd[se.$b][se.Za],Lt.wa[Lt.Y+Lt.ja].La|=!un),Ge.Ka)return Ke(fe,7,"Premature end-of-file encountered.")}if(_i(fe),Lt=nn,Ge=1,se=(Ot=fe).D,ee=0<Ot.L&&Ot.M>=Ot.zb&&Ot.M<=Ot.Va,Ot.Aa==0)e:{if(se.M=Ot.M,se.uc=ee,ti(Ot,se),Ge=1,se=(_e=Ot.D).Nb,ee=(de=Xo[Ot.L])*Ot.R,Oe=de/2*Ot.B,ye=16*se*Ot.R,Fn=8*se*Ot.B,un=Ot.sa,An=Ot.ta-ee+ye,Re=Ot.qa,ue=Ot.ra-Oe+Fn,vn=Ot.Ha,Nn=Ot.Ia-Oe+Fn,an=(ke=_e.M)==0,rn=ke>=Ot.Va-1,Ot.Aa==2&&ti(Ot,_e),_e.uc)for(Rn=(Ve=Ot).D.M,n(Ve.D.uc),_e=Ve.yb;_e<Ve.Hb;++_e){dn=_e,sr=Rn;var Ln=(jn=(pn=Ve).D).Nb;je=pn.R;var jn=jn.wa[jn.Y+dn],Bn=pn.sa,En=pn.ta+16*Ln*je+16*dn,zn=jn.dd,Ce=jn.tc;if(Ce!=0)if(n(3<=Ce),pn.L==1)0<dn&&Bh(Bn,En,je,Ce+4),jn.La&&Uh(Bn,En,je,Ce),0<sr&&jh(Bn,En,je,Ce+4),jn.La&&zh(Bn,En,je,Ce);else{var Un=pn.B,lr=pn.qa,Oi=pn.ra+8*Ln*Un+8*dn,qr=pn.Ha,pn=pn.Ia+8*Ln*Un+8*dn;Ln=jn.ld,0<dn&&(Eh(Bn,En,je,Ce+4,zn,Ln),Oh(lr,Oi,qr,pn,Un,Ce+4,zn,Ln)),jn.La&&(Dh(Bn,En,je,Ce,zn,Ln),Rh(lr,Oi,qr,pn,Un,Ce,zn,Ln)),0<sr&&(Fh(Bn,En,je,Ce+4,zn,Ln),Ch(lr,Oi,qr,pn,Un,Ce+4,zn,Ln)),jn.La&&(Th(Bn,En,je,Ce,zn,Ln),Mh(lr,Oi,qr,pn,Un,Ce,zn,Ln))}}if(Ot.ia&&alert("todo:DitherRow"),Lt.put!=null){if(_e=16*ke,ke=16*(ke+1),an?(Lt.y=Ot.sa,Lt.O=Ot.ta+ye,Lt.f=Ot.qa,Lt.N=Ot.ra+Fn,Lt.ea=Ot.Ha,Lt.W=Ot.Ia+Fn):(_e-=de,Lt.y=un,Lt.O=An,Lt.f=Re,Lt.N=ue,Lt.ea=vn,Lt.W=Nn),rn||(ke-=de),ke>Lt.o&&(ke=Lt.o),Lt.F=null,Lt.J=null,Ot.Fa!=null&&0<Ot.Fa.length&&_e<ke&&(Lt.J=cn(Ot,Lt,_e,ke-_e),Lt.F=Ot.mb,Lt.F==null&&Lt.F.length==0)){Ge=Ke(Ot,3,"Could not decode alpha data.");break e}_e<Lt.j&&(de=Lt.j-_e,_e=Lt.j,n(!(1&de)),Lt.O+=Ot.R*de,Lt.N+=Ot.B*(de>>1),Lt.W+=Ot.B*(de>>1),Lt.F!=null&&(Lt.J+=Lt.width*de)),_e<ke&&(Lt.O+=Lt.v,Lt.N+=Lt.v>>1,Lt.W+=Lt.v>>1,Lt.F!=null&&(Lt.J+=Lt.v),Lt.ka=_e-Lt.j,Lt.U=Lt.va-Lt.v,Lt.T=ke-_e,Ge=Lt.put(Lt))}se+1!=Ot.Ic||rn||(r(Ot.sa,Ot.ta-ee,un,An+16*Ot.R,ee),r(Ot.qa,Ot.ra-Oe,Re,ue+8*Ot.B,Oe),r(Ot.Ha,Ot.Ia-Oe,vn,Nn+8*Ot.B,Oe))}if(!Ge)return Ke(fe,6,"Output aborted.")}return 1})(F,Z)),Z.bc!=null&&Z.bc(Z),X&=1}return X?(F.cb=0,X):0})(o,m)||(s=o.a)}}else s=o.a}s==0&&_.Oa!=null&&_.Oa.fd&&(s=In(_.ba))}_=s}y=_!=0?null:11>y?N.f.RGBA.eb:N.f.kb.y}else y=null;return y};var hf=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(B,et){for(var S="",O=0;O<4;O++)S+=String.fromCharCode(B[et++]);return S}function g(B,et){return B[et+0]|B[et+1]<<8}function w(B,et){return(B[et+0]|B[et+1]<<8|B[et+2]<<16)>>>0}function A(B,et){return(B[et+0]|B[et+1]<<8|B[et+2]<<16|B[et+3]<<24)>>>0}new f;var p=[0],E=[0],P=[],T=new f,L=t,H=(function(B,et){var S={},O=0,G=!1,q=0,it=0;if(S.frames=[],!(function(x,D){for(var R=0;R<4;R++)if(x[D+R]!="RIFF".charCodeAt(R))return!0;return!1})(B,et)){for(A(B,et+=4),et+=8;et<B.length;){var ft=u(B,et),dt=A(B,et+=4);et+=4;var nt=dt+(1&dt);switch(ft){case"VP8 ":case"VP8L":S.frames[O]===void 0&&(S.frames[O]={}),(yt=S.frames[O]).src_off=G?it:et-8,yt.src_size=q+dt+8,O++,G&&(G=!1,q=0,it=0);break;case"VP8X":(yt=S.header={}).feature_flags=B[et];var ct=et+4;yt.canvas_width=1+w(B,ct),ct+=3,yt.canvas_height=1+w(B,ct),ct+=3;break;case"ALPH":G=!0,q=nt+8,it=et-8;break;case"ANIM":(yt=S.header).bgcolor=A(B,et),ct=et+4,yt.loop_count=g(B,ct),ct+=2;break;case"ANMF":var Nt,yt;(yt=S.frames[O]={}).offset_x=2*w(B,et),et+=3,yt.offset_y=2*w(B,et),et+=3,yt.width=1+w(B,et),et+=3,yt.height=1+w(B,et),et+=3,yt.duration=w(B,et),et+=3,Nt=B[et++],yt.dispose=1&Nt,yt.blend=Nt>>1&1}ft!="ANMF"&&(et+=nt)}return S}})(L,0);H.response=L,H.rgbaoutput=!0,H.dataurl=!1;var U=H.header?H.header:null,j=H.frames?H.frames:null;if(U){U.loop_counter=U.loop_count,p=[U.canvas_height],E=[U.canvas_width];for(var rt=0;rt<j.length&&j[rt].blend!=0;rt++);}var vt=j[0],ot=T.WebPDecodeRGBA(L,vt.src_off,vt.src_size,E,p);vt.rgba=ot,vt.imgwidth=E[0],vt.imgheight=p[0];for(var K=0;K<E[0]*p[0]*4;K++)P[K]=ot[K];return this.width=E,this.height=p,this.data=P,this}(function(t){var n,e,r,i,a,h,l,f,u,g=function(x){return x=x||{},this.isStrokeTransparent=x.isStrokeTransparent||!1,this.strokeOpacity=x.strokeOpacity||1,this.strokeStyle=x.strokeStyle||"#000000",this.fillStyle=x.fillStyle||"#000000",this.isFillTransparent=x.isFillTransparent||!1,this.fillOpacity=x.fillOpacity||1,this.font=x.font||"10px sans-serif",this.textBaseline=x.textBaseline||"alphabetic",this.textAlign=x.textAlign||"left",this.lineWidth=x.lineWidth||1,this.lineJoin=x.lineJoin||"miter",this.lineCap=x.lineCap||"butt",this.path=x.path||[],this.transform=x.transform!==void 0?x.transform.clone():new f,this.globalCompositeOperation=x.globalCompositeOperation||"normal",this.globalAlpha=x.globalAlpha||1,this.clip_path=x.clip_path||[],this.currentPoint=x.currentPoint||new h,this.miterLimit=x.miterLimit||10,this.lastPoint=x.lastPoint||new h,this.lineDashOffset=x.lineDashOffset||0,this.lineDash=x.lineDash||[],this.margin=x.margin||[0,0,0,0],this.prevPageLastElemOffset=x.prevPageLastElemOffset||0,this.ignoreClearRect=typeof x.ignoreClearRect!="boolean"||x.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new w(this),n=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,h=this.internal.Point,l=this.internal.Rectangle,f=this.internal.Matrix,u=new g}]);var w=function(x){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var D=x;Object.defineProperty(this,"pdf",{get:function(){return D}});var R=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return R},set:function(st){R=!!st}});var V=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return V},set:function(st){V=!!st}});var $=0;Object.defineProperty(this,"posX",{get:function(){return $},set:function(st){isNaN(st)||($=st)}});var J=0;Object.defineProperty(this,"posY",{get:function(){return J},set:function(st){isNaN(st)||(J=st)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(st){var M;typeof st=="number"?M=[st,st,st,st]:((M=new Array(4))[0]=st[0],M[1]=st.length>=2?st[1]:M[0],M[2]=st.length>=3?st[2]:M[0],M[3]=st.length>=4?st[3]:M[1]),u.margin=M}});var lt=!1;Object.defineProperty(this,"autoPaging",{get:function(){return lt},set:function(st){lt=st}});var at=0;Object.defineProperty(this,"lastBreak",{get:function(){return at},set:function(st){at=st}});var mt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return mt},set:function(st){mt=st}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(st){st instanceof g&&(u=st)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(st){u.path=st}});var At=[];Object.defineProperty(this,"ctxStack",{get:function(){return At},set:function(st){At=st}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(st){var M;M=A(st),this.ctx.fillStyle=M.style,this.ctx.isFillTransparent=M.a===0,this.ctx.fillOpacity=M.a,this.pdf.setFillColor(M.r,M.g,M.b,{a:M.a}),this.pdf.setTextColor(M.r,M.g,M.b,{a:M.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(st){var M=A(st);this.ctx.strokeStyle=M.style,this.ctx.isStrokeTransparent=M.a===0,this.ctx.strokeOpacity=M.a,M.a===0?this.pdf.setDrawColor(255,255,255):(M.a,this.pdf.setDrawColor(M.r,M.g,M.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(st){["butt","round","square"].indexOf(st)!==-1&&(this.ctx.lineCap=st,this.pdf.setLineCap(st))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(st){isNaN(st)||(this.ctx.lineWidth=st,this.pdf.setLineWidth(st))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(st){["bevel","round","miter"].indexOf(st)!==-1&&(this.ctx.lineJoin=st,this.pdf.setLineJoin(st))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(st){isNaN(st)||(this.ctx.miterLimit=st,this.pdf.setMiterLimit(st))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(st){this.ctx.textBaseline=st}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(st){["right","end","center","left","start"].indexOf(st)!==-1&&(this.ctx.textAlign=st)}});var kt=null,Pt=null;Object.defineProperty(this,"fontFaces",{get:function(){return Pt},set:function(st){kt=null,Pt=st}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(st){var M;if(this.ctx.font=st,(M=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(st))!==null){var le=M[1];M[2];var ne=M[3],qt=M[4];M[5];var xt=M[6],jt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(qt)[2];qt=Math.floor(jt==="px"?parseFloat(qt)*this.pdf.internal.scaleFactor:jt==="em"?parseFloat(qt)*this.pdf.getFontSize():parseFloat(qt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(qt);var St=(function(Gt){var zt,Ie,ge=[],Mt=Gt.trim();if(Mt==="")return bh;if(Mt in Su)return[Su[Mt]];for(;Mt!=="";){switch(Ie=null,zt=(Mt=Pu(Mt)).charAt(0)){case'"':case"'":Ie=bd(Mt.substring(1),zt);break;default:Ie=wd(Mt)}if(Ie===null||(ge.push(Ie[0]),(Mt=Pu(Ie[1]))!==""&&Mt.charAt(0)!==","))return bh;Mt=Mt.replace(/^,/,"")}return ge})(xt);if(this.fontFaces){var re=(function(Gt,zt){if(kt===null){var Ie=(function(ge){var Mt=[];return Object.keys(ge).forEach(function(Qt){ge[Qt].forEach(function(Le){var Ht=null;switch(Le){case"bold":Ht={family:Qt,weight:"bold"};break;case"italic":Ht={family:Qt,style:"italic"};break;case"bolditalic":Ht={family:Qt,weight:"bold",style:"italic"};break;case"":case"normal":Ht={family:Qt}}Ht!==null&&(Ht.ref={name:Qt,style:Le},Mt.push(Ht))})}),Mt})(Gt.getFontList());kt=(function(ge){for(var Mt={},Qt=0;Qt<ge.length;++Qt){var Le=vh(ge[Qt]),Ht=Le.family,he=Le.stretch,te=Le.style,ze=Le.weight;Mt[Ht]=Mt[Ht]||{},Mt[Ht][he]=Mt[Ht][he]||{},Mt[Ht][he][te]=Mt[Ht][he][te]||{},Mt[Ht][he][te][ze]=Le}return Mt})(Ie.concat(zt))}return kt})(this.pdf,this.fontFaces),Ut=St.map(function(Gt){return{family:Gt,stretch:"normal",weight:ne,style:le}}),pe=(function(Gt,zt,Ie){for(var ge=(Ie=Ie||{}).defaultFontFamily||"times",Mt=Object.assign({},vd,Ie.genericFontFamilies||{}),Qt=null,Le=null,Ht=0;Ht<zt.length;++Ht)if(Mt[(Qt=vh(zt[Ht])).family]&&(Qt.family=Mt[Qt.family]),Gt.hasOwnProperty(Qt.family)){Le=Gt[Qt.family];break}if(!(Le=Le||Gt[ge]))throw new Error("Could not find a font-family for the rule '"+ku(Qt)+"' and default family '"+ge+"'.");if(Le=(function(he,te){if(te[he])return te[he];var ze=Nh[he],Qe=ze<=Nh.normal?-1:1,Se=Lu(te,Xu,ze,Qe);if(!Se)throw new Error("Could not find a matching font-stretch value for "+he);return Se})(Qt.stretch,Le),Le=(function(he,te){if(te[he])return te[he];for(var ze=Ku[he],Qe=0;Qe<ze.length;++Qe)if(te[ze[Qe]])return te[ze[Qe]];throw new Error("Could not find a matching font-style for "+he)})(Qt.style,Le),!(Le=(function(he,te){if(te[he])return te[he];if(he===400&&te[500])return te[500];if(he===500&&te[400])return te[400];var ze=md[he],Qe=Lu(te,Ju,ze,he<400?-1:1);if(!Qe)throw new Error("Could not find a matching font-weight for value "+he);return Qe})(Qt.weight,Le)))throw new Error("Failed to resolve a font for the rule '"+ku(Qt)+"'.");return Le})(re,Ut);this.pdf.setFont(pe.ref.name,pe.ref.style)}else{var Xt="";(ne==="bold"||parseInt(ne,10)>=700||le==="bold")&&(Xt="bold"),le==="italic"&&(Xt+="italic"),Xt.length===0&&(Xt="normal");for(var Jt="",xe={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ie=0;ie<St.length;ie++){if(this.pdf.internal.getFont(St[ie],Xt,{noFallback:!0,disableWarning:!0})!==void 0){Jt=St[ie];break}if(Xt==="bolditalic"&&this.pdf.internal.getFont(St[ie],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Jt=St[ie],Xt="bold";else if(this.pdf.internal.getFont(St[ie],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Jt=St[ie],Xt="normal";break}}if(Jt===""){for(var Bt=0;Bt<St.length;Bt++)if(xe[St[Bt]]){Jt=xe[St[Bt]];break}}Jt=Jt===""?"Times":Jt,this.pdf.setFont(Jt,Xt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(st){this.ctx.globalCompositeOperation=st}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(st){this.ctx.globalAlpha=st}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(st){this.ctx.lineDashOffset=st,yt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(st){this.ctx.lineDash=st,yt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(st){this.ctx.ignoreClearRect=!!st}})};w.prototype.setLineDash=function(x){this.lineDash=x},w.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},w.prototype.fill=function(){j.call(this,"fill",!1)},w.prototype.stroke=function(){j.call(this,"stroke",!1)},w.prototype.beginPath=function(){this.path=[{type:"begin"}]},w.prototype.moveTo=function(x,D){if(isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var R=this.ctx.transform.applyToPoint(new h(x,D));this.path.push({type:"mt",x:R.x,y:R.y}),this.ctx.lastPoint=new h(x,D)},w.prototype.closePath=function(){var x=new h(0,0),D=0;for(D=this.path.length-1;D!==-1;D--)if(this.path[D].type==="begin"&&Ne(this.path[D+1])==="object"&&typeof this.path[D+1].x=="number"){x=new h(this.path[D+1].x,this.path[D+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new h(x.x,x.y)},w.prototype.lineTo=function(x,D){if(isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var R=this.ctx.transform.applyToPoint(new h(x,D));this.path.push({type:"lt",x:R.x,y:R.y}),this.ctx.lastPoint=new h(R.x,R.y)},w.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),j.call(this,null,!0)},w.prototype.quadraticCurveTo=function(x,D,R,V){if(isNaN(R)||isNaN(V)||isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var $=this.ctx.transform.applyToPoint(new h(R,V)),J=this.ctx.transform.applyToPoint(new h(x,D));this.path.push({type:"qct",x1:J.x,y1:J.y,x:$.x,y:$.y}),this.ctx.lastPoint=new h($.x,$.y)},w.prototype.bezierCurveTo=function(x,D,R,V,$,J){if(isNaN($)||isNaN(J)||isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var lt=this.ctx.transform.applyToPoint(new h($,J)),at=this.ctx.transform.applyToPoint(new h(x,D)),mt=this.ctx.transform.applyToPoint(new h(R,V));this.path.push({type:"bct",x1:at.x,y1:at.y,x2:mt.x,y2:mt.y,x:lt.x,y:lt.y}),this.ctx.lastPoint=new h(lt.x,lt.y)},w.prototype.arc=function(x,D,R,V,$,J){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V)||isNaN($))throw Pe.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(J=!!J,!this.ctx.transform.isIdentity){var lt=this.ctx.transform.applyToPoint(new h(x,D));x=lt.x,D=lt.y;var at=this.ctx.transform.applyToPoint(new h(0,R)),mt=this.ctx.transform.applyToPoint(new h(0,0));R=Math.sqrt(Math.pow(at.x-mt.x,2)+Math.pow(at.y-mt.y,2))}Math.abs($-V)>=2*Math.PI&&(V=0,$=2*Math.PI),this.path.push({type:"arc",x,y:D,radius:R,startAngle:V,endAngle:$,counterclockwise:J})},w.prototype.arcTo=function(x,D,R,V,$){throw new Error("arcTo not implemented.")},w.prototype.rect=function(x,D,R,V){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,D),this.lineTo(x+R,D),this.lineTo(x+R,D+V),this.lineTo(x,D+V),this.lineTo(x,D),this.lineTo(x+R,D),this.lineTo(x,D)},w.prototype.fillRect=function(x,D,R,V){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var $={};this.lineCap!=="butt"&&($.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&($.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,D,R,V),this.fill(),$.hasOwnProperty("lineCap")&&(this.lineCap=$.lineCap),$.hasOwnProperty("lineJoin")&&(this.lineJoin=$.lineJoin)}},w.prototype.strokeRect=function(x,D,R,V){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");E.call(this)||(this.beginPath(),this.rect(x,D,R,V),this.stroke())},w.prototype.clearRect=function(x,D,R,V){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V))throw Pe.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,D,R,V))},w.prototype.save=function(x){x=typeof x!="boolean"||x;for(var D=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R<this.pdf.internal.getNumberOfPages();R++)this.pdf.setPage(R+1),this.pdf.internal.out("q");if(this.pdf.setPage(D),x){this.ctx.fontSize=this.pdf.internal.getFontSize();var V=new g(this.ctx);this.ctxStack.push(this.ctx),this.ctx=V}},w.prototype.restore=function(x){x=typeof x!="boolean"||x;for(var D=this.pdf.internal.getCurrentPageInfo().pageNumber,R=0;R<this.pdf.internal.getNumberOfPages();R++)this.pdf.setPage(R+1),this.pdf.internal.out("Q");this.pdf.setPage(D),x&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},w.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var A=function(x){var D,R,V,$;if(x.isCanvasGradient===!0&&(x=x.getColor()),!x)return{r:0,g:0,b:0,a:0,style:x};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(x))D=0,R=0,V=0,$=0;else{var J=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(x);if(J!==null)D=parseInt(J[1]),R=parseInt(J[2]),V=parseInt(J[3]),$=1;else if((J=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(x))!==null)D=parseInt(J[1]),R=parseInt(J[2]),V=parseInt(J[3]),$=parseFloat(J[4]);else{if($=1,typeof x=="string"&&x.charAt(0)!=="#"){var lt=new Hu(x);x=lt.ok?lt.toHex():"#000000"}x.length===4?(D=x.substring(1,2),D+=D,R=x.substring(2,3),R+=R,V=x.substring(3,4),V+=V):(D=x.substring(1,3),R=x.substring(3,5),V=x.substring(5,7)),D=parseInt(D,16),R=parseInt(R,16),V=parseInt(V,16)}}return{r:D,g:R,b:V,a:$,style:x}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},E=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};w.prototype.fillText=function(x,D,R,V){if(isNaN(D)||isNaN(R)||typeof x!="string")throw Pe.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(V=isNaN(V)?void 0:V,!p.call(this)){var $=nt(this.ctx.transform.rotation),J=this.ctx.transform.scaleX;O.call(this,{text:x,x:D,y:R,scale:J,angle:$,align:this.textAlign,maxWidth:V})}},w.prototype.strokeText=function(x,D,R,V){if(isNaN(D)||isNaN(R)||typeof x!="string")throw Pe.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!E.call(this)){V=isNaN(V)?void 0:V;var $=nt(this.ctx.transform.rotation),J=this.ctx.transform.scaleX;O.call(this,{text:x,x:D,y:R,scale:J,renderingMode:"stroke",angle:$,align:this.textAlign,maxWidth:V})}},w.prototype.measureText=function(x){if(typeof x!="string")throw Pe.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var D=this.pdf,R=this.pdf.internal.scaleFactor,V=D.internal.getFontSize(),$=D.getStringUnitWidth(x)*V/D.internal.scaleFactor;return new function(J){var lt=(J=J||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return lt}}),this}({width:$*=Math.round(96*R/72*1e4)/1e4})},w.prototype.scale=function(x,D){if(isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var R=new f(x,0,0,D,0,0);this.ctx.transform=this.ctx.transform.multiply(R)},w.prototype.rotate=function(x){if(isNaN(x))throw Pe.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var D=new f(Math.cos(x),Math.sin(x),-Math.sin(x),Math.cos(x),0,0);this.ctx.transform=this.ctx.transform.multiply(D)},w.prototype.translate=function(x,D){if(isNaN(x)||isNaN(D))throw Pe.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var R=new f(1,0,0,1,x,D);this.ctx.transform=this.ctx.transform.multiply(R)},w.prototype.transform=function(x,D,R,V,$,J){if(isNaN(x)||isNaN(D)||isNaN(R)||isNaN(V)||isNaN($)||isNaN(J))throw Pe.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var lt=new f(x,D,R,V,$,J);this.ctx.transform=this.ctx.transform.multiply(lt)},w.prototype.setTransform=function(x,D,R,V,$,J){x=isNaN(x)?1:x,D=isNaN(D)?0:D,R=isNaN(R)?0:R,V=isNaN(V)?1:V,$=isNaN($)?0:$,J=isNaN(J)?0:J,this.ctx.transform=new f(x,D,R,V,$,J)};var P=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};w.prototype.drawImage=function(x,D,R,V,$,J,lt,at,mt){var At=this.pdf.getImageProperties(x),kt=1,Pt=1,st=1,M=1;V!==void 0&&at!==void 0&&(st=at/V,M=mt/$,kt=At.width/V*at/V,Pt=At.height/$*mt/$),J===void 0&&(J=D,lt=R,D=0,R=0),V!==void 0&&at===void 0&&(at=V,mt=$),V===void 0&&at===void 0&&(at=At.width,mt=At.height);for(var le,ne=this.ctx.transform.decompose(),qt=nt(ne.rotate.shx),xt=new f,jt=(xt=(xt=(xt=xt.multiply(ne.translate)).multiply(ne.skew)).multiply(ne.scale)).applyToRectangle(new l(J-D*st,lt-R*M,V*kt,$*Pt)),St=T.call(this,jt),re=[],Ut=0;Ut<St.length;Ut+=1)re.indexOf(St[Ut])===-1&&re.push(St[Ut]);if(U(re),this.autoPaging)for(var pe=re[0],Xt=re[re.length-1],Jt=pe;Jt<Xt+1;Jt++){this.pdf.setPage(Jt);var xe=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ie=Jt===1?this.posY+this.margin[0]:this.margin[0],Bt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Gt=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],zt=Jt===1?0:Bt+(Jt-2)*Gt;if(this.ctx.clip_path.length!==0){var Ie=this.path;le=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(le,this.posX+this.margin[3],-zt+ie+this.ctx.prevPageLastElemOffset),rt.call(this,"fill",!0),this.path=Ie}var ge=JSON.parse(JSON.stringify(jt));ge=H([ge],this.posX+this.margin[3],-zt+ie+this.ctx.prevPageLastElemOffset)[0];var Mt=(Jt>pe||Jt<Xt)&&P.call(this);Mt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],xe,Gt,null).clip().discardPath()),this.pdf.addImage(x,"JPEG",ge.x,ge.y,ge.w,ge.h,null,null,qt),Mt&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(x,"JPEG",jt.x,jt.y,jt.w,jt.h,null,null,qt)};var T=function(x,D,R){var V=[];D=D||this.pdf.internal.pageSize.width,R=R||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var $=this.posY+this.ctx.prevPageLastElemOffset;switch(x.type){default:case"mt":case"lt":V.push(Math.floor((x.y+$)/R)+1);break;case"arc":V.push(Math.floor((x.y+$-x.radius)/R)+1),V.push(Math.floor((x.y+$+x.radius)/R)+1);break;case"qct":var J=ct(this.ctx.lastPoint.x,this.ctx.lastPoint.y,x.x1,x.y1,x.x,x.y);V.push(Math.floor((J.y+$)/R)+1),V.push(Math.floor((J.y+J.h+$)/R)+1);break;case"bct":var lt=Nt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,x.x1,x.y1,x.x2,x.y2,x.x,x.y);V.push(Math.floor((lt.y+$)/R)+1),V.push(Math.floor((lt.y+lt.h+$)/R)+1);break;case"rect":V.push(Math.floor((x.y+$)/R)+1),V.push(Math.floor((x.y+x.h+$)/R)+1)}for(var at=0;at<V.length;at+=1)for(;this.pdf.internal.getNumberOfPages()<V[at];)L.call(this);return V},L=function(){var x=this.fillStyle,D=this.strokeStyle,R=this.font,V=this.lineCap,$=this.lineWidth,J=this.lineJoin;this.pdf.addPage(),this.fillStyle=x,this.strokeStyle=D,this.font=R,this.lineCap=V,this.lineWidth=$,this.lineJoin=J},H=function(x,D,R){for(var V=0;V<x.length;V++)switch(x[V].type){case"bct":x[V].x2+=D,x[V].y2+=R;case"qct":x[V].x1+=D,x[V].y1+=R;default:x[V].x+=D,x[V].y+=R}return x},U=function(x){return x.sort(function(D,R){return D-R})},j=function(x,D){for(var R,V,$=this.fillStyle,J=this.strokeStyle,lt=this.lineCap,at=this.lineWidth,mt=Math.abs(at*this.ctx.transform.scaleX),At=this.lineJoin,kt=JSON.parse(JSON.stringify(this.path)),Pt=JSON.parse(JSON.stringify(this.path)),st=[],M=0;M<Pt.length;M++)if(Pt[M].x!==void 0)for(var le=T.call(this,Pt[M]),ne=0;ne<le.length;ne+=1)st.indexOf(le[ne])===-1&&st.push(le[ne]);for(var qt=0;qt<st.length;qt++)for(;this.pdf.internal.getNumberOfPages()<st[qt];)L.call(this);if(U(st),this.autoPaging)for(var xt=st[0],jt=st[st.length-1],St=xt;St<jt+1;St++){this.pdf.setPage(St),this.fillStyle=$,this.strokeStyle=J,this.lineCap=lt,this.lineWidth=mt,this.lineJoin=At;var re=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ut=St===1?this.posY+this.margin[0]:this.margin[0],pe=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Xt=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Jt=St===1?0:pe+(St-2)*Xt;if(this.ctx.clip_path.length!==0){var xe=this.path;R=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(R,this.posX+this.margin[3],-Jt+Ut+this.ctx.prevPageLastElemOffset),rt.call(this,x,!0),this.path=xe}if(V=JSON.parse(JSON.stringify(kt)),this.path=H(V,this.posX+this.margin[3],-Jt+Ut+this.ctx.prevPageLastElemOffset),D===!1||St===0){var ie=(St>xt||St<jt)&&P.call(this);ie&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],re,Xt,null).clip().discardPath()),rt.call(this,x,D),ie&&this.pdf.restoreGraphicsState()}this.lineWidth=at}else this.lineWidth=mt,rt.call(this,x,D),this.lineWidth=at;this.path=kt},rt=function(x,D){if((x!=="stroke"||D||!E.call(this))&&(x==="stroke"||D||!p.call(this))){for(var R,V,$=[],J=this.path,lt=0;lt<J.length;lt++){var at=J[lt];switch(at.type){case"begin":$.push({begin:!0});break;case"close":$.push({close:!0});break;case"mt":$.push({start:at,deltas:[],abs:[]});break;case"lt":var mt=$.length;if(J[lt-1]&&!isNaN(J[lt-1].x)&&(R=[at.x-J[lt-1].x,at.y-J[lt-1].y],mt>0)){for(;mt>=0;mt--)if($[mt-1].close!==!0&&$[mt-1].begin!==!0){$[mt-1].deltas.push(R),$[mt-1].abs.push(at);break}}break;case"bct":R=[at.x1-J[lt-1].x,at.y1-J[lt-1].y,at.x2-J[lt-1].x,at.y2-J[lt-1].y,at.x-J[lt-1].x,at.y-J[lt-1].y],$[$.length-1].deltas.push(R);break;case"qct":var At=J[lt-1].x+2/3*(at.x1-J[lt-1].x),kt=J[lt-1].y+2/3*(at.y1-J[lt-1].y),Pt=at.x+2/3*(at.x1-at.x),st=at.y+2/3*(at.y1-at.y),M=at.x,le=at.y;R=[At-J[lt-1].x,kt-J[lt-1].y,Pt-J[lt-1].x,st-J[lt-1].y,M-J[lt-1].x,le-J[lt-1].y],$[$.length-1].deltas.push(R);break;case"arc":$.push({deltas:[],abs:[],arc:!0}),Array.isArray($[$.length-1].abs)&&$[$.length-1].abs.push(at)}}V=D?null:x==="stroke"?"stroke":"fill";for(var ne=!1,qt=0;qt<$.length;qt++)if($[qt].arc)for(var xt=$[qt].abs,jt=0;jt<xt.length;jt++){var St=xt[jt];St.type==="arc"?K.call(this,St.x,St.y,St.radius,St.startAngle,St.endAngle,St.counterclockwise,void 0,D,!ne):G.call(this,St.x,St.y),ne=!0}else if($[qt].close===!0)this.pdf.internal.out("h"),ne=!1;else if($[qt].begin!==!0){var re=$[qt].start.x,Ut=$[qt].start.y;q.call(this,$[qt].deltas,re,Ut),ne=!0}V&&B.call(this,V),D&&et.call(this)}},vt=function(x){var D=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,R=D*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return x-R;case"top":return x+D-R;case"hanging":return x+D-2*R;case"middle":return x+D/2-R;default:return x}},ot=function(x){return x+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};w.prototype.createLinearGradient=function(){var x=function(){};return x.colorStops=[],x.addColorStop=function(D,R){this.colorStops.push([D,R])},x.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},x.isCanvasGradient=!0,x},w.prototype.createPattern=function(){return this.createLinearGradient()},w.prototype.createRadialGradient=function(){return this.createLinearGradient()};var K=function(x,D,R,V,$,J,lt,at,mt){for(var At=ft.call(this,R,V,$,J),kt=0;kt<At.length;kt++){var Pt=At[kt];kt===0&&(mt?S.call(this,Pt.x1+x,Pt.y1+D):G.call(this,Pt.x1+x,Pt.y1+D)),it.call(this,x,D,Pt.x2,Pt.y2,Pt.x3,Pt.y3,Pt.x4,Pt.y4)}at?et.call(this):B.call(this,lt)},B=function(x){switch(x){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},et=function(){this.pdf.clip(),this.pdf.discardPath()},S=function(x,D){this.pdf.internal.out(e(x)+" "+r(D)+" m")},O=function(x){var D;switch(x.align){case"right":case"end":D="right";break;case"center":D="center";break;default:D="left"}var R=this.pdf.getTextDimensions(x.text),V=vt.call(this,x.y),$=ot.call(this,V)-R.h,J=this.ctx.transform.applyToPoint(new h(x.x,V)),lt=this.ctx.transform.decompose(),at=new f;at=(at=(at=at.multiply(lt.translate)).multiply(lt.skew)).multiply(lt.scale);for(var mt,At,kt,Pt=this.ctx.transform.applyToRectangle(new l(x.x,V,R.w,R.h)),st=at.applyToRectangle(new l(x.x,$,R.w,R.h)),M=T.call(this,st),le=[],ne=0;ne<M.length;ne+=1)le.indexOf(M[ne])===-1&&le.push(M[ne]);if(U(le),this.autoPaging)for(var qt=le[0],xt=le[le.length-1],jt=qt;jt<xt+1;jt++){this.pdf.setPage(jt);var St=jt===1?this.posY+this.margin[0]:this.margin[0],re=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ut=this.pdf.internal.pageSize.height-this.margin[2],pe=Ut-this.margin[0],Xt=this.pdf.internal.pageSize.width-this.margin[1],Jt=Xt-this.margin[3],xe=jt===1?0:re+(jt-2)*pe;if(this.ctx.clip_path.length!==0){var ie=this.path;mt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=H(mt,this.posX+this.margin[3],-1*xe+St),rt.call(this,"fill",!0),this.path=ie}var Bt=H([JSON.parse(JSON.stringify(st))],this.posX+this.margin[3],-xe+St+this.ctx.prevPageLastElemOffset)[0];x.scale>=.01&&(At=this.pdf.internal.getFontSize(),this.pdf.setFontSize(At*x.scale),kt=this.lineWidth,this.lineWidth=kt*x.scale);var Gt=this.autoPaging!=="text";if(Gt||Bt.y+Bt.h<=Ut){if(Gt||Bt.y>=St&&Bt.x<=Xt){var zt=Gt?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||Xt-Bt.x)[0],Ie=H([JSON.parse(JSON.stringify(Pt))],this.posX+this.margin[3],-xe+St+this.ctx.prevPageLastElemOffset)[0],ge=Gt&&(jt>qt||jt<xt)&&P.call(this);ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Jt,pe,null).clip().discardPath()),this.pdf.text(zt,Ie.x,Ie.y,{angle:x.angle,align:D,renderingMode:x.renderingMode}),ge&&this.pdf.restoreGraphicsState()}}else Bt.y<Ut&&(this.ctx.prevPageLastElemOffset+=Ut-Bt.y);x.scale>=.01&&(this.pdf.setFontSize(At),this.lineWidth=kt)}else x.scale>=.01&&(At=this.pdf.internal.getFontSize(),this.pdf.setFontSize(At*x.scale),kt=this.lineWidth,this.lineWidth=kt*x.scale),this.pdf.text(x.text,J.x+this.posX,J.y+this.posY,{angle:x.angle,align:D,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(At),this.lineWidth=kt)},G=function(x,D,R,V){R=R||0,V=V||0,this.pdf.internal.out(e(x+R)+" "+r(D+V)+" l")},q=function(x,D,R){return this.pdf.lines(x,D,R,null,null)},it=function(x,D,R,V,$,J,lt,at){this.pdf.internal.out([n(i(R+x)),n(a(V+D)),n(i($+x)),n(a(J+D)),n(i(lt+x)),n(a(at+D)),"c"].join(" "))},ft=function(x,D,R,V){for(var $=2*Math.PI,J=Math.PI/2;D>R;)D-=$;var lt=Math.abs(R-D);lt<$&&V&&(lt=$-lt);for(var at=[],mt=V?-1:1,At=D;lt>1e-5;){var kt=At+mt*Math.min(lt,J);at.push(dt.call(this,x,At,kt)),lt-=Math.abs(kt-At),At=kt}return at},dt=function(x,D,R){var V=(R-D)/2,$=x*Math.cos(V),J=x*Math.sin(V),lt=$,at=-J,mt=lt*lt+at*at,At=mt+lt*$+at*J,kt=4/3*(Math.sqrt(2*mt*At)-At)/(lt*J-at*$),Pt=lt-kt*at,st=at+kt*lt,M=Pt,le=-st,ne=V+D,qt=Math.cos(ne),xt=Math.sin(ne);return{x1:x*Math.cos(D),y1:x*Math.sin(D),x2:Pt*qt-st*xt,y2:Pt*xt+st*qt,x3:M*qt-le*xt,y3:M*xt+le*qt,x4:x*Math.cos(R),y4:x*Math.sin(R)}},nt=function(x){return 180*x/Math.PI},ct=function(x,D,R,V,$,J){var lt=x+.5*(R-x),at=D+.5*(V-D),mt=$+.5*(R-$),At=J+.5*(V-J),kt=Math.min(x,$,lt,mt),Pt=Math.max(x,$,lt,mt),st=Math.min(D,J,at,At),M=Math.max(D,J,at,At);return new l(kt,st,Pt-kt,M-st)},Nt=function(x,D,R,V,$,J,lt,at){var mt,At,kt,Pt,st,M,le,ne,qt,xt,jt,St,re,Ut,pe=R-x,Xt=V-D,Jt=$-R,xe=J-V,ie=lt-$,Bt=at-J;for(At=0;At<41;At++)qt=(le=(kt=x+(mt=At/40)*pe)+mt*((st=R+mt*Jt)-kt))+mt*(st+mt*($+mt*ie-st)-le),xt=(ne=(Pt=D+mt*Xt)+mt*((M=V+mt*xe)-Pt))+mt*(M+mt*(J+mt*Bt-M)-ne),At==0?(jt=qt,St=xt,re=qt,Ut=xt):(jt=Math.min(jt,qt),St=Math.min(St,xt),re=Math.max(re,qt),Ut=Math.max(Ut,xt));return new l(Math.round(jt),Math.round(St),Math.round(re-jt),Math.round(Ut-St))},yt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,D,R=(x=this.ctx.lineDash,D=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:D}));this.prevLineDash!==R&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=R)}}})(Dt.API),(function(t){var n=function(h){var l,f,u,g,w,A,p,E,P,T;for(/[^\x00-\xFF]/.test(h),f=[],u=0,g=(h+=l="\0\0\0\0".slice(h.length%4||4)).length;g>u;u+=4)(w=(h.charCodeAt(u)<<24)+(h.charCodeAt(u+1)<<16)+(h.charCodeAt(u+2)<<8)+h.charCodeAt(u+3))!==0?(A=(w=((w=((w=((w=(w-(T=w%85))/85)-(P=w%85))/85)-(E=w%85))/85)-(p=w%85))/85)%85,f.push(A+33,p+33,E+33,P+33,T+33)):f.push(122);return(function(L,H){for(var U=H;U>0;U--)L.pop()})(f,l.length),String.fromCharCode.apply(String,f)+"~>"},e=function(h){var l,f,u,g,w,A=String,p="length",E=255,P="charCodeAt",T="slice",L="replace";for(h[T](-2),h=h[T](0,-2)[L](/\s/g,"")[L]("z","!!!!!"),u=[],g=0,w=(h+=l="uuuuu"[T](h[p]%5||5))[p];w>g;g+=5)f=52200625*(h[P](g)-33)+614125*(h[P](g+1)-33)+7225*(h[P](g+2)-33)+85*(h[P](g+3)-33)+(h[P](g+4)-33),u.push(E&f>>24,E&f>>16,E&f>>8,E&f);return(function(H,U){for(var j=U;j>0;j--)H.pop()})(u,l[p]),A.fromCharCode.apply(A,u)},r=function(h){return h.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(h){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),l.test(h)===!1)return"";for(var f="",u=0;u<h.length;u+=2)f+=String.fromCharCode("0x"+(h[u]+h[u+1]));return f},a=function(h){for(var l=new Uint8Array(h.length),f=h.length;f--;)l[f]=h.charCodeAt(f);return(l=os(l)).reduce(function(u,g){return u+String.fromCharCode(g)},"")};t.processDataByFilters=function(h,l){var f=0,u=h||"",g=[];for(typeof(l=l||[])=="string"&&(l=[l]),f=0;f<l.length;f+=1)switch(l[f]){case"ASCII85Decode":case"/ASCII85Decode":u=e(u),g.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=n(u),g.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=i(u),g.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=r(u),g.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=a(u),g.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[f]+'" is not implemented')}return{data:u,reverseChain:g.reverse().join(" ")}}})(Dt.API),(function(t){t.loadFile=function(n,e,r){return(function(i,a,h){a=a!==!1,h=typeof h=="function"?h:function(){};var l=void 0;try{l=(function(f,u,g){var w=new XMLHttpRequest,A=0,p=function(E){var P=E.length,T=[],L=String.fromCharCode;for(A=0;A<P;A+=1)T.push(L(255&E.charCodeAt(A)));return T.join("")};if(w.open("GET",f,!u),w.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(w.onload=function(){w.status===200?g(p(this.responseText)):g(void 0)}),w.send(null),u&&w.status===200)return p(w.responseText)})(i,a,h)}catch{}return l})(n,e,r)},t.loadImageFile=t.loadFile})(Dt.API),(function(t){function n(){return(Zt.html2canvas?Promise.resolve(Zt.html2canvas):import("./7B2LY6UV.js")).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function e(){return(Zt.DOMPurify?Promise.resolve(Zt.DOMPurify):import("./S4SYUQWF.js")).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var r=function(l){var f=Ne(l);return f==="undefined"?"undefined":f==="string"||l instanceof String?"string":f==="number"||l instanceof Number?"number":f==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":f==="object"?"object":"unknown"},i=function(l,f){var u=document.createElement(l);for(var g in f.className&&(u.className=f.className),f.innerHTML&&f.dompurify&&(u.innerHTML=f.dompurify.sanitize(f.innerHTML)),f.style)u.style[g]=f.style[g];return u},a=function l(f,u){for(var g=f.nodeType===3?document.createTextNode(f.nodeValue):f.cloneNode(!1),w=f.firstChild;w;w=w.nextSibling)u!==!0&&w.nodeType===1&&w.nodeName==="SCRIPT"||g.appendChild(l(w,u));return f.nodeType===1&&(f.nodeName==="CANVAS"?(g.width=f.width,g.height=f.height,g.getContext("2d").drawImage(f,0,0)):f.nodeName!=="TEXTAREA"&&f.nodeName!=="SELECT"||(g.value=f.value),g.addEventListener("load",function(){g.scrollTop=f.scrollTop,g.scrollLeft=f.scrollLeft},!0)),g},h=function l(f){var u=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),g=l.convert(Promise.resolve(),u);return(g=g.setProgress(1,l,1,[l])).set(f)};(h.prototype=Object.create(Promise.prototype)).constructor=h,h.convert=function(l,f){return l.__proto__=f||h.prototype,l},h.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},h.prototype.from=function(l,f){return this.then(function(){switch(f=f||(function(u){switch(r(u)){case"string":return"string";case"element":return u.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(l),f){case"string":return this.then(e).then(function(u){return this.set({src:i("div",{innerHTML:l,dompurify:u})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},h.prototype.to=function(l){switch(l){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},h.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var l={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},f=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);f.tagName==="BODY"&&(l.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(f),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},h.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(f){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,f(this.prop.container,u)}).then(function(f){(this.opt.html2canvas.onrendered||function(){})(f),this.prop.canvas=f,document.body.removeChild(this.prop.overlay)})},h.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(f){var u=this.opt.jsPDF,g=this.opt.fontFaces,w=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,A=Object.assign({async:!0,allowTaint:!0,scale:w,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete A.onrendered,u.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=g,g)for(var p=0;p<g.length;++p){var E=g[p],P=E.src.find(function(T){return T.format==="truetype"});P&&u.addFont(P.url,E.ref.name,E.ref.style)}return A.windowHeight=A.windowHeight||0,A.windowHeight=A.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):A.windowHeight,u.context2d.save(!0),f(this.prop.container,A)}).then(function(f){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(f),this.prop.canvas=f,document.body.removeChild(this.prop.overlay)})},h.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},h.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},h.prototype.output=function(l,f,u){return(u=u||"pdf").toLowerCase()==="img"||u.toLowerCase()==="image"?this.outputImg(l,f):this.outputPdf(l,f)},h.prototype.outputPdf=function(l,f){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,f)})},h.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+l+'" is not supported.'}})},h.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},h.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},h.prototype.set=function(l){if(r(l)!=="object")return this;var f=Object.keys(l||{}).map(function(u){if(u in h.template.prop)return function(){this.prop[u]=l[u]};switch(u){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[u]=l[u]}}},this);return this.then(function(){return this.thenList(f)})},h.prototype.get=function(l,f){return this.then(function(){var u=l in h.template.prop?this.prop[l]:this.opt[l];return f?f(u):u})},h.prototype.setMargin=function(l){return this.then(function(){switch(r(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},h.prototype.setPageSize=function(l){function f(u,g){return Math.floor(u*g/72*96)}return this.then(function(){(l=l||Dt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:f(l.inner.width,l.k),height:f(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},h.prototype.setProgress=function(l,f,u,g){return l!=null&&(this.progress.val=l),f!=null&&(this.progress.state=f),u!=null&&(this.progress.n=u),g!=null&&(this.progress.stack=g),this.progress.ratio=this.progress.val/this.progress.state,this},h.prototype.updateProgress=function(l,f,u,g){return this.setProgress(l?this.progress.val+l:null,f||null,u?this.progress.n+u:null,g?this.progress.stack.concat(g):null)},h.prototype.then=function(l,f){var u=this;return this.thenCore(l,f,function(g,w){return u.updateProgress(null,null,1,[g]),Promise.prototype.then.call(this,function(A){return u.updateProgress(null,g),A}).then(g,w).then(function(A){return u.updateProgress(1),A})})},h.prototype.thenCore=function(l,f,u){u=u||Promise.prototype.then;var g=this;l&&(l=l.bind(g)),f&&(f=f.bind(g));var w=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?g:h.convert(Object.assign({},g),Promise.prototype),A=u.call(w,l,f);return h.convert(A,g.__proto__)},h.prototype.thenExternal=function(l,f){return Promise.prototype.then.call(this,l,f)},h.prototype.thenList=function(l){var f=this;return l.forEach(function(u){f=f.thenCore(u)}),f},h.prototype.catch=function(l){l&&(l=l.bind(this));var f=Promise.prototype.catch.call(this,l);return h.convert(f,this)},h.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},h.prototype.error=function(l){return this.then(function(){throw new Error(l)})},h.prototype.using=h.prototype.set,h.prototype.saveAs=h.prototype.save,h.prototype.export=h.prototype.output,h.prototype.run=h.prototype.then,Dt.getPageSize=function(l,f,u){if(Ne(l)==="object"){var g=l;l=g.orientation,f=g.unit||f,u=g.format||u}f=f||"mm",u=u||"a4",l=(""+(l||"P")).toLowerCase();var w,A=(""+u).toLowerCase(),p={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(f){case"pt":w=1;break;case"mm":w=72/25.4;break;case"cm":w=72/2.54;break;case"in":w=72;break;case"px":w=.75;break;case"pc":case"em":w=12;break;case"ex":w=6;break;default:throw"Invalid unit: "+f}var E,P=0,T=0;if(p.hasOwnProperty(A))P=p[A][1]/w,T=p[A][0]/w;else try{P=u[1],T=u[0]}catch{throw new Error("Invalid format: "+u)}if(l==="p"||l==="portrait")l="p",T>P&&(E=T,T=P,P=E);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",P>T&&(E=T,T=P,P=E)}return{width:T,height:P,unit:f,k:w,orientation:l}},t.html=function(l,f){(f=f||{}).callback=f.callback||function(){},f.html2canvas=f.html2canvas||{},f.html2canvas.canvas=f.html2canvas.canvas||this.canvas,f.jsPDF=f.jsPDF||this,f.fontFaces=f.fontFaces?f.fontFaces.map(vh):null;var u=new h(f);return f.worker?u:u.from(l).doCallback()}})(Dt.API),Dt.API.addJS=function(t){return Fu=t,this.internal.events.subscribe("postPutResources",function(){Is=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Is+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Iu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Fu+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Is!==void 0&&Iu!==void 0&&this.internal.out("/Names <</JavaScript "+Is+" 0 R>>")}),this},(function(t){var n;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),a=0;a<i.length;a++){var h=i[a],l=r.exec(h);if(l!=null){var f=l[1];e.internal.newObjectDeferredBegin(f,!1)}e.internal.write(h)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,g=[];for(a=0;a<u;a++){var w=e.internal.newObject();g.push(w);var A=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+A.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<g.length;a++)e.internal.write("(page_"+(a+1)+")"+g[a]+" 0 R");e.internal.write(" ] >>","endobj"),n=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+n+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,i,a){var h={title:i,options:a,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var i=0;i<r.children.length;i++)this.genIds_r(r.children[i])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<r.children.length;a++){var h=r.children[a];this.objStart(h),this.line("/Title "+this.makeString(h.title)),this.line("/Parent "+this.makeRef(r)),a>0&&this.line("/Prev "+this.makeRef(r.children[a-1])),a<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[a+1])),h.children.length>0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var l=this.count=this.count_r({count:0},h);if(l>0&&this.line("/Count "+l),h.options&&h.options.pageNumber){var f=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+f.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},e.outline.line=function(r){this.ctx.val+=r+`\r
|
45
45
|
`},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+=`\r
|
46
46
|
`+r.id+` 0 obj\r
|
47
47
|
<<\r
|
@@ -49,7 +49,7 @@ T* `):c.join(` Tj
|
|
49
49
|
endobj\r
|
50
50
|
`},e.outline.count_r=function(r,i){for(var a=0;a<i.children.length;a++)r.count++,this.count_r(r,i.children[a]);return r.count}}])})(Dt.API),(function(t){var n=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,r,i,a,h,l){var f,u=this.decode.DCT_DECODE,g=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=h||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,f=(function(w){for(var A,p=256*w.charCodeAt(4)+w.charCodeAt(5),E=w.length,P={width:0,height:0,numcomponents:1},T=4;T<E;T+=2){if(T+=p,n.indexOf(w.charCodeAt(T+1))!==-1){A=256*w.charCodeAt(T+5)+w.charCodeAt(T+6),P={width:256*w.charCodeAt(T+7)+w.charCodeAt(T+8),height:A,numcomponents:w.charCodeAt(T+9)};break}p=256*w.charCodeAt(T+2)+w.charCodeAt(T+3)}return P})(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),f.numcomponents){case 1:l=this.color_spaces.DEVICE_GRAY;break;case 4:l=this.color_spaces.DEVICE_CMYK;break;case 3:l=this.color_spaces.DEVICE_RGB}g={data:e,width:f.width,height:f.height,colorSpace:l,bitsPerComponent:8,filter:u,index:r,alias:i}}return g}})(Dt.API),Dt.API.processPNG=function(t,n,e,r){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var i,a=bu(t,{checkCrc:!0}),h=a.width,l=a.height,f=a.channels,u=a.palette,g=a.depth;i=u&&f===1?(function(ot){for(var K=ot.width,B=ot.height,et=ot.data,S=ot.palette,O=ot.depth,G=!1,q=[],it=[],ft=void 0,dt=!1,nt=0,ct=0;ct<S.length;ct++){var Nt=Il(S[ct],4),yt=Nt[0],x=Nt[1],D=Nt[2],R=Nt[3];q.push(yt,x,D),R!=null&&(R===0?(nt++,it.length<1&&it.push(ct)):R<255&&(dt=!0))}if(dt||nt>1){G=!0,it=void 0;var V=K*B;ft=new Uint8Array(V);for(var $=new DataView(et.buffer),J=0;J<V;J++){var lt=wh($,J,O),at=Il(S[lt],4)[3];ft[J]=at}}return{colorSpace:"Indexed",colorsPerPixel:1,colorBytes:et,alphaBytes:ft,needSMask:G,palette:q,mask:it}})(a):f===2||f===4?(function(ot){for(var K=ot.data,B=ot.width,et=ot.height,S=ot.channels,O=ot.depth,G=S===2?"DeviceGray":"DeviceRGB",q=S-1,it=B*et,ft=q,dt=it*ft,nt=1*it,ct=Math.ceil(dt*O/8),Nt=Math.ceil(nt*O/8),yt=new Uint8Array(ct),x=new Uint8Array(Nt),D=new DataView(K.buffer),R=new DataView(yt.buffer),V=new DataView(x.buffer),$=!1,J=0;J<it;J++){for(var lt=J*S,at=0;at<ft;at++)Bu(R,wh(D,lt+at,O),J*ft+at,O);var mt=wh(D,lt+ft,O);mt<(1<<O)-1&&($=!0),Bu(V,mt,1*J,O)}return{colorSpace:G,colorsPerPixel:q,colorBytes:yt,alphaBytes:x,needSMask:$}})(a):(function(ot){var K=ot.data,B=ot.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:B,colorsPerPixel:B==="DeviceGray"?1:3,colorBytes:K instanceof Uint8Array?K:new Uint8Array(K.buffer),needSMask:!1}})(a);var w,A,p,E=i,P=E.colorSpace,T=E.colorsPerPixel,L=E.colorBytes,H=E.alphaBytes,U=E.needSMask,j=E.palette,rt=E.mask,vt=null;return r!==Dt.API.image_compression.NONE&&typeof os=="function"?(vt=(function(ot){var K;switch(ot){case Dt.API.image_compression.FAST:K=11;break;case Dt.API.image_compression.MEDIUM:K=13;break;case Dt.API.image_compression.SLOW:K=14;break;default:K=12}return K})(r),w=this.decode.FLATE_DECODE,A="/Predictor ".concat(vt," "),t=Tu(L,h*T,T,r),U&&(p=Tu(H,h,1,r))):(w=void 0,A="",t=L,U&&(p=H)),A+="/Colors ".concat(T," /BitsPerComponent ").concat(g," /Columns ").concat(h),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:e,data:t,index:n,filter:w,decodeParameters:A,transparency:rt,palette:j,sMask:p,predictor:vt,width:h,height:l,bitsPerComponent:g,colorSpace:P}}},(function(t){t.processGIF89A=function(n,e,r,i){var a=new Ad(n),h=a.width,l=a.height,f=[];a.decodeAndBlitFrameRGBA(0,f);var u={data:f,width:h,height:l},g=new yh(100).encode(u,100);return t.processJPEG.call(this,g,e,r,i)},t.processGIF87A=t.processGIF89A})(Dt.API),fr.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var n=0;n<t;n++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[n]={red:i,green:r,blue:e,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},fr.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,n=this.width*this.height*4;this.data=new Uint8Array(n),this[t]()}catch(e){Pe.log("bit decode error:"+e)}},fr.prototype.bit1=function(){var t,n=Math.ceil(this.width/8),e=n%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,i=0;i<n;i++)for(var a=this.datav.getUint8(this.pos++,!0),h=r*this.width*4+8*i*4,l=0;l<8&&8*i+l<this.width;l++){var f=this.palette[a>>7-l&1];this.data[h+4*l]=f.blue,this.data[h+4*l+1]=f.green,this.data[h+4*l+2]=f.red,this.data[h+4*l+3]=255}e!==0&&(this.pos+=4-e)}},fr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),n=t%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++){var a=this.datav.getUint8(this.pos++,!0),h=r*this.width*4+2*i*4,l=a>>4,f=15&a,u=this.palette[l];if(this.data[h]=u.blue,this.data[h+1]=u.green,this.data[h+2]=u.red,this.data[h+3]=255,2*i+1>=this.width)break;u=this.palette[f],this.data[h+4]=u.blue,this.data[h+4+1]=u.green,this.data[h+4+2]=u.red,this.data[h+4+3]=255}n!==0&&(this.pos+=4-n)}},fr.prototype.bit8=function(){for(var t=this.width%4,n=this.height-1;n>=0;n--){for(var e=this.bottom_up?n:this.height-1-n,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*r;if(i<this.palette.length){var h=this.palette[i];this.data[a]=h.red,this.data[a+1]=h.green,this.data[a+2]=h.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}t!==0&&(this.pos+=4-t)}},fr.prototype.bit15=function(){for(var t=this.width%3,n=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var h=(a&n)/n*255|0,l=(a>>5&n)/n*255|0,f=(a>>10&n)/n*255|0,u=a>>15?255:0,g=r*this.width*4+4*i;this.data[g]=f,this.data[g+1]=l,this.data[g+2]=h,this.data[g+3]=u}this.pos+=t}},fr.prototype.bit16=function(){for(var t=this.width%3,n=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var h=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(h&n)/n*255|0,f=(h>>5&e)/e*255|0,u=(h>>11)/n*255|0,g=i*this.width*4+4*a;this.data[g]=u,this.data[g+1]=f,this.data[g+2]=l,this.data[g+3]=255}this.pos+=t}},fr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),h=n*this.width*4+4*e;this.data[h]=a,this.data[h+1]=i,this.data[h+2]=r,this.data[h+3]=255}this.pos+=this.width%4}},fr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var n=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),h=this.datav.getUint8(this.pos++,!0),l=n*this.width*4+4*e;this.data[l]=a,this.data[l+1]=i,this.data[l+2]=r,this.data[l+3]=h}},fr.prototype.getData=function(){return this.data},(function(t){t.processBMP=function(n,e,r,i){var a=new fr(n,!1),h=a.width,l=a.height,f={data:a.getData(),width:h,height:l},u=new yh(100).encode(f,100);return t.processJPEG.call(this,u,e,r,i)}})(Dt.API),Uu.prototype.getData=function(){return this.data},(function(t){t.processWEBP=function(n,e,r,i){var a=new Uu(n),h=a.width,l=a.height,f={data:a.getData(),width:h,height:l},u=new yh(100).encode(f,100);return t.processJPEG.call(this,u,e,r,i)}})(Dt.API),Dt.API.processRGBA=function(t,n,e){for(var r=t.data,i=r.length,a=new Uint8Array(i/4*3),h=new Uint8Array(i/4),l=0,f=0,u=0;u<i;u+=4){var g=r[u],w=r[u+1],A=r[u+2],p=r[u+3];a[l++]=g,a[l++]=w,a[l++]=A,h[f++]=p}var E=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(h),data:E,index:n,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},Dt.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},wa=Dt.API,Fs=wa.getCharWidthsArray=function(t,n){var e,r,i=(n=n||{}).font||this.internal.getFont(),a=n.fontSize||this.internal.getFontSize(),h=n.charSpace||this.internal.getCharSpace(),l=n.widths?n.widths:i.metadata.Unicode.widths,f=l.fof?l.fof:1,u=n.kerning?n.kerning:i.metadata.Unicode.kerning,g=u.fof?u.fof:1,w=n.doKerning!==!1,A=0,p=t.length,E=0,P=l[0]||f,T=[];for(e=0;e<p;e++)r=t.charCodeAt(e),typeof i.metadata.widthOfString=="function"?T.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+h*(1e3/a)||0)/1e3):(A=w&&Ne(u[r])==="object"&&!isNaN(parseInt(u[r][E],10))?u[r][E]/g:0,T.push((l[r]||P)/f+A)),E=r;return T},Eu=wa.getStringUnitWidth=function(t,n){var e=(n=n||{}).fontSize||this.internal.getFontSize(),r=n.font||this.internal.getFont(),i=n.charSpace||this.internal.getCharSpace();return wa.processArabic&&(t=wa.processArabic(t)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(t,e,i)/e:Fs.apply(this,arguments).reduce(function(a,h){return a+h},0)},Cu=function(t,n,e,r){for(var i=[],a=0,h=t.length,l=0;a!==h&&l+n[a]<e;)l+=n[a],a++;i.push(t.slice(0,a));var f=a;for(l=0;a!==h;)l+n[a]>r&&(i.push(t.slice(f,a)),l=0,f=a),l+=n[a],a++;return f!==a&&i.push(t.slice(f,a)),i},Ou=function(t,n,e){e||(e={});var r,i,a,h,l,f,u,g=[],w=[g],A=e.textIndent||0,p=0,E=0,P=t.split(" "),T=Fs.apply(this,[" ",e])[0];if(f=e.lineIndent===-1?P[0].length+2:e.lineIndent||0){var L=Array(f).join(" "),H=[];P.map(function(j){(j=j.split(/\s*\n/)).length>1?H=H.concat(j.map(function(rt,vt){return(vt&&rt.length?`
|
51
51
|
`:"")+rt})):H.push(j[0])}),P=H,f=Eu.apply(this,[L,e])}for(a=0,h=P.length;a<h;a++){var U=0;if(r=P[a],f&&r[0]==`
|
52
|
-
`&&(r=r.substr(1),U=1),A+p+(E=(i=Fs.apply(this,[r,e])).reduce(function(j,rt){return j+rt},0))>n||U){if(E>n){for(l=Cu.apply(this,[r,i,n-(A+p),n]),g.push(l.shift()),g=[l.pop()];l.length;)w.push([l.shift()]);E=i.slice(r.length-(g[0]?g[0].length:0)).reduce(function(j,rt){return j+rt},0)}else g=[r];w.push(g),A=E+f,p=T}else g.push(r),A+=p+E,p=T}return u=f?function(j,rt){return(rt?L:"")+j.join(" ")}:function(j){return j.join(" ")},w.map(u)},wa.splitTextToSize=function(t,n,e){var r,i=(e=e||{}).fontSize||this.internal.getFontSize(),a=function(g){if(g.widths&&g.kerning)return{widths:g.widths,kerning:g.kerning};var w=this.internal.getFont(g.fontName,g.fontStyle),A="Unicode";return w.metadata[A]?{widths:w.metadata[A].widths||{0:1},kerning:w.metadata[A].kerning||{}}:{font:w.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var h=1*this.internal.scaleFactor*n/i;a.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=e.lineIndent;var l,f,u=[];for(l=0,f=r.length;l<f;l++)u=u.concat(Ou.apply(this,[r[l],h,a]));return u},(function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var n="0123456789abcdef",e="klmnopqrstuvwxyz",r={},i={},a=0;a<16;a++)r[e[a]]=n[a],i[n[a]]=e[a];var h=function(A){return"0x"+parseInt(A,10).toString(16)},l=t.__fontmetrics__.compress=function(A){var p,E,P,T,L=["{"];for(var H in A){if(p=A[H],isNaN(parseInt(H,10))?E="'"+H+"'":(H=parseInt(H,10),E=(E=h(H).slice(2)).slice(0,-1)+i[E.slice(-1)]),typeof p=="number")p<0?(P=h(p).slice(3),T="-"):(P=h(p).slice(2),T=""),P=T+P.slice(0,-1)+i[P.slice(-1)];else{if(Ne(p)!=="object")throw new Error("Don't know what to do with value type "+Ne(p)+".");P=l(p)}L.push(E+P)}return L.push("}"),L.join("")},f=t.__fontmetrics__.uncompress=function(A){if(typeof A!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,E,P,T,L={},H=1,U=L,j=[],rt="",vt="",ot=A.length-1,K=1;K<ot;K+=1)(T=A[K])=="'"?p?(P=p.join(""),p=void 0):p=[]:p?p.push(T):T=="{"?(j.push([U,P]),U={},P=void 0):T=="}"?((E=j.pop())[0][E[1]]=U,P=void 0,U=E[0]):T=="-"?H=-1:P===void 0?r.hasOwnProperty(T)?(rt+=r[T],P=parseInt(rt,16)*H,H=1,rt=""):rt+=T:r.hasOwnProperty(T)?(vt+=r[T],U[P]=parseInt(vt,16)*H,H=1,P=void 0,vt=""):vt+=T;return L},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:f("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},g={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},w={Unicode:{"Courier-Oblique":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":f("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":f("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":f("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:f("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:f("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":f("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:f("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":f("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":f("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":f("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(A){var p=A.font,E=w.Unicode[p.postScriptName];E&&(p.metadata.Unicode={},p.metadata.Unicode.widths=E.widths,p.metadata.Unicode.kerning=E.kerning);var P=g.Unicode[p.postScriptName];P&&(p.metadata.Unicode.encoding=P,p.encoding=P.codePages[0])}])})(Dt.API),(function(t){var n=function(e){for(var r=e.length,i=new Uint8Array(r),a=0;a<r;a++)i[a]=e.charCodeAt(a);return i};t.API.events.push(["addFont",function(e){var r=void 0,i=e.font,a=e.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(h,l){l=/^\x00\x01\x00\x00/.test(l)?n(l):n(Es(l)),h.metadata=t.API.TTFFont.open(l),h.metadata.Unicode=h.metadata.Unicode||{encoding:{},kerning:{},widths:[]},h.metadata.glyIdsUsed=[0]})(i,r)}}])})(Dt),Dt.API.addSvgAsImage=function(t,n,e,r,i,a,h,l){if(isNaN(n)||isNaN(e))throw Pe.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw Pe.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=r,f.height=i;var u=f.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,f.width,f.height);var g={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},w=this;return(Zt.canvg?Promise.resolve(Zt.canvg):import("./NGWYLY2B.js")).catch(function(A){return Promise.reject(new Error("Could not load canvg: "+A))}).then(function(A){return A.default?A.default:A}).then(function(A){return A.fromString(u,t,g)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(A){return A.render(g)}).then(function(){w.addImage(f.toDataURL("image/jpeg",1),n,e,r,i,h,l)})},Dt.API.putTotalPages=function(t){var n,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(n,e);return this},Dt.API.viewerPreferences=function(t,n){var e;t=t||{},n=n||!1;var r,i,a,h={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(h),f=[],u=0,g=0,w=0;function A(E,P){var T,L=!1;for(T=0;T<E.length;T+=1)E[T]===P&&(L=!0);return L}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(h)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||n===!0){var p=l.length;for(w=0;w<p;w+=1)e[l[w]].value=e[l[w]].defaultValue,e[l[w]].explicitSet=!1}if(Ne(t)==="object"){for(i in t)if(a=t[i],A(l,i)&&a!==void 0){if(e[i].type==="boolean"&&typeof a=="boolean")e[i].value=a;else if(e[i].type==="name"&&A(e[i].valueSet,a))e[i].value=a;else if(e[i].type==="integer"&&Number.isInteger(a))e[i].value=a;else if(e[i].type==="array"){for(u=0;u<a.length;u+=1)if(r=!0,a[u].length===1&&typeof a[u][0]=="number")f.push(String(a[u]-1));else if(a[u].length>1){for(g=0;g<a[u].length;g+=1)typeof a[u][g]!="number"&&(r=!1);r===!0&&f.push([a[u][0]-1,a[u][1]-1].join(" "))}e[i].value="["+f.join(" ")+"]"}else e[i].value=e[i].defaultValue;e[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var E,P=[];for(E in e)e[E].explicitSet===!0&&(e[E].type==="name"?P.push("/"+E+" /"+e[E].value):P.push("/"+E+" "+e[E].value));P.length!==0&&this.internal.write(`/ViewerPreferences
|
52
|
+
`&&(r=r.substr(1),U=1),A+p+(E=(i=Fs.apply(this,[r,e])).reduce(function(j,rt){return j+rt},0))>n||U){if(E>n){for(l=Cu.apply(this,[r,i,n-(A+p),n]),g.push(l.shift()),g=[l.pop()];l.length;)w.push([l.shift()]);E=i.slice(r.length-(g[0]?g[0].length:0)).reduce(function(j,rt){return j+rt},0)}else g=[r];w.push(g),A=E+f,p=T}else g.push(r),A+=p+E,p=T}return u=f?function(j,rt){return(rt?L:"")+j.join(" ")}:function(j){return j.join(" ")},w.map(u)},wa.splitTextToSize=function(t,n,e){var r,i=(e=e||{}).fontSize||this.internal.getFontSize(),a=function(g){if(g.widths&&g.kerning)return{widths:g.widths,kerning:g.kerning};var w=this.internal.getFont(g.fontName,g.fontStyle),A="Unicode";return w.metadata[A]?{widths:w.metadata[A].widths||{0:1},kerning:w.metadata[A].kerning||{}}:{font:w.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var h=1*this.internal.scaleFactor*n/i;a.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=e.lineIndent;var l,f,u=[];for(l=0,f=r.length;l<f;l++)u=u.concat(Ou.apply(this,[r[l],h,a]));return u},(function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var n="0123456789abcdef",e="klmnopqrstuvwxyz",r={},i={},a=0;a<16;a++)r[e[a]]=n[a],i[n[a]]=e[a];var h=function(A){return"0x"+parseInt(A,10).toString(16)},l=t.__fontmetrics__.compress=function(A){var p,E,P,T,L=["{"];for(var H in A){if(p=A[H],isNaN(parseInt(H,10))?E="'"+H+"'":(H=parseInt(H,10),E=(E=h(H).slice(2)).slice(0,-1)+i[E.slice(-1)]),typeof p=="number")p<0?(P=h(p).slice(3),T="-"):(P=h(p).slice(2),T=""),P=T+P.slice(0,-1)+i[P.slice(-1)];else{if(Ne(p)!=="object")throw new Error("Don't know what to do with value type "+Ne(p)+".");P=l(p)}L.push(E+P)}return L.push("}"),L.join("")},f=t.__fontmetrics__.uncompress=function(A){if(typeof A!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,E,P,T,L={},H=1,U=L,j=[],rt="",vt="",ot=A.length-1,K=1;K<ot;K+=1)(T=A[K])=="'"?p?(P=p.join(""),p=void 0):p=[]:p?p.push(T):T=="{"?(j.push([U,P]),U={},P=void 0):T=="}"?((E=j.pop())[0][E[1]]=U,P=void 0,U=E[0]):T=="-"?H=-1:P===void 0?r.hasOwnProperty(T)?(rt+=r[T],P=parseInt(rt,16)*H,H=1,rt=""):rt+=T:r.hasOwnProperty(T)?(vt+=r[T],U[P]=parseInt(vt,16)*H,H=1,P=void 0,vt=""):vt+=T;return L},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:f("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},g={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},w={Unicode:{"Courier-Oblique":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":f("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":f("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":f("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:f("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:f("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":f("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:f("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":f("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":f("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":f("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(A){var p=A.font,E=w.Unicode[p.postScriptName];E&&(p.metadata.Unicode={},p.metadata.Unicode.widths=E.widths,p.metadata.Unicode.kerning=E.kerning);var P=g.Unicode[p.postScriptName];P&&(p.metadata.Unicode.encoding=P,p.encoding=P.codePages[0])}])})(Dt.API),(function(t){var n=function(e){for(var r=e.length,i=new Uint8Array(r),a=0;a<r;a++)i[a]=e.charCodeAt(a);return i};t.API.events.push(["addFont",function(e){var r=void 0,i=e.font,a=e.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(h,l){l=/^\x00\x01\x00\x00/.test(l)?n(l):n(Es(l)),h.metadata=t.API.TTFFont.open(l),h.metadata.Unicode=h.metadata.Unicode||{encoding:{},kerning:{},widths:[]},h.metadata.glyIdsUsed=[0]})(i,r)}}])})(Dt),Dt.API.addSvgAsImage=function(t,n,e,r,i,a,h,l){if(isNaN(n)||isNaN(e))throw Pe.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw Pe.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=r,f.height=i;var u=f.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,f.width,f.height);var g={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},w=this;return(Zt.canvg?Promise.resolve(Zt.canvg):import("./YLSDC4BQ.js")).catch(function(A){return Promise.reject(new Error("Could not load canvg: "+A))}).then(function(A){return A.default?A.default:A}).then(function(A){return A.fromString(u,t,g)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(A){return A.render(g)}).then(function(){w.addImage(f.toDataURL("image/jpeg",1),n,e,r,i,h,l)})},Dt.API.putTotalPages=function(t){var n,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(n,e);return this},Dt.API.viewerPreferences=function(t,n){var e;t=t||{},n=n||!1;var r,i,a,h={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(h),f=[],u=0,g=0,w=0;function A(E,P){var T,L=!1;for(T=0;T<E.length;T+=1)E[T]===P&&(L=!0);return L}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(h)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||n===!0){var p=l.length;for(w=0;w<p;w+=1)e[l[w]].value=e[l[w]].defaultValue,e[l[w]].explicitSet=!1}if(Ne(t)==="object"){for(i in t)if(a=t[i],A(l,i)&&a!==void 0){if(e[i].type==="boolean"&&typeof a=="boolean")e[i].value=a;else if(e[i].type==="name"&&A(e[i].valueSet,a))e[i].value=a;else if(e[i].type==="integer"&&Number.isInteger(a))e[i].value=a;else if(e[i].type==="array"){for(u=0;u<a.length;u+=1)if(r=!0,a[u].length===1&&typeof a[u][0]=="number")f.push(String(a[u]-1));else if(a[u].length>1){for(g=0;g<a[u].length;g+=1)typeof a[u][g]!="number"&&(r=!1);r===!0&&f.push([a[u][0]-1,a[u][1]-1].join(" "))}e[i].value="["+f.join(" ")+"]"}else e[i].value=e[i].defaultValue;e[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var E,P=[];for(E in e)e[E].explicitSet===!0&&(e[E].type==="name"?P.push("/"+E+" /"+e[E].value):P.push("/"+E+" "+e[E].value));P.length!==0&&this.internal.write(`/ViewerPreferences
|
53
53
|
<<
|
54
54
|
`+P.join(`
|
55
55
|
`)+`
|