@mescius/spread-excelio 17.1.2 → 17.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * SpreadJS ExcelIO Library 17.1.2
3
+ * SpreadJS ExcelIO Library 17.1.3
4
4
  *
5
5
  * Copyright(c) MESCIUS inc. All rights reserved.
6
6
  *
@@ -22,16 +22,16 @@ borderWidth:1,borderStyle:"thin",borderColor:"#999999"}},selectedItemWithNoDataS
22
22
  "HYShortSamul-Medium":5,"HYSinMyeongJo-Medium":8,Impact:7,"Imprint MT Shadow":6,"Informal Roman":7,"Ink Free":6,IrisUPC:6,"Iskoola Pota":6,JasmineUPC:6,"Javanese Text":7,Jokerman:9,"Juice ITC":4,KaiTi:6,Kalinga:6,Kartika:6,"Khmer UI":6,KodchiangUPC:6,Kokila:6,"Kristen ITC":7,"Kunstler Script":4,"Lao UI":6,Latha:6,Leelawadee:6,"Leelawadee UI":6,"Leelawadee UI Semilight":7,"Levenim MT":6,LilyUPC:6,"Lucida Bright":7,"Lucida Calligraphy":9,"Lucida Console":8,"Lucida Fax":8,"Lucida Handwriting":9,"Lucida Sans":8,"Lucida Sans Typewriter":7,"Lucida Sans Unicode":9,"Magic R":8,Magneto:9,"Maiandra GD":8,"Malgun Gothic":7,"Malgun Gothic Semilight":8,Mangal:7,Marlett:13,"Matura MT Script Capitals":9,Meiryo:8,"Meiryo UI":8,"Microsoft GothicNeo":7,"Microsoft Himalaya":5,"Microsoft JhengHei":7,"Microsoft JhengHei Light":8,"Microsoft JhengHei UI":7,"Microsoft JhengHei UI Light":8,"Microsoft New Tai Lue":7,"Microsoft PhagsPa":7,"Microsoft Sans Serif":8,"Microsoft Tai Le":7,"Microsoft Uighur":5,"Microsoft YaHei Light":8,"Microsoft YaHei UI":7,"Microsoft YaHei UI Light":8,"Microsoft Yi Baiti":7,MingLiU:7,MingLiU_HKSCS:7,"MingLiU_HKSCS-ExtB":7,"MingLiU-ExtB":7,Miriam:7,"Miriam Fixed":7,Mistral:6,"Modern No. 20":6,"MoeumT R":8,"Mongolian Baiti":7,"Monotype Corsiva":6,MoolBoran:7,"MS Gothic":6,"MS Mincho":7,"MS Outlook":7,"MS PGothic":7,"MS PMincho":7,"MS Reference Sans Serif":9,"MS Reference Specialty":15,"MS UI Gothic":7,"MT Extra":13,"MV Boli":9,"Myanmar Text":7,Narkisim:7,"Neue Haas Grotesk Text Pro":7,"New Gulim":8,"News Gothic MT":7,"Niagara Engraved":5,"Niagara Solid":5,"Nirmala UI":7,"Nirmala UI Semilight":8,Nyala:7,"OCR A Extended":8,OCRB:8,"Old English Text MT":7,Onyx:5,"Palace Script MT":5,"Palatino Linotype":6,Papyrus:8,Parchment:4,Perpetua:6,"Perpetua Titling MT":8,"Plantagenet Cherokee":7,Playbill:5,PMingLiU:7,"PMingLiU-ExtB":7,"Poor Richard":8,Pristina:6,"Pyunji R":7,Raavi:7,"Rage Italic":7,Ravie:12,Rockwell:7,"Rockwell Condensed":5,"Rockwell Extra Bold":8,"Rockwell Light":7,"Rockwell Nova":7,"Rockwell Nova Cond":7,"Rockwell Nova Cond Light":7,"Rockwell Nova Extra Bold":7,"Rockwell Nova Light":7,Rod:7,"Sakkal Majalla":7,"Sanskrit Text":7,"Script MT Bold":6,"Segoe MDL2 Assets":5,"Segoe Print":9,"Segoe Script":9,"Segoe UI":6,"Segoe UI Black":7,"Segoe UI Emoji":6,"Segoe UI Historic":6,"Segoe UI Light":6,"Segoe UI Semibold":7,"Segoe UI Semilight":7,"Segoe UI Symbol":6,Selawik:6,"Selawik Light":6,"Selawik Semibold":6,"Shonar Bangla":6,"Showcard Gothic":8,Shruti:6,"Simplified Arabic":6,"Simplified Arabic Fixed":6,"SimSun-ExtB":6,"Sitka Banner":6,"Sitka Display":6,"Sitka Heading":7,"Sitka Small":8,"Sitka Subheading":7,"Sitka Text":8,"Snap ITC":10,"Source Sans Pro":6,"Source Sans Pro Black":6,"Source Sans Pro ExtraLight":6,"Source Sans Pro Light":6,"Source Sans Pro SemiBold":6,Stencil:7,Sylfaen:6,Symbol:6,Tahoma:7,"Tempus Sans ITC":8,"TH SarabunPSK":6,"Times New Roman":6,"Traditional Arabic":6,"Trebuchet MS":6,Tunga:6,"Tw Cen MT":7,"Tw Cen MT Condensed":4,"Tw Cen MT Condensed Extra Bold":6,"UD Digi Kyokasho N-B":6,"UD Digi Kyokasho NK-B":6,"UD Digi Kyokasho NK-R":6,"UD Digi Kyokasho NP-B":6,"UD Digi Kyokasho NP-R":6,"UD Digi Kyokasho N-R":6,Univers:6,"Univers Condensed":6,"Univers Condensed Light":6,"Univers Light":6,"Urdu Typesetting":6,Utsaah:6,Vani:6,Verdana:8,"Verdana Pro":6,"Verdana Pro Black":6,"Verdana Pro Cond":6,"Verdana Pro Cond Black":6,"Verdana Pro Cond Light":6,"Verdana Pro Cond SemiBold":6,"Verdana Pro Light":6,"Verdana Pro SemiBold":6,Vijaya:6,"Viner Hand ITC":8,Vivaldi:5,"Vladimir Script":6,Vrinda:6,Webdings:12,"Wide Latin":15,Wingdings:16,"Wingdings 2":14,"Wingdings 3":11,"Yet R":6,"Yu Gothic":7,"Yu Gothic Light":6,"Yu Gothic Medium":7,"Yu Gothic UI":6,"Yu Gothic UI Light":6,"Yu Gothic UI Semibold":7,"Yu Gothic UI Semilight":7,"Yu Mincho":7,"Yu Mincho Demibold":6,"Yu Mincho Light":6,"\u4eff\u5b8b":6,"\u534e\u6587\u4e2d\u5b8b":7,"\u534e\u6587\u4eff\u5b8b":6,"\u534e\u6587\u5b8b\u4f53":6,"\u534e\u6587\u5f69\u4e91":7,"\u534e\u6587\u65b0\u9b4f":7,"\u534e\u6587\u6977\u4f53":6,"\u534e\u6587\u7425\u73c0":7,"\u534e\u6587\u7ec6\u9ed1":7,"\u534e\u6587\u884c\u6977":6,"\u534e\u6587\u96b6\u4e66":5,"\u5b8b\u4f53":6,"\u5e7c\u5706":6,"\u5fae\u8f6f\u96c5\u9ed1":7,"\u5fae\u8f6f\u96c5\u9ed1 Light":7,"\u65b0\u5b8b\u4f53":6,"\u65b9\u6b63\u59da\u4f53":6,"\u65b9\u6b63\u8212\u4f53":7,"\u6977\u4f53":6,"\u7b49\u7ebf":6,"\u7b49\u7ebf Light":6,"\u96b6\u4e66":6,"\u9ed1\u4f53":6,"\u6e38\u30b4\u30b7\u30c3\u30af":7,"\uff2d\uff33 \uff30\u660e\u671d":6,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':6,"\u30e1\u30a4\u30ea\u30aa":7,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":6,"HG\u660e\u671dB":6,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":6},10:{"Gill Sans MT":7,Abadi:8,"Abadi Extra Light":7,"Agency FB":5,Aharoni:5,Aldhabi:4,Algerian:8,"Ami R":5,"Angsana New":4,AngsanaUPC:4,Aparajita:5,"Arabic Typesetting":4,Arial:7,"Arial Black":9,"Arial Narrow":6,"Arial Nova":7,"Arial Nova Cond":7,"Arial Nova Cond Light":6,"Arial Nova Light":7,"Arial Rounded MT Bold":8,"Baskerville Old Face":6,Batang:7,BatangChe:7,"Bauhaus 93":7,"Bell MT":7,Bembo:6,"Berlin Sans FB":8,"Berlin Sans FB Demi":8,"Bernard MT Condensed":6,"Blackadder ITC":5,"Bodoni MT":6,"Bodoni MT Black":9,"Bodoni MT Condensed":4,"Bodoni MT Poster Compressed":5,"Book Antiqua":7,"Bookman Old Style":8,"Bookshelf Symbol 7":10,"Bradley Hand ITC":8,"Britannic Bold":8,Broadway:8,"Browallia New":5,BrowalliaUPC:5,"Brush Script MT":7,Calibri:7,"Calibri Light":7,"Californian FB":7,"Calisto MT":7,Cambria:7,"Cambria Math":7,Candara:7,Castellar:9,Centaur:6,Century:7,"Century Gothic":7,"Century Schoolbook":7,Chiller:6,"Colonna MT":7,"Comic Sans MS":8,Consolas:7,Constantia:7,"Cooper Black":8,"Copperplate Gothic Bold":9,"Copperplate Gothic Light":9,Corbel:7,"Cordia New":5,CordiaUPC:5,"Courier New":8,"Curlz MT":7,Dante:6,DaunPenh:4,David:6,DilleniaUPC:4,DokChampa:7,Dotum:6,DotumChe:7,Dubai:7,"Dubai Light":7,"Dubai Medium":7,Ebrima:7,"Edwardian Script ITC":6,Elephant:10,"Engravers MT":8,"Eras Bold ITC":8,"Eras Demi ITC":8,"Eras Light ITC":7,"Eras Medium ITC":7,EucrosiaUPC:5,Euphemia:8,"Expo M":11,FangSong:7,"Felix Titling":8,"Footlight MT Light":7,Forte:7,"Franklin Gothic Book":8,"Franklin Gothic Demi":8,"Franklin Gothic Demi Cond":7,"Franklin Gothic Heavy":8,"Franklin Gothic Medium":8,"Franklin Gothic Medium Cond":7,FrankRuehl:5,FreesiaUPC:6,"Freestyle Script":5,"French Script MT":5,Gabriola:5,Gadugi:7,Garamond:6,Gautami:8,Georgia:9,"Georgia Pro":7,"Georgia Pro Black":9,"Georgia Pro Cond":7,"Georgia Pro Cond Black":8,"Georgia Pro Cond Light":7,"Georgia Pro Cond Semibold":7,"Georgia Pro Light":7,"Georgia Pro Semibold":8,Gigi:7,"Gill Sans MT Condensed":5,"Gill Sans MT Ext Condensed Bold":4,"Gill Sans Nova":7,"Gill Sans Nova Cond":4,"Gill Sans Nova Cond Lt":4,"Gill Sans Nova Cond Ultra Bold":8,"Gill Sans Nova Cond XBd":7,"Gill Sans Nova Light":7,"Gill Sans Nova Ultra Bold":11,"Gill Sans Ultra Bold":11,"Gill Sans Ultra Bold Condensed":8,Gisha:7,"Gloucester MT Extra Condensed":5,"Goudy Old Style":7,"Goudy Stout":11,Grotesque:6,"Grotesque Light":6,Gulim:7,GulimChe:7,Gungsuh:6,GungsuhChe:7,"Hadassah Friedlaender":7,Haettenschweiler:6,"Harlow Solid Italic":6,Harrington:7,"Headline R":9,HGGothicE:7,HGGothicM:7,HGGyoshotai:7,HGKyokashotai:7,HGMaruGothicMPRO:10,HGMinchoB:8,HGMinchoE:8,HGPGothicE:8,HGPGothicM:9,HGPGyoshotai:7,HGPKyokashotai:7,HGPMinchoB:7,HGPMinchoE:8,HGPSoeiKakugothicUB:9,HGPSoeiKakupoptai:9,HGPSoeiPresenceEB:8,HGSeikaishotaiPRO:8,HGSGothicE:7,HGSGothicM:8,HGSGyoshotai:6,HGSKyokashotai:6,HGSMinchoB:7,HGSMinchoE:8,HGSoeiKakugothicUB:8,HGSoeiKakupoptai:8,HGSoeiPresenceEB:8,HGSSoeiKakugothicUB:8,HGSSoeiKakupoptai:8,HGSSoeiPresenceEB:7,"High Tower Text":6,"HYGothic-Extra":8,"HYGothic-Medium":8,"HYGraphic-Medium":8,"HYGungSo-Bold":8,"HYHeadLine-Medium":8,"HYMyeongJo-Extra":9,"HYPMokGak-Bold":9,"HYPost-Light":9,"HYPost-Medium":9,"HYShortSamul-Medium":5,"HYSinMyeongJo-Medium":8,Impact:7,"Imprint MT Shadow":7,"Informal Roman":7,"Ink Free":7,IrisUPC:7,"Iskoola Pota":7,JasmineUPC:7,"Javanese Text":8,Jokerman:9,"Juice ITC":5,KaiTi:7,Kalinga:7,Kartika:7,"Khmer UI":7,KodchiangUPC:4,Kokila:7,"Kristen ITC":8,"Kunstler Script":5,"Lao UI":7,Latha:7,Leelawadee:7,"Leelawadee UI":7,"Leelawadee UI Semilight":7,"Levenim MT":7,LilyUPC:7,"Lucida Bright":8,"Lucida Calligraphy":10,"Lucida Console":9,"Lucida Fax":9,"Lucida Handwriting":10,"Lucida Sans":9,"Lucida Sans Typewriter":8,"Lucida Sans Unicode":9,"Magic R":8,Magneto:10,"Maiandra GD":9,"Malgun Gothic":8,"Malgun Gothic Semilight":8,Mangal:8,Marlett:14,"Matura MT Script Capitals":10,Meiryo:9,"Meiryo UI":9,"Microsoft GothicNeo":8,"Microsoft Himalaya":5,"Microsoft JhengHei":8,"Microsoft JhengHei Light":8,"Microsoft JhengHei UI":8,"Microsoft JhengHei UI Light":8,"Microsoft New Tai Lue":7,"Microsoft PhagsPa":7,"Microsoft Sans Serif":8,"Microsoft Tai Le":7,"Microsoft Uighur":5,"Microsoft YaHei Light":8,"Microsoft YaHei UI":8,"Microsoft YaHei UI Light":8,"Microsoft Yi Baiti":8,MingLiU:8,MingLiU_HKSCS:8,"MingLiU_HKSCS-ExtB":8,"MingLiU-ExtB":8,Miriam:8,"Miriam Fixed":8,Mistral:7,"Modern No. 20":7,"MoeumT R":8,"Mongolian Baiti":8,"Monotype Corsiva":7,MoolBoran:8,"MS Gothic":7,"MS Mincho":8,"MS Outlook":8,"MS PGothic":8,"MS PMincho":8,"MS Reference Sans Serif":9,"MS Reference Specialty":17,"MS UI Gothic":8,"MT Extra":14,"MV Boli":10,"Myanmar Text":7,Narkisim:8,"Neue Haas Grotesk Text Pro":8,"New Gulim":8,"News Gothic MT":8,"Niagara Engraved":5,"Niagara Solid":5,"Nirmala UI":7,"Nirmala UI Semilight":8,Nyala:8,"OCR A Extended":9,OCRB:9,"Old English Text MT":8,Onyx:6,"Palace Script MT":5,"Palatino Linotype":7,Papyrus:9,Parchment:4,Perpetua:6,"Perpetua Titling MT":9,"Plantagenet Cherokee":8,Playbill:6,PMingLiU:7,"PMingLiU-ExtB":7,"Poor Richard":8,Pristina:8,"Pyunji R":7,Raavi:8,"Rage Italic":8,Ravie:13,Rockwell:7,"Rockwell Condensed":6,"Rockwell Extra Bold":9,"Rockwell Light":8,"Rockwell Nova":8,"Rockwell Nova Cond":8,"Rockwell Nova Cond Light":8,"Rockwell Nova Extra Bold":8,"Rockwell Nova Light":8,Rod:8,"Sakkal Majalla":8,"Sanskrit Text":8,"Script MT Bold":7,"Segoe MDL2 Assets":5,"Segoe Print":10,"Segoe Script":10,"Segoe UI":7,"Segoe UI Black":8,"Segoe UI Emoji":7,"Segoe UI Historic":7,"Segoe UI Light":7,"Segoe UI Semibold":7,"Segoe UI Semilight":7,"Segoe UI Symbol":7,Selawik:7,"Selawik Light":7,"Selawik Semibold":7,"Shonar Bangla":7,"Showcard Gothic":8,Shruti:7,"Simplified Arabic":7,"Simplified Arabic Fixed":7,"SimSun-ExtB":7,"Sitka Banner":7,"Sitka Display":7,"Sitka Heading":7,"Sitka Small":9,"Sitka Subheading":8,"Sitka Text":8,"Snap ITC":11,"Source Sans Pro":7,"Source Sans Pro Black":7,"Source Sans Pro ExtraLight":7,"Source Sans Pro Light":7,"Source Sans Pro SemiBold":7,Stencil:7,Sylfaen:7,Symbol:7,Tahoma:7,"Tempus Sans ITC":9,"TH SarabunPSK":7,"Times New Roman":6,"Traditional Arabic":7,"Trebuchet MS":7,Tunga:7,"Tw Cen MT":7,"Tw Cen MT Condensed":5,"Tw Cen MT Condensed Extra Bold":6,"UD Digi Kyokasho N-B":7,"UD Digi Kyokasho NK-B":7,"UD Digi Kyokasho NK-R":7,"UD Digi Kyokasho NP-B":7,"UD Digi Kyokasho NP-R":7,"UD Digi Kyokasho N-R":7,Univers:7,"Univers Condensed":7,"Univers Condensed Light":7,"Univers Light":7,"Urdu Typesetting":7,Utsaah:7,Vani:7,Verdana:8,"Verdana Pro":8,"Verdana Pro Black":7,"Verdana Pro Cond":7,"Verdana Pro Cond Black":7,"Verdana Pro Cond Light":7,"Verdana Pro Cond SemiBold":7,"Verdana Pro Light":7,"Verdana Pro SemiBold":7,Vijaya:7,"Viner Hand ITC":9,Vivaldi:6,"Vladimir Script":6,Vrinda:7,Webdings:13,"Wide Latin":16,Wingdings:17,"Wingdings 2":15,"Wingdings 3":12,"Yet R":7,"Yu Gothic":7,"Yu Gothic Light":7,"Yu Gothic Medium":7,"Yu Gothic UI":7,"Yu Gothic UI Light":7,"Yu Gothic UI Semibold":7,"Yu Gothic UI Semilight":7,"Yu Mincho":7,"Yu Mincho Demibold":7,"Yu Mincho Light":7,"\u4eff\u5b8b":7,"\u534e\u6587\u4e2d\u5b8b":8,"\u534e\u6587\u4eff\u5b8b":6,"\u534e\u6587\u5b8b\u4f53":6,"\u534e\u6587\u5f69\u4e91":7,"\u534e\u6587\u65b0\u9b4f":8,"\u534e\u6587\u6977\u4f53":6,"\u534e\u6587\u7425\u73c0":7,"\u534e\u6587\u7ec6\u9ed1":7,"\u534e\u6587\u884c\u6977":7,"\u534e\u6587\u96b6\u4e66":6,"\u5b8b\u4f53":7,"\u5e7c\u5706":7,"\u5fae\u8f6f\u96c5\u9ed1":8,"\u5fae\u8f6f\u96c5\u9ed1 Light":7,"\u65b0\u5b8b\u4f53":7,"\u65b9\u6b63\u59da\u4f53":7,"\u65b9\u6b63\u8212\u4f53":7,"\u6977\u4f53":7,"\u7b49\u7ebf":7,"\u7b49\u7ebf Light":7,"\u96b6\u4e66":7,"\u9ed1\u4f53":7,"\u6e38\u30b4\u30b7\u30c3\u30af":7,"\uff2d\uff33 \uff30\u660e\u671d":7,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':7,"\u30e1\u30a4\u30ea\u30aa":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":7,"HG\u660e\u671dB":7,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":7},11:{"Gill Sans MT":8,Abadi:9,"Abadi Extra Light":8,"Agency FB":6,Aharoni:6,Aldhabi:5,Algerian:9,"Ami R":6,"Angsana New":5,AngsanaUPC:5,Aparajita:6,"Arabic Typesetting":5,Arial:8,"Arial Black":10,"Arial Narrow":7,"Arial Nova":8,"Arial Nova Cond":8,"Arial Nova Cond Light":7,"Arial Nova Light":8,"Arial Rounded MT Bold":9,"Baskerville Old Face":7,Batang:8,BatangChe:8,"Bauhaus 93":9,"Bell MT":8,Bembo:7,"Berlin Sans FB":9,"Berlin Sans FB Demi":9,"Bernard MT Condensed":7,"Blackadder ITC":6,"Bodoni MT":7,"Bodoni MT Black":10,"Bodoni MT Condensed":5,"Bodoni MT Poster Compressed":5,"Book Antiqua":8,"Bookman Old Style":9,"Bookshelf Symbol 7":11,"Bradley Hand ITC":10,"Britannic Bold":9,Broadway:10,"Browallia New":5,BrowalliaUPC:5,"Brush Script MT":8,Calibri:7,"Calibri Light":8,"Californian FB":9,"Calisto MT":8,Cambria:8,"Cambria Math":8,Candara:8,Castellar:11,Centaur:7,Century:8,"Century Gothic":8,"Century Schoolbook":8,Chiller:7,"Colonna MT":8,"Comic Sans MS":9,Consolas:8,Constantia:8,"Cooper Black":9,"Copperplate Gothic Bold":11,"Copperplate Gothic Light":11,Corbel:8,"Cordia New":5,CordiaUPC:5,"Courier New":9,"Curlz MT":8,Dante:7,DaunPenh:5,David:7,DilleniaUPC:5,DokChampa:8,Dotum:9,DotumChe:8,Dubai:8,"Dubai Light":8,"Dubai Medium":8,Ebrima:8,"Edwardian Script ITC":7,Elephant:11,"Engravers MT":10,"Eras Bold ITC":10,"Eras Demi ITC":9,"Eras Light ITC":8,"Eras Medium ITC":9,EucrosiaUPC:6,Euphemia:9,"Expo M":13,FangSong:8,"Felix Titling":9,"Footlight MT Light":8,Forte:8,"Franklin Gothic Book":9,"Franklin Gothic Demi":9,"Franklin Gothic Demi Cond":8,"Franklin Gothic Heavy":9,"Franklin Gothic Medium":9,"Franklin Gothic Medium Cond":8,FrankRuehl:6,FreesiaUPC:7,"Freestyle Script":6,"French Script MT":5,Gabriola:6,Gadugi:8,Garamond:7,Gautami:9,Georgia:9,"Georgia Pro":8,"Georgia Pro Black":11,"Georgia Pro Cond":8,"Georgia Pro Cond Black":10,"Georgia Pro Cond Light":8,"Georgia Pro Cond Semibold":8,"Georgia Pro Light":8,"Georgia Pro Semibold":9,Gigi:7,"Gill Sans MT Condensed":5,"Gill Sans MT Ext Condensed Bold":5,"Gill Sans Nova":8,"Gill Sans Nova Cond":5,"Gill Sans Nova Cond Lt":5,"Gill Sans Nova Cond Ultra Bold":9,"Gill Sans Nova Cond XBd":8,"Gill Sans Nova Light":8,"Gill Sans Nova Ultra Bold":13,"Gill Sans Ultra Bold":13,"Gill Sans Ultra Bold Condensed":9,Gisha:8,"Gloucester MT Extra Condensed":6,"Goudy Old Style":8,"Goudy Stout":12,Grotesque:7,"Grotesque Light":7,Gulim:8,GulimChe:8,Gungsuh:7,GungsuhChe:8,"Hadassah Friedlaender":9,Haettenschweiler:7,"Harlow Solid Italic":7,Harrington:8,"Headline R":11,HGGothicE:8,HGGothicM:8,HGGyoshotai:8,HGKyokashotai:8,HGMaruGothicMPRO:11,HGMinchoB:9,HGMinchoE:9,HGPGothicE:9,HGPGothicM:10,HGPGyoshotai:8,HGPKyokashotai:8,HGPMinchoB:8,HGPMinchoE:9,HGPSoeiKakugothicUB:10,HGPSoeiKakupoptai:11,HGPSoeiPresenceEB:9,HGSeikaishotaiPRO:9,HGSGothicE:8,HGSGothicM:9,HGSGyoshotai:7,HGSKyokashotai:7,HGSMinchoB:8,HGSMinchoE:9,HGSoeiKakugothicUB:9,HGSoeiKakupoptai:9,HGSoeiPresenceEB:9,HGSSoeiKakugothicUB:9,HGSSoeiKakupoptai:10,HGSSoeiPresenceEB:8,"High Tower Text":7,"HYGothic-Extra":9,"HYGothic-Medium":9,"HYGraphic-Medium":9,"HYGungSo-Bold":9,"HYHeadLine-Medium":9,"HYMyeongJo-Extra":10,"HYPMokGak-Bold":11,"HYPost-Light":10,"HYPost-Medium":11,"HYShortSamul-Medium":6,"HYSinMyeongJo-Medium":9,Impact:8,"Imprint MT Shadow":8,"Informal Roman":8,"Ink Free":8,IrisUPC:8,"Iskoola Pota":8,JasmineUPC:8,"Javanese Text":9,Jokerman:11,"Juice ITC":6,KaiTi:8,Kalinga:8,Kartika:8,"Khmer UI":8,KodchiangUPC:5,Kokila:8,"Kristen ITC":9,"Kunstler Script":5,"Lao UI":8,Latha:8,Leelawadee:8,"Leelawadee UI":8,"Leelawadee UI Semilight":8,"Levenim MT":9,LilyUPC:8,"Lucida Bright":9,"Lucida Calligraphy":11,"Lucida Console":10,"Lucida Fax":10,"Lucida Handwriting":11,"Lucida Sans":10,"Lucida Sans Typewriter":9,"Lucida Sans Unicode":10,"Magic R":9,Magneto:12,"Maiandra GD":10,"Malgun Gothic":9,"Malgun Gothic Semilight":9,Mangal:9,Marlett:16,"Matura MT Script Capitals":11,Meiryo:9,"Meiryo UI":10,"Microsoft GothicNeo":9,"Microsoft Himalaya":6,"Microsoft JhengHei":9,"Microsoft JhengHei Light":10,"Microsoft JhengHei UI":9,"Microsoft JhengHei UI Light":10,"Microsoft New Tai Lue":9,"Microsoft PhagsPa":9,"Microsoft Sans Serif":9,"Microsoft Tai Le":9,"Microsoft Uighur":6,"Microsoft YaHei Light":10,"Microsoft YaHei UI":9,"Microsoft YaHei UI Light":10,"Microsoft Yi Baiti":9,MingLiU:9,MingLiU_HKSCS:9,"MingLiU_HKSCS-ExtB":9,"MingLiU-ExtB":9,Miriam:9,"Miriam Fixed":10,Mistral:8,"Modern No. 20":8,"MoeumT R":9,"Mongolian Baiti":9,"Monotype Corsiva":8,MoolBoran:9,"MS Gothic":8,"MS Mincho":9,"MS Outlook":9,"MS PGothic":9,"MS PMincho":9,"MS Reference Sans Serif":11,"MS Reference Specialty":19,"MS UI Gothic":9,"MT Extra":16,"MV Boli":12,"Myanmar Text":9,Narkisim:7,"Neue Haas Grotesk Text Pro":9,"New Gulim":10,"News Gothic MT":9,"Niagara Engraved":5,"Niagara Solid":6,"Nirmala UI":9,"Nirmala UI Semilight":9,Nyala:9,"OCR A Extended":10,OCRB:10,"Old English Text MT":9,Onyx:6,"Palace Script MT":6,"Palatino Linotype":8,Papyrus:10,Parchment:4,Perpetua:7,"Perpetua Titling MT":10,"Plantagenet Cherokee":9,Playbill:6,PMingLiU:8,"PMingLiU-ExtB":8,"Poor Richard":9,Pristina:9,"Pyunji R":8,Raavi:9,"Rage Italic":9,Ravie:15,Rockwell:8,"Rockwell Condensed":6,"Rockwell Extra Bold":10,"Rockwell Light":9,"Rockwell Nova":9,"Rockwell Nova Cond":9,"Rockwell Nova Cond Light":9,"Rockwell Nova Extra Bold":9,"Rockwell Nova Light":9,Rod:9,"Sakkal Majalla":9,"Sanskrit Text":9,"Script MT Bold":8,"Segoe MDL2 Assets":6,"Segoe Print":11,"Segoe Script":11,"Segoe UI":8,"Segoe UI Black":9,"Segoe UI Emoji":8,"Segoe UI Historic":8,"Segoe UI Light":8,"Segoe UI Semibold":9,"Segoe UI Semilight":8,"Segoe UI Symbol":8,Selawik:8,"Selawik Light":8,"Selawik Semibold":8,"Shonar Bangla":8,"Showcard Gothic":9,Shruti:8,"Simplified Arabic":8,"Simplified Arabic Fixed":8,"SimSun-ExtB":8,"Sitka Banner":8,"Sitka Display":8,"Sitka Heading":8,"Sitka Small":10,"Sitka Subheading":9,"Sitka Text":9,"Snap ITC":13,"Source Sans Pro":8,"Source Sans Pro Black":8,"Source Sans Pro ExtraLight":8,"Source Sans Pro Light":8,"Source Sans Pro SemiBold":8,Stencil:9,Sylfaen:8,Symbol:8,Tahoma:8,"Tempus Sans ITC":10,"TH SarabunPSK":8,"Times New Roman":7,"Traditional Arabic":8,"Trebuchet MS":8,Tunga:8,"Tw Cen MT":8,"Tw Cen MT Condensed":5,"Tw Cen MT Condensed Extra Bold":7,"UD Digi Kyokasho N-B":8,"UD Digi Kyokasho NK-B":8,"UD Digi Kyokasho NK-R":8,"UD Digi Kyokasho NP-B":8,"UD Digi Kyokasho NP-R":8,"UD Digi Kyokasho N-R":8,Univers:8,"Univers Condensed":8,"Univers Condensed Light":8,"Univers Light":8,"Urdu Typesetting":8,Utsaah:8,Vani:8,Verdana:10,"Verdana Pro":10,"Verdana Pro Black":8,"Verdana Pro Cond":8,"Verdana Pro Cond Black":8,"Verdana Pro Cond Light":8,"Verdana Pro Cond SemiBold":8,"Verdana Pro Light":8,"Verdana Pro SemiBold":8,Vijaya:8,"Viner Hand ITC":10,Vivaldi:6,"Vladimir Script":7,Vrinda:9,Webdings:15,"Wide Latin":19,Wingdings:20,"Wingdings 2":17,"Wingdings 3":13,"Yet R":8,"Yu Gothic":8,"Yu Gothic Light":8,"Yu Gothic Medium":8,"Yu Gothic UI":8,"Yu Gothic UI Light":8,"Yu Gothic UI Semibold":9,"Yu Gothic UI Semilight":8,"Yu Mincho":8,"Yu Mincho Demibold":8,"Yu Mincho Light":8,"\u4eff\u5b8b":8,"\u534e\u6587\u4e2d\u5b8b":9,"\u534e\u6587\u4eff\u5b8b":7,"\u534e\u6587\u5b8b\u4f53":7,"\u534e\u6587\u5f69\u4e91":9,"\u534e\u6587\u65b0\u9b4f":9,"\u534e\u6587\u6977\u4f53":7,"\u534e\u6587\u7425\u73c0":9,"\u534e\u6587\u7ec6\u9ed1":8,"\u534e\u6587\u884c\u6977":8,"\u534e\u6587\u96b6\u4e66":7,"\u5b8b\u4f53":8,"\u5e7c\u5706":8,"\u5fae\u8f6f\u96c5\u9ed1":9,"\u5fae\u8f6f\u96c5\u9ed1 Light":9,"\u65b0\u5b8b\u4f53":8,"\u65b9\u6b63\u59da\u4f53":8,"\u65b9\u6b63\u8212\u4f53":8,"\u6977\u4f53":8,"\u7b49\u7ebf":8,"\u7b49\u7ebf Light":8,"\u96b6\u4e66":8,"\u9ed1\u4f53":8,"\u6e38\u30b4\u30b7\u30c3\u30af":8,"\uff2d\uff33 \uff30\u660e\u671d":8,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':8,"\u30e1\u30a4\u30ea\u30aa":9,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":8,"HG\u660e\u671dB":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":8},12:{"Gill Sans MT":8,Abadi:10,"Abadi Extra Light":9,"Agency FB":6,Aharoni:7,Aldhabi:5,Algerian:10,"Ami R":7,"Angsana New":5,AngsanaUPC:5,Aparajita:6,"Arabic Typesetting":5,Arial:9,"Arial Black":11,"Arial Narrow":7,"Arial Nova":9,"Arial Nova Cond":8,"Arial Nova Cond Light":7,"Arial Nova Light":9,"Arial Rounded MT Bold":10,"Baskerville Old Face":8,Batang:9,BatangChe:8,"Bauhaus 93":9,"Bell MT":8,Bembo:8,"Berlin Sans FB":10,"Berlin Sans FB Demi":10,"Bernard MT Condensed":8,"Blackadder ITC":6,"Bodoni MT":8,"Bodoni MT Black":11,"Bodoni MT Condensed":5,"Bodoni MT Poster Compressed":6,"Book Antiqua":8,"Bookman Old Style":10,"Bookshelf Symbol 7":12,"Bradley Hand ITC":10,"Britannic Bold":10,Broadway:10,"Browallia New":6,BrowalliaUPC:6,"Brush Script MT":8,Calibri:8,"Calibri Light":8,"Californian FB":9,"Calisto MT":8,Cambria:9,"Cambria Math":9,Candara:9,Castellar:12,Centaur:8,Century:9,"Century Gothic":9,"Century Schoolbook":9,Chiller:8,"Colonna MT":8,"Comic Sans MS":10,Consolas:9,Constantia:9,"Cooper Black":10,"Copperplate Gothic Bold":11,"Copperplate Gothic Light":12,Corbel:8,"Cordia New":6,CordiaUPC:6,"Courier New":10,"Curlz MT":9,Dante:7,DaunPenh:5,David:7,DilleniaUPC:5,DokChampa:9,Dotum:8,DotumChe:8,Dubai:9,"Dubai Light":9,"Dubai Medium":9,Ebrima:9,"Edwardian Script ITC":8,Elephant:12,"Engravers MT":10,"Eras Bold ITC":10,"Eras Demi ITC":10,"Eras Light ITC":9,"Eras Medium ITC":9,EucrosiaUPC:6,Euphemia:9,"Expo M":14,FangSong:8,"Felix Titling":9,"Footlight MT Light":9,Forte:8,"Franklin Gothic Book":9,"Franklin Gothic Demi":9,"Franklin Gothic Demi Cond":8,"Franklin Gothic Heavy":9,"Franklin Gothic Medium":9,"Franklin Gothic Medium Cond":8,FrankRuehl:7,FreesiaUPC:7,"Freestyle Script":6,"French Script MT":6,Gabriola:6,Gadugi:9,Garamond:8,Gautami:10,Georgia:10,"Georgia Pro":9,"Georgia Pro Black":11,"Georgia Pro Cond":8,"Georgia Pro Cond Black":10,"Georgia Pro Cond Light":8,"Georgia Pro Cond Semibold":9,"Georgia Pro Light":9,"Georgia Pro Semibold":10,Gigi:7,"Gill Sans MT Condensed":6,"Gill Sans MT Ext Condensed Bold":6,"Gill Sans Nova":8,"Gill Sans Nova Cond":5,"Gill Sans Nova Cond Lt":5,"Gill Sans Nova Cond Ultra Bold":9,"Gill Sans Nova Cond XBd":8,"Gill Sans Nova Light":8,"Gill Sans Nova Ultra Bold":14,"Gill Sans Ultra Bold":14,"Gill Sans Ultra Bold Condensed":9,Gisha:9,"Gloucester MT Extra Condensed":6,"Goudy Old Style":8,"Goudy Stout":13,Grotesque:8,"Grotesque Light":8,Gulim:9,GulimChe:8,Gungsuh:9,GungsuhChe:8,"Hadassah Friedlaender":9,Haettenschweiler:7,"Harlow Solid Italic":7,Harrington:9,"Headline R":11,HGGothicE:8,HGGothicM:8,HGGyoshotai:8,HGKyokashotai:8,HGMaruGothicMPRO:12,HGMinchoB:9,HGMinchoE:9,HGPGothicE:10,HGPGothicM:10,HGPGyoshotai:9,HGPKyokashotai:8,HGPMinchoB:9,HGPMinchoE:9,HGPSoeiKakugothicUB:11,HGPSoeiKakupoptai:11,HGPSoeiPresenceEB:10,HGSeikaishotaiPRO:10,HGSGothicE:9,HGSGothicM:9,HGSGyoshotai:8,HGSKyokashotai:7,HGSMinchoB:9,HGSMinchoE:9,HGSoeiKakugothicUB:9,HGSoeiKakupoptai:9,HGSoeiPresenceEB:9,HGSSoeiKakugothicUB:10,HGSSoeiKakupoptai:10,HGSSoeiPresenceEB:9,"High Tower Text":8,"HYGothic-Extra":10,"HYGothic-Medium":9,"HYGraphic-Medium":9,"HYGungSo-Bold":9,"HYHeadLine-Medium":9,"HYMyeongJo-Extra":11,"HYPMokGak-Bold":11,"HYPost-Light":11,"HYPost-Medium":11,"HYShortSamul-Medium":6,"HYSinMyeongJo-Medium":10,Impact:9,"Imprint MT Shadow":8,"Informal Roman":9,"Ink Free":8,IrisUPC:8,"Iskoola Pota":8,JasmineUPC:8,"Javanese Text":9,Jokerman:11,"Juice ITC":6,KaiTi:8,Kalinga:9,Kartika:8,"Khmer UI":8,KodchiangUPC:5,Kokila:8,"Kristen ITC":10,"Kunstler Script":6,"Lao UI":8,Latha:8,Leelawadee:9,"Leelawadee UI":9,"Leelawadee UI Semilight":9,"Levenim MT":9,LilyUPC:7,"Lucida Bright":10,"Lucida Calligraphy":12,"Lucida Console":11,"Lucida Fax":11,"Lucida Handwriting":12,"Lucida Sans":11,"Lucida Sans Typewriter":10,"Lucida Sans Unicode":11,"Magic R":10,Magneto:12,"Maiandra GD":10,"Malgun Gothic":9,"Malgun Gothic Semilight":10,Mangal:9,Marlett:17,"Matura MT Script Capitals":12,Meiryo:11,"Meiryo UI":11,"Microsoft GothicNeo":9,"Microsoft Himalaya":6,"Microsoft JhengHei":10,"Microsoft JhengHei Light":10,"Microsoft JhengHei UI":10,"Microsoft JhengHei UI Light":10,"Microsoft New Tai Lue":9,"Microsoft PhagsPa":9,"Microsoft Sans Serif":10,"Microsoft Tai Le":9,"Microsoft Uighur":6,"Microsoft YaHei Light":10,"Microsoft YaHei UI":10,"Microsoft YaHei UI Light":10,"Microsoft Yi Baiti":9,MingLiU:9,MingLiU_HKSCS:9,"MingLiU_HKSCS-ExtB":9,"MingLiU-ExtB":9,Miriam:9,"Miriam Fixed":11,Mistral:8,"Modern No. 20":8,"MoeumT R":10,"Mongolian Baiti":9,"Monotype Corsiva":8,MoolBoran:7,"MS Gothic":8,"MS Mincho":9,"MS Outlook":9,"MS PGothic":9,"MS PMincho":9,"MS Reference Sans Serif":11,"MS Reference Specialty":20,"MS UI Gothic":9,"MT Extra":17,"MV Boli":12,"Myanmar Text":9,Narkisim:8,"Neue Haas Grotesk Text Pro":9,"New Gulim":10,"News Gothic MT":9,"Niagara Engraved":6,"Niagara Solid":6,"Nirmala UI":9,"Nirmala UI Semilight":10,Nyala:9,"OCR A Extended":11,OCRB:11,"Old English Text MT":9,Onyx:7,"Palace Script MT":6,"Palatino Linotype":8,Papyrus:10,Parchment:4,Perpetua:7,"Perpetua Titling MT":11,"Plantagenet Cherokee":9,Playbill:7,PMingLiU:9,"PMingLiU-ExtB":9,"Poor Richard":10,Pristina:9,"Pyunji R":9,Raavi:8,"Rage Italic":9,Ravie:16,Rockwell:9,"Rockwell Condensed":7,"Rockwell Extra Bold":11,"Rockwell Light":10,"Rockwell Nova":9,"Rockwell Nova Cond":9,"Rockwell Nova Cond Light":9,"Rockwell Nova Extra Bold":9,"Rockwell Nova Light":9,Rod:9,"Sakkal Majalla":9,"Sanskrit Text":9,"Script MT Bold":8,"Segoe MDL2 Assets":7,"Segoe Print":12,"Segoe Script":12,"Segoe UI":9,"Segoe UI Black":10,"Segoe UI Emoji":9,"Segoe UI Historic":9,"Segoe UI Light":8,"Segoe UI Semibold":9,"Segoe UI Semilight":9,"Segoe UI Symbol":9,Selawik:8,"Selawik Light":8,"Selawik Semibold":8,"Shonar Bangla":8,"Showcard Gothic":9,Shruti:8,"Simplified Arabic":8,"Simplified Arabic Fixed":8,"SimSun-ExtB":8,"Sitka Banner":8,"Sitka Display":8,"Sitka Heading":9,"Sitka Small":11,"Sitka Subheading":9,"Sitka Text":10,"Snap ITC":14,"Source Sans Pro":8,"Source Sans Pro Black":8,"Source Sans Pro ExtraLight":8,"Source Sans Pro Light":8,"Source Sans Pro SemiBold":8,Stencil:9,Sylfaen:8,Symbol:8,Tahoma:9,"Tempus Sans ITC":11,"TH SarabunPSK":8,"Times New Roman":8,"Traditional Arabic":8,"Trebuchet MS":8,Tunga:8,"Tw Cen MT":9,"Tw Cen MT Condensed":6,"Tw Cen MT Condensed Extra Bold":8,"UD Digi Kyokasho N-B":8,"UD Digi Kyokasho NK-B":8,"UD Digi Kyokasho NK-R":8,"UD Digi Kyokasho NP-B":8,"UD Digi Kyokasho NP-R":8,"UD Digi Kyokasho N-R":8,Univers:8,"Univers Condensed":8,"Univers Condensed Light":8,"Univers Light":8,"Urdu Typesetting":8,Utsaah:6,Vani:8,Verdana:10,"Verdana Pro":10,"Verdana Pro Black":8,"Verdana Pro Cond":8,"Verdana Pro Cond Black":8,"Verdana Pro Cond Light":8,"Verdana Pro Cond SemiBold":8,"Verdana Pro Light":8,"Verdana Pro SemiBold":8,Vijaya:8,"Viner Hand ITC":11,Vivaldi:7,"Vladimir Script":7,Vrinda:9,Webdings:16,"Wide Latin":20,Wingdings:22,"Wingdings 2":18,"Wingdings 3":14,"Yet R":9,"Yu Gothic":9,"Yu Gothic Light":9,"Yu Gothic Medium":9,"Yu Gothic UI":9,"Yu Gothic UI Light":9,"Yu Gothic UI Semibold":9,"Yu Gothic UI Semilight":9,"Yu Mincho":9,"Yu Mincho Demibold":8,"Yu Mincho Light":8,"\u4eff\u5b8b":8,"\u534e\u6587\u4e2d\u5b8b":10,"\u534e\u6587\u4eff\u5b8b":8,"\u534e\u6587\u5b8b\u4f53":8,"\u534e\u6587\u5f69\u4e91":9,"\u534e\u6587\u65b0\u9b4f":9,"\u534e\u6587\u6977\u4f53":8,"\u534e\u6587\u7425\u73c0":9,"\u534e\u6587\u7ec6\u9ed1":9,"\u534e\u6587\u884c\u6977":8,"\u534e\u6587\u96b6\u4e66":7,"\u5b8b\u4f53":8,"\u5e7c\u5706":8,"\u5fae\u8f6f\u96c5\u9ed1":9,"\u5fae\u8f6f\u96c5\u9ed1 Light":9,"\u65b0\u5b8b\u4f53":8,"\u65b9\u6b63\u59da\u4f53":8,"\u65b9\u6b63\u8212\u4f53":9,"\u6977\u4f53":8,"\u7b49\u7ebf":8,"\u7b49\u7ebf Light":8,"\u96b6\u4e66":8,"\u9ed1\u4f53":8,"\u6e38\u30b4\u30b7\u30c3\u30af":9,"\uff2d\uff33 \uff30\u660e\u671d":8,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':8,"\u30e1\u30a4\u30ea\u30aa":10,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":8,"HG\u660e\u671dB":8,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":8},14:{"Gill Sans MT":10,Abadi:11,"Abadi Extra Light":11,"Agency FB":8,Aharoni:8,Aldhabi:6,Algerian:11,"Ami R":8,"Angsana New":6,AngsanaUPC:6,Aparajita:8,"Arabic Typesetting":6,Arial:11,"Arial Black":13,"Arial Narrow":9,"Arial Nova":11,"Arial Nova Cond":10,"Arial Nova Cond Light":9,"Arial Nova Light":11,"Arial Rounded MT Bold":11,"Baskerville Old Face":9,Batang:10,BatangChe:10,"Bauhaus 93":11,"Bell MT":10,Bembo:9,"Berlin Sans FB":11,"Berlin Sans FB Demi":12,"Bernard MT Condensed":9,"Blackadder ITC":8,"Bodoni MT":9,"Bodoni MT Black":12,"Bodoni MT Condensed":6,"Bodoni MT Poster Compressed":6,"Book Antiqua":10,"Bookman Old Style":12,"Bookshelf Symbol 7":14,"Bradley Hand ITC":12,"Britannic Bold":12,Broadway:12,"Browallia New":7,BrowalliaUPC:7,"Brush Script MT":10,Calibri:10,"Calibri Light":10,"Californian FB":11,"Calisto MT":10,Cambria:11,"Cambria Math":11,Candara:10,Castellar:14,Centaur:9,Century:11,"Century Gothic":11,"Century Schoolbook":11,Chiller:9,"Colonna MT":10,"Comic Sans MS":12,Consolas:10,Constantia:10,"Cooper Black":11,"Copperplate Gothic Bold":14,"Copperplate Gothic Light":14,Corbel:10,"Cordia New":7,CordiaUPC:7,"Courier New":11,"Curlz MT":10,Dante:9,DaunPenh:6,David:8,DilleniaUPC:6,DokChampa:11,Dotum:10,DotumChe:10,Dubai:10,"Dubai Light":10,"Dubai Medium":10,Ebrima:10,"Edwardian Script ITC":9,Elephant:14,"Engravers MT":12,"Eras Bold ITC":12,"Eras Demi ITC":12,"Eras Light ITC":10,"Eras Medium ITC":11,EucrosiaUPC:8,Euphemia:11,"Expo M":16,FangSong:10,"Felix Titling":11,"Footlight MT Light":11,Forte:10,"Franklin Gothic Book":11,"Franklin Gothic Demi":11,"Franklin Gothic Demi Cond":10,"Franklin Gothic Heavy":11,"Franklin Gothic Medium":11,"Franklin Gothic Medium Cond":10,FrankRuehl:8,FreesiaUPC:8,"Freestyle Script":7,"French Script MT":7,Gabriola:8,Gadugi:10,Garamond:9,Gautami:11,Georgia:12,"Georgia Pro":11,"Georgia Pro Black":13,"Georgia Pro Cond":10,"Georgia Pro Cond Black":12,"Georgia Pro Cond Light":10,"Georgia Pro Cond Semibold":11,"Georgia Pro Light":10,"Georgia Pro Semibold":12,Gigi:10,"Gill Sans MT Condensed":7,"Gill Sans MT Ext Condensed Bold":7,"Gill Sans Nova":10,"Gill Sans Nova Cond":6,"Gill Sans Nova Cond Lt":6,"Gill Sans Nova Cond Ultra Bold":11,"Gill Sans Nova Cond XBd":10,"Gill Sans Nova Light":10,"Gill Sans Nova Ultra Bold":16,"Gill Sans Ultra Bold":16,"Gill Sans Ultra Bold Condensed":11,Gisha:10,"Gloucester MT Extra Condensed":7,"Goudy Old Style":10,"Goudy Stout":16,Grotesque:9,"Grotesque Light":9,Gulim:10,GulimChe:10,Gungsuh:10,GungsuhChe:10,"Hadassah Friedlaender":11,Haettenschweiler:8,"Harlow Solid Italic":9,Harrington:11,"Headline R":14,HGGothicE:10,HGGothicM:10,HGGyoshotai:10,HGKyokashotai:10,HGMaruGothicMPRO:14,HGMinchoB:11,HGMinchoE:11,HGPGothicE:11,HGPGothicM:12,HGPGyoshotai:10,HGPKyokashotai:10,HGPMinchoB:10,HGPMinchoE:11,HGPSoeiKakugothicUB:13,HGPSoeiKakupoptai:13,HGPSoeiPresenceEB:12,HGSeikaishotaiPRO:11,HGSGothicE:10,HGSGothicM:11,HGSGyoshotai:9,HGSKyokashotai:9,HGSMinchoB:10,HGSMinchoE:11,HGSoeiKakugothicUB:11,HGSoeiKakupoptai:11,HGSoeiPresenceEB:11,HGSSoeiKakugothicUB:12,HGSSoeiKakupoptai:12,HGSSoeiPresenceEB:11,"High Tower Text":9,"HYGothic-Extra":12,"HYGothic-Medium":11,"HYGraphic-Medium":11,"HYGungSo-Bold":11,"HYHeadLine-Medium":11,"HYMyeongJo-Extra":13,"HYPMokGak-Bold":13,"HYPost-Light":13,"HYPost-Medium":13,"HYShortSamul-Medium":7,"HYSinMyeongJo-Medium":12,Impact:10,"Imprint MT Shadow":10,"Informal Roman":10,"Ink Free":10,IrisUPC:10,"Iskoola Pota":10,JasmineUPC:10,"Javanese Text":11,Jokerman:14,"Juice ITC":7,KaiTi:10,Kalinga:11,Kartika:11,"Khmer UI":10,KodchiangUPC:7,Kokila:10,"Kristen ITC":11,
23
23
  "Kunstler Script":7,"Lao UI":10,Latha:10,Leelawadee:10,"Leelawadee UI":10,"Leelawadee UI Semilight":10,"Levenim MT":11,LilyUPC:8,"Lucida Bright":12,"Lucida Calligraphy":14,"Lucida Console":12,"Lucida Fax":13,"Lucida Handwriting":14,"Lucida Sans":13,"Lucida Sans Typewriter":11,"Lucida Sans Unicode":13,"Magic R":12,Magneto:15,"Maiandra GD":12,"Malgun Gothic":11,"Malgun Gothic Semilight":12,Mangal:11,Marlett:20,"Matura MT Script Capitals":13,Meiryo:13,"Meiryo UI":13,"Microsoft GothicNeo":11,"Microsoft Himalaya":7,"Microsoft JhengHei":11,"Microsoft JhengHei Light":12,"Microsoft JhengHei UI":11,"Microsoft JhengHei UI Light":12,"Microsoft New Tai Lue":11,"Microsoft PhagsPa":11,"Microsoft Sans Serif":11,"Microsoft Tai Le":11,"Microsoft Uighur":7,"Microsoft YaHei Light":12,"Microsoft YaHei UI":12,"Microsoft YaHei UI Light":12,"Microsoft Yi Baiti":11,MingLiU:11,MingLiU_HKSCS:11,"MingLiU_HKSCS-ExtB":11,"MingLiU-ExtB":11,Miriam:10,"Miriam Fixed":12,Mistral:10,"Modern No. 20":10,"MoeumT R":11,"Mongolian Baiti":11,"Monotype Corsiva":9,MoolBoran:8,"MS Gothic":10,"MS Mincho":11,"MS Outlook":11,"MS PGothic":11,"MS PMincho":11,"MS Reference Sans Serif":13,"MS Reference Specialty":24,"MS UI Gothic":11,"MT Extra":20,"MV Boli":14,"Myanmar Text":11,Narkisim:9,"Neue Haas Grotesk Text Pro":11,"New Gulim":12,"News Gothic MT":12,"Niagara Engraved":7,"Niagara Solid":7,"Nirmala UI":11,"Nirmala UI Semilight":11,Nyala:11,"OCR A Extended":12,OCRB:12,"Old English Text MT":11,Onyx:7,"Palace Script MT":7,"Palatino Linotype":10,Papyrus:12,Parchment:5,Perpetua:9,"Perpetua Titling MT":13,"Plantagenet Cherokee":11,Playbill:8,PMingLiU:10,"PMingLiU-ExtB":10,"Poor Richard":11,Pristina:10,"Pyunji R":10,Raavi:10,"Rage Italic":11,Ravie:19,Rockwell:10,"Rockwell Condensed":8,"Rockwell Extra Bold":13,"Rockwell Light":11,"Rockwell Nova":11,"Rockwell Nova Cond":11,"Rockwell Nova Cond Light":11,"Rockwell Nova Extra Bold":11,"Rockwell Nova Light":11,Rod:11,"Sakkal Majalla":11,"Sanskrit Text":12,"Script MT Bold":10,"Segoe MDL2 Assets":8,"Segoe Print":14,"Segoe Script":14,"Segoe UI":10,"Segoe UI Black":12,"Segoe UI Emoji":10,"Segoe UI Historic":10,"Segoe UI Light":10,"Segoe UI Semibold":11,"Segoe UI Semilight":10,"Segoe UI Symbol":10,Selawik:10,"Selawik Light":10,"Selawik Semibold":10,"Shonar Bangla":10,"Showcard Gothic":11,Shruti:11,"Simplified Arabic":10,"Simplified Arabic Fixed":11,"SimSun-ExtB":10,"Sitka Banner":10,"Sitka Display":10,"Sitka Heading":11,"Sitka Small":13,"Sitka Subheading":11,"Sitka Text":12,"Snap ITC":16,"Source Sans Pro":9,"Source Sans Pro Black":10,"Source Sans Pro ExtraLight":9,"Source Sans Pro Light":10,"Source Sans Pro SemiBold":10,Stencil:11,Sylfaen:10,Symbol:10,Tahoma:10,"Tempus Sans ITC":13,"TH SarabunPSK":7,"Times New Roman":10,"Traditional Arabic":10,"Trebuchet MS":10,Tunga:10,"Tw Cen MT":10,"Tw Cen MT Condensed":7,"Tw Cen MT Condensed Extra Bold":9,"UD Digi Kyokasho N-B":10,"UD Digi Kyokasho NK-B":10,"UD Digi Kyokasho NK-R":10,"UD Digi Kyokasho NP-B":10,"UD Digi Kyokasho NP-R":10,"UD Digi Kyokasho N-R":10,Univers:10,"Univers Condensed":10,"Univers Condensed Light":8,"Univers Light":10,"Urdu Typesetting":10,Utsaah:8,Vani:11,Verdana:12,"Verdana Pro":12,"Verdana Pro Black":10,"Verdana Pro Cond":10,"Verdana Pro Cond Black":10,"Verdana Pro Cond Light":10,"Verdana Pro Cond SemiBold":10,"Verdana Pro Light":10,"Verdana Pro SemiBold":10,Vijaya:10,"Viner Hand ITC":13,Vivaldi:8,"Vladimir Script":9,Vrinda:11,Webdings:19,"Wide Latin":24,Wingdings:26,"Wingdings 2":22,"Wingdings 3":17,"Yet R":10,"Yu Gothic":11,"Yu Gothic Light":10,"Yu Gothic Medium":11,"Yu Gothic UI":10,"Yu Gothic UI Light":10,"Yu Gothic UI Semibold":11,"Yu Gothic UI Semilight":10,"Yu Mincho":10,"Yu Mincho Demibold":10,"Yu Mincho Light":10,"\u4eff\u5b8b":10,"\u534e\u6587\u4e2d\u5b8b":12,"\u534e\u6587\u4eff\u5b8b":9,"\u534e\u6587\u5b8b\u4f53":9,"\u534e\u6587\u5f69\u4e91":11,"\u534e\u6587\u65b0\u9b4f":11,"\u534e\u6587\u6977\u4f53":9,"\u534e\u6587\u7425\u73c0":11,"\u534e\u6587\u7ec6\u9ed1":11,"\u534e\u6587\u884c\u6977":10,"\u534e\u6587\u96b6\u4e66":8,"\u5b8b\u4f53":10,"\u5e7c\u5706":10,"\u5fae\u8f6f\u96c5\u9ed1":11,"\u5fae\u8f6f\u96c5\u9ed1 Light":11,"\u65b0\u5b8b\u4f53":10,"\u65b9\u6b63\u59da\u4f53":10,"\u65b9\u6b63\u8212\u4f53":10,"\u6977\u4f53":10,"\u7b49\u7ebf":10,"\u7b49\u7ebf Light":10,"\u96b6\u4e66":10,"\u9ed1\u4f53":10,"\u6e38\u30b4\u30b7\u30c3\u30af":11,"\uff2d\uff33 \uff30\u660e\u671d":10,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':10,"\u30e1\u30a4\u30ea\u30aa":12,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":10,"HG\u660e\u671dB":10,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":10},16:{"Gill Sans MT":11,Abadi:13,"Abadi Extra Light":12,"Agency FB":9,Aharoni:9,Aldhabi:7,Algerian:13,"Ami R":9,"Angsana New":7,AngsanaUPC:7,Aparajita:8,"Arabic Typesetting":7,Arial:12,"Arial Black":14,"Arial Narrow":10,"Arial Nova":12,"Arial Nova Cond":11,"Arial Nova Cond Light":9,"Arial Nova Light":12,"Arial Rounded MT Bold":12,"Baskerville Old Face":10,Batang:10,BatangChe:11,"Bauhaus 93":12,"Bell MT":11,Bembo:10,"Berlin Sans FB":13,"Berlin Sans FB Demi":13,"Bernard MT Condensed":10,"Blackadder ITC":8,"Bodoni MT":10,"Bodoni MT Black":14,"Bodoni MT Condensed":7,"Bodoni MT Poster Compressed":7,"Book Antiqua":11,"Bookman Old Style":13,"Bookshelf Symbol 7":16,"Bradley Hand ITC":14,"Britannic Bold":13,Broadway:14,"Browallia New":8,BrowalliaUPC:8,"Brush Script MT":11,Calibri:11,"Calibri Light":11,"Californian FB":12,"Calisto MT":11,Cambria:12,"Cambria Math":12,Candara:12,Castellar:15,Centaur:10,Century:12,"Century Gothic":12,"Century Schoolbook":12,Chiller:10,"Colonna MT":11,"Comic Sans MS":13,Consolas:12,Constantia:11,"Cooper Black":13,"Copperplate Gothic Bold":15,"Copperplate Gothic Light":15,Corbel:11,"Cordia New":8,CordiaUPC:8,"Courier New":13,"Curlz MT":11,Dante:9,DaunPenh:7,David:9,DilleniaUPC:7,DokChampa:12,Dotum:11,DotumChe:11,Dubai:11,"Dubai Light":11,"Dubai Medium":11,Ebrima:11,"Edwardian Script ITC":10,Elephant:16,"Engravers MT":14,"Eras Bold ITC":14,"Eras Demi ITC":13,"Eras Light ITC":11,"Eras Medium ITC":12,EucrosiaUPC:9,Euphemia:12,"Expo M":18,FangSong:11,"Felix Titling":12,"Footlight MT Light":12,Forte:11,"Franklin Gothic Book":12,"Franklin Gothic Demi":12,"Franklin Gothic Demi Cond":11,"Franklin Gothic Heavy":12,"Franklin Gothic Medium":12,"Franklin Gothic Medium Cond":11,FrankRuehl:9,FreesiaUPC:9,"Freestyle Script":8,"French Script MT":8,Gabriola:8,Gadugi:11,Garamond:10,Gautami:13,Georgia:13,"Georgia Pro":12,"Georgia Pro Black":15,"Georgia Pro Cond":11,"Georgia Pro Cond Black":13,"Georgia Pro Cond Light":11,"Georgia Pro Cond Semibold":12,"Georgia Pro Light":12,"Georgia Pro Semibold":13,Gigi:12,"Gill Sans MT Condensed":8,"Gill Sans MT Ext Condensed Bold":7,"Gill Sans Nova":11,"Gill Sans Nova Cond":7,"Gill Sans Nova Cond Lt":6,"Gill Sans Nova Cond Ultra Bold":12,"Gill Sans Nova Cond XBd":11,"Gill Sans Nova Light":11,"Gill Sans Nova Ultra Bold":18,"Gill Sans Ultra Bold":18,"Gill Sans Ultra Bold Condensed":12,Gisha:11,"Gloucester MT Extra Condensed":8,"Goudy Old Style":11,"Goudy Stout":17,Grotesque:10,"Grotesque Light":10,Gulim:11,GulimChe:11,Gungsuh:11,GungsuhChe:11,"Hadassah Friedlaender":12,Haettenschweiler:9,"Harlow Solid Italic":10,Harrington:12,"Headline R":15,HGGothicE:11,HGGothicM:11,HGGyoshotai:11,HGKyokashotai:11,HGMaruGothicMPRO:16,HGMinchoB:12,HGMinchoE:12,HGPGothicE:12,HGPGothicM:13,HGPGyoshotai:11,HGPKyokashotai:11,HGPMinchoB:11,HGPMinchoE:12,HGPSoeiKakugothicUB:14,HGPSoeiKakupoptai:15,HGPSoeiPresenceEB:13,HGSeikaishotaiPRO:12,HGSGothicE:11,HGSGothicM:12,HGSGyoshotai:10,HGSKyokashotai:10,HGSMinchoB:11,HGSMinchoE:12,HGSoeiKakugothicUB:12,HGSoeiKakupoptai:12,HGSoeiPresenceEB:12,HGSSoeiKakugothicUB:13,HGSSoeiKakupoptai:14,HGSSoeiPresenceEB:12,"High Tower Text":10,"HYGothic-Extra":13,"HYGothic-Medium":12,"HYGraphic-Medium":12,"HYGungSo-Bold":12,"HYHeadLine-Medium":12,"HYMyeongJo-Extra":14,"HYPMokGak-Bold":15,"HYPost-Light":14,"HYPost-Medium":15,"HYShortSamul-Medium":8,"HYSinMyeongJo-Medium":13,Impact:11,"Imprint MT Shadow":11,"Informal Roman":11,"Ink Free":11,IrisUPC:11,"Iskoola Pota":11,JasmineUPC:10,"Javanese Text":12,Jokerman:15,"Juice ITC":8,KaiTi:11,Kalinga:12,Kartika:12,"Khmer UI":11,KodchiangUPC:7,Kokila:8,"Kristen ITC":13,"Kunstler Script":7,"Lao UI":11,Latha:11,Leelawadee:11,"Leelawadee UI":11,"Leelawadee UI Semilight":12,"Levenim MT":12,LilyUPC:9,"Lucida Bright":13,"Lucida Calligraphy":15,"Lucida Console":14,"Lucida Fax":14,"Lucida Handwriting":15,"Lucida Sans":14,"Lucida Sans Typewriter":13,"Lucida Sans Unicode":14,"Magic R":13,Magneto:16,"Maiandra GD":13,"Malgun Gothic":12,"Malgun Gothic Semilight":13,Mangal:12,Marlett:22,"Matura MT Script Capitals":15,Meiryo:14,"Meiryo UI":14,"Microsoft GothicNeo":12,"Microsoft Himalaya":8,"Microsoft JhengHei":13,"Microsoft JhengHei Light":13,"Microsoft JhengHei UI":13,"Microsoft JhengHei UI Light":13,"Microsoft New Tai Lue":12,"Microsoft PhagsPa":12,"Microsoft Sans Serif":13,"Microsoft Tai Le":12,"Microsoft Uighur":8,"Microsoft YaHei Light":13,"Microsoft YaHei UI":13,"Microsoft YaHei UI Light":13,"Microsoft Yi Baiti":12,MingLiU:12,MingLiU_HKSCS:12,"MingLiU_HKSCS-ExtB":12,"MingLiU-ExtB":12,Miriam:11,"Miriam Fixed":14,Mistral:10,"Modern No. 20":11,"MoeumT R":13,"Mongolian Baiti":12,"Monotype Corsiva":10,MoolBoran:8,"MS Gothic":11,"MS Mincho":12,"MS Outlook":12,"MS PGothic":12,"MS PMincho":12,"MS Reference Sans Serif":14,"MS Reference Specialty":26,"MS UI Gothic":12,"MT Extra":22,"MV Boli":16,"Myanmar Text":12,Narkisim:10,"Neue Haas Grotesk Text Pro":12,"New Gulim":13,"News Gothic MT":14,"Niagara Engraved":8,"Niagara Solid":8,"Nirmala UI":12,"Nirmala UI Semilight":13,Nyala:12,"OCR A Extended":14,OCRB:14,"Old English Text MT":12,Onyx:8,"Palace Script MT":8,"Palatino Linotype":11,Papyrus:14,Parchment:5,Perpetua:10,"Perpetua Titling MT":14,"Plantagenet Cherokee":12,Playbill:8,PMingLiU:11,"PMingLiU-ExtB":11,"Poor Richard":13,Pristina:11,"Pyunji R":11,Raavi:11,"Rage Italic":12,Ravie:21,Rockwell:11,"Rockwell Condensed":9,"Rockwell Extra Bold":14,"Rockwell Light":12,"Rockwell Nova":12,"Rockwell Nova Cond":12,"Rockwell Nova Cond Light":12,"Rockwell Nova Extra Bold":12,"Rockwell Nova Light":12,Rod:12,"Sakkal Majalla":12,"Sanskrit Text":13,"Script MT Bold":11,"Segoe MDL2 Assets":8,"Segoe Print":15,"Segoe Script":15,"Segoe UI":11,"Segoe UI Black":13,"Segoe UI Emoji":11,"Segoe UI Historic":11,"Segoe UI Light":11,"Segoe UI Semibold":12,"Segoe UI Semilight":11,"Segoe UI Symbol":11,Selawik:11,"Selawik Light":11,"Selawik Semibold":12,"Shonar Bangla":11,"Showcard Gothic":12,Shruti:13,"Simplified Arabic":11,"Simplified Arabic Fixed":13,"SimSun-ExtB":11,"Sitka Banner":11,"Sitka Display":11,"Sitka Heading":12,"Sitka Small":14,"Sitka Subheading":12,"Sitka Text":13,"Snap ITC":18,"Source Sans Pro":10,"Source Sans Pro Black":11,"Source Sans Pro ExtraLight":10,"Source Sans Pro Light":11,"Source Sans Pro SemiBold":11,Stencil:12,Sylfaen:11,Symbol:11,Tahoma:11,"Tempus Sans ITC":14,"TH SarabunPSK":8,"Times New Roman":11,"Traditional Arabic":10,"Trebuchet MS":11,Tunga:11,"Tw Cen MT":12,"Tw Cen MT Condensed":8,"Tw Cen MT Condensed Extra Bold":10,"UD Digi Kyokasho N-B":11,"UD Digi Kyokasho NK-B":11,"UD Digi Kyokasho NK-R":11,"UD Digi Kyokasho NP-B":11,"UD Digi Kyokasho NP-R":11,"UD Digi Kyokasho N-R":11,Univers:11,"Univers Condensed":11,"Univers Condensed Light":9,"Univers Light":11,"Urdu Typesetting":11,Utsaah:8,Vani:13,Verdana:13,"Verdana Pro":13,"Verdana Pro Black":11,"Verdana Pro Cond":11,"Verdana Pro Cond Black":11,"Verdana Pro Cond Light":11,"Verdana Pro Cond SemiBold":11,"Verdana Pro Light":11,"Verdana Pro SemiBold":11,Vijaya:11,"Viner Hand ITC":14,Vivaldi:9,"Vladimir Script":10,Vrinda:12,Webdings:21,"Wide Latin":26,Wingdings:28,"Wingdings 2":24,"Wingdings 3":19,"Yet R":11,"Yu Gothic":12,"Yu Gothic Light":11,"Yu Gothic Medium":12,"Yu Gothic UI":11,"Yu Gothic UI Light":11,"Yu Gothic UI Semibold":12,"Yu Gothic UI Semilight":12,"Yu Mincho":11,"Yu Mincho Demibold":11,"Yu Mincho Light":11,"\u4eff\u5b8b":11,"\u534e\u6587\u4e2d\u5b8b":13,"\u534e\u6587\u4eff\u5b8b":10,"\u534e\u6587\u5b8b\u4f53":10,"\u534e\u6587\u5f69\u4e91":12,"\u534e\u6587\u65b0\u9b4f":12,"\u534e\u6587\u6977\u4f53":10,"\u534e\u6587\u7425\u73c0":12,"\u534e\u6587\u7ec6\u9ed1":12,"\u534e\u6587\u884c\u6977":11,"\u534e\u6587\u96b6\u4e66":9,"\u5b8b\u4f53":11,"\u5e7c\u5706":11,"\u5fae\u8f6f\u96c5\u9ed1":12,"\u5fae\u8f6f\u96c5\u9ed1 Light":12,"\u65b0\u5b8b\u4f53":11,"\u65b9\u6b63\u59da\u4f53":11,"\u65b9\u6b63\u8212\u4f53":11,"\u6977\u4f53":11,"\u7b49\u7ebf":11,"\u7b49\u7ebf Light":11,"\u96b6\u4e66":11,"\u9ed1\u4f53":11,"\u6e38\u30b4\u30b7\u30c3\u30af":12,"\uff2d\uff33 \uff30\u660e\u671d":11,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':11,"\u30e1\u30a4\u30ea\u30aa":13,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":11,"HG\u660e\u671dB":11,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":11},18:{"Gill Sans MT":12,Abadi:15,"Abadi Extra Light":13,"Agency FB":10,Aharoni:10,Aldhabi:8,Algerian:14,"Ami R":10,"Angsana New":8,AngsanaUPC:8,Aparajita:10,"Arabic Typesetting":8,Arial:13,"Arial Black":16,"Arial Narrow":11,"Arial Nova":13,"Arial Nova Cond":12,"Arial Nova Cond Light":11,"Arial Nova Light":13,"Arial Rounded MT Bold":14,"Baskerville Old Face":12,Batang:12,BatangChe:12,"Bauhaus 93":14,"Bell MT":12,Bembo:12,"Berlin Sans FB":14,"Berlin Sans FB Demi":15,"Bernard MT Condensed":12,"Blackadder ITC":9,"Bodoni MT":12,"Bodoni MT Black":16,"Bodoni MT Condensed":8,"Bodoni MT Poster Compressed":8,"Book Antiqua":12,"Bookman Old Style":15,"Bookshelf Symbol 7":18,"Bradley Hand ITC":15,"Britannic Bold":15,Broadway:16,"Browallia New":9,BrowalliaUPC:9,"Brush Script MT":12,Calibri:12,"Calibri Light":12,"Californian FB":13,"Calisto MT":12,Cambria:13,"Cambria Math":13,Candara:13,Castellar:17,Centaur:12,Century:13,"Century Gothic":13,"Century Schoolbook":13,Chiller:11,"Colonna MT":12,"Comic Sans MS":15,Consolas:13,Constantia:13,"Cooper Black":14,"Copperplate Gothic Bold":17,"Copperplate Gothic Light":17,Corbel:13,"Cordia New":9,CordiaUPC:9,"Courier New":14,"Curlz MT":13,Dante:11,DaunPenh:8,David:11,DilleniaUPC:7,DokChampa:13,Dotum:13,DotumChe:12,Dubai:13,"Dubai Light":13,"Dubai Medium":13,Ebrima:13,"Edwardian Script ITC":11,Elephant:18,"Engravers MT":16,"Eras Bold ITC":16,"Eras Demi ITC":15,"Eras Light ITC":13,"Eras Medium ITC":14,EucrosiaUPC:10,Euphemia:14,"Expo M":21,FangSong:12,"Felix Titling":14,"Footlight MT Light":13,Forte:13,"Franklin Gothic Book":14,"Franklin Gothic Demi":14,"Franklin Gothic Demi Cond":12,"Franklin Gothic Heavy":14,"Franklin Gothic Medium":14,"Franklin Gothic Medium Cond":12,FrankRuehl:10,FreesiaUPC:11,"Freestyle Script":9,"French Script MT":9,Gabriola:10,Gadugi:13,Garamond:11,Gautami:14,Georgia:15,"Georgia Pro":14,"Georgia Pro Black":17,"Georgia Pro Cond":13,"Georgia Pro Cond Black":15,"Georgia Pro Cond Light":12,"Georgia Pro Cond Semibold":13,"Georgia Pro Light":13,"Georgia Pro Semibold":15,Gigi:12,"Gill Sans MT Condensed":9,"Gill Sans MT Ext Condensed Bold":8,"Gill Sans Nova":12,"Gill Sans Nova Cond":8,"Gill Sans Nova Cond Lt":7,"Gill Sans Nova Cond Ultra Bold":14,"Gill Sans Nova Cond XBd":13,"Gill Sans Nova Light":12,"Gill Sans Nova Ultra Bold":20,"Gill Sans Ultra Bold":21,"Gill Sans Ultra Bold Condensed":14,Gisha:13,"Gloucester MT Extra Condensed":9,"Goudy Old Style":12,"Goudy Stout":20,Grotesque:12,"Grotesque Light":12,Gulim:13,GulimChe:12,Gungsuh:13,GungsuhChe:12,"Hadassah Friedlaender":14,Haettenschweiler:11,"Harlow Solid Italic":11,Harrington:13,"Headline R":17,HGGothicE:12,HGGothicM:12,HGGyoshotai:12,HGKyokashotai:12,HGMaruGothicMPRO:18,HGMinchoB:13,HGMinchoE:13,HGPGothicE:14,HGPGothicM:15,HGPGyoshotai:12,HGPKyokashotai:12,HGPMinchoB:12,HGPMinchoE:13,HGPSoeiKakugothicUB:16,HGPSoeiKakupoptai:17,HGPSoeiPresenceEB:14,HGSeikaishotaiPRO:14,HGSGothicE:13,HGSGothicM:14,HGSGyoshotai:11,HGSKyokashotai:11,HGSMinchoB:12,HGSMinchoE:13,HGSoeiKakugothicUB:13,HGSoeiKakupoptai:13,HGSoeiPresenceEB:13,HGSSoeiKakugothicUB:15,HGSSoeiKakupoptai:16,HGSSoeiPresenceEB:13,"High Tower Text":12,"HYGothic-Extra":15,"HYGothic-Medium":14,"HYGraphic-Medium":14,"HYGungSo-Bold":14,"HYHeadLine-Medium":14,"HYMyeongJo-Extra":16,"HYPMokGak-Bold":17,"HYPost-Light":16,"HYPost-Medium":17,"HYShortSamul-Medium":9,"HYSinMyeongJo-Medium":15,Impact:13,"Imprint MT Shadow":12,"Informal Roman":13,"Ink Free":12,IrisUPC:12,"Iskoola Pota":12,JasmineUPC:11,"Javanese Text":14,Jokerman:17,"Juice ITC":8,KaiTi:12,Kalinga:13,Kartika:14,"Khmer UI":13,KodchiangUPC:8,Kokila:9,"Kristen ITC":14,"Kunstler Script":8,"Lao UI":13,Latha:12,Leelawadee:13,"Leelawadee UI":13,"Leelawadee UI Semilight":13,"Levenim MT":14,LilyUPC:11,"Lucida Bright":15,"Lucida Calligraphy":17,"Lucida Console":15,"Lucida Fax":16,"Lucida Handwriting":17,"Lucida Sans":16,"Lucida Sans Typewriter":14,"Lucida Sans Unicode":16,"Magic R":14,Magneto:19,"Maiandra GD":15,"Malgun Gothic":14,"Malgun Gothic Semilight":14,Mangal:14,Marlett:25,"Matura MT Script Capitals":17,Meiryo:16,"Meiryo UI":16,"Microsoft GothicNeo":13,"Microsoft Himalaya":9,"Microsoft JhengHei":14,"Microsoft JhengHei Light":15,"Microsoft JhengHei UI":14,"Microsoft JhengHei UI Light":15,"Microsoft New Tai Lue":14,"Microsoft PhagsPa":14,"Microsoft Sans Serif":14,"Microsoft Tai Le":14,"Microsoft Uighur":9,"Microsoft YaHei Light":15,"Microsoft YaHei UI":15,"Microsoft YaHei UI Light":15,"Microsoft Yi Baiti":13,MingLiU:13,MingLiU_HKSCS:13,"MingLiU_HKSCS-ExtB":13,"MingLiU-ExtB":13,Miriam:12,"Miriam Fixed":15,Mistral:12,"Modern No. 20":12,"MoeumT R":14,"Mongolian Baiti":13,"Monotype Corsiva":12,MoolBoran:9,"MS Gothic":12,"MS Mincho":13,"MS Outlook":13,"MS PGothic":13,"MS PMincho":13,"MS Reference Sans Serif":16,"MS Reference Specialty":30,"MS UI Gothic":13,"MT Extra":25,"MV Boli":18,"Myanmar Text":14,Narkisim:11,"Neue Haas Grotesk Text Pro":13,"New Gulim":15,"News Gothic MT":16,"Niagara Engraved":9,"Niagara Solid":9,"Nirmala UI":14,"Nirmala UI Semilight":14,Nyala:13,"OCR A Extended":15,OCRB:15,"Old English Text MT":13,Onyx:9,"Palace Script MT":9,"Palatino Linotype":12,Papyrus:15,Parchment:6,Perpetua:11,"Perpetua Titling MT":16,"Plantagenet Cherokee":13,Playbill:10,PMingLiU:12,"PMingLiU-ExtB":12,"Poor Richard":14,Pristina:13,"Pyunji R":13,Raavi:12,"Rage Italic":13,Ravie:24,Rockwell:13,"Rockwell Condensed":10,"Rockwell Extra Bold":17,"Rockwell Light":14,"Rockwell Nova":13,"Rockwell Nova Cond":13,"Rockwell Nova Cond Light":13,"Rockwell Nova Extra Bold":13,"Rockwell Nova Light":13,Rod:15,"Sakkal Majalla":10,"Sanskrit Text":15,"Script MT Bold":13,"Segoe MDL2 Assets":10,"Segoe Print":18,"Segoe Script":18,"Segoe UI":13,"Segoe UI Black":15,"Segoe UI Emoji":13,"Segoe UI Historic":13,"Segoe UI Light":12,"Segoe UI Semibold":14,"Segoe UI Semilight":13,"Segoe UI Symbol":13,Selawik:12,"Selawik Light":13,"Selawik Semibold":14,"Shonar Bangla":12,"Showcard Gothic":14,Shruti:14,"Simplified Arabic":13,"Simplified Arabic Fixed":14,"SimSun-ExtB":12,"Sitka Banner":12,"Sitka Display":13,"Sitka Heading":13,"Sitka Small":16,"Sitka Subheading":14,"Sitka Text":15,"Snap ITC":21,"Source Sans Pro":12,"Source Sans Pro Black":12,"Source Sans Pro ExtraLight":11,"Source Sans Pro Light":12,"Source Sans Pro SemiBold":12,Stencil:14,Sylfaen:12,Symbol:12,Tahoma:13,"Tempus Sans ITC":16,"TH SarabunPSK":9,"Times New Roman":12,"Traditional Arabic":12,"Trebuchet MS":13,Tunga:13,"Tw Cen MT":13,"Tw Cen MT Condensed":9,"Tw Cen MT Condensed Extra Bold":12,"UD Digi Kyokasho N-B":12,"UD Digi Kyokasho NK-B":12,"UD Digi Kyokasho NK-R":12,"UD Digi Kyokasho NP-B":17,"UD Digi Kyokasho NP-R":12,"UD Digi Kyokasho N-R":12,Univers:12,"Univers Condensed":12,"Univers Condensed Light":11,"Univers Light":12,"Urdu Typesetting":12,Utsaah:10,Vani:15,Verdana:15,"Verdana Pro":15,"Verdana Pro Black":12,"Verdana Pro Cond":12,"Verdana Pro Cond Black":12,"Verdana Pro Cond Light":12,"Verdana Pro Cond SemiBold":12,"Verdana Pro Light":12,"Verdana Pro SemiBold":12,Vijaya:12,"Viner Hand ITC":16,Vivaldi:10,"Vladimir Script":11,Vrinda:14,Webdings:24,"Wide Latin":30,Wingdings:32,"Wingdings 2":27,"Wingdings 3":21,"Yet R":13,"Yu Gothic":13,"Yu Gothic Light":13,"Yu Gothic Medium":13,"Yu Gothic UI":13,"Yu Gothic UI Light":13,"Yu Gothic UI Semibold":14,"Yu Gothic UI Semilight":13,"Yu Mincho":13,"Yu Mincho Demibold":13,"Yu Mincho Light":12,"\u4eff\u5b8b":12,"\u534e\u6587\u4e2d\u5b8b":15,"\u534e\u6587\u4eff\u5b8b":11,"\u534e\u6587\u5b8b\u4f53":11,"\u534e\u6587\u5f69\u4e91":14,"\u534e\u6587\u65b0\u9b4f":14,"\u534e\u6587\u6977\u4f53":11,"\u534e\u6587\u7425\u73c0":14,"\u534e\u6587\u7ec6\u9ed1":13,"\u534e\u6587\u884c\u6977":12,"\u534e\u6587\u96b6\u4e66":11,"\u5b8b\u4f53":12,"\u5e7c\u5706":12,"\u5fae\u8f6f\u96c5\u9ed1":14,"\u5fae\u8f6f\u96c5\u9ed1 Light":14,"\u65b0\u5b8b\u4f53":12,"\u65b9\u6b63\u59da\u4f53":12,"\u65b9\u6b63\u8212\u4f53":13,"\u6977\u4f53":12,"\u7b49\u7ebf":13,"\u7b49\u7ebf Light":12,"\u96b6\u4e66":12,"\u9ed1\u4f53":12,"\u6e38\u30b4\u30b7\u30c3\u30af":13,"\uff2d\uff33 \uff30\u660e\u671d":12,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':12,"\u30e1\u30a4\u30ea\u30aa":15,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":12,"HG\u660e\u671dB":12,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":12},20:{"Gill Sans MT":14,Abadi:16,"Abadi Extra Light":15,"Agency FB":11,Aharoni:11,Aldhabi:9,Algerian:16,"Ami R":11,"Angsana New":9,AngsanaUPC:9,Aparajita:11,"Arabic Typesetting":9,Arial:15,"Arial Black":18,"Arial Narrow":12,"Arial Nova":15,"Arial Nova Cond":14,"Arial Nova Cond Light":12,"Arial Nova Light":15,"Arial Rounded MT Bold":16,"Baskerville Old Face":13,Batang:16,BatangChe:14,"Bauhaus 93":15,"Bell MT":14,Bembo:13,"Berlin Sans FB":16,"Berlin Sans FB Demi":17,"Bernard MT Condensed":13,"Blackadder ITC":11,"Bodoni MT":13,"Bodoni MT Black":18,"Bodoni MT Condensed":9,"Bodoni MT Poster Compressed":8,"Book Antiqua":14,"Bookman Old Style":17,"Bookshelf Symbol 7":20,"Bradley Hand ITC":17,"Britannic Bold":17,Broadway:17,"Browallia New":10,BrowalliaUPC:10,"Brush Script MT":14,Calibri:14,"Calibri Light":14,"Californian FB":14,"Calisto MT":14,Cambria:15,"Cambria Math":15,Candara:15,Castellar:19,Centaur:13,Century:15,"Century Gothic":15,"Century Schoolbook":15,Chiller:13,"Colonna MT":14,"Comic Sans MS":16,Consolas:15,Constantia:15,"Cooper Black":16,"Copperplate Gothic Bold":19,"Copperplate Gothic Light":19,Corbel:14,"Cordia New":10,CordiaUPC:10,"Courier New":16,"Curlz MT":15,Dante:12,DaunPenh:9,David:12,DilleniaUPC:8,DokChampa:15,Dotum:16,DotumChe:14,Dubai:15,"Dubai Light":15,"Dubai Medium":15,Ebrima:15,"Edwardian Script ITC":13,Elephant:20,"Engravers MT":17,"Eras Bold ITC":18,"Eras Demi ITC":16,"Eras Light ITC":14,"Eras Medium ITC":15,EucrosiaUPC:11,Euphemia:16,"Expo M":23,FangSong:14,"Felix Titling":16,"Footlight MT Light":15,Forte:14,"Franklin Gothic Book":16,"Franklin Gothic Demi":16,"Franklin Gothic Demi Cond":14,"Franklin Gothic Heavy":16,"Franklin Gothic Medium":16,"Franklin Gothic Medium Cond":14,FrankRuehl:11,FreesiaUPC:12,"Freestyle Script":10,"French Script MT":10,Gabriola:11,Gadugi:15,Garamond:13,Gautami:16,Georgia:17,"Georgia Pro":15,"Georgia Pro Black":19,"Georgia Pro Cond":14,"Georgia Pro Cond Black":17,"Georgia Pro Cond Light":14,"Georgia Pro Cond Semibold":15,"Georgia Pro Light":15,"Georgia Pro Semibold":17,Gigi:14,"Gill Sans MT Condensed":10,"Gill Sans MT Ext Condensed Bold":9,"Gill Sans Nova":14,"Gill Sans Nova Cond":9,"Gill Sans Nova Cond Lt":8,"Gill Sans Nova Cond Ultra Bold":16,"Gill Sans Nova Cond XBd":14,"Gill Sans Nova Light":14,"Gill Sans Nova Ultra Bold":23,"Gill Sans Ultra Bold":23,"Gill Sans Ultra Bold Condensed":16,Gisha:15,"Gloucester MT Extra Condensed":10,"Goudy Old Style":14,"Goudy Stout":22,Grotesque:13,"Grotesque Light":13,Gulim:16,GulimChe:14,Gungsuh:16,GungsuhChe:14,"Hadassah Friedlaender":15,Haettenschweiler:12,"Harlow Solid Italic":13,Harrington:15,"Headline R":19,HGGothicE:14,HGGothicM:14,HGGyoshotai:14,HGKyokashotai:14,HGMaruGothicMPRO:20,HGMinchoB:15,HGMinchoE:15,HGPGothicE:16,HGPGothicM:17,HGPGyoshotai:14,HGPKyokashotai:14,HGPMinchoB:14,HGPMinchoE:15,HGPSoeiKakugothicUB:18,HGPSoeiKakupoptai:19,HGPSoeiPresenceEB:16,HGSeikaishotaiPRO:16,HGSGothicE:15,HGSGothicM:16,HGSGyoshotai:13,HGSKyokashotai:13,HGSMinchoB:14,HGSMinchoE:15,HGSoeiKakugothicUB:15,HGSoeiKakupoptai:15,HGSoeiPresenceEB:15,HGSSoeiKakugothicUB:17,HGSSoeiKakupoptai:18,HGSSoeiPresenceEB:15,"High Tower Text":13,"HYGothic-Extra":17,"HYGothic-Medium":16,"HYGraphic-Medium":16,"HYGungSo-Bold":16,"HYHeadLine-Medium":16,"HYMyeongJo-Extra":18,"HYPMokGak-Bold":19,"HYPost-Light":18,"HYPost-Medium":19,"HYShortSamul-Medium":10,"HYSinMyeongJo-Medium":17,Impact:15,"Imprint MT Shadow":14,"Informal Roman":15,"Ink Free":14,IrisUPC:14,"Iskoola Pota":14,JasmineUPC:12,"Javanese Text":16,Jokerman:19,"Juice ITC":10,KaiTi:14,Kalinga:15,Kartika:16,"Khmer UI":15,KodchiangUPC:9,Kokila:10,"Kristen ITC":16,"Kunstler Script":10,"Lao UI":15,Latha:14,Leelawadee:15,"Leelawadee UI":15,"Leelawadee UI Semilight":15,"Levenim MT":15,LilyUPC:12,"Lucida Bright":16,"Lucida Calligraphy":19,"Lucida Console":17,"Lucida Fax":18,"Lucida Handwriting":19,"Lucida Sans":18,"Lucida Sans Typewriter":16,"Lucida Sans Unicode":18,"Magic R":16,Magneto:21,"Maiandra GD":17,"Malgun Gothic":16,"Malgun Gothic Semilight":16,Mangal:16,Marlett:28,"Matura MT Script Capitals":19,Meiryo:18,"Meiryo UI":18,"Microsoft GothicNeo":15,"Microsoft Himalaya":10,"Microsoft JhengHei":16,"Microsoft JhengHei Light":17,"Microsoft JhengHei UI":16,"Microsoft JhengHei UI Light":17,"Microsoft New Tai Lue":16,"Microsoft PhagsPa":16,"Microsoft Sans Serif":16,"Microsoft Tai Le":16,"Microsoft Uighur":10,"Microsoft YaHei Light":16,"Microsoft YaHei UI":17,"Microsoft YaHei UI Light":16,"Microsoft Yi Baiti":15,MingLiU:15,MingLiU_HKSCS:15,"MingLiU_HKSCS-ExtB":15,"MingLiU-ExtB":15,Miriam:14,"Miriam Fixed":17,Mistral:13,"Modern No. 20":13,"MoeumT R":16,"Mongolian Baiti":15,"Monotype Corsiva":13,MoolBoran:10,"MS Gothic":14,"MS Mincho":15,"MS Outlook":15,"MS PGothic":15,"MS PMincho":15,"MS Reference Sans Serif":18,"MS Reference Specialty":33,"MS UI Gothic":15,"MT Extra":29,"MV Boli":20,"Myanmar Text":16,Narkisim:12,"Neue Haas Grotesk Text Pro":15,"New Gulim":17,"News Gothic MT":18,"Niagara Engraved":9,"Niagara Solid":9,"Nirmala UI":16,"Nirmala UI Semilight":16,Nyala:15,"OCR A Extended":17,OCRB:17,"Old English Text MT":15,Onyx:9,"Palace Script MT":9,"Palatino Linotype":14,Papyrus:16,Parchment:7,Perpetua:12,"Perpetua Titling MT":18,"Plantagenet Cherokee":15,Playbill:11,PMingLiU:14,"PMingLiU-ExtB":14,"Poor Richard":16,Pristina:14,"Pyunji R":14,Raavi:14,"Rage Italic":15,Ravie:27,Rockwell:15,"Rockwell Condensed":12,"Rockwell Extra Bold":19,"Rockwell Light":15,"Rockwell Nova":15,"Rockwell Nova Cond":15,"Rockwell Nova Cond Light":15,"Rockwell Nova Extra Bold":15,"Rockwell Nova Light":15,Rod:17,"Sakkal Majalla":11,"Sanskrit Text":17,"Script MT Bold":14,"Segoe MDL2 Assets":11,"Segoe Print":20,"Segoe Script":20,"Segoe UI":15,"Segoe UI Black":17,"Segoe UI Emoji":15,"Segoe UI Historic":15,"Segoe UI Light":14,"Segoe UI Semibold":15,"Segoe UI Semilight":15,"Segoe UI Symbol":15,Selawik:14,"Selawik Light":14,"Selawik Semibold":15,"Shonar Bangla":14,"Showcard Gothic":16,Shruti:16,"Simplified Arabic":14,"Simplified Arabic Fixed":16,"SimSun-ExtB":14,"Sitka Banner":14,"Sitka Display":14,"Sitka Heading":15,"Sitka Small":18,"Sitka Subheading":16,"Sitka Text":17,"Snap ITC":23,"Source Sans Pro":13,"Source Sans Pro Black":14,"Source Sans Pro ExtraLight":12,"Source Sans Pro Light":12,"Source Sans Pro SemiBold":14,Stencil:16,Sylfaen:14,Symbol:14,Tahoma:15,"Tempus Sans ITC":18,"TH SarabunPSK":10,"Times New Roman":14,"Traditional Arabic":13,"Trebuchet MS":14,Tunga:14,"Tw Cen MT":15,"Tw Cen MT Condensed":10,"Tw Cen MT Condensed Extra Bold":13,"UD Digi Kyokasho N-B":14,"UD Digi Kyokasho NK-B":14,"UD Digi Kyokasho NK-R":14,"UD Digi Kyokasho NP-B":19,"UD Digi Kyokasho NP-R":14,"UD Digi Kyokasho N-R":14,Univers:14,"Univers Condensed":14,"Univers Condensed Light":12,"Univers Light":14,"Urdu Typesetting":14,Utsaah:11,Vani:17,Verdana:17,"Verdana Pro":17,"Verdana Pro Black":14,"Verdana Pro Cond":14,"Verdana Pro Cond Black":14,"Verdana Pro Cond Light":14,"Verdana Pro Cond SemiBold":14,"Verdana Pro Light":14,"Verdana Pro SemiBold":14,Vijaya:14,"Viner Hand ITC":18,Vivaldi:12,"Vladimir Script":13,Vrinda:16,Webdings:27,"Wide Latin":33,Wingdings:36,"Wingdings 2":31,"Wingdings 3":24,"Yet R":14,"Yu Gothic":15,"Yu Gothic Light":14,"Yu Gothic Medium":15,"Yu Gothic UI":15,"Yu Gothic UI Light":14,"Yu Gothic UI Semibold":16,"Yu Gothic UI Semilight":15,"Yu Mincho":15,"Yu Mincho Demibold":14,"Yu Mincho Light":14,"\u4eff\u5b8b":14,"\u534e\u6587\u4e2d\u5b8b":17,"\u534e\u6587\u4eff\u5b8b":13,"\u534e\u6587\u5b8b\u4f53":13,"\u534e\u6587\u5f69\u4e91":15,"\u534e\u6587\u65b0\u9b4f":16,"\u534e\u6587\u6977\u4f53":13,"\u534e\u6587\u7425\u73c0":15,"\u534e\u6587\u7ec6\u9ed1":15,"\u534e\u6587\u884c\u6977":14,"\u534e\u6587\u96b6\u4e66":12,"\u5b8b\u4f53":14,"\u5e7c\u5706":14,"\u5fae\u8f6f\u96c5\u9ed1":16,"\u5fae\u8f6f\u96c5\u9ed1 Light":15,"\u65b0\u5b8b\u4f53":14,"\u65b9\u6b63\u59da\u4f53":14,"\u65b9\u6b63\u8212\u4f53":15,"\u6977\u4f53":14,"\u7b49\u7ebf":14,"\u7b49\u7ebf Light":14,"\u96b6\u4e66":14,"\u9ed1\u4f53":14,"\u6e38\u30b4\u30b7\u30c3\u30af":15,"\uff2d\uff33 \uff30\u660e\u671d":14,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':14,"\u30e1\u30a4\u30ea\u30aa":17,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":14,"HG\u660e\u671dB":14,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":14},22:{"Gill Sans MT":15,Abadi:18,"Abadi Extra Light":16,"Agency FB":11,Aharoni:12,Aldhabi:9,Algerian:17,"Ami R":12,"Angsana New":10,AngsanaUPC:10,Aparajita:12,"Arabic Typesetting":10,Arial:16,"Arial Black":19,"Arial Narrow":13,"Arial Nova":16,"Arial Nova Cond":15,"Arial Nova Cond Light":13,"Arial Nova Light":16,"Arial Rounded MT Bold":17,"Baskerville Old Face":14,Batang:17,BatangChe:15,"Bauhaus 93":16,"Bell MT":15,Bembo:14,"Berlin Sans FB":17,"Berlin Sans FB Demi":18,"Bernard MT Condensed":14,"Blackadder ITC":11,"Bodoni MT":14,"Bodoni MT Black":19,"Bodoni MT Condensed":10,"Bodoni MT Poster Compressed":9,"Book Antiqua":15,"Bookman Old Style":18,"Bookshelf Symbol 7":21,"Bradley Hand ITC":19,"Britannic Bold":18,Broadway:19,"Browallia New":11,BrowalliaUPC:11,"Brush Script MT":15,Calibri:15,"Calibri Light":15,"Californian FB":15,"Calisto MT":15,Cambria:16,"Cambria Math":16,Candara:16,Castellar:21,Centaur:14,Century:16,"Century Gothic":16,"Century Schoolbook":16,Chiller:14,"Colonna MT":15,"Comic Sans MS":18,Consolas:16,Constantia:16,"Cooper Black":17,"Copperplate Gothic Bold":21,"Copperplate Gothic Light":21,Corbel:15,"Cordia New":11,CordiaUPC:11,"Courier New":17,"Curlz MT":16,Dante:13,DaunPenh:10,David:13,DilleniaUPC:9,DokChampa:16,Dotum:17,DotumChe:15,Dubai:16,"Dubai Light":16,"Dubai Medium":16,Ebrima:16,"Edwardian Script ITC":14,Elephant:22,"Engravers MT":19,"Eras Bold ITC":19,"Eras Demi ITC":18,"Eras Light ITC":16,"Eras Medium ITC":17,EucrosiaUPC:12,Euphemia:17,"Expo M":25,FangSong:15,"Felix Titling":17,"Footlight MT Light":16,Forte:15,"Franklin Gothic Book":17,"Franklin Gothic Demi":17,"Franklin Gothic Demi Cond":15,"Franklin Gothic Heavy":17,"Franklin Gothic Medium":17,"Franklin Gothic Medium Cond":15,FrankRuehl:12,FreesiaUPC:13,"Freestyle Script":10,"French Script MT":11,Gabriola:12,Gadugi:16,Garamond:14,Gautami:17,Georgia:18,"Georgia Pro":16,"Georgia Pro Black":21,"Georgia Pro Cond":15,"Georgia Pro Cond Black":18,"Georgia Pro Cond Light":15,"Georgia Pro Cond Semibold":16,"Georgia Pro Light":16,"Georgia Pro Semibold":18,Gigi:14,"Gill Sans MT Condensed":11,"Gill Sans MT Ext Condensed Bold":10,"Gill Sans Nova":15,"Gill Sans Nova Cond":10,"Gill Sans Nova Cond Lt":9,"Gill Sans Nova Cond Ultra Bold":17,"Gill Sans Nova Cond XBd":15,"Gill Sans Nova Light":15,"Gill Sans Nova Ultra Bold":25,"Gill Sans Ultra Bold":25,"Gill Sans Ultra Bold Condensed":17,Gisha:16,"Gloucester MT Extra Condensed":11,"Goudy Old Style":15,"Goudy Stout":24,Grotesque:14,"Grotesque Light":14,Gulim:17,GulimChe:15,Gungsuh:17,GungsuhChe:15,"Hadassah Friedlaender":17,Haettenschweiler:13,"Harlow Solid Italic":14,Harrington:16,"Headline R":21,HGGothicE:15,HGGothicM:15,HGGyoshotai:15,HGKyokashotai:15,HGMaruGothicMPRO:22,
24
24
  HGMinchoB:16,HGMinchoE:16,HGPGothicE:17,HGPGothicM:18,HGPGyoshotai:15,HGPKyokashotai:14,HGPMinchoB:15,HGPMinchoE:16,HGPSoeiKakugothicUB:19,HGPSoeiKakupoptai:20,HGPSoeiPresenceEB:17,HGSeikaishotaiPRO:17,HGSGothicE:16,HGSGothicM:17,HGSGyoshotai:14,HGSKyokashotai:13,HGSMinchoB:15,HGSMinchoE:16,HGSoeiKakugothicUB:16,HGSoeiKakupoptai:16,HGSoeiPresenceEB:16,HGSSoeiKakugothicUB:18,HGSSoeiKakupoptai:19,HGSSoeiPresenceEB:16,"High Tower Text":14,"HYGothic-Extra":18,"HYGothic-Medium":17,"HYGraphic-Medium":17,"HYGungSo-Bold":17,"HYHeadLine-Medium":17,"HYMyeongJo-Extra":19,"HYPMokGak-Bold":21,"HYPost-Light":19,"HYPost-Medium":21,"HYShortSamul-Medium":11,"HYSinMyeongJo-Medium":18,Impact:16,"Imprint MT Shadow":15,"Informal Roman":16,"Ink Free":15,IrisUPC:15,"Iskoola Pota":15,JasmineUPC:13,"Javanese Text":17,Jokerman:21,"Juice ITC":11,KaiTi:15,Kalinga:16,Kartika:17,"Khmer UI":16,KodchiangUPC:10,Kokila:11,"Kristen ITC":17,"Kunstler Script":10,"Lao UI":16,Latha:15,Leelawadee:16,"Leelawadee UI":16,"Leelawadee UI Semilight":16,"Levenim MT":17,LilyUPC:13,"Lucida Bright":18,"Lucida Calligraphy":20,"Lucida Console":18,"Lucida Fax":19,"Lucida Handwriting":21,"Lucida Sans":19,"Lucida Sans Typewriter":17,"Lucida Sans Unicode":19,"Magic R":17,Magneto:22,"Maiandra GD":18,"Malgun Gothic":17,"Malgun Gothic Semilight":17,Mangal:17,Marlett:30,"Matura MT Script Capitals":20,Meiryo:20,"Meiryo UI":20,"Microsoft GothicNeo":16,"Microsoft Himalaya":11,"Microsoft JhengHei":17,"Microsoft JhengHei Light":18,"Microsoft JhengHei UI":17,"Microsoft JhengHei UI Light":18,"Microsoft New Tai Lue":17,"Microsoft PhagsPa":17,"Microsoft Sans Serif":17,"Microsoft Tai Le":17,"Microsoft Uighur":11,"Microsoft YaHei Light":18,"Microsoft YaHei UI":18,"Microsoft YaHei UI Light":18,"Microsoft Yi Baiti":16,MingLiU:16,MingLiU_HKSCS:16,"MingLiU_HKSCS-ExtB":16,"MingLiU-ExtB":16,Miriam:15,"Miriam Fixed":18,Mistral:14,"Modern No. 20":14,"MoeumT R":17,"Mongolian Baiti":16,"Monotype Corsiva":14,MoolBoran:11,"MS Gothic":15,"MS Mincho":16,"MS Outlook":16,"MS PGothic":16,"MS PMincho":16,"MS Reference Sans Serif":19,"MS Reference Specialty":36,"MS UI Gothic":16,"MT Extra":31,"MV Boli":21,"Myanmar Text":17,Narkisim:13,"Neue Haas Grotesk Text Pro":16,"New Gulim":18,"News Gothic MT":19,"Niagara Engraved":10,"Niagara Solid":10,"Nirmala UI":17,"Nirmala UI Semilight":17,Nyala:16,"OCR A Extended":19,OCRB:18,"Old English Text MT":16,Onyx:10,"Palace Script MT":10,"Palatino Linotype":15,Papyrus:18,Parchment:7,Perpetua:13,"Perpetua Titling MT":20,"Plantagenet Cherokee":16,Playbill:11,PMingLiU:15,"PMingLiU-ExtB":15,"Poor Richard":17,Pristina:15,"Pyunji R":15,Raavi:15,"Rage Italic":16,Ravie:29,Rockwell:16,"Rockwell Condensed":12,"Rockwell Extra Bold":20,"Rockwell Light":16,"Rockwell Nova":16,"Rockwell Nova Cond":16,"Rockwell Nova Cond Light":16,"Rockwell Nova Extra Bold":16,"Rockwell Nova Light":16,Rod:18,"Sakkal Majalla":12,"Sanskrit Text":18,"Script MT Bold":15,"Segoe MDL2 Assets":12,"Segoe Print":21,"Segoe Script":21,"Segoe UI":16,"Segoe UI Black":18,"Segoe UI Emoji":16,"Segoe UI Historic":16,"Segoe UI Light":15,"Segoe UI Semibold":17,"Segoe UI Semilight":16,"Segoe UI Symbol":16,Selawik:15,"Selawik Light":15,"Selawik Semibold":16,"Shonar Bangla":15,"Showcard Gothic":17,Shruti:17,"Simplified Arabic":15,"Simplified Arabic Fixed":17,"SimSun-ExtB":15,"Sitka Banner":15,"Sitka Display":15,"Sitka Heading":16,"Sitka Small":20,"Sitka Subheading":17,"Sitka Text":18,"Snap ITC":25,"Source Sans Pro":14,"Source Sans Pro Black":15,"Source Sans Pro ExtraLight":13,"Source Sans Pro Light":13,"Source Sans Pro SemiBold":14,Stencil:17,Sylfaen:15,Symbol:15,Tahoma:16,"Tempus Sans ITC":19,"TH SarabunPSK":11,"Times New Roman":15,"Traditional Arabic":14,"Trebuchet MS":15,Tunga:15,"Tw Cen MT":16,"Tw Cen MT Condensed":11,"Tw Cen MT Condensed Extra Bold":14,"UD Digi Kyokasho N-B":15,"UD Digi Kyokasho NK-B":15,"UD Digi Kyokasho NK-R":15,"UD Digi Kyokasho NP-B":21,"UD Digi Kyokasho NP-R":15,"UD Digi Kyokasho N-R":15,Univers:15,"Univers Condensed":15,"Univers Condensed Light":13,"Univers Light":15,"Urdu Typesetting":15,Utsaah:12,Vani:18,Verdana:18,"Verdana Pro":18,"Verdana Pro Black":15,"Verdana Pro Cond":15,"Verdana Pro Cond Black":15,"Verdana Pro Cond Light":15,"Verdana Pro Cond SemiBold":15,"Verdana Pro Light":15,"Verdana Pro SemiBold":15,Vijaya:12,"Viner Hand ITC":20,Vivaldi:12,"Vladimir Script":13,Vrinda:17,Webdings:29,"Wide Latin":36,Wingdings:39,"Wingdings 2":33,"Wingdings 3":26,"Yet R":16,"Yu Gothic":16,"Yu Gothic Light":16,"Yu Gothic Medium":16,"Yu Gothic UI":16,"Yu Gothic UI Light":15,"Yu Gothic UI Semibold":17,"Yu Gothic UI Semilight":16,"Yu Mincho":16,"Yu Mincho Demibold":15,"Yu Mincho Light":15,"\u4eff\u5b8b":15,"\u534e\u6587\u4e2d\u5b8b":18,"\u534e\u6587\u4eff\u5b8b":14,"\u534e\u6587\u5b8b\u4f53":14,"\u534e\u6587\u5f69\u4e91":16,"\u534e\u6587\u65b0\u9b4f":17,"\u534e\u6587\u6977\u4f53":14,"\u534e\u6587\u7425\u73c0":16,"\u534e\u6587\u7ec6\u9ed1":16,"\u534e\u6587\u884c\u6977":15,"\u534e\u6587\u96b6\u4e66":13,"\u5b8b\u4f53":15,"\u5e7c\u5706":15,"\u5fae\u8f6f\u96c5\u9ed1":17,"\u5fae\u8f6f\u96c5\u9ed1 Light":17,"\u65b0\u5b8b\u4f53":15,"\u65b9\u6b63\u59da\u4f53":15,"\u65b9\u6b63\u8212\u4f53":16,"\u6977\u4f53":15,"\u7b49\u7ebf":15,"\u7b49\u7ebf Light":15,"\u96b6\u4e66":15,"\u9ed1\u4f53":15,"\u6e38\u30b4\u30b7\u30c3\u30af":16,"\uff2d\uff33 \uff30\u660e\u671d":15,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':15,"\u30e1\u30a4\u30ea\u30aa":18,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":15,"HG\u660e\u671dB":15,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":15},24:{"Gill Sans MT":16,Abadi:19,"Abadi Extra Light":18,"Agency FB":14,Aharoni:13,Aldhabi:10,Algerian:19,"Ami R":13,"Angsana New":11,AngsanaUPC:11,Aparajita:13,"Arabic Typesetting":11,Arial:18,"Arial Black":21,"Arial Narrow":15,"Arial Nova":18,"Arial Nova Cond":16,"Arial Nova Cond Light":14,"Arial Nova Light":18,"Arial Rounded MT Bold":19,"Baskerville Old Face":16,Batang:19,BatangChe:16,"Bauhaus 93":18,"Bell MT":16,Bembo:16,"Berlin Sans FB":19,"Berlin Sans FB Demi":20,"Bernard MT Condensed":16,"Blackadder ITC":13,"Bodoni MT":16,"Bodoni MT Black":21,"Bodoni MT Condensed":11,"Bodoni MT Poster Compressed":9,"Book Antiqua":16,"Bookman Old Style":20,"Bookshelf Symbol 7":24,"Bradley Hand ITC":21,"Britannic Bold":20,Broadway:21,"Browallia New":12,BrowalliaUPC:12,"Brush Script MT":16,Calibri:16,"Calibri Light":16,"Californian FB":17,"Calisto MT":16,Cambria:18,"Cambria Math":18,Candara:18,Castellar:23,Centaur:16,Century:18,"Century Gothic":18,"Century Schoolbook":18,Chiller:15,"Colonna MT":16,"Comic Sans MS":20,Consolas:18,Constantia:17,"Cooper Black":19,"Copperplate Gothic Bold":23,"Copperplate Gothic Light":23,Corbel:17,"Cordia New":12,CordiaUPC:12,"Courier New":19,"Curlz MT":17,Dante:14,DaunPenh:11,David:14,DilleniaUPC:10,DokChampa:18,Dotum:19,DotumChe:16,Dubai:17,"Dubai Light":17,"Dubai Medium":17,Ebrima:17,"Edwardian Script ITC":15,Elephant:24,"Engravers MT":21,"Eras Bold ITC":21,"Eras Demi ITC":20,"Eras Light ITC":17,"Eras Medium ITC":18,EucrosiaUPC:13,Euphemia:19,"Expo M":28,FangSong:16,"Felix Titling":19,"Footlight MT Light":18,Forte:17,"Franklin Gothic Book":19,"Franklin Gothic Demi":19,"Franklin Gothic Demi Cond":16,"Franklin Gothic Heavy":19,"Franklin Gothic Medium":19,"Franklin Gothic Medium Cond":16,FrankRuehl:13,FreesiaUPC:14,"Freestyle Script":12,"French Script MT":12,Gabriola:13,Gadugi:17,Garamond:15,Gautami:19,Georgia:20,"Georgia Pro":18,"Georgia Pro Black":23,"Georgia Pro Cond":17,"Georgia Pro Cond Black":20,"Georgia Pro Cond Light":16,"Georgia Pro Cond Semibold":18,"Georgia Pro Light":18,"Georgia Pro Semibold":20,Gigi:17,"Gill Sans MT Condensed":12,"Gill Sans MT Ext Condensed Bold":11,"Gill Sans Nova":16,"Gill Sans Nova Cond":11,"Gill Sans Nova Cond Lt":10,"Gill Sans Nova Cond Ultra Bold":19,"Gill Sans Nova Cond XBd":17,"Gill Sans Nova Light":16,"Gill Sans Nova Ultra Bold":27,"Gill Sans Ultra Bold":27,"Gill Sans Ultra Bold Condensed":19,Gisha:17,"Gloucester MT Extra Condensed":12,"Goudy Old Style":16,"Goudy Stout":26,Grotesque:15,"Grotesque Light":15,Gulim:18,GulimChe:16,Gungsuh:19,GungsuhChe:16,"Hadassah Friedlaender":18,Haettenschweiler:14,"Harlow Solid Italic":15,Harrington:18,"Headline R":23,HGGothicE:16,HGGothicM:16,HGGyoshotai:16,HGKyokashotai:16,HGMaruGothicMPRO:24,HGMinchoB:17,HGMinchoE:17,HGPGothicE:18,HGPGothicM:20,HGPGyoshotai:16,HGPKyokashotai:16,HGPMinchoB:16,HGPMinchoE:18,HGPSoeiKakugothicUB:21,HGPSoeiKakupoptai:22,HGPSoeiPresenceEB:19,HGSeikaishotaiPRO:19,HGSGothicE:17,HGSGothicM:19,HGSGyoshotai:15,HGSKyokashotai:15,HGSMinchoB:16,HGSMinchoE:18,HGSoeiKakugothicUB:17,HGSoeiKakupoptai:17,HGSoeiPresenceEB:17,HGSSoeiKakugothicUB:20,HGSSoeiKakupoptai:21,HGSSoeiPresenceEB:18,"High Tower Text":15,"HYGothic-Extra":20,"HYGothic-Medium":19,"HYGraphic-Medium":19,"HYGungSo-Bold":19,"HYHeadLine-Medium":19,"HYMyeongJo-Extra":21,"HYPMokGak-Bold":23,"HYPost-Light":21,"HYPost-Medium":23,"HYShortSamul-Medium":12,"HYSinMyeongJo-Medium":20,Impact:17,"Imprint MT Shadow":16,"Informal Roman":17,"Ink Free":16,IrisUPC:16,"Iskoola Pota":16,JasmineUPC:15,"Javanese Text":19,Jokerman:23,"Juice ITC":11,KaiTi:16,Kalinga:18,Kartika:18,"Khmer UI":17,KodchiangUPC:11,Kokila:12,"Kristen ITC":19,"Kunstler Script":11,"Lao UI":17,Latha:16,Leelawadee:17,"Leelawadee UI":17,"Leelawadee UI Semilight":18,"Levenim MT":18,LilyUPC:14,"Lucida Bright":19,"Lucida Calligraphy":22,"Lucida Console":20,"Lucida Fax":21,"Lucida Handwriting":23,"Lucida Sans":21,"Lucida Sans Typewriter":19,"Lucida Sans Unicode":21,"Magic R":19,Magneto:25,"Maiandra GD":20,"Malgun Gothic":19,"Malgun Gothic Semilight":19,Mangal:18,Marlett:33,"Matura MT Script Capitals":22,Meiryo:22,"Meiryo UI":22,"Microsoft GothicNeo":17,"Microsoft Himalaya":12,"Microsoft JhengHei":19,"Microsoft JhengHei Light":19,"Microsoft JhengHei UI":19,"Microsoft JhengHei UI Light":19,"Microsoft New Tai Lue":18,"Microsoft PhagsPa":18,"Microsoft Sans Serif":19,"Microsoft Tai Le":18,"Microsoft Uighur":12,"Microsoft YaHei Light":19,"Microsoft YaHei UI":20,"Microsoft YaHei UI Light":19,"Microsoft Yi Baiti":17,MingLiU:17,MingLiU_HKSCS:17,"MingLiU_HKSCS-ExtB":17,"MingLiU-ExtB":17,Miriam:16,"Miriam Fixed":20,Mistral:15,"Modern No. 20":16,"MoeumT R":19,"Mongolian Baiti":17,"Monotype Corsiva":15,MoolBoran:12,"MS Gothic":16,"MS Mincho":17,"MS Outlook":17,"MS PGothic":17,"MS PMincho":17,"MS Reference Sans Serif":21,"MS Reference Specialty":39,"MS UI Gothic":17,"MT Extra":34,"MV Boli":23,"Myanmar Text":18,Narkisim:14,"Neue Haas Grotesk Text Pro":17,"New Gulim":19,"News Gothic MT":21,"Niagara Engraved":11,"Niagara Solid":11,"Nirmala UI":18,"Nirmala UI Semilight":19,Nyala:17,"OCR A Extended":20,OCRB:20,"Old English Text MT":17,Onyx:10,"Palace Script MT":11,"Palatino Linotype":16,Papyrus:20,Parchment:8,Perpetua:15,"Perpetua Titling MT":22,"Plantagenet Cherokee":18,Playbill:12,PMingLiU:16,"PMingLiU-ExtB":16,"Poor Richard":19,Pristina:16,"Pyunji R":17,Raavi:16,"Rage Italic":18,Ravie:31,Rockwell:17,"Rockwell Condensed":14,"Rockwell Extra Bold":22,"Rockwell Light":18,"Rockwell Nova":17,"Rockwell Nova Cond":17,"Rockwell Nova Cond Light":17,"Rockwell Nova Extra Bold":17,"Rockwell Nova Light":17,Rod:20,"Sakkal Majalla":13,"Sanskrit Text":19,"Script MT Bold":17,"Segoe MDL2 Assets":13,"Segoe Print":23,"Segoe Script":23,"Segoe UI":17,"Segoe UI Black":20,"Segoe UI Emoji":17,"Segoe UI Historic":17,"Segoe UI Light":16,"Segoe UI Semibold":18,"Segoe UI Semilight":17,"Segoe UI Symbol":17,Selawik:17,"Selawik Light":17,"Selawik Semibold":18,"Shonar Bangla":13,"Showcard Gothic":19,Shruti:19,"Simplified Arabic":17,"Simplified Arabic Fixed":19,"SimSun-ExtB":16,"Sitka Banner":16,"Sitka Display":17,"Sitka Heading":18,"Sitka Small":22,"Sitka Subheading":19,"Sitka Text":20,"Snap ITC":28,"Source Sans Pro":15,"Source Sans Pro Black":17,"Source Sans Pro ExtraLight":15,"Source Sans Pro Light":15,"Source Sans Pro SemiBold":16,Stencil:18,Sylfaen:16,Symbol:16,Tahoma:17,"Tempus Sans ITC":21,"TH SarabunPSK":12,"Times New Roman":16,"Traditional Arabic":16,"Trebuchet MS":17,Tunga:17,"Tw Cen MT":18,"Tw Cen MT Condensed":12,"Tw Cen MT Condensed Extra Bold":16,"UD Digi Kyokasho N-B":16,"UD Digi Kyokasho NK-B":16,"UD Digi Kyokasho NK-R":16,"UD Digi Kyokasho NP-B":23,"UD Digi Kyokasho NP-R":16,"UD Digi Kyokasho N-R":16,Univers:16,"Univers Condensed":16,"Univers Condensed Light":14,"Univers Light":16,"Urdu Typesetting":16,Utsaah:13,Vani:20,Verdana:20,"Verdana Pro":20,"Verdana Pro Black":16,"Verdana Pro Cond":16,"Verdana Pro Cond Black":16,"Verdana Pro Cond Light":16,"Verdana Pro Cond SemiBold":16,"Verdana Pro Light":16,"Verdana Pro SemiBold":16,Vijaya:13,"Viner Hand ITC":22,Vivaldi:14,"Vladimir Script":15,Vrinda:18,Webdings:32,"Wide Latin":40,Wingdings:43,"Wingdings 2":36,"Wingdings 3":29,"Yet R":17,"Yu Gothic":18,"Yu Gothic Light":17,"Yu Gothic Medium":18,"Yu Gothic UI":17,"Yu Gothic UI Light":17,"Yu Gothic UI Semibold":18,"Yu Gothic UI Semilight":18,"Yu Mincho":17,"Yu Mincho Demibold":17,"Yu Mincho Light":16,"\u4eff\u5b8b":16,"\u534e\u6587\u4e2d\u5b8b":20,"\u534e\u6587\u4eff\u5b8b":15,"\u534e\u6587\u5b8b\u4f53":15,"\u534e\u6587\u5f69\u4e91":18,"\u534e\u6587\u65b0\u9b4f":19,"\u534e\u6587\u6977\u4f53":15,"\u534e\u6587\u7425\u73c0":18,"\u534e\u6587\u7ec6\u9ed1":18,"\u534e\u6587\u884c\u6977":16,"\u534e\u6587\u96b6\u4e66":14,"\u5b8b\u4f53":16,"\u5e7c\u5706":16,"\u5fae\u8f6f\u96c5\u9ed1":19,"\u5fae\u8f6f\u96c5\u9ed1 Light":18,"\u65b0\u5b8b\u4f53":16,"\u65b9\u6b63\u59da\u4f53":16,"\u65b9\u6b63\u8212\u4f53":18,"\u6977\u4f53":16,"\u7b49\u7ebf":17,"\u7b49\u7ebf Light":16,"\u96b6\u4e66":16,"\u9ed1\u4f53":16,"\u6e38\u30b4\u30b7\u30c3\u30af":18,"\uff2d\uff33 \uff30\u660e\u671d":16,'"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"':16,"\u30e1\u30a4\u30ea\u30aa":20,"HG\uff7a\uff9e\uff7c\uff6f\uff78E":16,"HG\u660e\u671dB":16,"HG\uff7a\uff9e\uff7c\uff6f\uff78M":16}},t.unknownFontMaxDigitWidthMap={},a="http://schemas.openxmlformats.org/spreadsheetml/2006/main",t.XFileConstants={Bb:"_rels",Cb:"/xl",Db:"[Content_Types].xml",Eb:"bin",Fb:"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings",Gb:"rels",Hb:"application/vnd.openxmlformats-package.relationships+xml",Ib:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",Jb:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",Kb:"application/vnd.openxmlformats-officedocument.theme+xml",Lb:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",Mb:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",Ob:"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml",Pb:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml",Qb:"application/vnd.openxmlformats-officedocument.drawing+xml",Rb:"application/vnd.openxmlformats-officedocument.drawingml.chart+xml",Sb:"application/vnd.ms-office.chartex+xml",Tb:"application/vnd.ms-office.chartstyle+xml",Ub:"application/vnd.ms-office.chartcolorstyle+xml",Vb:"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml",Wb:"application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml",Xb:"application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml",Yb:"application/vnd.ms-office.drawingml.diagramDrawing+xml",Zb:"application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml",$b:"application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml",_b:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",ac:"application/vnd.ms-excel.threadedcomments+xml",bc:"application/vnd.ms-excel.person+xml",cc:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml",dc:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml",ec:"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml",fc:"application/vnd.ms-excel.slicer+xml",gc:"application/vnd.ms-excel.slicerCache+xml",hc:"application/vnd.ms-excel.timeline+xml",ic:"application/vnd.ms-excel.timelineCache+xml",jc:"application/vnd.ms-office.vbaProject",kc:"application/vnd.openxmlformats-officedocument.vmlDrawing",lc:"application/vnd.ms-excel.controlproperties+xml",nc:"xml",oc:"vml",pc:"application/xml",qc:"jpg",sc:"image/jpg",tc:"tiff",uc:"image/tiff",vc:"jpeg",wc:"image/jpeg",xc:"svg",yc:"image/svg+xml",zc:"png",Ac:"image/png",Bc:"bmp",Cc:"image/bmp",Dc:"gif",Ec:"image/gif",Fc:"emf",Gc:"image/x-emf",Hc:"wmf",Ic:"image/x-wmf",Jc:"drawings",Kc:"vmlDrawing",Lc:"/xl/charts",Mc:"/xl/drawings",Nc:"/xl/persons",Oc:"/xl/media",Pc:"/xl/ctrlProps",Qc:"/xl/threadedComments",Rc:"/xl/worksheets",Sc:"/xl/tables",Tc:"/xl/slicers",Uc:"/xl/timelines",Vc:"/xl/externalLinks",Wc:"/xl/slicerCaches",Xc:"/xl/timelineCaches",Yc:"/xl/pivotCache",Zc:"/xl/pivotTables",$c:"sheet",_c:"externalLink",ad:"comments",bd:"chart",dd:"chartEx",ed:"style",fd:"person",hd:"colors",jd:"drawing",kd:"threadedComment",ld:"image",md:"ctrlProp",od:"table",pd:"slicer",qd:"timeline",rd:"slicerCache",sd:"timelineCache",td:"pivotCacheDefinition",ud:"pivotCacheRecords",vd:"pivotTable",wd:"/xl/sharedStrings.xml",xd:"/xl/theme/theme1.xml",yd:"/xl/worksheets",zd:"/xl/workbook.xml",Ad:"/docProps/core.xml",Bd:"/docProps/app.xml",Cd:"/docProps/custom.xml",Dd:"/xl/styles.xml",Ed:"/xl/theme/theme1.xml",Fd:"metadata.xml",Gd:"/xl/_rels/workbook.xml.rels",Hd:a,Jd:"http://schemas.openxmlformats.org/markup-compatibility/2006",Kd:"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing",Ld:"http://schemas.openxmlformats.org/drawingml/2006/main",Md:a,Nd:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac",Od:"x14ac",Pd:"x14ac xr xr2 xr3",Qd:"xr",Rd:"http://schemas.microsoft.com/office/spreadsheetml/2014/revision",Sd:"http://schemas.microsoft.com/office/spreadsheetml/2015/revision2",Td:"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3",Ud:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",Vd:"http://schemas.openxmlformats.org/package/2006/content-types",Wd:"http://schemas.openxmlformats.org/package/2006/relationships",Xd:"http://schemas.openxmlformats.org/drawingml/2006/main",Yd:"http://schemas.microsoft.com/office/drawing/2010/main",Zd:"http://schemas.microsoft.com/office/drawing/2016/SVG/main",$d:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main",_d:"http://schemas.microsoft.com/office/excel/2006/main",ae:"http://schemas.openxmlformats.org/markup-compatibility/2006",be:a,ce:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main",de:"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main",ee:"http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures",fe:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",ge:"http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray",he:"http://schemas.microsoft.com/office/spreadsheetml/2017/richdata",ie:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",je:a,ke:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",le:a,me:"http://schemas.microsoft.com/office/spreadsheetml/2014/revision",ne:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",oe:"http://purl.org/dc/elements/1.1/",pe:"http://purl.org/dc/terms/",qe:"http://purl.org/dc/dcmitype/",re:"http://www.w3.org/2001/XMLSchema-instance",se:"application/vnd.openxmlformats-package.core-properties+xml",te:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",ue:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",ve:"application/vnd.openxmlformats-officedocument.extended-properties+xml",we:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",xe:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",ye:"application/vnd.openxmlformats-officedocument.custom-properties+xml"},function(e){e[e.latin=0]="latin",e[e.cs=1]="cs",e[e.ea=2]="ea",e[e.sym=3]="sym"}(l=t.FontLanguage||(t.FontLanguage={})),s=function(){function e(e,t){this.row=e,this.col=t}return e}(),t.ExcelCell=s,c=function(){function e(e){this.index=e}return e}(),t.ExcelColumn=c,d=function(){function e(e){this.index=e}return e}(),t.ExcelRow=d,u=function(){function e(e,t,r){this.name=e,this.colorScheme=t,this.fontScheme=r}return e}(),t.ExcelTheme=u,f=function(){function e(e,t){this.name=e,this.schemeColors=t}return e}(),t.ColorScheme=f,b=function(){function e(e,t,r){this.name=e,this.majorFont=t,this.minorFont=r}return e}(),t.FontScheme=b,h=function(){function e(e,t){this.script=e,this.typeface=t}return e}(),t.ThemeFont=h,p=function(){function e(e,t){this.runFormattings=e,this.themesFonts=t}return e}(),t.ThemeFonts=p,m=function(){function e(e,t){this.fontLanguage=e,this.typeface=t}return e}(),t.RunFormatting=m,g=function(){function e(){}return e}(),t.SheetInfo=g,y=function(){function e(){}return e}(),t.DefaultContentType=y,S=function(){function e(){}return e}(),t.OverrideContentType=S,C=function(){function e(){}return e}(),w=function(){function e(e,t){this.fileName=e,this.fileType=t,this.relationFiles={count:0}}return e.prototype.ze=function(e){if(!e)return"";this.relationFiles.count++;var r=t.RelationshipConstants.Ja+this.relationFiles.count;return this.relationFiles[r]=e,r},e.prototype.Ae=function(r){var i,n,a,l,s,c,d,u,f;if(r&&(i=this.Be(this.fileName,r)))for(n=0,a=i.length;n<a;n++)l=i[n],s=l.target,c="hyperlink",d=l.type.substring(l.type.length-c.length,l.type.length)===c,u=l.type===t.RelationshipConstants.rb,d||u||o.isNullOrUndefined(s)||""===s||(s="/"!==s[0]?o.Util.qa(this.fileName,s):s.substr(1)),f=new e(s,l.type),f.targetMode=l.targetMode,f.Ae(r),this.relationFiles[l.id]||this.relationFiles.count++,this.relationFiles[l.id]=f},e.prototype.Be=function(e,t){if(null===e||!t)return null;var r=this.Ce(e);return r?this.De(t[r.toLowerCase()]):null},e.prototype.Ce=function(e){return null===e||void 0===e?"":0===e.length?t.XFileConstants.Bb+"/."+t.XFileConstants.Gb:e.substring("/"===e.charAt(0)?1:0,e.lastIndexOf("/"))+"/"+t.XFileConstants.Bb+"/"+e.substring(e.lastIndexOf("/")+1)+"."+t.XFileConstants.Gb},e.prototype.Ee=function(e){var t,r;if(!this.relationFiles||0===this.relationFiles.count)return null;if(o.StringEx.L(e))return null;for(t in this.relationFiles)if("count"!==t&&(r=this.relationFiles[t],r.fileType===e))return r;return null},e.prototype.Fe=function(e){var t,r,i;if(!this.relationFiles||0===this.relationFiles.count)return null;if(o.StringEx.L(e))return null;t=[];for(r in this.relationFiles)"count"!==r&&(i=this.relationFiles[r],i.fileType===e&&t.push({id:r,file:i}));return t},e.prototype.Ge=function(e){return!this.relationFiles||0===this.relationFiles.count||o.StringEx.O(e)?null:this.relationFiles[e]},e.prototype.De=function(e){var t,r,o,n,a,l,s,c;if(e){if(t=[],r=i.parseXmlToObject(e),o=r.Relationships)for(n=o.Relationship,Array.isArray(n)||(n=[n]),a=0,l=n.length;a<l;a++)s=n[a],s&&(c=new C,s._attr.Id&&(c.id=s._attr.Id),s._attr.Target&&(c.target=s._attr.Target),s._attr.Type&&(c.type=s._attr.Type),s._attr.TargetMode&&(c.targetMode=s._attr.TargetMode),t.push(c));return t}},e}(),t.XFile=w,t.PivotSharedItemType={B:"b",D:"d",E:"e",M:"m",N:"n",S:"s",X:"x"}},"./src/common/range-parser.ts":function(e,t,r){"use strict";var o,i;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts");function n(e,t){var r,o=[];return null===e?o:(r=e.replace(/('.+')/g,"").split(" "),r.forEach(function(e){var r=a(e,t);!r||r.row>i.ExcelConstants.wb||r.col>i.ExcelConstants.vb||r.rowCount>i.ExcelConstants.wb||r.col>i.ExcelConstants.vb||o.push(r)}),o)}t.getRangesFromString=n;function a(e,t){var r,n,a,l,s,c,d,u={},f=e.indexOf("!");if(f>-1&&(e=e.substr(f+1)),r=e.split("$").join(""),r=r.split(":"),1===r.length){if(c=r[0],n=o.IndexHelper.P(c),a=o.IndexHelper.R(c),n===-1&&a===-1)return null;u.row=n,u.col=a,u.rowCount=1,u.colCount=1}else 2===r.length&&(c=r[0],d=r[1],n=o.IndexHelper.P(c),a=o.IndexHelper.R(c),l=o.IndexHelper.P(d),s=o.IndexHelper.R(d),u.row=n,u.col=a,u.rowCount=l-n+1,u.colCount=s-a+1,t||0!==n||u.rowCount!==i.ExcelConstants.wb||(u.row=-1,u.rowCount=-1),t||0!==a||u.colCount!==i.ExcelConstants.vb||(u.col=-1,u.colCount=-1));return u}function l(e){var t,r,n,a,l,s,c,d=[];for(t=0;t<e.length;t++)r=e[t],o.isRangeWholeRow(r)&&(r.col=0,r.colCount=i.ExcelConstants.vb),o.isRangeWholeColumn(r)&&(r.row=0,r.rowCount=i.ExcelConstants.wb),n=r.row,a=r.row+r.rowCount-1,l=r.col,s=r.col+r.colCount-1,c=o.IndexHelper.T(l)+(n+1),(r.rowCount>1||r.colCount>1)&&(c+=":"+o.IndexHelper.T(s)+(a+1)),d.push(c);return d.join(" ")}t.getRangeString=l},"./src/common/tuple.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){var e,t,r,o=[];for(e=0;e<arguments.length;e++)o[e]=arguments[e];for(this.equals=function(e,t){var r,o,i,n;for(r=1,o=this.count;r<=o;r++)if(i=this["item"+r],n=e["item"+r],!(i&&n&&i.equals&&i.equals(n,t)||i===n))return!1;return!0},t=o.length,r=1;r<=t;r++)this["item"+r]=o[r-1];this.count=t}return e}();t.Tuple=o},"./src/datamodel/chart-model.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L,D,B,P,W,_,N,M,O,H,G,U,J,z,V,j,X,K,q,Y,Q,Z,$,ee,te,re,oe,ie,ne,ae,le,se,ce,de,ue,fe,be,he,pe,me,ge,ye,Se,Ce,we,xe,Ae,Te,ve,ke,Fe,Re,Ee,Ie,Le,De,Be,Pe,We,_e,Ne,Me,Oe,He,Ge;Object.defineProperty(t,"__esModule",{value:!0}),o=void 0;function Ue(e){for(var t in e)e[t]!==o&&(e[e[t]]=t)}t.Charts={},i={major:0,minor:1,none:2},Ue(i),t.Charts.ST_FontCollectionIndex=i,n={dk1:0,lt1:1,dk2:2,lt2:3,accent1:4,accent2:5,accent3:6,accent4:7,accent5:8,accent6:9,hlink:10,folHlink:11},Ue(n),t.Charts.ST_ColorSchemeIndex=n,a={scrollBar:0,background:1,activeCaption:2,inactiveCaption:3,menu:4,window:5,windowFrame:6,menuText:7,windowText:8,captionText:9,activeBorder:10,inactiveBorder:11,appWorkspace:12,highlight:13,highlightText:14,btnFace:15,btnShadow:16,grayText:17,btnText:18,inactiveCaptionText:19,btnHighlight:20,Item3dDkShadow:21,Item3dLight:22,infoText:23,infoBk:24,hotLight:25,gradientActiveCaption:26,gradientInactiveCaption:27,menuHighlight:28,menuBar:29},Ue(a),t.Charts.ST_SystemColorVal=a,l={bg1:0,tx1:1,bg2:2,tx2:3,accent1:4,accent2:5,accent3:6,accent4:7,accent5:8,accent6:9,hlink:10,folHlink:11,phClr:12,dk1:13,lt1:14,dk2:15,lt2:16},Ue(l),t.Charts.ST_SchemeColorVal=l,s={aliceBlue:0,antiqueWhite:1,aqua:2,aquamarine:3,azure:4,beige:5,bisque:6,black:7,blanchedAlmond:8,blue:9,blueViolet:10,brown:11,burlyWood:12,cadetBlue:13,chartreuse:14,chocolate:15,coral:16,cornflowerBlue:17,cornsilk:18,crimson:19,cyan:20,darkBlue:21,darkCyan:22,darkGoldenrod:23,darkGray:24,darkGreen:25,darkGrey:26,darkKhaki:27,darkMagenta:28,darkOliveGreen:29,darkOrange:30,darkOrchid:31,darkRed:32,darkSalmon:33,darkSeaGreen:34,darkSlateBlue:35,darkSlateGray:36,darkSlateGrey:37,darkTurquoise:38,darkViolet:39,deepPink:40,deepSkyBlue:41,dimGray:42,dimGrey:43,dkBlue:44,dkCyan:45,dkGoldenrod:46,dkGray:47,dkGreen:48,dkGrey:49,dkKhaki:50,dkMagenta:51,dkOliveGreen:52,dkOrange:53,dkOrchid:54,dkRed:55,dkSalmon:56,dkSeaGreen:57,dkSlateBlue:58,dkSlateGray:59,dkSlateGrey:60,dkTurquoise:61,dkViolet:62,dodgerBlue:63,firebrick:64,floralWhite:65,forestGreen:66,fuchsia:67,gainsboro:68,ghostWhite:69,gold:70,goldenrod:71,gray:72,green:73,greenYellow:74,grey:75,honeydew:76,hotPink:77,indianRed:78,indigo:79,ivory:80,khaki:81,lavender:82,lavenderBlush:83,lawnGreen:84,lemonChiffon:85,lightBlue:86,lightCoral:87,lightCyan:88,lightGoldenrodYellow:89,lightGray:90,lightGreen:91,lightGrey:92,lightPink:93,lightSalmon:94,lightSeaGreen:95,lightSkyBlue:96,lightSlateGray:97,lightSlateGrey:98,lightSteelBlue:99,lightYellow:100,lime:101,limeGreen:102,linen:103,ltBlue:104,ltCoral:105,ltCyan:106,ltGoldenrodYellow:107,ltGray:108,ltGreen:109,ltGrey:110,ltPink:111,ltSalmon:112,ltSeaGreen:113,ltSkyBlue:114,ltSlateGray:115,ltSlateGrey:116,ltSteelBlue:117,ltYellow:118,magenta:119,maroon:120,medAquamarine:121,medBlue:122,mediumAquamarine:123,mediumBlue:124,mediumOrchid:125,mediumPurple:126,mediumSeaGreen:127,mediumSlateBlue:128,mediumSpringGreen:129,mediumTurquoise:130,mediumVioletRed:131,medOrchid:132,medPurple:133,medSeaGreen:134,medSlateBlue:135,medSpringGreen:136,medTurquoise:137,medVioletRed:138,midnightBlue:139,mintCream:140,mistyRose:141,moccasin:142,navajoWhite:143,navy:144,oldLace:145,olive:146,oliveDrab:147,orange:148,orangeRed:149,orchid:150,paleGoldenrod:151,paleGreen:152,paleTurquoise:153,paleVioletRed:154,papayaWhip:155,peachPuff:156,peru:157,pink:158,plum:159,powderBlue:160,purple:161,red:162,rosyBrown:163,royalBlue:164,saddleBrown:165,salmon:166,sandyBrown:167,seaGreen:168,seaShell:169,sienna:170,silver:171,skyBlue:172,slateBlue:173,slateGray:174,slateGrey:175,snow:176,springGreen:177,steelBlue:178,tan:179,teal:180,thistle:181,tomato:182,turquoise:183,violet:184,wheat:185,white:186,whiteSmoke:187,yellow:188,yellowGreen:189},Ue(s),t.Charts.ST_PresetColorVal=s,c={tl:0,t:1,tr:2,l:3,ctr:4,r:5,bl:6,b:7,br:8},Ue(c),t.Charts.ST_RectAlignment=c,d={clr:0,auto:1,gray:2,ltGray:3,invGray:4,grayWhite:5,blackGray:6,blackWhite:7,black:8,white:9,hidden:10},Ue(d),t.Charts.ST_BlackWhiteMode=d,u={inner:0,outer:1},Ue(u),t.Charts.ST_LayoutTarget=u,f={edge:0,factor:1},Ue(f),t.Charts.ST_LayoutMode=f,b={area:0,w:1},Ue(b),t.Charts.ST_SizeRepresents=b,h={auto:0,cust:1,percent:2,pos:3,val:4},Ue(h),t.Charts.ST_SplitType=h,p={ctr:0,l:1,r:2},Ue(p),t.Charts.ST_LblAlgn=p,m={bestFit:0,b:1,ctr:2,inBase:3,inEnd:4,l:5,outEnd:6,r:7,t:8},Ue(m),t.Charts.ST_DLblPos=m,g={circle:0,dash:1,diamond:2,dot:3,none:4,picture:5,plus:6,square:7,star:8,triangle:9,x:10},Ue(g),t.Charts.ST_MarkerStyle=g,y={exp:0,linear:1,log:2,movingAvg:3,poly:4,power:5},Ue(y),t.Charts.ST_TrendlineType=y,S={x:0,y:1},Ue(S),t.Charts.ST_ErrDir=S,C={both:0,minus:1,plus:2},Ue(C),t.Charts.ST_ErrBarType=C,w={cust:0,fixedVal:1,percentage:2,stdDev:3,stdErr:4},Ue(w),t.Charts.ST_ErrValType=w,x={percentStacked:0,standard:1,stacked:2},Ue(x),t.Charts.ST_Grouping=x,A={none:0,line:1,lineMarker:2,marker:3,smooth:4,smoothMarker:5},Ue(A),t.Charts.ST_ScatterStyle=A,T={standard:0,marker:1,filled:2},Ue(T),t.Charts.ST_RadarStyle=T,v={percentStacked:0,clustered:1,standard:2,stacked:3},Ue(v),t.Charts.ST_BarGrouping=v,k={bar:0,col:1},Ue(k),t.Charts.ST_BarDir=k,F={cone:0,coneToMax:1,box:2,cylinder:3,pyramid:4,pyramidToMax:5},Ue(F),t.Charts.ST_Shape=F,R={pie:0,bar:1},Ue(R),t.Charts.ST_OfPieType=R,E={b:0,l:1,r:2,t:3},Ue(E),t.Charts.ST_AxPos=E,I={autoZero:0,max:1,min:2},Ue(I),t.Charts.ST_Crosses=I,L={between:0,midCat:1},Ue(L),t.Charts.ST_CrossBetween=L,D={cross:0,in:1,none:2,out:3},Ue(D),t.Charts.ST_TickMark=D,B={high:0,low:1,nextTo:2,none:3},Ue(B),t.Charts.ST_TickLblPos=B,P={days:0,months:1,years:2},Ue(P),t.Charts.ST_TimeUnit=P,W={hundreds:0,thousands:1,tenThousands:2,hundredThousands:3,millions:4,tenMillions:5,hundredMillions:6,billions:7,trillions:8},Ue(W),t.Charts.ST_BuiltInUnit=W,_={stretch:0,stack:1,stackScale:2},Ue(_),t.Charts.ST_PictureFormat=_,N={maxMin:0,minMax:1},Ue(N),t.Charts.ST_Orientation=N,M={b:0,tr:1,l:2,r:3,t:4},Ue(M),t.Charts.ST_LegendPos=M,O={span:0,gap:1,zero:2},Ue(O),t.Charts.ST_DispBlanksAs=O,H={default:0,portrait:1,landscape:2},Ue(H),t.Charts.ST_PageSetupOrientation=H,G={legacyObliqueTopLeft:0,legacyObliqueTop:1,legacyObliqueTopRight:2,legacyObliqueLeft:3,legacyObliqueFront:4,legacyObliqueRight:5,legacyObliqueBottomLeft:6,legacyObliqueBottom:7,legacyObliqueBottomRight:8,legacyPerspectiveTopLeft:9,legacyPerspectiveTop:10,legacyPerspectiveTopRight:11,legacyPerspectiveLeft:12,legacyPerspectiveFront:13,legacyPerspectiveRight:14,legacyPerspectiveBottomLeft:15,legacyPerspectiveBottom:16,legacyPerspectiveBottomRight:17,orthographicFront:18,isometricTopUp:19,isometricTopDown:20,isometricBottomUp:21,isometricBottomDown:22,isometricLeftUp:23,isometricLeftDown:24,isometricRightUp:25,isometricRightDown:26,isometricOffAxis1Left:27,isometricOffAxis1Right:28,isometricOffAxis1Top:29,isometricOffAxis2Left:30,isometricOffAxis2Right:31,isometricOffAxis2Top:32,isometricOffAxis3Left:33,isometricOffAxis3Right:34,isometricOffAxis3Bottom:35,isometricOffAxis4Left:36,
25
- isometricOffAxis4Right:37,isometricOffAxis4Bottom:38,obliqueTopLeft:39,obliqueTop:40,obliqueTopRight:41,obliqueLeft:42,obliqueRight:43,obliqueBottomLeft:44,obliqueBottom:45,obliqueBottomRight:46,perspectiveFront:47,perspectiveLeft:48,perspectiveRight:49,perspectiveAbove:50,perspectiveBelow:51,perspectiveAboveLeftFacing:52,perspectiveAboveRightFacing:53,perspectiveContrastingLeftFacing:54,perspectiveContrastingRightFacing:55,perspectiveHeroicLeftFacing:56,perspectiveHeroicRightFacing:57,perspectiveHeroicExtremeLeftFacing:58,perspectiveHeroicExtremeRightFacing:59,perspectiveRelaxed:60,perspectiveRelaxedModerately:61},Ue(G),t.Charts.ST_PresetCameraType=G,U={tl:0,t:1,tr:2,l:3,r:4,bl:5,b:6,br:7},Ue(U),t.Charts.ST_LightRigDirection=U,J={legacyFlat1:0,legacyFlat2:1,legacyFlat3:2,legacyFlat4:3,legacyNormal1:4,legacyNormal2:5,legacyNormal3:6,legacyNormal4:7,legacyHarsh1:8,legacyHarsh2:9,legacyHarsh3:10,legacyHarsh4:11,threePt:12,balanced:13,soft:14,harsh:15,flood:16,contrasting:17,morning:18,sunrise:19,sunset:20,chilly:21,freezing:22,flat:23,twoPt:24,glow:25,brightRoom:26},Ue(J),t.Charts.ST_LightRigType=J,z={relaxedInset:0,circle:1,slope:2,cross:3,angle:4,softRound:5,convex:6,coolSlant:7,divot:8,riblet:9,hardEdge:10,artDeco:11},Ue(z),t.Charts.ST_BevelPresetType=z,V={legacyMatte:0,legacyPlastic:1,legacyMetal:2,legacyWireframe:3,matte:4,plastic:5,metal:6,warmMatte:7,translucentPowder:8,powder:9,dkEdge:10,softEdge:11,clear:12,flat:13,softmetal:14},Ue(V),t.Charts.ST_PresetMaterialType=V,j={shdw1:0,shdw2:1,shdw3:2,shdw4:3,shdw5:4,shdw6:5,shdw7:6,shdw8:7,shdw9:8,shdw10:9,shdw11:10,shdw12:11,shdw13:12,shdw14:13,shdw15:14,shdw16:15,shdw17:16,shdw18:17,shdw19:18,shdw20:19},Ue(j),t.Charts.ST_PresetShadowVal=j,X={shape:0,circle:1,rect:2},Ue(X),t.Charts.ST_PathShadeType=X,K={none:0,x:1,y:2,xy:3},Ue(K),t.Charts.ST_TileFlipMode=K,q={email:0,screen:1,print:2,hqprint:3,none:4},Ue(q),t.Charts.ST_BlipCompression=q,Y={pct5:0,pct10:1,pct20:2,pct25:3,pct30:4,pct40:5,pct50:6,pct60:7,pct70:8,pct75:9,pct80:10,pct90:11,horz:12,vert:13,ltHorz:14,ltVert:15,dkHorz:16,dkVert:17,narHorz:18,narVert:19,dashHorz:20,dashVert:21,cross:22,dnDiag:23,upDiag:24,ltDnDiag:25,ltUpDiag:26,dkDnDiag:27,dkUpDiag:28,wdDnDiag:29,wdUpDiag:30,dashDnDiag:31,dashUpDiag:32,diagCross:33,smCheck:34,lgCheck:35,smGrid:36,lgGrid:37,dotGrid:38,smConfetti:39,lgConfetti:40,horzBrick:41,diagBrick:42,solidDmnd:43,openDmnd:44,dotDmnd:45,plaid:46,sphere:47,weave:48,divot:49,shingle:50,wave:51,trellis:52,zigZag:53},Ue(Y),t.Charts.ST_PresetPatternVal=Y,Q={png:0,jpg:1,jpeg:2,emf:3},Ue(Q),t.Charts.ST_BobType=Q,Z={over:0,mult:1,screen:2,darken:3,lighten:4},Ue(Z),t.Charts.ST_BlendMode=Z,$={sib:0,tree:1},Ue($),t.Charts.ST_EffectContainerType=$,t.Charts.ST_PathToType={PathLine:0,PathMove:1,PathQuadBez:2,PathCubicBez:3},ee={line:0,lineInv:1,triangle:2,rtTriangle:3,rect:4,diamond:5,parallelogram:6,trapezoid:7,nonIsoscelesTrapezoid:8,pentagon:9,hexagon:10,heptagon:11,octagon:12,decagon:13,dodecagon:14,star4:15,star5:16,star6:17,star7:18,star8:19,star10:20,star12:21,star16:22,star24:23,star32:24,roundRect:25,round1Rect:26,round2SameRect:27,round2DiagRect:28,snipRoundRect:29,snip1Rect:30,snip2SameRect:31,snip2DiagRect:32,plaque:33,ellipse:34,teardrop:35,homePlate:36,chevron:37,pieWedge:38,pie:39,blockArc:40,donut:41,noSmoking:42,rightArrow:43,leftArrow:44,upArrow:45,downArrow:46,stripedRightArrow:47,notchedRightArrow:48,bentUpArrow:49,leftRightArrow:50,upDownArrow:51,leftUpArrow:52,leftRightUpArrow:53,quadArrow:54,leftArrowCallout:55,rightArrowCallout:56,upArrowCallout:57,downArrowCallout:58,leftRightArrowCallout:59,upDownArrowCallout:60,quadArrowCallout:61,bentArrow:62,uturnArrow:63,circularArrow:64,leftCircularArrow:65,leftRightCircularArrow:66,curvedRightArrow:67,curvedLeftArrow:68,curvedUpArrow:69,curvedDownArrow:70,swooshArrow:71,cube:72,can:73,lightningBolt:74,heart:75,sun:76,moon:77,smileyFace:78,irregularSeal1:79,irregularSeal2:80,foldedCorner:81,bevel:82,frame:83,halfFrame:84,corner:85,diagStripe:86,chord:87,arc:88,leftBracket:89,rightBracket:90,leftBrace:91,rightBrace:92,bracketPair:93,bracePair:94,straightConnector1:95,bentConnector2:96,bentConnector3:97,bentConnector4:98,bentConnector5:99,curvedConnector2:100,curvedConnector3:101,curvedConnector4:102,curvedConnector5:103,callout1:104,callout2:105,callout3:106,accentCallout1:107,accentCallout2:108,accentCallout3:109,borderCallout1:110,borderCallout2:111,borderCallout3:112,accentBorderCallout1:113,accentBorderCallout2:114,accentBorderCallout3:115,wedgeRectCallout:116,wedgeRoundRectCallout:117,wedgeEllipseCallout:118,cloudCallout:119,cloud:120,ribbon:121,ribbon2:122,ellipseRibbon:123,ellipseRibbon2:124,leftRightRibbon:125,verticalScroll:126,horizontalScroll:127,wave:128,doubleWave:129,plus:130,flowChartProcess:131,flowChartDecision:132,flowChartInputOutput:133,flowChartPredefinedProcess:134,flowChartInternalStorage:135,flowChartDocument:136,flowChartMultidocument:137,flowChartTerminator:138,flowChartPreparation:139,flowChartManualInput:140,flowChartManualOperation:141,flowChartConnector:142,flowChartPunchedCard:143,flowChartPunchedTape:144,flowChartSummingJunction:145,flowChartOr:146,flowChartCollate:147,flowChartSort:148,flowChartExtract:149,flowChartMerge:150,flowChartOfflineStorage:151,flowChartOnlineStorage:152,flowChartMagneticTape:153,flowChartMagneticDisk:154,flowChartMagneticDrum:155,flowChartDisplay:156,flowChartDelay:157,flowChartAlternateProcess:158,flowChartOffpageConnector:159,actionButtonBlank:160,actionButtonHome:161,actionButtonHelp:162,actionButtonInformation:163,actionButtonForwardNext:164,actionButtonBackPrevious:165,actionButtonEnd:166,actionButtonBeginning:167,actionButtonReturn:168,actionButtonDocument:169,actionButtonSound:170,actionButtonMovie:171,gear6:172,gear9:173,funnel:174,mathPlus:175,mathMinus:176,mathMultiply:177,mathDivide:178,mathEqual:179,mathNotEqual:180,cornerTabs:181,squareTabs:182,plaqueTabs:183,chartX:184,chartStar:185,chartPlus:186},Ue(ee),t.Charts.ST_ShapeType=ee,te={textNoShape:0,textPlain:1,textStop:2,textTriangle:3,textTriangleInverted:4,textChevron:5,textChevronInverted:6,textRingInside:7,textRingOutside:8,textArchUp:9,textArchDown:10,textCircle:11,textButton:12,textArchUpPour:13,textArchDownPour:14,textCirclePour:15,textButtonPour:16,textCurveUp:17,textCurveDown:18,textCanUp:19,textCanDown:20,textWave1:21,textWave2:22,textDoubleWave1:23,textWave4:24,textInflate:25,textDeflate:26,textInflateBottom:27,textDeflateBottom:28,textInflateTop:29,textDeflateTop:30,textDeflateInflate:31,textDeflateInflateDeflate:32,textFadeRight:33,textFadeLeft:34,textFadeUp:35,textFadeDown:36,textSlantUp:37,textSlantDown:38,textCascadeUp:39,textCascadeDown:40},Ue(te),t.Charts.ST_TextShapeType=te,re={none:0,norm:1,lighten:2,lightenLess:3,darken:4,darkenLess:5},Ue(re),t.Charts.ST_PathFillMode=re,oe={none:0,triangle:1,stealth:2,diamond:3,oval:4,arrow:5},Ue(oe),t.Charts.ST_LineEndType=oe,ie={sm:0,med:1,lg:2},Ue(ie),t.Charts.ST_LineEndWidth=ie,ne={sm:0,med:1,lg:2},Ue(ne),t.Charts.ST_LineEndLength=ne,ae={solid:0,dot:1,dash:2,lgDash:3,dashDot:4,lgDashDot:5,lgDashDotDot:6,sysDash:7,sysDot:8,sysDashDot:9,sysDashDotDot:10},Ue(ae),t.Charts.ST_PresetLineDashVal=ae,le={rnd:0,sq:1,flat:2},Ue(le),t.Charts.ST_LineCap=le,se={ctr:0,in:1},Ue(se),t.Charts.ST_PenAlignment=se,ce={sng:0,dbl:1,thickThin:2,thinThick:3,tri:4},Ue(ce),t.Charts.ST_CompoundLine=ce,de={twoCell:0,oneCell:1,absolute:2},Ue(de),t.Charts.ST_EditAs=de,ue={t:0,ctr:1,b:2,just:3,dist:4},Ue(ue),t.Charts.ST_TextAnchoringType=ue,fe={overflow:0,ellipsis:1,clip:2},Ue(fe),t.Charts.ST_TextVertOverflowType=fe,be={overflow:0,clip:1},Ue(be),t.Charts.ST_TextHorzOverflowType=be,he={horz:0,vert:1,vert270:2,wordArtVert:3,eaVert:4,mongolianVert:5,wordArtVertRtl:6},Ue(he),t.Charts.ST_TextVerticalType=he,pe={none:0,square:1},Ue(pe),t.Charts.ST_TextWrappingType=pe;me={alphaLcParenBoth:0,alphaUcParenBoth:1,alphaLcParenR:2,alphaUcParenR:3,alphaLcPeriod:4,alphaUcPeriod:5,arabicParenBoth:6,arabicParenR:7,arabicPeriod:8,arabicPlain:9,romanLcParenBoth:10,romanUcParenBoth:11,romanLcParenR:12,romanUcParenR:13,romanLcPeriod:14,romanUcPeriod:15,circleNumDbPlain:16,circleNumWdBlackPlain:17,circleNumWdWhitePlain:18,arabicDbPeriod:19,arabicDbPlain:20,ea1ChsPeriod:21,ea1ChsPlain:22,ea1ChtPeriod:23,ea1ChtPlain:24,ea1JpnChsDbPeriod:25,ea1JpnKorPlain:26,ea1JpnKorPeriod:27,arabic1Minus:28,arabic2Minus:29,hebrew2Minus:30,thaiAlphaPeriod:31,thaiAlphaParenR:32,thaiAlphaParenBoth:33,thaiNumPeriod:34,thaiNumParenR:35,thaiNumParenBoth:36,hindiAlphaPeriod:37,hindiNumPeriod:38,hindiNumParenR:39,hindiAlpha1Period:40};Ue(me),t.Charts.ST_TextAutonumberScheme=me,ge={none:0,words:1,sng:2,dbl:3,heavy:4,dotted:5,dottedHeavy:6,dash:7,dashHeavy:8,dashLong:9,dashLongHeavy:10,dotDash:11,dotDashHeavy:12,dotDotDash:13,dotDotDashHeavy:14,wavy:15,wavyHeavy:16,wavyDbl:17},Ue(ge),t.Charts.ST_TextUnderlineType=ge,ye={noStrike:0,sngStrike:1,dblStrike:2},Ue(ye),t.Charts.ST_TextStrikeType=ye,Se={none:0,small:1,all:2},Ue(Se),t.Charts.ST_TextCapsType=Se,Ce={l:0,ctr:1,r:2,dec:3},Ue(Ce),t.Charts.ST_TextTabAlignType=Ce,we={l:0,ctr:1,r:2,just:3,justLow:4,dist:5,thaiDist:6},Ue(we),t.Charts.ST_TextAlignType=we,xe={auto:0,t:1,ctr:2,base:3,b:4},Ue(xe),t.Charts.ST_TextFontAlignType=xe,Ae={auto:0},Ue(Ae),t.Charts.ST_StyleColorVal=Ae,t.Charts.CT_PathType={CT_PathToList:0,CT_Path2DArcTo:1,CT_Path2DClose:2},Te={col:0,row:1},Ue(Te),t.Charts.ST_FormulaDirection=Te,ve={cat:0,colorStr:1},Ue(ve),t.Charts.ST_StringDimensionType=ve,ke={val:0,x:1,y:2,size:3,colorVal:4},Ue(ke),t.Charts.ST_NumericDimensionType=ke,Fe={l:0,t:1,r:2,b:3},Ue(Fe),t.Charts.ST_SidePos=Fe,Re={t:1,r:2,l:3,b:4},Ue(Re),t.Charts.ST_2016ChartPosLegend=Re,Ee={min:0,ctr:1,max:2},Ue(Ee),t.Charts.ST_PosAlign=Ee,Ie={hundreds:0,thousands:1,tenThousands:2,hundredThousands:3,millions:4,tenMillions:5,hundredMillions:6,billions:7,trillions:8,percentage:9},Ue(Ie),t.Charts.ST_AxisUnit=Ie,Le={in:1,out:3,cross:0,none:2},Ue(Le),t.Charts.ST_TickMarksType=Le,De={boxWhisker:0,funnel:1,paretoLine:2,regionMap:3,sunburst:4,treemap:5,waterfall:6,clusteredColumn:7},Ue(De),t.Charts.ST_SeriesLayout=De,Be={none:0,banner:1,overlapping:2},Ue(Be),t.Charts.ST_ParentLabelLayout=Be,Pe={none:0,bestFitOnly:1,showAll:2},Ue(Pe),t.Charts.ST_RegionLabelLayout=Pe,We={l:0,r:1},Ue(We),t.Charts.ST_IntervalClosedSide=We,_e={Address:0,AdminDistrict:1,AdminDistrict2:2,AdminDistrict3:3,Continent:4,CountryRegion:5,Locality:6,Ocean:7,Planet:8,PostalCode:9,Region:10,Unsupported:11},Ue(_e),t.Charts.ST_EntityType=_e,Ne={mercator:0,miller:1,robinson:2,albers:3},Ue(Ne),t.Charts.ST_GeoProjectionType=Ne,Me={dataOnly:0,postalCode:1,county:2,state:3,countryRegion:4,countryRegionList:5,world:6},Ue(Me),t.Charts.ST_GeoMappingLevel=Me,Oe={inclusive:0,exclusive:1},Ue(Oe),t.Charts.ST_QuartileMethod=Oe,He={bestFit:0,b:1,ctr:2,inBase:3,inEnd:4,l:5,outEnd:6,r:7,t:8},Ue(He),t.Charts.ST_DataLabelPos=He,Ge={default:0,portrait:1,landscape:2},Ue(Ge),t.Charts.ST_PageOrientation=Ge},"./src/datamodel/datamodel-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/datamodel/excel-helper.ts"),l=r("./src/datamodel/datetime-helper.ts"),s=r("./src/common/range-parser.ts"),c=r("./src/xml-io/node-helper.ts"),d=o.StringEx.O,u=n.ConverterHelper.convertDxfToStyle,f=c.XmlNodeHelper.He,b=null,h=void 0,p="Normal";function S(e,t,r,o,i,n){var a,l,s,c,d=e.itemsData;d&&(a=d[d.length-1],l=d[d.length-2],s=a&&a.info,c=l&&l.info,s&&(o&&i&&1===a.count?c&&l.index===a.index-1&&c.level===s.level-1?c.collapsed=!0:t>0?d.splice(d.length-2,0,{index:a.index-1,count:1,info:{level:s.level-1,collapsed:!0}}):e.head={collapsed:!0,level:r-1}:!o&&n&&(c&&a.index===l.index+1&&s.level===c.level-1?a.collapsed=!0:t>=a.index+a.count&&d.push({index:a.index+a.count,count:1,info:{level:s.level-1,collapsed:!0}}))))}function C(e,t,r,i,n,a,l,s,c,d){var u={};return u.conType=e,o.J(t)||(u.compareType=t),o.J(r)||(u.expected=r),o.J(i)||(u.ignoreBlank=i),o.J(n)||(u.type=n),o.J(a)||(u.isPercent=a),o.J(l)||(u.item1=l),o.J(s)||(u.item2=s),o.J(c)||(u.ranges=c),o.J(d)||(u.expectTypeId=d),2===e&&(u.ignoreCase=!0),u}function w(e,t){var r,o,i=e.cellColor?0:1,a=t.fill;return a&&(0===a.patternType?r="":(o={},n.ConverterHelper.Ie(a,o),r=o.backColor)),C(3,i,r)}function x(e){if(e.length>0){var t=e[0];if("number"==typeof t)return"number";if("string"==typeof t&&0===t.indexOf("/OADate(")&&t.indexOf(")")===t.length-2)return"date";if("boolean"==typeof t)return"boolean"}return""}function A(e,t,r){var o,i,n={none:0,equal:0,lessThan:4,lessThanOrEqual:5,notEqual:1,greaterThan:2,greaterThanOrEqual:3};switch(e){case"string":o=2;break;case"number":o=1,r=parseFloat(r);break;case"date":o=5,"string"==typeof r&&0===r.indexOf("/OADate(")?(i=parseInt(r.replace("/OADate(",""),10),r=l.DateTimeHelper.Je(i)):r=l.DateTimeHelper.Je(parseInt(r,10)),n={none:0,equal:0,lessThan:2,lessThanOrEqual:3,notEqual:1,greaterThan:4,greaterThanOrEqual:5};break;case"boolean":default:o=11}return C(o,n[t],r)}function T(e,t){var r,o;function i(e){var r,o,i,n,a="notEqual"===e.operator,l=e.value,s=l.indexOf("*"),c=l.lastIndexOf("*");return s!==-1?s===l.length-1&&0!==s?(o=a?3:2,r=C(2,o,l.substring(0,l.length-1))):0===s&&s===c?(o=a?5:4,r=C(2,o,l.substring(1))):(i=a?7:6,s!==-1&&c!==-1&&(l=l.substr(1,l.length-2)),r=C(2,i,l)):(n=x(t),r=A(n,e.operator||"none",l)),r}return e.filter1&&(r=i(e.filter1)),e.filter2&&(o=e.and?1:0,r=C(0,o,b,b,b,b,r,i(e.filter2))),r}function v(e,t){function r(e){var r,i=e.value,n=i.indexOf("*"),a=i.lastIndexOf("*");return n!==-1?n===i.length-1&&0!==n?r=C(t.conType,t.compareType,i.substring(0,i.length-1)):0===n&&n===a?r=C(t.conType,t.compareType,i.substring(1)):(n!==-1&&a!==-1&&(i=i.substr(1,i.length-2)),r=C(t.conType,t.compareType,i)):o.J(t)||(r=C(t.conType,t.compareType,i)),r}var i;return e.filter1&&(i=r(e.filter1)),i=e.filter2?C(t.conType,t.compareType,b,b,b,b,i,r(e.filter2)):C(t.conType,t.compareType,b,b,b,b,i,b)}function k(e,t,r){var i,n=new o.Range(t.row,r,t.rowCount,1),a=e.type;return 100===a||101===a?i=C(10,b,b,b,a-100,b,b,b,n):16===a?i=C(6,b,0,b,b,b,b,b,b,6):a>=17&&a<=20?i=C(6,b,a-17,b,b,b,b,b,b,2):a>=21&&a<=32?i=C(6,b,a-21,b,b,b,b,b,b,3):a>=0&&a<=15&&(i=C(6,b,a)),i}function F(e,t){var r,o=t.conType;return 1===o&&(r=C(1,t.compareType,b)),r}function R(e){var t=e.top?0:1;return C(8,b,e.value,b,t,e.percent)}function E(e,t){var r=e.top?1:-1;return C(3,t.compareType,e.value,b,r,e.percent)}function I(e){return d(e)?e:"="+e}function L(e){return d(e)||e.length<=2?e:e.substr(1,e.length-2)}function D(e,t){var r=null;return t.forEach(function(t){t.id===e&&(r=t.name)}),r}t.getTableName=D;function B(e,t,r){var o=null;return r.forEach(function(r){r.id===e&&r.columns.forEach(function(e){e.id===t&&(o=e.name)})}),o}t.getTableColumnName=B;function P(e,t,r){var o,i,n=null;for(o=0;o<t.length;o++)if(i=t[o],""+r[i.cacheId].pivotCacheId===e){n=i.name;break}return n}function W(e,t){return t=t||" ",e.map(_).join(t)}function _(e){var t,r=e.row,n=e.col,a=e.rowCount,l=e.colCount,s=n+l-1,c=r+a-1;return o.isRangeWholeRow(e)&&o.isRangeWholeColumn(e)?t="$1:$"+i.ExcelConstants.wb:o.isRangeWholeRow(e)?t=r+1+":"+(c+1):o.isRangeWholeColumn(e)?t=o.IndexHelper.T(n)+":"+o.IndexHelper.T(s):(t=o.IndexHelper.T(n)+(r+1),(a>1||l>1)&&(t+=":"+o.IndexHelper.T(s)+(c+1))),t}m=["fillStyleLst","lnStyleLst","effectStyleLst","bgFillStyleLst"],g=["w","cap","cmpd","algn","prstDash","custDash","round","bevel","miter","headEnd","tailEnd"];function N(e,t){g.forEach(function(r){void 0===t[r]&&void 0!==e[r]&&(t[r]=e[r])})}function M(e,t){e&&N(e,t)}function O(e,t){return!!e[t]}function H(e,t,r,i,n,l){var s,c,d,u=e.Ke;if(r[i]&&r[i][n]){if(s=r[i][n].style,!s)return;c=o.ga._(t.namedStyles,s),c&&(d=a.processTableCellStyle(c,u),d.name="__builtInTableStyle"+e.Le+c.name,o.ga.aa(t.namedStyles,e.Me,d),e.Le++,r[i][n].style=d.name,l[s]=d.name)}}function G(e,t){var r=e.filter(function(e){return e._attr.name===t});return r&&r[0]}function U(e,t){var r=f(e.bk);return r[t]}function J(e){return e.filter(function(e){return!(e.pic&&!e.pic.cameraTool)})}function z(e){return e&&e.indexOf(" ")>=0&&("'"!==e[0]||'"'!==e[0])&&(e="'"+e+"'"),e}y=function(){function e(){var e=this;e.Ne={version:"17.1.2"},e.Ke=b,e.Oe=b,e.Pe=[],e.Qe=[],e.Re=[],e.Se=[],e.Te=1,e.Le=0,e.Ue=0,e.Ve=0,e.We=[],e.Xe=[],e.Ye={},e.Ze={},e.$e=!0,e._e=b,e.af=[],e.bf=!1,e.cf=3,e.df=[],e.ef=[],e.ff="Calibri Light",e.gf="Calibri",e.hf=[],e.if=[],e.jf=[],e.Me={},e.kf=[]}return e.prototype.lf=function(e){this.mf=e,this.pf={}},e.prototype.qf=function(e,t){var r,o,i,n,a,l,s,c,d=this;return d.pf||(d.pf={}),r=this.pf,o=e+","+t,(i=r[o])?i:(n=this.mf,l=n&&n.themeElements&&n.themeElements.fmtScheme,l&&(s=m[e],c=s&&l[s],a=c,c&&(1===e?c=c.ln:0===e&&(c=c.items),a=c[t])),r[o]=a,a)},e.prototype.rf=function(e){var t,r,o,i,n,a,l,s,c;if(e){if(t={name:e.name},e.colorScheme&&(r=e.colorScheme,t.themeColor={name:r.name,text1:r.schemeColors[1],text2:r.schemeColors[3],background1:r.schemeColors[0],background2:r.schemeColors[2],accent1:r.schemeColors[4],accent2:r.schemeColors[5],accent3:r.schemeColors[6],accent4:r.schemeColors[7],accent5:r.schemeColors[8],accent6:r.schemeColors[9],hyperlink:r.schemeColors[10],followedHyperlink:r.schemeColors[11]}),e.fontScheme){for(o=e.fontScheme,i=o.majorFont.runFormattings,n=o.minorFont.runFormattings,a=0,l=i.length;a<l;a++)s=i[a],s&&0===s.fontLanguage&&(c=z(s.typeface),t.headingFont=c,this.ff=c);for(a=0,l=n.length;a<l;a++)s=n[a],s&&0===s.fontLanguage&&(c=z(s.typeface),t.bodyFont=c,this.gf=c)}this.sf=t}},e.prototype.tf=function(e){var t,r;e&&(t=this,t.Ke=n.ConverterHelper.toCellStyle(e,t.ff,t.gf),r={},n.ConverterHelper.setStyleInfoFont(e.font,r,h,h),t.Ke.fontForColumnWidth=r.font,t.Oe=e)},e.prototype.uf=function(e,t){var r,i,a,s,c,d,u,f,b,m,g,y;if(e){if(r=this,i=r.Ne,a=n.ConverterHelper.toCellStyle(e,r.ff,r.gf),!o.J(a.formatter)){for(s=RegExp("\\[DBNum\\d+\\]","ig"),c=s.exec(a.formatter),d=a.formatter;null!==c;)u=c[0],f=parseInt(u.substring(u.indexOf("m")+1,u.indexOf("]")),10),(f>4||4===f&&d.indexOf("[$-412]")<0&&"ko-kr"!==o.Fa())&&(d=d.replace(u,"[DBNum3]")),c=s.exec(a.formatter);a.formatter=d}r.Pe.push(a),b=n.ExtendedNumberFormatHelper.getFormatCode(e),r.Qe.push(l.DateTimeHelper.vf(b)),"@"===b?r.Re.push(!0):r.Re.push(!1),e.isStyleFormat?(m=r.wf(t),m===-1&&(m=r.Ve),r.We.length>m?r.Se[r.Se.length]=r.We[m]:(r.Se[r.Se.length]="__builtInStyle"+r.Te,r.Te++)):(g="",e.parentFormatID!==h&&r.Se.length>e.parentFormatID&&(g=r.Se[e.parentFormatID]),(g===p||"__builtInStyle"===g.substring(0,14)||o.StringEx.L(g))&&(g="__builtInStyle"+r.Te,r.Te++),a.name=g,y=r.Ze[g],"__builtInStyle"===g.substring(0,14)||y===h||e.equals(y)||(a.parentName=g,g="__builtInStyle"+r.Te,r.Te++,a.name=g),i.namedStyles||(i.namedStyles=[]),o.ga.aa(i.namedStyles,r.Me,a),r.Se[r.Se.length]=g)}},e.prototype.wf=function(e){return this.Ye[e]?this.Ye[e]:-1},e.prototype.xf=function(e,t){var r,i,a,l,s,c,d,u,f;if(e){if(r=this,i=r.Ne,r.$e&&(r.yf(),r.$e=!1),a=e.name,l=r._e,l&&e.isBuiltInStyle())for(s=0,c=l.length;s<c;s++)if(d=l[s],d.builtInStyle===e.builtInStyle){a=d.name;break}if(o.ga.Z(r.Me,a)){for(s=0,c=r.af.length;s<c;s++)if(f=r.af[s],f.name===a){r.af[s]=e,r.Xe[s]=e.format(),r.Ye[t]=s;break}r.Ze[a]=e.format(),u=n.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),u.name=a,o.ga.aa(i.namedStyles,r.Me,u)}else r.Ze[a]=e.format(),r.af.push(e),r.Xe.push(e.format()),r.Ye[t]=r.Xe.length-1,r.We.push(a),i.namedStyles||(i.namedStyles=[]),u=n.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),u.name=a,o.ga.aa(i.namedStyles,r.Me,u)}},e.prototype.yf=function(){var e,t,r,o,i=this,a=i.Ne;if(i.$e)for(a.namedStyles||(a.namedStyles=[]),i._e=n.BuiltInExcelStyles.getBuiltInStyles(),e=0,t=i._e.length;e<t;e++)r=i._e[e],r&&r.name===p&&(i.Ve=i.Xe.length),i.af.push(r),i.Xe.push(r.format()),i.We.push(r.name),i.Ze[r.name]=r.format(),o=n.ConverterHelper.toCellStyle(r.format(),i.ff,i.gf),o.name=r.name},e.prototype.zf=function(e){this.bf=e},e.prototype.Af=function(e,t){var r=this.Ne;e||(r.showHorizontalScrollbar=e),t||(r.showVerticalScrollbar=t)},e.prototype.Bf=function(e,t,r,o){var i=this.Ne;e||(i.tabStripVisible=e),i.startSheetIndex=r,i.activeSheetIndex=t,i.tabStripRatio=o/1e3},e.prototype.Cf=function(e,t,r){var i={},n=this.Ne;i.name=e,i.index=t,1===r?i.visible=0:2===r&&(i.visible=2),i.allowCellOverflow=!0,i.theme=this.sf,i.defaults=o.Ea(),o.J(n.sheetCount)&&(n.sheetCount=0),n.sheetCount++,n.sheets||(n.sheets={}),n.sheets[e]=i},e.prototype.Df=function(e,t,r){var i,n,a=this.Ne;if(e&&(a.referenceStyle=1,a.sheets))for(i in a.sheets)a.sheets.hasOwnProperty(i)&&(n=a.sheets[i],n.referenceStyle=1,n.colHeaderAutoText=1);a.calculationMode=r,a.iterativeCalculation="1"===t.iterate,a.iterativeCalculationMaximumIterations=o.J(t.count)?100:parseInt(t.count,10),a.iterativeCalculationMaximumChange=o.J(t.delta)?.001:parseFloat(t.delta)},e.prototype.Ef=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];r===!1&&(i.rowOutlines||(i.rowOutlines={}),i.rowOutlines.direction=0),t===!1&&(i.columnOutlines||(i.columnOutlines={}),i.columnOutlines.direction=0)},e.prototype.Ff=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];t!==n.ExcelColor.EmptyColor&&(t.isThemeColor()?o.sheetTabColor=n.ColorHelper.getThemeColorName(t):o.sheetTabColor=n.ColorHelper.toRGBColor(t))},e.prototype.Gf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];i.rowCount=t,i.columnCount=r},e.prototype.Hf=function(e,t,r,o,i,a,l,s){var c,d=this.Ne,u=d.sheets&&d.sheets[e];o||(u.rowHeaderVisible=o,u.colHeaderVisible=o),a&&(u.showFormulas=!0),l?u.showZeros=!0:u.showZeros=!1,100!==i&&(u.zoomFactor=i/100),t&&t.isIndexedColor()&&64===t.value()&&(t=null),null===t&&r||(c={},null!==t&&(c.color=""+n.ColorHelper.toRGBColor(t)),r||(c.showVerticalGridline=r,c.showHorizontalGridline=r),u.gridline=c),u.isSelected=s},e.prototype.If=function(e,t,r,o,i,n,a,l,s){var c,d,u,f,b,h,p,m,g=this.Ne,y=g.sheets&&g.sheets[e];if(this.cf===t){for(y.rowCount<=r&&(y.rowCount=r+1),y.columnCount<=o&&(y.columnCount=o+1),c=0,d=n.length;c<d;c++)u=n[c],f=a[c],b=l[c],h=s[c],f===-1&&(f=y.rowCount-1),h===-1&&(h=y.columnCount-1),u=u>=0?u:0,f=f>=0?f:0,b=b>=0?b:0,h=h>=0?h:0,u<y.rowCount&&b<y.columnCount&&(p=Math.min(y.rowCount-u,f-u+1),m=Math.min(y.columnCount-b,h-b+1),p>=1&&m>=1&&(y.selections=y.selections||{},y.selections[c]={row:u,rowCount:p,col:b,colCount:m}));y.selections&&(y.selections.length=n.length),y.activeRow=r>=0&&r<y.rowCount?r:0,y.activeCol=o>=0&&o<y.columnCount?o:0}},e.prototype.Jf=function(e,t,r,i,n){var a,l,s,c,d,u,f,b,h;n&&(a=this.Ne,l=a.sheets&&a.sheets[e],s=this.Kf,c=o.IndexHelper.P(s),d=o.IndexHelper.R(s),u=o.IndexHelper.P(i),f=o.IndexHelper.R(i),r&&t?this.Lf(u,f,e):r&&!t?this.Lf(u,d,e):!r&&t&&this.Lf(c,f,e),r&&(b=r+c,l.rowCount<=b&&(l.rowCount=b),l.frozenRowCount=b,l.frozenTopRow=c),t&&(h=t+d,l.columnCount<=h&&(l.columnCount=h),l.frozenColCount=h,l.frozenLeftCol=d))},e.prototype.Mf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];i.defaults={colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:t,colWidth:r}},e.prototype.Nf=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];o.defaults.rowHeight=n.UnitHelper.pointToPixel(t)},e.prototype.Of=function(e,t,r){var o,i=this.Ne,n=i.sheets&&i.sheets[e];isNaN(r)?(o=this.Pf(t),n.defaults._isExcelDefaultColumnWidth=!0):o=this.Qf(r),n.defaults.colWidth=o},e.prototype.Pf=function(e){var t=this.Ke,r=this.getMaxiumDigitWidth(t.fontForColumnWidth?t.fontForColumnWidth:t.font),o=2*Math.ceil(r/4)+1,i=this.Qf(e,r)+o;return 8*Math.ceil(i/8)},e.prototype.Qf=function(e,t){if(0===e)return 0;var r=this.Ke,i=r.fontForColumnWidth?r.fontForColumnWidth:r.font;return Math.floor(Math.floor(256*e)/256*(o.J(t)?this.getMaxiumDigitWidth(i):t)+.5)},e.prototype.getMaxiumDigitWidth=function(e){return this.Rf===h&&(this.Rf=n.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.Sf=function(e){var t=this,r=t.Ne,o=r.sheets&&r.sheets[e],i=o.columnCount||0,n=o.rowCount||0,a=t.Tf,l=t.Uf;o.columnCount=Math.max(i,a+1),o.rowCount=Math.max(n,l+1)},e.prototype.Vf=function(e,t,r,o,n,a,l,s){var c,d,u,f,p,m,g,y,C,w,x,A,T,v,k=this.Ne,F=k.sheets&&k.sheets[e],R=F.columnOutlines&&0===F.columnOutlines.direction,E=this.jf,I=this.Qf(n),L=i.ExcelConstants.vb;for(r>=L-1&&(r=L-1),c=!1,d=t;d<=r;d++){if(u=!1,(l>0||s)&&(d+2>F.columnCount&&(f=F.columnOutlines&&F.columnOutlines.items,l<=0&&(!f||!f[d-1]||f[d-1].level<0)&&(c=!0),c||(F.columnCount=d+2)),c||(F.columnOutlines||(F.columnOutlines={}),F.columnOutlines.items||(F.columnOutlines.items=[]),F.columnOutlines.itemsData||(F.columnOutlines.itemsData=[]),p=F.columnOutlines.items,p[d]={level:l-1,collapsed:s},a&&(u=!0),m=F.columnOutlines.itemsData,g=m[m.length-1],g&&d===g.index+g.count&&g.info.level===l-1&&g.info.collapsed===s?g.count++:m.push({index:d,count:1,info:{level:l-1,collapsed:s}}))),F.columnOutlines&&F.columnOutlines.itemsData&&(y=F.columnOutlines.itemsData,S(y,d,l,R,a,E[d-1]&&E[d-1].hidden)),I!==-1||a){for(F.columns||(F.columns=[]),C=F.columns.length,w=C;w<d;w++)F.columns[w]=b,E[w]=b;x={},A={},x.hidden=a,a&&0===l&&(A.visible=x.visible=!1),I!==-1&&(A.size=x.size=I),x.visible!==!1&&u!==!0||0!==x.size||(A.size=x.size=h),E[d]=x,F.columns[d]=A}1!==o&&(T=this.Se[o],T!==h?this.df[d]={style:T}:o<this.Pe.length&&(this.df[d]={style:this.Pe[o]}),v=this.Pe[o],v&&v.isVerticalText===!0&&this.kf.push(d))}F.columnCount>L&&(F.columnCount=L)},e.prototype.Wf=function(e){var t,r,o,i,n,a,l,s,c,d,u=this,f=u.Ne,b=f.sheets&&f.sheets[e],h=b.defaults,p=b.data,m=b.columns,g=b.columnCount,y=h.colWidth;if(m&&(t=m.length,g<t))for(r=g;r<t;r++)if(o=m[r],o&&o.size===y){i=m.slice(0,r),u.jf=i,b.columns=i,p&&p.columnDataArray&&(p.columnDataArray=p.columnDataArray.slice(0,r));break}if(n=b.rows,a=b.rowCount,l=h.rowHeight,n&&(s=n.length,a<s))for(r=a;r<s;r++)if(c=n[r],c&&c.size===l){d=n.slice(0,r),u.if=d,b.rows=d,p&&p.rowDataArray&&(p.rowDataArray=p.rowDataArray.slice(0,r));break}},e.prototype.Xf=function(e,t,r,i,n){var a=this.Ne,l=a.sheets&&a.sheets[e];l.spans||(l.spans=[]),l.spans.push(new o.Range(t,i,r-t+1,n-i+1))},e.prototype.Yf=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];o.isProtected=t},e.prototype.Zf=function(e,t,r){var o,i,n,l,s=this.Ne,c=s.sheets&&s.sheets[e];for(c.protectionOptions=c.protectionOptions||{},o=0;o<t.length;o++)i=t[o].name,n=t[o].value,l=a.toProtectionOptions[i],l?c.protectionOptions[l]=n:c.protectionOptions[i]=n;r&&c.protectionOptions.allowEditObjects===h&&(c.protectionOptions.allowEditObjects=!0)},e.prototype.$f=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];o.data||(o.data={}),t=o.data,this.ef.length>0&&(t.rowDataArray=this.ef,this.ef=[]),this.df.length>0&&(t.columnDataArray=this.df,this.df=[]),this.Ke&&(t.defaultDataNode={style:this.Ke}),this.sf&&(o.theme=this.sf),this.Sf(e)},e.prototype._f=function(e,t){var r,o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x=this.Ne,A=x.sheets&&x.sheets[e];if(A&&(r=t?A.rowOutlines:A.columnOutlines))for(o=0===r.direction,i=r.items,n=t?A.rows:A.columns,a=t?this.if:this.jf,l=function(){return o?0:n.length-1},s=function(e){return o?e<n.length:e>=0},c=function(e){return o?e+1:e-1},d=function(e){return o?e-1:e+1},u=function(e,t){var r=i[e];if(r)return r.level<=t?r:u(r.parentIndex,t)},f=l(),b=void 0;s(f);f=c(f))h=i[f],h&&h.level!==-1?(p=d(f),m=i[p],g=!m&&"number"==typeof h.level||m&&m.level<h.level,y=m&&m.level>h.level,S=void 0,C=void 0,g?(S=p,C=!!m&&(m.collapsed||m.viewCollapsed)):y?h.level===-1?C=!1:(w=void 0,w=m.parentIndex===b?m:u(m.parentIndex,h.level),w&&(S=w.parentIndex,C=w.viewCollapsed)):(S=m.parentIndex,C=m.viewCollapsed),h.parentIndex=S,h.viewCollapsed=C,!C&&a[f].hidden&&(n[f].visible=!1)):b=f},e.prototype.ag=function(e,t,r,o,i,a,l){var s,c,d,u,f,p,m,g,y=this.Ne,C=y.sheets&&y.sheets[e],w=C.rowOutlines&&0===C.rowOutlines.direction,x=this.if;if((i>0||a)&&(!w&&t+2>C.rowCount&&(C.rowCount=t+2),C.rowOutlines||(C.rowOutlines={}),C.rowOutlines.items||(C.rowOutlines.items=[]),C.rowOutlines.itemsData||(C.rowOutlines.itemsData=[]),s=C.rowOutlines.items,s[t]={level:i-1,collapsed:a},c=C.rowOutlines.itemsData,d=c[c.length-1],d&&t===d.index+d.count&&d.info.level===i-1&&d.info.collapsed===a?d.count++:c.push({index:t,count:1,info:{level:i-1,collapsed:a}})),u=x[t-1]&&x[t-1].hidden,C.rowOutlines&&C.rowOutlines.itemsData&&S(C.rowOutlines,t,i,w,l,u),i<=0&&t+1>C.rowCount&&(C.rowCount=t+1),r!==-1&&t<C.rowCount&&(f=this.Se[r],f!==h?this.ef[t]={style:f}:r<this.Pe.length&&(this.ef[t]={style:this.Pe[r]})),o!==-1||l){for(C.rows||(C.rows=[]),p=C.rows.length;p<t;p++)C.rows.push(b),x.push(b);m={},g={},m.hidden=l,l&&0===i&&(g.visible=m.visible=!1),o!==-1&&(g.size=m.size=Math.round(n.UnitHelper.pointToPixel(o))),m.visible===!1&&0===m.size&&(g.size=m.size=h),x.push(m),C.rows.push(g)}},e.prototype.bg=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];o.data||(o.data={}),t=o.data,t.dataTable||(t.dataTable={})},e.prototype.cg=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e],i=o.data.dataTable;i[t]||(i[t]={})},e.prototype.dg=function(e,t,r,i){var n,a,l,s=this,c=s.Ne,d=c.sheets&&c.sheets[e],u=d.data.dataTable[t];u[r]||(u[r]={}),n=u[r],a=s.Se[i],a!==h?n.style=a:i<s.Pe.length&&(n.style=s.Pe[i]),s.kf.indexOf(r)>-1&&(l=s.Pe[i],l&&o.J(l.isVerticalText)&&(s.Pe[i].isVerticalText=!1))},e.prototype.eg=function(e,t,r,o){var i,n=this,a=n.Ne,l=a.sheets&&a.sheets[e],s=l.data.dataTable[t];s||(l.data.dataTable[t]=s={}),s[r]||(s[r]={}),i=s[r],i.hyperlink=o},e.prototype.fg=function(e,t){if(t[0]){var r=this,o=r.Ne,i=o.sheets&&o.sheets[e];i&&(i.sharedFormulas=t)}},e.prototype.gg=function(e,t,r,o,i,a,l,s){var c,d,u,f=this,b=f.Ne,h=b.sheets&&b.sheets[e],p=h.data.dataTable[t];if(p[r]||(p[r]={}),c=p[r],o<f.Qe.length&&f.Qe[o]&&"number"==typeof i&&(i=f.hg(i)),void 0!==i&&(c.value=i),void 0!==a&&(c.formula=a),l&&(c.arrayInfo=l),s){for(d=[],u=0;u<s.length;u++)s[u].style?d.push({style:n.ConverterHelper.toRichTextStyle(s[u].style,f.ff,f.gf),text:s[u].text}):d.push(s[u]);c.value={richText:d}}},e.prototype.hg=function(e){return this.bf&&(e+=1462),e=l.DateTimeHelper.Je(e),e instanceof Date&&(e=l.DateTimeHelper.ig(e)),l.DateTimeHelper.jg(e)},e.prototype.kg=function(e){var t,r,o;if(e&&e.length>0){for(n.ColorHelper.useCustomPalette=!0,t={},r=0,o=e.length;r<o;r++)t[r]=n.ColorHelper.fromArgb(e[r]);n.ColorHelper.customPalette=t}},e.prototype.mg=function(){this.cf=3},e.prototype.ng=function(e){this.cf=e},e.prototype.Lf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[r];i.topCellIndex=e,i.leftCellIndex=t},e.prototype.og=function(){this.Ne.names=[];for(var e in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(e)&&(this.Ne.sheets[e].names=[])},e.prototype.pg=function(e,t,r,o){var i,n;if(r===-1)this.Ne.names.push({name:e,formula:t,row:0,col:0,comment:o});else for(i in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(i)&&(n=this.Ne.sheets[i],n.index===r&&n.names.push({name:e,formula:t,row:0,col:0,comment:o}))},e.prototype.qg=function(e){var t=this.rg[e];return u(t,this.ff,this.gf)},e.prototype.sg=function(e){var t=this.tg[e];return u(t,this.ff,this.gf)},e.prototype.ug=function(e){var t=this.hf[e];return u(t,this.ff,this.gf)},e.prototype.vg=function(e,t){return u(e,this.ff,this.gf,t)},e.prototype.wg=function(e,t){var r,i,n,a=this.Ne.sheets[e];for(a.conditionalFormats||(a.conditionalFormats={rules:[]}),r=0;r<t.rules.length;r++)i=t.rules[r],!o.J(i.dxfId)&&i.dxfId>-1&&(n=this.ug(i.dxfId),n.font&&0===n.font.indexOf("normal normal")&&delete n.font,i.style=n,delete i.dxfId),a.conditionalFormats.rules.push(i)},e.prototype.xg=function(e){return this.Ne.sheets[e].conditionalFormats},e.prototype.yg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.comments=e.map(function(e){return a.convertFromExcelComment(i,e)})},e.prototype.zg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.pivotTables=e},e.prototype.Ag=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t],n=e.pictures,a=e.charts,l=e.shapes,s=r.Bg&&r.Bg.importPictureAsFloatingObject;n&&s&&this.Cg(n,i),a&&this.Dg(a,i),l&&(s&&(l=J(l)),this.Eg(l,i))},e.prototype.Cg=function(e,t){t.floatingObjects=t.floatingObjects||[];var r=t.floatingObjects;e.forEach(function(e){
26
- var o=a.convertFromExcelPicture(t,e,r);o.typeName="1",r.push(o)})},e.prototype.Dg=function(e,t){t.charts=t.charts||[],e.map(function(e){var r=a.convertFromExcelChart(t,e);t.charts.push(r)})},e.prototype.Fg=function(e,t){var r,o=this,i=o.Ne.pivotCaches;if(i)for(r in i)if(i.hasOwnProperty(r)&&i[r]&&i[r][e]===t)return i[r]},e.prototype.Gg=function(e){var t,r,o,i,n,a,l=this,s=e.sp||e.cxnSp,c=s&&s.style,d=s&&s.spPr;c&&(t=c.lnRef,r=void 0,o=void 0,i=d.ln,i||(i={}),t&&(r=t.idx,r&&(o=l.qf(1,r-1),M(o,i),d.ln=i))),n=e.grpSp,n&&(a=n.sp,a&&a.length&&a.forEach(function(e){l.Gg({sp:e})}))},e.prototype.Eg=function(e,t){var r=this;t.shapes=t.shapes||[],e.map(function(e){r.Gg(e);var o=a.convertFromExcelShape(t,e);t.shapes.push(o)})},e.prototype.Hg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.controls=e},e.prototype.Ig=function(e,t){var r=function(e){var t,r,o=e&&e.nvSpPr&&e.nvSpPr.cNvPr,i=o&&o.extLst&&o.extLst.ext||[];for(t=0;t<i.length;t++)if(r=i[t],r.compatExt)return r.compatExt.spid},o=function(e){return r(e)===t},i=function(e){var t,r,n,a=e&&e.sp||[];for(t=0;t<a.length;t++){if(r=a[t],o(r))return r;if(3===r.shapeType&&(n=i(r)))return n}},n=function(e){var t,r,n;for(t=0;t<e.length;t++)if(r=e[t],7===r.shapeType){if(o(r.shapeData&&r.shapeData.sp))return r.shapeData.sp}else if(3===r.shapeType&&(n=i(r.shapeData.grpSp)))return n},a=this,l=a.Ne,s=l.sheets&&l.sheets[e];return s&&s.shapes&&n(s.shapes)},e.prototype.Jg=function(e,t){var r,o,i,n=this,a=n.Ne,l=a.sheets&&a.sheets[t];for(l.sparklineGroups=e,r=0;r<e.length;r++)for(o=e[r].sparklines,i=0;i<o.length;i++)o[i].row>=l.rowCount&&(l.rowCount=o[i].row+1),o[i].col>=l.columnCount&&(l.columnCount=o[i].col+1)},e.prototype.Kg=function(e,t){var r,o,i,a,l,s,c,d,u,f,b,h=this,p=h.Ne,m=p.sheets&&p.sheets[t];for(m.tables=e,r=0;r<e.length;r++){e[r].row+e[r].rowCount>m.rowCount&&(m.rowCount=e[r].row+e[r].rowCount),e[r].col+e[r].colCount>m.columnCount&&(m.columnCount=e[r].col+e[r].colCount),o=m.data&&m.data.dataTable,i=e[r],a=m.data&&m.data.defaultDataNode&&m.data.defaultDataNode.style&&m.data.defaultDataNode.style.font;for(l in i.style)i.style.hasOwnProperty(l)&&i.style[l]&&i.style[l].font&&(i.style[l].font=n.ConverterHelper.composeFontWeightAndFontStyleToDestFont(i.style[l].font,a));for(s={},c=i.row+i.rowCount,d=i.col+i.colCount,u=i.row;u<c;u++)for(f=i.col;f<d;f++)o[u]&&o[u][f]&&(b=o[u][f].style,O(s,b)?o[u][f].style=s[b]:H(h,p,o,u,f,s))}},e.prototype.Lg=function(e,t,r,i){var n=this.Ne.sheets[e],a,l=[],s=0,c;if(n&&n.data&&n.data.dataTable&&(a=n.data.dataTable))for(;i>0&&s<t.rowCount;)a[t.row+s]&&(c=a[t.row+s][r],o.J(c.value)||(l.push(c.value),i--)),s++;return l},e.prototype.Mg=function(e,t){var r,i,a,l,s,c,d,u=this;if(!o.J(e)&&!o.J(e.range))return r={},r.filterItemMap=[],r.filteredColumns=[],i=e.range,i=new o.Range(i.row+1,i.col,i.rowCount-1,i.colCount),r.range=i,e.filterColumns.forEach(function(e){var n,a=e.autoFilterColumnId+i.col,l=[],s=!1,c=e.colorFilter;c&&(l.push(w(c,u.hf[c.dxfId])),s=!0),n=e.filters,n&&(n.blank&&n.filter.push(""),n.filter.forEach(function(e){l.push(C(2,0,e,n.blank))}),n.dateGroupItem.forEach(function(e){var t=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);l.push(C(5,0,t,!n.blank))}),s=!0),e.customFilters&&(l.push(T(e.customFilters,o.J(t)?i:u.Lg(t,i,a,1))),s=!0),e.dynamicFilter&&(l.push(k(e.dynamicFilter,i,a)),s=!0),e.top10Filter&&(l.push(R(e.top10Filter)),s=!0),s&&(r.filteredColumns.push(a),r.filterItemMap.push({index:a,conditions:l}))}),a=e.sortInfo,a&&a.dxfId===h?r.sortInfo=a:a&&a.dxfId!==h&&(l=void 0,s=e.sortInfo.isBackColor,c=u.hf[a.dxfId]&&u.hf[a.dxfId].fill,c&&(0===c.patternType?l="":(d={},n.ConverterHelper.Ie(c,d),l="object"==typeof d.backColor?JSON.stringify(d.backColor):d.backColor)),r.sortInfo={ascending:a.ascending,index:a.index,isBackColor:s,color:l}),r},e.prototype.Ng=function(e,t){if(!o.J(e)){var r={};return r.filterItemMap=[],e.filterColumns.forEach(function(e){var o=[],i=e.filters;i&&(i.filter.forEach(function(e){o.push(C(t.conType,0,e,i.blank))}),i.dateGroupItem.forEach(function(e){var r=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);o.push(C(t.conType,0,r,!i.blank))})),e.customFilters&&o.push(v(e.customFilters,t)),e.dynamicFilter&&o.push(F(e.dynamicFilter,t)),e.top10Filter&&o.push(E(e.top10Filter,t)),r.filterItemMap.push({conditions:o})}),r}},e.prototype.Og=function(e,t){if(!o.J(e)){var r=this,i=r.Ne,n=i.sheets&&i.sheets[e];n.rowFilter=r.Mg(t,e),i.allowAutoExtendFilterRange=!0}},e.prototype.Pg=function(e,t){var r,o,i,n,l,s=this,c=s.Ne,d=c.sheets&&c.sheets[t];d.slicers=d.slicers||[],r=d.slicers,o=[];for(i in c.sheets)c.sheets[i].tables&&(o=o.concat(c.sheets[i].tables));n=[];for(l in c.sheets)c.sheets[l].pivotTables&&(n=n.concat(c.sheets[l].pivotTables));e.forEach(function(e){"pivot"===e.type||"timeline"===e.type?e.pivotName=P(e.pivotCacheId,n,c.pivotCaches):(e.tableName=D(e.tableId,o),e.columnName=B(e.tableId,e.columnId,o),delete e.tableId,delete e.columnId),a.inflateWorksheetByAnchor(d,e),r.push(e)})},e.prototype.Qg=function(e,t){var r,i,n,a,l;o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],a=r.Rg(t),l=n.validations,l||(l=n.validations=[]),a.ranges=W(t.ranges,", "),l.push(a))},e.prototype.Rg=function(e){var t,r,i,n,a,l,s,c;if(o.J(e))return b;switch(t=e.type,r=e.compareOperator,i=e.firstFormula,n=e.secondFormula,a={type:t},t){case 0:break;case 1:case 2:case 6:l={operator:r,value1:I(i),value2:I(n)};break;case 3:s=i,o.J(s)&&(s=n),s&&(l='"'===s[0]&&'"'===s[s.length-1]?{value:L(s)}:{formula:I(s)});break;case 4:case 5:c=void 0,o.J(i)||(c=parseFloat(i),isNaN(c)||(i=this.hg(c))),o.J(n)||(c=parseFloat(n),isNaN(c)||(n=this.hg(c))),l={operator:r,value1:i&&i.indexOf("/OADate(")!==-1?i:I(i),value2:n&&n.indexOf("/OADate(")!==-1?n:I(n)};break;case 7:l={formula:I(i)}}return l&&(a.validatorInfo=l),a!==b&&(a.errorStyle=e.errorType,a.errorMessage=e.error,a.errorTitle=e.errorTitle,a.ignoreBlank=e.allowBlank,a.inCellDropdown=e.showPromptBox,a.inputMessage=e.prompt,a.inputTitle=e.promptTitle,a.showErrorMessage=e.showErrorMessage,a.showInputMessage=e.showInputMessage),a},e.prototype.Sg=function(e,t){var r,i,n,a;function l(e){return e=e||0,parseInt(Math.round(100*e),10)}o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,a.margin={top:l(t.top),bottom:l(t.bottom),left:l(t.left),right:l(t.right),header:l(t.header),footer:l(t.footer)})},e.prototype.Tg=function(e,t){var r,i,n,a,l,s,c,d;o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,a.showGridLine=t.printGridLine,l=t.horizontalCentered,s=t.verticalCentered,c=0,l&&s?c=3:l?c=1:s&&(c=2),a.centering=c,d=t.printRowColumnsHeaders?2:1,a.showColumnHeader=d,a.showRowHeader=d)},e.prototype.Ug=function(e,t,r){e.rows||(e.rows=[]);var o=e.rows[t];o?o.pageBreak=r:e.rows[t]={pageBreak:r}},e.prototype.Vg=function(e,t,r){e.columns||(e.columns=[]);var o=e.columns[t];o?o.pageBreak=r:e.columns[t]={pageBreak:r}},e.prototype.Wg=function(e,t){var r,i,n,a,l,s,c,d,u,f,p,m,g,y,S;function C(e){var t,r,o,i,n;if(e===h)return b;if(t=["","",""],e===b||""===e)return t;for(r=0,o=1,i=e.length;r<i;){if(r<i-1){if(n=e.substr(r,2),"&L"===n){o=0,r+=2;continue}if("&C"===n){o=1,r+=2;continue}if("&R"===n){o=2,r+=2;continue}}t[o]=t[o].concat(e[r]),r++}return t}o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,l=t.paperSizeIndex,0!==l&&(a.paperSize={kind:l}),t.useCustomStartingPage&&(a.firstPageNumber=t.firstPageNumber),o.J(t.showColor)||(a.blackAndWhite=!t.showColor),a.orientation=2===t.orientation?2:1,a.pageOrder=2===t.pageOrder?2:1,t.zoomFactor>0&&(a.zoomFactor=t.zoomFactor),t.useSmartPrint&&(t.smartPrintPagesWidth>=1&&(a.fitPagesWide=t.smartPrintPagesWidth),t.smartPrintPagesHeight>=1&&(a.fitPagesTall=t.smartPrintPagesHeight)),s=t.advancedHeadFooterSetting,s&&(c=a.pageHeaderFooter={},a.differentOddAndEvenPages=s.headerFooterDifferentOddEvenPages,a.differentFirstPage=s.headerFooterDifferentFirstPage,d=C(s.headerOddPage),d&&(s.headerFooterDifferentOddEvenPages?c.odd={header:{left:d[0],center:d[1],right:d[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}}:c.normal={header:{left:d[0],center:d[1],right:d[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}},a.headerLeft=d[0],a.headerCenter=d[1],a.headerRight=d[2]),u=C(s.footerOddPage),u&&(s.headerFooterDifferentOddEvenPages?(c.odd=c.odd||{},c.odd.footer={left:u[0],center:u[1],right:u[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}):(c.normal=c.normal||{},c.normal.footer={left:u[0],center:u[1],right:u[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}),a.footerLeft=u[0],a.footerCenter=u[1],a.footerRight=u[2]),f=C(s.headerEvenPage),f&&(c.even={header:{left:f[0],center:f[1],right:f[2],leftImage:s.evenHeaderLeftImage,centerImage:s.evenHeaderCenterImage,rightImage:s.evenHeaderRightImage}}),p=C(s.footerEvenPage),p&&(c.even=c.even||{},c.even.footer={left:p[0],center:p[1],right:p[2],leftImage:s.evenFooterLeftImage,centerImage:s.evenFooterCenterImage,rightImage:s.evenFooterRightImage}),m=C(s.headerFirstPage),m&&(c.first={header:{left:m[0],center:m[1],right:m[2],leftImage:s.firstHeaderLeftImage,centerImage:s.firstHeaderCenterImage,rightImage:s.firstHeaderRightImage}}),g=C(s.footerFirstPage),g&&(c.first=c.first||{},c.first.footer={left:g[0],center:g[1],right:g[2],leftImage:s.firstFooterLeftImage,centerImage:s.firstFooterCenterImage,rightImage:s.firstFooterRightImage}),s.headerLeftImage&&(a.headerLeftImage=s.headerLeftImage),s.headerCenterImage&&(a.headerCenterImage=s.headerCenterImage),s.headerRightImage&&(a.headerRightImage=s.headerRightImage),s.footerLeftImage&&(a.footerLeftImage=s.footerLeftImage),s.footerCenterImage&&(a.footerCenterImage=s.footerCenterImage),s.footerRightImage&&(a.footerRightImage=s.footerRightImage)),y=t.rowBreakLines,y&&y.length>0&&y.forEach(function(e){r.Ug(n,e,!0)}),S=t.columnBreakLines,S&&S.length>0&&S.forEach(function(e){r.Vg(n,e,!0)}))},e.prototype.Xg=function(e,t){var r,o,i,n;e<0||(r=this,o=r.Yg(e),o.printInfo||(o.printInfo={}),i=s.getRangesFromString(t),1===i.length&&(n=i[0],n.row>-1&&(o.printInfo.rowStart=n.row),n.rowCount>0&&(o.printInfo.rowEnd=n.row+n.rowCount-1),n.col>-1&&(o.printInfo.columnStart=n.col),n.colCount>0&&(o.printInfo.columnEnd=n.col+n.colCount-1)))},e.prototype.Zg=function(e,t){var r,i,n,a,l;if(!(e<0))for(r=this,i=r.Yg(e),i.printInfo||(i.printInfo={}),n=s.getRangesFromString(t.replace(","," ")),a=0;a<n.length;a++)l=n[a],o.isRangeWholeRow(l)?(i.printInfo.repeatRowStart=l.row,i.printInfo.repeatRowEnd=l.row+l.rowCount-1):o.isRangeWholeColumn(l)&&(i.printInfo.repeatColumnStart=l.col,i.printInfo.repeatColumnEnd=l.col+l.colCount-1)},e.prototype.Yg=function(e){var t,r,o=this.Ne.sheets;for(t in o)if(o.hasOwnProperty(t)&&(r=o[t],r.index===e))return r;return h},e.prototype.$g=function(e){this._g=e,this.ah={},this.bh={}},e.prototype.dh=function(e,t){var r,o,i,n,a,l,s,c,d,u,b,h,p,m,g=this._g,y=+t-1;if(g&&("cm"===e?(r=g.cellMetadata,o=this.ah):"vm"===e&&(r=g.valueMetadata,o=this.bh)),r){if(i=[e,y].join(","),n=o[i])return n;if(a=U(r,y)){l=a.rc,s=l._attr,c=+s.t-1,d=+s.v;try{if(u=f(g.metadataTypes.metadataType),b=f(g.futureMetadata),h=u[c],p=h&&h._attr.name,m=G(b,p))return n={name:p,detail:U(m,d)},o[i]=n,n}catch(e){}}}},e.prototype.eh=function(e){var t=this.dh("cm",e);return t&&"XLDAPR"===t.name},e.prototype.fh=function(e,t){var r=this;o.J(r.Ne.docProps)&&(r.Ne.docProps={}),o.J(r.Ne.docProps.docPropsCore)&&(r.Ne.docProps.docPropsCore={}),r.Ne.docProps.docPropsCore[e]=t},e.prototype.gh=function(e,t){var r=this;o.J(r.Ne.docProps)&&(r.Ne.docProps={}),o.J(r.Ne.docProps.docPropsApp)&&(r.Ne.docProps.docPropsApp={}),r.Ne.docProps.docPropsApp[e]=t},e.prototype.hh=function(e){var t=this;o.J(t.Ne.docProps)&&(t.Ne.docProps={}),o.J(t.Ne.docProps.docPropsCustom)&&(t.Ne.docProps.docPropsCustom=[]),t.Ne.docProps.docPropsCustom=e},e}(),t.ReaderDataModel=y},"./src/datamodel/datamodel-writer.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/common/excel-types.ts"),l=r("./src/datamodel/excel-helper.ts"),s=r("./src/common/tuple.ts"),c=r("./src/datamodel/datetime-helper.ts"),d=r("./src/excel-io.ts"),u=n.ColorHelper.fromColorToExcelColor,f=n.ColorHelper.toExcelColor,b=o.Util.sa,h=o.Util.ta,p=void 0,m=null,g="__builtInStyle",y="__builtInValidatorStyle",S="__builtInTableStyle",C=/^(__builtInTableStyle\d+)?__builtInStyle\d+$/,w=/^__builtInTableStyle\d+__builtInStyle\d+$/;function T(e){return"string"==typeof e}function v(e){return"string"==typeof e||!e}function k(e){return"object"==typeof e}function F(e){return e.substring(0,19)===S}function R(e){return e.substring(0,23)===y}function E(e){var t=e.formula;return o.J(t)&&(t=e.expected,T(t)&&(t='"'+t+'"')),t}function I(e){var t,r,o;return T(e)&&(t=e.indexOf("/OADate(")+1,r=e.indexOf(")"),0!==t&&r>t&&(o=parseFloat(e.substring(t+7,r)),isNaN(o)||(e=""+o))),e}function L(e,t,r){var o,i=e.tables||[];return i.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(o=e,!1)}),o}function D(e,t,r){var o,i=e.spans||[];return i.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(o=e,!1)}),o}function B(e,t){var r,o=e.spans||[];for(r=0;r<o.length;r++)if(t.row===o[r].row&&t.col===o[r].col){o.splice(r,1);break}}function P(e){if("/OADate("===e.substr(0,8)){var t=parseFloat(e.substr(8,e.length-10));return c.DateTimeHelper.Je(t)}}function W(e,t,r){e.ih||(e.ih={}),e.ih[t]=r}function _(e){return e.defaults?e.defaults.rowHeight:i.DefaultSize.Ab}function N(e){return e.defaults?e.defaults.colWidth:i.DefaultSize.zb}function M(e,t,r){var o=e.data.dataTable[t];if(o&&o[r])return o[r].value}function O(e,t,r){void 0===r&&(r=0);var i=t.row,n=t.col,a=t.rowCount,l=t.colCount;return i===-1&&(i=r,a=e.rowCount),n===-1&&(n=0,l=e.columnCount),i<=0?i=0:(i--,a+=1),new o.Range(i,n,a,l)}t.getFilterRange=O;function H(e){return o.J(e)?e:e.length>=2&&"="===e[0]?e.substring(1):"="===e?"":e}function G(e,t,r,i){var n,a,l;if(1===r.colCount){for(n=[],l=r.row;l<r.row+r.rowCount;l++)a=M(e,l,r.col),o.J(a)||n.push(a);return n.sort(function(e,t){return i?t-e:e-t}),n[t-1]}}function U(e,t,r){var i,n={filterType:1};if(n.isBottom=1===t.type,t.percent&&(n.percent=!0),i=t.expected,!o.J(i))return n.value=i,n.percent&&(i=Math.ceil(r.rowCount%i/100)),o.J(r)?n.filterValue=NaN:n.filterValue=G(e,i,r,!n.isBottom),n}function J(e){var t,r={filterType:1};return r.isBottom=e.type===-1,r.percent=1===e.compareType,t=e.expected,o.J(t)||(r.value=t,r.filterValue=t),r}function z(e,t,r){var o,i,n,a,l={filterType:2};if(0===t.type?l.type=100:1===t.type&&(l.type=101),r===m)return m;for(o=0,i=0,n=0;n<r.rowCount;n++)a=parseFloat(M(e,r.row+n,r.col)),isNaN(a)||(o+=a,i++);return i>0&&(l.value=o/i),l}function V(e){var t=new Date,r=t.getDay(),o=t.getDate(),i=new Date(t),n=new Date(t);switch(e){case 3:i.setDate(o-6);break;case 1:i.setDate(o-1);break;case 0:break;case 2:i.setDate(o+1);break;case 8:i.setDate(o-r-7),n.setDate(o-r-1);break;case 7:i.setDate(o-r),n.setDate(o-r+6);break;case 9:i.setDate(o-r+7),n.setDate(o-r+13);break;case 5:i.setDate(1),i.setMonth(i.getMonth()-1),n.setDate(0);break;case 4:i.setDate(1),n.setMonth(n.getMonth()+1),n.setDate(0);break;case 6:i.setDate(1),i.setMonth(i.getMonth()+1),n.setMonth(n.getMonth()+2),n.setDate(0)}return i.setHours(0),i.setMinutes(0),i.setSeconds(0),n.setHours(23),n.setMinutes(59),n.setSeconds(59),{from:i,to:n}}function j(e){var t,r,o,i,n,a,l=new Date,s=l.getDay(),d=l.getDate(),u=new Date(l),f=new Date(l);switch(e){case 11:u.setDate(d-6);break;case 9:u.setDate(d-1);break;case 8:break;case 10:u.setDate(d+1);break;case 16:u.setDate(d-s-7),f.setDate(d-s-1);break;case 15:u.setDate(d-s),f.setDate(d-s+6);break;case 17:u.setDate(d-s+7),f.setDate(d-s+13);break;case 13:u.setDate(1),u.setMonth(u.getMonth()-1),f.setDate(0);break;case 12:u.setDate(1),f.setMonth(f.getMonth()+1),f.setDate(0);break;case 14:u.setDate(1),u.setMonth(u.getMonth()+1),f.setMonth(f.getMonth()+2),f.setDate(0);break;case 18:t=u.getMonth()-u.getMonth()%3+1+3,r=t+3+3,u.setDate(1),u.setMonth(t),f.setMonth(r),f.setDate(0);break;case 19:o=u.getMonth()-u.getMonth()%3+1,i=o+3,u.setDate(1),u.setMonth(o),f.setMonth(i),f.setDate(0);break;case 20:n=u.getMonth()-u.getMonth()%3+1-3,a=o+3-3,u.setDate(1),u.setMonth(n),f.setMonth(a),f.setDate(0);break;case 21:u.setDate(1),u.setMonth(1),u.setFullYear(u.getFullYear()+1),f.setFullYear(f.getFullYear()+2),f.setMonth(0),f.setDate(0);break;case 22:u.setDate(1),u.setMonth(1),f.setFullYear(f.getFullYear()+1),f.setMonth(0),f.setDate(0);break;case 23:u.setDate(1),u.setMonth(1),u.setMonth(u.getFullYear()-1),f.setMonth(0),f.setDate(0);break;case 40:u.setMonth(0,1),u.setHours(0,0,0,0),f.setHours(23,59,59,999)}return u.setHours(0),u.setMinutes(0),u.setSeconds(0),f.setHours(23),f.setMinutes(59),f.setSeconds(59),{from:c.DateTimeHelper.ig(u),to:c.DateTimeHelper.ig(f)}}function X(e){var t,r=e.expected,o={filterType:2,type:r,conType:e.conType,expectTypeId:e.expectTypeId};return r>=0&&r<=15||r>=21&&r<=32?(t=V(r),t.from&&t.to&&(o.value=t.from,o.maxValue=t.to)):o.type=-1,o}function K(e){if(!o.J(e.compareType)){var t={filterType:4};return t.filter1={},t.filter1.operator=e.compareType,o.J(e.expected)?t.filter1.value=H(e.formula):t.filter1.value=e.expected,t}}function q(e){var t,r,i,n;if(!o.J(e.compareType))return t={filterType:4},t.filter1={},r=e.compareType,i=void 0,n=void 0,6===r?(i=5,n=3,t.and=!0):(i=r,n=r),t.filter1.operator=i,e.item1&&!o.J(e.item1.expected)&&(t.filter1.value=e.item1.expected),e.item2&&!o.J(e.item2.expected)&&(t.filter2={},t.filter2.operator=n,t.filter2.value=e.item2.expected),t}function Y(e){var t=e.expected,r=-1;switch(e.compareType){case 0:return{filterType:3,filter:[t]};case 1:r=1;break;case 2:t+="*";break;case 3:r=1,t+="*";break;case 4:t="*"+t;break;case 5:r=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:r=1,t="*"+t+"*"}return{filterType:4,filter1:{operator:r,value:t}}}function Q(e){var t,r,i;if(o.J(e.value1)?o.J(e.item1)||(t=e.item1.expected):t=e.value1,o.J(e.value2)?o.J(e.item2)||(r=e.item2.expected):r=e.value2,!r){switch(i=-1,e.compareType){case 0:return{filterType:3,filter:[t]};case 1:i=1;break;case 2:t+="*";break;case 3:i=1,t+="*";break;case 4:t="*"+t;break;case 5:i=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:i=1,t="*"+t+"*";break;case 8:i=2;break;case 9:i=5;break;case 10:i=4;break;case 11:i=3}return{filterType:4,filter1:{operator:i,value:t}}}return 12===e.compareType?{filterType:4,filter1:{operator:3,value:t},filter2:{operator:5,value:r}}:13===e.compareType?{filterType:4,filter1:{operator:4,value:t},filter2:{operator:2,value:r}}:void 0}function Z(e,t){var r;r="/OADate"===e.expected.substring(0,7)?P(e.expected):new Date(e.expected),t.dateGroupItem=t.dateGroupItem||[],t.dateGroupItem.push({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate(),hour:r.getHours(),minute:r.getMinutes(),second:r.getSeconds(),dateTimeGrouping:2})}function $(e,t){var r,i,n,a=o.J(e.compareType)?e.operator:e.compareType;if(a>=8&&a<=23||40===a)r={filterType:2,type:t},i=j(a),i.from&&i.to&&(r.value=i.from,r.maxValue=i.to);else if(a>=24&&a<=39)r={filterType:2,type:t};else if(a>=0&&a<=7)return n=q(e),e.isWholeDay&&(n.isWholeDay=e.isWholeDay),n;return r}t.getPivotDateFilter=$;function ee(e){var t,r,o;if(0===e.compareType)return t={filterType:3},Z(e,t),t;switch(r=-1,e.compareType){case 0:break;case 1:r=1;break;case 2:r=4;break;case 3:r=5;break;case 4:r=2;break;case 5:r=3}return r!==-1?(o=E(e),o=I(o),{filterType:4,filter1:{operator:r,value:o}}):void 0}function te(e){var t,r,i=[],n=[];for(n.push(e);n.length>0;)t=n.shift(),0===t.conType?(r=t,o.J(r.item1)||n.push(r.item1),o.J(r.item2)||n.push(r.item2)):i.push(t);return i}function re(e){var t=-1;switch(e){case 0:case 2:case 4:case 6:t=0;break;case 1:case 3:case 5:case 7:t=1;break;default:t=0}return t}function oe(e,t){switch(t){case 0:case 1:return e;case 2:case 3:return e.concat("*");case 4:case 5:return"*".concat(e);case 6:case 7:return"*".concat(e).concat("*");default:return e}}function ie(e){var t={filterType:3,filter:[]};return e.forEach(function(e){o.J(e.expected)||t.filter.push(e.expected)}),t}function ne(e,t){return e.every(function(e){return e.conType===t})}function ae(e,t,r){var i,n,a,l,s,c,d,u,f,b,h,p,g;if(0===e.compareType){if(i=te(e),ne(i,5))return n={filterType:3},i.forEach(function(e){Z(e,n)}),n;if(ne(i,2)){if(s=!1,i.length<=2)for(c=0;c<i.length;c++)if(0!==i[c].compareType){s=!0;break}return s?(l={filterType:4},d=i[0],a=re(d.compareType),l.filter1={},l.filter1.operator=a,o.J(d.expected)?l.filter1.value=H(d.formula):l.filter1.value=oe(d.expected,d.compareType),2===i.length&&(d=i[1],a=re(d.compareType),l.filter2={},l.filter2.operator=a,o.J(d.expected)?l.filter2.value=H(d.formula):l.filter2.value=oe(d.expected,d.compareType)),l.and=!1,l):ie(i)}if(ne(i,11)){if(u=!0,i.length<=2&&(u=!1),u)return ie(i);if(i.length>0)return f=i[0],l={filterType:4,filter1:{operator:f.compareType}},o.J(f.expected)?l.filter1.value=H(f.formula):l.filter1.value=f.expected,2===i.length&&(f=i[1],l.filter2={operator:f.compareType},o.J(f.expected)?l.filter2.value=H(f.formula):l.filter2.value=f.expected),l.and=!1,l}return l={filterType:4,and:!1},b=le(t,i[0],r),l.filter1=b.filter1,i.length>1&&(h=le(t,i[1],r),l.filter2=h.filter1),l}if(i=te(e),2===i.length)return l={filterType:4},l.and=!0,p=le(t,i[0],r),o.J(p)||!p.filter1?m:(l.filter1=p.filter1,g=le(t,i[1],r),o.J(g)||!g.filter1?m:(l.filter2=g.filter1,l))}function le(e,t,r){if(e===m)return m;var o=t.conType;if(3===o);else{if(8===o)return U(e,t,r);if(10===o)return z(e,t,r);if(6===o)return X(t);if(11===o||1===o)return K(t);if(2===o)return Y(t);if(5===o)return ee(t);if(0===o)return ae(t,e,r)}}function se(e,t){var r=e.conType;return 3===r?J(e):2===r?q(e):0===r?Q(e):1===r?$(e,t):void 0}function ce(e){var t,r,i;return o.J(e)?m:(t=m,r=m,i=0,i=1===e.compareType?6:7,e.item1&&(t=0===e.item1.conType?ce(e.item1):de(e.item1)),e.item2&&(r=0===e.item2.conType?ce(e.item2):de(e.item2)),new s.Tuple(t,r,i))}function de(e){if(!o.J(e)){var t=e.conType,r,i;return 0===t?ce(e):1===t||7===t?(r=e.compareType,i=e.formula,o.J(i)&&(i=e.expected),new s.Tuple(i,m,r)):4===t?new s.Tuple(o.J(e.formula)?e.expected:e.formula,m,1):12===t||5===t||13===t?(i=E(e),new s.Tuple(i,m,1)):m}}function ue(e){if(e instanceof s.Tuple){var t=e;if(!o.J(t.item1))return ue(t.item1)}else if(!o.J(e))return H(""+e);return""}function fe(e,t,r){var i,n,a,l,s;return o.J(e)?m:(i=de(e.condition),n=m,a=m,o.J(i)||(o.J(i.item1)||(n=ue(i.item1)),o.J(i.item2)||(a=ue(i.item2))),l={},(h(n,t,r)||h(a,t,r))&&(l.external=!0),s=e.type,l.type=s,l.firstFormula=n,l.secondFormula=a,4!==s&&5!==s||(o.J(l.firstFormula)||(l.firstFormula=I(l.firstFormula)),o.J(l.secondFormula)||(l.secondFormula=I(l.secondFormula))),l.compareOperator=e.comparisonOperator,l.allowBlank=e.ignoreBlank,l.error=e.errorMessage,l.errorTitle=e.errorTitle,l.errorStyle=e.errorStyle,l.prompt=e.inputMessage,l.showPromptBox=e.inCellDropdown,l.promptTitle=e.inputTitle,l.showErrorBox=e.showErrorMessage,l.showInputMessage=e.showInputMessage,l)}function be(e,t,r){if(r.ih&&r.ih[e])return r.ih[e];var i=o.ga._(r.namedStyles,e);return i?(W(r,e,i),i):t.ih&&t.ih[e]?t.ih[e]:(i=o.ga._(t.namedStyles,e),i&&W(t,e,i),i)}function he(e,t,r,o){e.forEach(function(e){var i=fe(e,r,o);i.ranges=e.ranges.split(", ").join(" "),t.push(i)})}x={empty:0,thin:1,medium:2,dashed:3,dotted:4,thick:5,double:6,hair:7,mediumDashed:8,dashDot:9,mediumDashDot:10,dashDotDot:11,mediumDashDotDot:12,slantedDashDot:13};function pe(e){if(e){var t={};return e.borderColor&&(t.color=e.borderColor),e.borderStyle&&(t.style=x[e.borderStyle]),t}}function me(e,t){var r,o;if(e){for(r in e)e.hasOwnProperty(r)&&r.indexOf("border")>=0&&(o=e[r],o&&(e[r]=pe(o)));return t&&(e.isSlicerHeader=!0),e}}function ge(e){var t,r,i=e.sheets;if(i)for(t in i)i.hasOwnProperty(t)&&(r=i[t],r.defaults=r.defaults||o.Ea())}function ye(e){var t,r;if(o.J(e)||!Array.isArray(e))return m;for(t=[],r=0;r<e.length;r++)t.push(e[r].text?e[r].text:"");return t.join("")}function Se(e,t){var r=null;return t.forEach(function(t){t.name===e&&(r=t.id)}),r}function Ce(e,t,r){for(var o=0;o<e.styleElements.length;o++)e.styleElements[o].type===t&&(e.styleElements[o].size=r)}function we(e,t){return b(e,t,l.isBorderEqual)}function xe(e,t){return e[t.name]&&b(e[t.name],t,we)}function Ae(e,t){for(var r=t,o=1;e[r];)r=t+"_"+o,o++;return r}function Te(e,t){var r=t;return null!==e&&void 0!==e&&(r=e),(r/100).toFixed(2)}function ve(e){var t,r=e.names;if(r)for(t=0;t<r.length;t++)if("@"===r[t].name){r.splice(t,1);break}}function ke(e){var t,r,o,i,n,a=e.jh;if(a&&a.dataSourceOption&&a.dataSourceOption.schema&&a.dataSourceOption.schema.hierarchy)for(t=a.dataSourceOption.schema.hierarchy,r=a.views.filter(function(t){return t.name===e.addition.dataView.name})[0],o=r.columns,i=0;i<o.length;i++)if(n=o[i],n.outlineColumn||n.value===t.outlineColumn||t.outlineColumn&&n.value===t.outlineColumn.value)return!0}function Fe(e){var t,r,i,n,a,l,s,c,d,u,f,b,h=e.colHeaderRowCount||1;if(e.rowCount+=h,t=e.data,ke(e)){for(r=0;r<h;r++)e.rowOutlines.items.unshift(p);for(i=e.rowOutlines.itemsData,r=0;r<i.length;r++)n=i[r],n.index+=h}for(a=t.dataTable,a||(a=t.dataTable={}),l=e.rowCount-h;l>=0;l--)a[l+h]=a[l];for(s=e.colHeaderData.dataTable,l=0;l<h;l++)a[l]=s&&s[l]||{};if(c=e.colHeaderRowInfos,d=e.defaults&&e.defaults.colHeaderRowHeight,!o.J(d))for(c||(c=[]),l=0;l<h;l++)c[l]?o.J(c[l].size)&&(c[l].size=d):c[l]={size:d};if(c&&c.length>0)for(u=e.rows,u||(e.rows=[]),l=0;l<c.length;l++)e.rows.splice(l,0,c[l]);for(f=t.rowDataArray,f||(f=t.rowDataArray={}),l=e.rowCount-h;l>=0;l--)f[l+h]=f[l];for(b=e.colHeaderData.rowDataArray,l=0;l<h;l++)f[l]=b&&b[l]||{};e.frozenRowCount>0&&(e.frozenRowCount+=h,e.topCellIndex+=h)}function Re(e){var t,r,o,i,n,a=e.colHeaderRowCount||1,l=[],s=e.data,c=s.dataTable,d=c[a-1];if(e.columnCount=e.columnCount||e.columns&&e.columns.length||0,0!==e.rowCount&&0!==e.columnCount){if(d)for(t=0;t<e.columnCount;t++)r={id:t+1},o=d[t],r.name=o&&o.value||"Column"+(t+1),l.push(r);for(i={},t=l.length-1;t>=0;t--)n=l[t],i[n.name]?n.name=n.name+" "+t:i[n.name]=!0;e.tables=[{name:e.name,row:a-1,col:0,rowCount:e.rowCount,colCount:e.columnCount,rowFilter:{range:{row:a,col:0,rowCount:e.rowCount-1,colCount:e.columnCount},showFilterButton:!0},columns:l}]}}function Ee(e,t){var r=e;return r.length>255?r=r.slice(-240):(r=t+" "+r,r.length>250&&(r=e+" "+Math.random().toString(36).slice(-6))),r}function Ie(e){Fe(e),delete e.rowFilter,Re(e)}function Le(e,t){var r,i,a,l,s;o.J(e.numberFormat)||(r=e.numberFormat,i={},a=n.ExtendedNumberFormatHelper.getFormatId(r),l=a.id,s=a.isBuiltIn,s?(i.numberFormatIndex=l,e.numberFormatId=l):(i.numberFormat=new n.ExcelNumerFormat(l,r),e.numberFormatId=i.numberFormat.numberFormatId),t.push(i))}function De(e,t){var r={name:e};return l.getPictureInfo(t,r),r}function Be(e,t,r){var i=m,n=p,a=!1;return o.J(e)||(k(e)?Array.isArray(e)?i=e.join(","):(n=e.richText,n?i=ye(n):o.J(e._code)||(i=e),a=e._code>=99,a&&r<3&&(r=t?2:3)):(i=e,t&&r<1&&(r=1))),{value:i,richText:n,isSpillError:a,dynamicArrayLevel:r}}function Pe(e){return e&&"'"===e[0]&&"'"===e[e.length-1]&&(e=e.substring(1,e.length-1)),e}A=function(){function e(e){var t=this;t.kh(e),t.Ne=e,t.lh={},t.mh=[],t.nh={},t.oh=[],t.ph={},t.qh=[],t.rh={},t.sh={},t.af=[],t.th=[],t.uh={},t.vh={},t.wh={},t.xh={},t.yh={},t.Ah={},t.Bh={},t.hf=[],t.Ch=[],t.Dh=[],t.Eh=e.allowDynamicArray?1:0,t.Fh={},t.Gh={},t.Hh={},t.Ih=[]}return e.prototype.kh=function(e){var t,r,o,i,n,a,l,s,c,d=e.sheetCount||0;if(e.sheetCount=d+(e.sheetTabCount||0),t=e.activeSheetIndex,r=e.activeSheetTabIndex,(void 0===t||t<0)&&void 0!==r&&r>=0&&(e.activeSheetIndex=d+r),o=e.sheetTabs){i=function(t){if(o.hasOwnProperty(t)){var r=o[t];e.dataManager&&e.dataManager.tables&&r.addition&&r.addition.dataView&&r.addition.dataView.tableName&&(r.jh=e.dataManager.tables.filter(function(e){return e.name===r.addition.dataView.tableName})[0]),Ie(r),ve(r)}};for(n in o)i(n);if(a=e.sheets){for(l in o)o.hasOwnProperty(l)&&(a[l]=o[l]);for(s in a)a.hasOwnProperty(s)&&(c=a[s],"number"==typeof c.order&&(c.index=c.order))}else e.sheets=o}void 0===e.startSheetIndex&&(e.startSheetIndex=0)},e.prototype.$e=function(){var e=n.DefaultStyle.Jh(this.Ne);this.lh.Normal=0,this.af.push(e),this.th.push(e),this.vh[e.name]=this.af.length-1},e.prototype.Kh=function(e){var t=e.index;this.uh[t]||(this.uh[t]={}),this.wh[t]||(this.wh[t]={}),this.xh[t]||(this.xh[t]={}),this.yh[t]||(this.yh[t]={}),this.Ah[t]||(this.Ah[t]={})},e.prototype.Lh=function(e,t){var r,i,n,l,s,c,d,u;if(!e||!t)return!1;if(r=!0,!o.StringEx.L(t.fileName)&&(i=this.Mh(t.fileType),!o.StringEx.L(i))){for(n=new a.OverrideContentType,n.partName=t.fileName,n.contentType=i,l=!1,s=0,c=e.length;s<c;s++)if(d=e[s],d instanceof a.OverrideContentType&&d.contentType===n.contentType&&d.partName===n.partName){l=!0;break}l||e.push(n)}if(t.relationFiles&&t.relationFiles.count>0)for(u in t.relationFiles)t.relationFiles.hasOwnProperty(u)&&"count"!==u&&(r=r&&this.Lh(e,t.relationFiles[u]));return r},e.prototype.Mh=function(e){if(o.StringEx.L(e))return"";switch(e){case i.RelationshipConstants.Sa:return i.XFileConstants.Ib;case i.RelationshipConstants.Pa:return i.XFileConstants.Jb;case i.RelationshipConstants.Ua:return i.XFileConstants.Kb;case i.RelationshipConstants.Na:return i.XFileConstants.Lb;case i.RelationshipConstants.Ra:return i.XFileConstants.Mb;case i.RelationshipConstants.Za:return i.XFileConstants.Ob;case i.RelationshipConstants.$a:return i.XFileConstants.Pb;case i.RelationshipConstants._a:return i.XFileConstants._b;case i.RelationshipConstants.eb:return i.XFileConstants.Qb;case i.RelationshipConstants.jb:return i.XFileConstants.fc;case i.RelationshipConstants.kb:return i.XFileConstants.gc;case i.RelationshipConstants.lb:return i.XFileConstants.Rb;case i.RelationshipConstants.mb:return i.XFileConstants.Sb;case i.RelationshipConstants.pb:return i.XFileConstants.Ub;case i.RelationshipConstants.qb:return i.XFileConstants.Tb;case i.RelationshipConstants.ob:return i.XFileConstants.Vb;case i.RelationshipConstants.sb:return i.XFileConstants.fe;case i.RelationshipConstants.Ka:return i.XFileConstants.se;case i.RelationshipConstants.La:return i.XFileConstants.ve;case i.RelationshipConstants.Ma:return i.XFileConstants.ye;case i.RelationshipConstants.Wa:return i.XFileConstants.cc;case i.RelationshipConstants.Xa:return i.XFileConstants.dc;case i.RelationshipConstants.Ya:return i.XFileConstants.ec;case i.RelationshipConstants.bb:return i.XFileConstants.lc;case i.RelationshipConstants.ub:return i.XFileConstants.ic;case i.RelationshipConstants.tb:return i.XFileConstants.hc;default:return""}},e.prototype.Nh=function(e,t,r,o,i){var n,a,s,c,d,u,f,b,h,p,m,y,C,w=this,x=w.Ne,A=x.namedStyles;for(n=0;n<e.length;n++)if(a=e[n])for(s=a.row,c=a.col,d=a.rowCount,u=a.colCount,f=0;f<d;f++)if(b=t[s+f])for(h=0;h<u;h++)if(p=b[c+h],p&&p.style){if("string"==typeof p.style){if(i[p.style]){p.style=i[p.style];continue}p.style=r[p.style]}p.style&&(p.style=l.resetTableCellStyle(p.style,o),p.style.name&&(m=p.style.name,y=m.indexOf(g),w.Oh++,C=S+w.Oh+m.substring(y),p.style.name=C,A.push(p.style),p.style=C,i[m]=C))}},e.prototype.Ph=function(){var e,t,r=this,o=r.Ne;r.$e(),r.Qh();for(e in o.sheets)if(o.sheets.hasOwnProperty(e)){if(t=o.sheets[e],!t)continue;r.Rh(t),r.Kh(t),r.Sh(t),r.Th(t),r.Uh(t),r.Vh(t),r.Wh(t)}ge(r.Ne)},e.prototype.Xh=function(){var e=this;e.onCompleted&&e.onCompleted()},e.prototype.Wh=function(e){var t,r,o=e.conditionalFormats&&e.conditionalFormats.rules;if(o)for(t=0;t<o.length;t++)r=o[t],r.style&&(r.style.isPartFontStyle=!0,r.style.isFormatStyle=!0,r.dxfId=this.Yh(r.style));e.Zh=this.$h(e),this._h(e),this.ai(e),this.bi(e),this.ci(e)},e.prototype.Yh=function(e){var t=this,r=t.hf.indexOf(e);
27
- return r===-1&&(r=t.hf.length,t.hf.push(e)),r},e.prototype.di=function(e){var t=this,r=t.Ch.indexOf(e);return r===-1&&(r=t.Ch.length,t.Ch.push(e)),r},e.prototype.ei=function(e){var t=this,r=t.Dh.indexOf(e);return r===-1&&(r=t.Dh.length,t.Dh.push(e)),r},e.prototype.ci=function(e){var t=this,r=e.slicers,i=t.fi();r&&r.length>0&&r.forEach(function(e){var r,n,a,l,s,c,u,f,b,h,p,m;if(e&&(r="timeline"===e.type,n=r?d.IO.timelineStyles:d.IO.slicerStyles,"string"==typeof e.style?(a=e.style.toLowerCase().replace(r?/^timeslicerstyle/:/^slicerstyle/,""),n[a]?e.style=n[a]:delete e.style):e.style instanceof Object&&(l=e.style&&e.style.name,s=l&&l.length>11&&n[l.toLowerCase().replace(r?/^timeslicerstyle/:/^slicerstyle/,"")],s&&(e.style.name="CustomSlicerStyle_"+e.name)),c=e.style,!o.J(c&&c.name))){if(u={},!xe(t.nh,c)){u={styleElements:[],name:Ae(t.nh,c.name)},c.name=u.name;for(f in c)if(c.hasOwnProperty(f)&&"name"!==f&&!o.J(c[f]))switch(f){case"headerStyle":case"wholeSlicerStyle":b={},b.type=f,b.dxfId=t.Yh(me(c[f],"headerStyle"===f)),b.tableId=Se(e.tableName,i),u.styleElements.push(b)}t.mh.push(u)}if(r){if(!xe(t.rh,c)){h={styleElements:[],name:Ae(t.rh,c.name)},c.name=u.name;for(p in c)if(c.hasOwnProperty(p)&&"name"!==p&&!o.J(c[p]))switch(p){case"selectionLabelStyle":case"timeLevelStyle":case"periodLabel1Style":case"periodLabel2Style":case"selectedTimeBlockStyle":case"unselectedTimeBlockStyle":case"selectedTimeBlockSpaceStyle":h.styleElements.push({type:p,dxfId:t.ei(me(c[p]))})}t.qh.push(h),t.rh[h.name]=c}}else if(!xe(t.ph,c)){m={styleElements:[],name:Ae(t.nh,c.name)},c.name=u.name;for(p in c)if(c.hasOwnProperty(p)&&"name"!==p&&!o.J(c[p]))switch(p){case"selectedItemWithDataStyle":case"selectedItemWithNoDataStyle":case"unSelectedItemWithDataStyle":case"unSelectedItemWithNoDataStyle":case"hoveredSelectedItemWithDataStyle":case"hoveredSelectedItemWithNoDataStyle":case"hoveredUnSelectedItemWithDataStyle":case"hoveredUnSelectedItemWithNoDataStyle":m.styleElements.push({type:p,dxfId:t.di(me(c[p]))})}t.oh.push(m),t.ph[m.name]=c}}})},e.prototype._h=function(e){var t,r,i=this;function n(e,t){var r,n,a,l,s,c,u,f,b,h;if(e&&(t?(r=e.style&&e.style.name,r&&r.length>10&&d.IO.pivotTableThemes[r.toLowerCase().replace(/^pivotstyle/,"")]&&(e.style.name="CustomPivotTableStyle_"+e.name)):"string"==typeof e.style?d.IO.tableThemes[e.style]?e.style=d.IO.tableThemes[e.style]:delete e.style:e.style instanceof Object&&(n=e.style&&e.style.name,n&&d.IO.tableThemes[n]&&(e.style.name="CustomTableStyle_"+e.name)),a=e.style,!o.J(a&&a.name))){if(xe(i.nh,a))return;l={styleElements:[]},l.name=Ae(i.nh,a.name),a.name=l.name,s=void 0,c=void 0,u=void 0,f=void 0;for(b in a)if(a.hasOwnProperty(b)&&"name"!==b&&void 0!==a[b])switch(b){case"firstRowStripSize":s=a[b];break;case"secondRowStripSize":c=a[b];break;case"firstColumnStripSize":u=a[b];break;case"secondColumnStripSize":f=a[b];break;default:h={},h.type=b,a[b].isPartFontStyle=!0,h.dxfId=i.Yh(a[b]),l.styleElements.push(h)}Ce(l,"firstRowStripStyle",s||1),Ce(l,"secondRowStripStyle",c||1),Ce(l,"firstColumnStripStyle",u||1),Ce(l,"secondColumnStripStyle",f||1),Ce(l,"firstRowStripeStyle",s||1),Ce(l,"secondRowStripeStyle",c||1),Ce(l,"firstColumnStripeStyle",u||1),Ce(l,"secondColumnStripeStyle",f||1),l.isPivot=t,i.mh.push(l),i.nh[l.name]=a}}t=e.pivotTables,t&&t.length>0&&t.forEach(function(e){return n(e,!0)}),r=e.tables,r&&r.length>0&&r.forEach(function(e){return n(e,!1)})},e.prototype.ai=function(e){var t=this,r=e.pivotTables;r&&r.length>0&&r.forEach(function(e){!o.J(e.formats)&&e.formats.length>0&&e.formats.forEach(function(e){var r,i,a,l,s;o.J(e.style)||(e.dxfId=t.Yh(e.style),e.style&&!o.J(e.style.formatter)&&(r=e.style.formatter,i={},a=n.ExtendedNumberFormatHelper.getFormatId(r),l=a.id,s=a.isBuiltIn,s?(i.numberFormatIndex=l,e.style.numberFormatId=l):(i.numberFormat=new n.ExcelNumerFormat(l,r),e.style.numberFormatId=i.numberFormat.numberFormatId),t.Ih.push(i)))}),!o.J(e.fields)&&e.fields.length>0&&e.fields.forEach(function(e){Le(e,t.Ih)}),!o.J(e.dataFields)&&e.dataFields.length>0&&e.dataFields.forEach(function(e){Le(e,t.Ih)})})},e.prototype.bi=function(e){var t,r=e.tables,o=r?r.length:0,i={};for(t=0;t<o;t++)r[t].tableSortInfo=this.gi(r[t].rowFilter);e.hi=i,e.rowFilter&&(e.rowFilter.autoFilterSortInfo=this.gi(e.rowFilter))},e.prototype.Th=function(e){var t,r=this,o=e.rows,i=_(e);for(e.rowsVisibleInfo={},t=0;t<e.rowCount;t++)e.rowsVisibleInfo[t]={},e.rowsVisibleInfo[t].size=o&&o[t]&&o[t].size||i,e.rowsVisibleInfo[t].visible=r.ii(e,t)},e.prototype.Uh=function(e){var t,r,o=e.columns,i=N(e),n=e.columnOutlines;for(e.columnVisibleInfo={},t=0;t<e.columnCount;t++)e.columnVisibleInfo[t]={},r=o&&o[t],e.columnVisibleInfo[t].size=r&&r.size||i,r&&r.visible===!1&&(e.columnVisibleInfo[t].visible=!1),l.isCollapsed(t,n)&&(e.columnVisibleInfo[t].visible=!1)},e.prototype.Rh=function(e){e.rowCount===p&&(e.rowCount=200),e.columnCount===p&&(e.columnCount=20),e.activeRow===p&&(e.activeRow=0),e.activeCol===p&&(e.activeCol=0),e.visible===p&&(e.visible=!0)},e.prototype.Vh=function(e){var t,r,o=e.index,i=this.yh[o],n=e.columnCount,a=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style;for(t=0;t<n;t++)r=this.ji(e,-1,t),this.ki(e,i,t,r,a)},e.prototype.Sh=function(e){var t,r,i,n,l,s,c,d,u,f,b,h,g,y,S,C,w,x,A,T,v,k,F,R,E,P,W,_,N,M,O,H,G,U,J,z,V,j,X,K,q,Y,Q,Z,$,ee,te,re=this,oe=e.index,ie=e.data&&e.data.dataTable,ne=e.data&&e.data.rowDataArray,ae=e.defaultData,le=re.Eh,se=re.Hh;if(0!==e.rowCount){if(t=re.li(ie,e,ae)+1,r=re.wh[oe],i=re.xh[oe],n=re.mi(e,t),l=re.Ah[oe],s=57,c=re.ni(e),d=[],u=e.tables,!o.J(u)&&Array.isArray(u))for(f=0;f<u.length;f++)for(b=u[f],h=b.row,g=h+b.rowCount-1,y=h;y<=g;y++)d[y]||(d[y]=!0);for(S={},C=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style,w=0;w<=c&&w>=0;w++)if(ie&&ie.hasOwnProperty(w+"")||ne&&ne[w]||d[w]||ae&&ae.hasOwnProperty(w+"")){for(x=re.ki(e,i,w,re.ji(e,w,-1),C),A=s,T=ie&&ie[w],v=ae&&ae[w],k=0;k<t&&k>=0;k++)if(F=L(e,w,k),T&&T.hasOwnProperty(k+"")||F||v&&v.hasOwnProperty(k+"")){if(R=w*t+k,E=void 0,P=void 0,W=m,_=m,N=m,M=T&&T[k],O=v&&v[k],H=p,G=!1,M&&(_=M.formula,N=M.arrayInfo,U=N&&N.isDynamicArray,J=M.value,z=Be(J,U,le),W=z.value,H=z.richText,G=z.isSpillError,le=z.dynamicArrayLevel),!_&&o.J(W)&&O&&(W=Be(O.v,p,le).value),V=!1,F&&(V=!0,j=D(e,w,k),j&&B(e,j)),X=re.oi(e,w,k,r,n[k],x,C,R,W),P=X.styleName,E=X.styleInfo,V){if(F.showHeader!==!1&&w===F.row&&(W=F.columns[k-F.col]&&F.columns[k-F.col].name,W&&W.indexOf("\n")!==-1&&H))for(K=0;K<H.length;K++)H[K].text=o.Util.ua(H[K].text,"\r","");F.showFooter&&w===F.row+F.rowCount-1&&(q=F.columns[k-F.col],o.J(q&&q.footerValue)||(W=""+q.footerValue))}if(Y=re.pi(W,!o.J(H)),Q=Y.value,Q=I(Q),Z=Y.cellType,E||_||Q!==m||!o.StringEx.L(P)){if($=new a.ExcelCell(w,k),$.cellType=Z,$.value=Q,$.richText=H,$.isSpillError=G,$.qi=S[w+","+k],re.dg(r,R,E,P,$),re.ri(_,N,$),N&&N.isDynamicArray&&!$.isSpillError)for(ee=N.row;ee<N.row+N.rowCount;ee++)for(te=N.col;te<N.col+N.colCount;te++)S[ee+","+te]=1;re.ti(oe,w,$),re.ui($,e,w,k,se)}}l[w]=A}re.Eh=le,re.sh={}}},e.prototype.ni=function(e){var t=this.vi(e);return Math.min(e.rowCount-1,t.length>0?t.length:0)},e.prototype.ki=function(e,t,r,i,n){var a,l,s=this;return i&&(a=s.wi(e,i)),a?(a.parentName&&(a.parentName=s.xi(e,a.parentName),l=s.af[s.lh[a.parentName]],o.ga.ca(a,l)),s.yi(e,a,n),o.ga.ba(a)||(t[r]=s.zi(a),a.parentName&&s.isSameStyleInfo(s.af[s.lh[a.parentName]],a,!0)||(a.parentName=m)),i):m},e.prototype.Ai=function(){var t,r,i,n,a,l,s,c,d,u=this,f=u.Ne,b=f.sheets;for(r in b)if(b.hasOwnProperty(r)&&(i=b[r],n=i.namedStyles,n&&n.length>0)){if(!t)if(t={},f.namedStyles)for(a=f.namedStyles,l=0;l<a.length;l++)t[a[l].name]=1;else f.namedStyles=[];for(l=0;l<n.length;l++)if(s=n[l],c=s.name,!R(c)&&!F(c)&&o.J(e.Bi[c])){for(d=s.name;t[d]||d.length>255;)d=Ee(d,i.name);s.name=d,f.namedStyles.push(s),t[d]=1,c!==d&&(i.renamedStyles=i.renamedStyles||{},i.renamedStyles[c]=d)}}},e.prototype.Ci=function(){var t,r,o,i,n,a=this,l=a.Ne,s=l.namedStyles,c={},d={};a.Oh=0,t=e.Jh(l),s?s.forEach(function(e){var t,r,o,i;e&&(t=e.name,c[t]=e,t&&w.test(t)&&(r=19,o=t.indexOf(g),i=parseInt(t.substring(r,o),10),a.Oh=Math.max(i,a.Oh)))}):l.namedStyles=[];for(r in l.sheets)if(l.sheets.hasOwnProperty(r)){if(o=l.sheets[r],!o||!o.data||!o.data.dataTable)continue;if(i=o.tables,n=o.data.dataTable,!i||i.length<=0)continue;a.Nh(i,n,c,t,d)}},e.prototype.Qh=function(){var e,t,r,i,a,l,s,c,d,u,f,b,h,m,g=this,y=g.Ne,S={},C=[];for(S.Normal={},g.Ai(),g.Ci(),g.Di(y.namedStyles,S,C),t=0,r=g.th.length;t<r;t++)e=g.th[t],e&&e.parentName&&o.ga.da(g.th,e);for(i={},a=[],l={},t=0,r=C.length;t<r;t++)s=C[t],c=n.ConverterHelper.toStringStyle(s),i[c]===p?a.push(s):l[s.name]=C[i[c]].name,i[c]=t,s.Ei=c;for(d={},t=0,r=g.af.length;t<r;t++)e=g.af[t],u=n.ConverterHelper.cloneSpreadJSStyle(e),u.parentName=e.name,u.name=p,d[t]=g.lh[e.name]=g.af.length,g.af.push(u),f=n.ConverterHelper.toStringStyle(e),i[f]!==p&&(b=C[i[f]],b&&(g.lh[b.name]=g.lh[e.name],b.added=!0));for(Object.keys(g.vh).forEach(function(e){g.lh[e]===p&&(g.lh[e]=d[g.vh[e]])}),h=o.ga._(y.namedStyles,"Normal"),m=n.ConverterHelper.toStringStyle(h),t=0,r=a.length;t<r;t++)s=a[t],s.added||(s.Ei===m?g.lh[s.name]=0:(g.lh[s.name]=g.af.length,g.af.push(s)));Object.keys(l).forEach(function(e){g.lh[e]=g.lh[l[e]]})},e.prototype.isSameStyleInfo=function(e,t,r,o){if(!e&&!t)return!0;if(!e||!t)return!1;var i,a;return e.Fi||(e.Fi={Gi:n.ConverterHelper.toExtendedFormat(e,this)}),i=e.Fi.Gi,t.Fi||(t.Fi={Gi:n.ConverterHelper.toExtendedFormat(t,this)}),a=t.Fi.Gi,i.equals(a,r,o)},e.prototype.getEqualStyle=function(e,t){var r,o;for(r=0;r<t.length;r++)if(o=t[r],this.isSameStyleInfo(e,o,!0,!0))return o;return m},e.prototype.Di=function(t,r,o){var i,n,a,l,s,c;function d(e){var t,r,o="",i=Object.getOwnPropertyNames(e);for(t=0;t<i.length;t++)r=i[t],k(e[r])?o+=r+":"+JSON.stringify(e[r])+"_":"name"!==r&&(o+=r+":"+e[r]+"_");return o}if(t)for(i={},n=0,a=t.length;n<a;n++)l=t[n],s=l.name,r[s]||(r[s]={},R(s)||F(s)||(s.indexOf(g)>=0?o.push(l):(c=d(l),i.hasOwnProperty(c)?this.vh[l.name]=i[c]:(this.af.push(l),this.th.push(l),this.vh[l.name]=this.af.length-1,e.Bi[l.name]||(i[c]=this.af.length-1)))))},e.prototype.ji=function(e,t,r){var o=e.data,i=m;return o?(t<0&&r>=0?i=o.columnDataArray&&o.columnDataArray[r]?o.columnDataArray[r].style:m:t>=0&&r<0?i=o.rowDataArray&&o.rowDataArray[t]?o.rowDataArray[t].style:m:t>=0&&r>=0&&(i=o.dataTable&&o.dataTable[t]&&o.dataTable[t][r]?e.data.dataTable[t][r].style:m),i):m},e.prototype.Hi=function(){var e,t,r,i=this.Ne,n=m;for(e in i.sheets)if(i.sheets.hasOwnProperty(e)&&(t=i.sheets[e],t&&t.theme)){n=t.theme;break}return n?T(n)?n:(r=n.name,o.StringEx.O(r)?m:("OFFICE"===r.toUpperCase()&&(r="Office Theme"),new a.ExcelTheme(r,this.Ii(n),this.Ji(n)))):m},e.prototype.Ii=function(e){var t=[];return t.push(u(e.themeColor.background1)),t.push(u(e.themeColor.text1)),t.push(u(e.themeColor.background2)),t.push(u(e.themeColor.text2)),t.push(u(e.themeColor.accent1)),t.push(u(e.themeColor.accent2)),t.push(u(e.themeColor.accent3)),t.push(u(e.themeColor.accent4)),t.push(u(e.themeColor.accent5)),t.push(u(e.themeColor.accent6)),t.push(u(e.themeColor.hyperlink)),t.push(u(e.themeColor.followedHyperlink)),new a.ColorScheme(e.themeColor.name,t)},e.prototype.Ji=function(e){var t=Pe(e.headingFont),r=Pe(e.bodyFont),o=new a.ThemeFonts([new a.RunFormatting(0,t)],[]),i=new a.ThemeFonts([new a.RunFormatting(0,r)],[]);return new a.FontScheme(e.name,o,i)},e.prototype.Ki=function(e){return e=Math.min(e,i.ExcelConstants.vb-1),o.IndexHelper.T(e)},e.prototype.Li=function(e,t){var r,o=[],n=new i.DefaultContentType;return n.extension=i.XFileConstants.Eb,n.contentType=i.XFileConstants.Fb,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Gb,n.contentType=i.XFileConstants.Hb,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.nc,n.contentType=i.XFileConstants.pc,o.push(n),t&&(n=new i.DefaultContentType,n.extension=i.XFileConstants.oc,n.contentType=i.XFileConstants.kc,o.push(n)),n=new i.DefaultContentType,n.extension=i.XFileConstants.qc,n.contentType=i.XFileConstants.sc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.tc,n.contentType=i.XFileConstants.uc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.vc,n.contentType=i.XFileConstants.wc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.zc,n.contentType=i.XFileConstants.Ac,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Bc,n.contentType=i.XFileConstants.Cc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Dc,n.contentType=i.XFileConstants.Ec,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.xc,n.contentType=i.XFileConstants.yc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Fc,n.contentType=i.XFileConstants.Gc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Hc,n.contentType=i.XFileConstants.Ic,o.push(n),r=this.Lh(o,e),r?o:m},e.prototype.Mi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.uh[r.index]},e.prototype.Ni=function(e){var t,r,i=this,n=[],l=i.Ne,s=l.sheets&&l.sheets[e],c=i.vi(s),d=Math.min(s.rowCount-1,c.length),u=i.Oi(s.rowOutlines);for(t=0;t<=d;t++)c[t]?(r=i.Pi(s,t,u),(r||r.collapsed||!o.J(r.outLineLevel)&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&(r.customHeight=!isNaN(r.height),n.push(r))):s.rowFilter&&i.Qi(s.rowFilter,t)&&(r=new a.ExcelRow(t),r.visible=!1,n.push(r));return n},e.prototype.Qi=function(e,t){var r,o,i,n=!1;if(e&&(r=e.filteredOutRows))for(o=0;o<r.length;o++)if(i=r[o],t===i){n=!0;break}return n},e.prototype.ii=function(e,t){var r=e.rows,o=e.rowOutlines;return(!r||!r[t]||r[t].visible!==!1)&&!l.isCollapsed(t,o)},e.prototype.Pi=function(e,t,r){var i,l,s=this,c=new a.ExcelRow(t),d=e.rowOutlines,u=e.rows&&e.rows[t];return c.height=n.UnitHelper.pixelToPoint(u&&void 0!==u.size?u.size:_(e)),r>=0&&(c.collapsed=this.Ri(t,d),i=this.Si(t,d),c.outLineLevel=i===-1?0:i),t<e.rowCount&&(c.visible=s.ii(e,t)),o.J(this.xh[e.index])||(l=this.xh[e.index][t],c.formatId=o.J(l)?-1:l),c},e.prototype.vi=function(e){var t,r,o,i,n,a,l,s,c,d,u,f,b,h,p=this.Bh[e.index];if(void 0!==p)return p;if(p=[],t=e.rows,r=e.data&&e.data.rowDataArray,o=e.data&&e.data.dataTable,i=e.defaultData,t)for(n=0,a=t.length;n<a;n++)t[n]&&(p[n]=!0);if(r)for(n=0,a=r.length;n<a;n++)r[n]&&(p[n]=!0);if(o)for(l in o)o[l]&&o.hasOwnProperty(l)&&(p[l]=!0);if(i)for(l in i)i[l]&&i.hasOwnProperty(l)&&(p[l]=!0);if(s=e.tables,s&&s.forEach(function(e){var t,r=e.row,o=e.row+e.rowCount;for(t=r;t<o;t++)p[t]=!0}),c=e.spans)for(a=c.length,d=0;d<a;d++)for(u=c[d],f=u.row;f<u.row+u.rowCount;f++)p[f]=!0;if(b=e.rowOutlines&&e.rowOutlines.itemsData)for(n=0,a=b.length;n<a;n++)for(h=b[n],l=h.index;l<h.index+h.count;l++)p[l]=!0;return this.Bh[e.index]=p,p},e.prototype.Ti=function(e){var t,r,o=[],i=this.Ne,n=i.sheets&&i.sheets[e],a=this.Oi(n.columnOutlines),l=n.columnCount;for(t=0;t<l;t++)r=this.Ui(n,t,a),r&&(Math.abs(r.width-this.Vi(e))>1e-4||r.collapsed||void 0!==r.outLineLevel&&r.outLineLevel!==m&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&o.push(r);return o},e.prototype.Si=function(e,t){var r,o,i,n;if(!t||!t.itemsData)return 0;for(r=t.itemsData,o=0,i=r.length;o<i;o++)if(n=r[o],e>=n.index&&e<n.index+n.count)return n.info?n.info.level+1:1;return 0},e.prototype.Ri=function(e,t){var r,o,i,n;if(!t||!t.itemsData)return!1;for(r=t.itemsData,o=0,i=r.length;o<i;o++)if(n=r[o],e>=n.index&&e<n.index+n.count)return!!n.info&&!!n.info.collapsed;return!1},e.prototype.Ui=function(e,t,r){var i,n,s=new a.ExcelColumn(t),c=e.columnOutlines,d=e.columns&&e.columns[t];return s.width=this.calcColumnWidth(d&&void 0!==d.size?d.size:N(e)),r>=0&&t<e.columnCount&&(s.collapsed=this.Ri(t,c),i=this.Si(t,c),s.outLineLevel=i===-1?0:i),t<e.columnCount&&(d&&d.visible===!1&&(s.visible=!1),l.isCollapsed(t,c)&&(s.visible=!1)),o.J(this.yh[e.index])||(n=this.yh[e.index][t],s.formatId=o.J(n)?-1:n),s},e.prototype.Oi=function(e){var t,r,o,i;if(!e||!e.itemsData)return-1;for(t=-1,r=0,o=e.itemsData.length;r<o;r++)i=e.itemsData[r],i.info&&i.info.level>t&&(t=i.info.level);return t},e.prototype.Wi=function(e){var t,r,o=this.Ne,i=o.sheets&&o.sheets[e],n=0,a=0,l=-1,s=i.rowOutlines;return s&&(l=this.Oi(s)),l!==-1&&(n=l+2),t=-1,r=i.columnOutlines,r&&(t=this.Oi(r)),t!==-1&&(a=t+2),{outlineLevelRow:n,outlineLevelColumn:a}},e.prototype.Xi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=n.UnitHelper.pixelToPoint(r.defaults?r.defaults.rowHeight:_(r)),i=!1,a=57;return i=Math.abs(a-o)>=2,{height:o,customHeight:i}},e.prototype.Vi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.calcColumnWidth(r.defaults?r.defaults.colWidth:N(r))},e.prototype.Yi=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];if(o.defaults&&o.defaults.colWidth&&o.defaults._isExcelDefaultColumnWidth!==!0)return t=o.defaults?o.defaults.colWidth:N(o),this.calcColumnWidth(t)},e.prototype.calcColumnWidth=function(t){var r,o,i;return 0===t?0:(r=e.Jh(this.Ne),o=Math.round(this.Zi(r.fontForColumnWidth?r.fontForColumnWidth:r.font)),i=Math.floor((t-5)/o*100+.5)/100,Math.floor((i*o+5)/o*256)/256)},e.prototype.Zi=function(e){return this.Rf===p&&(this.Rf=n.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.$i=function(e,t,r,n){var a,l,s,c,d,u,f,b=this.Ne,h=b.sheets&&b.sheets[e];if(!h)return!1;if(a=h.frozenRowCount,l=h.frozenColCount,r.col=h.activeCol>=0?h.activeCol:0,r.row=h.activeRow>=0?h.activeRow:0,s=a>0,c=l>0,0===n){if(!s||!c)return!1}else if(1===n){if(!c)return!1;s&&(r.col=l,r.row=0)}else if(2===n){if(!s)return!1;c&&(r.col=0,r.row=a)}if(r.col=Math.min(i.ExcelConstants.vb,r.col),r.row=Math.min(i.ExcelConstants.wb,r.row),t)if(d=void 0,h.selections)for(u=0;u<h.selections.length;u++)f=h.selections[u],k(f)&&(d=new o.Range(f.row>0?f.row:0,f.col>0?f.col:0,f.rowCount>0?f.rowCount:i.ExcelConstants.wb,f.colCount>0?f.colCount:i.ExcelConstants.vb),t.push(d));else t.push(new o.Range(r.row,r.col,1,1));return!0},e.prototype.ti=function(e,t,r){o.J(this.uh[e][t])&&(this.uh[e][t]=[]),this.uh[e][t].push(r)},e.prototype._i=function(e,t){var r,o,i;if(T(e)&&"/OADate"===e.substring(0,7)&&t&&!t.formatter){if(t.autoFormatter)return void(t.formatter=t.autoFormatter.formatCached);r=e.indexOf("("),o=e.indexOf(")"),r!==-1&&o!==-1&&(i=parseInt(e.substring(r+1,o),10),i<1?t.formatter="h:mm:ss":i>1&&(t.formatter="M/d/yyyy"))}},e.prototype.dg=function(e,t,r,i,n){var a;o.StringEx.L(i)?r&&(a=e[t]):a=this.lh[i],void 0!==a?n.formatId=a:n.formatId=-1},e.prototype.ri=function(e,t,r){o.StringEx.O(e)||(r.formula=e,r.arrayFormulaRange=t)},e.prototype.ui=function(e,t,r,i,n){var a,l,s,c,d,u,f,b;if(t.data&&t.data.dataTable&&t.data.dataTable[r]&&(a=t.data.dataTable[r][i]&&t.data.dataTable[r][i].hyperlink)){if(l={},s=this.aj(t.name),c=!1,s)for(d=0;d<s.length;d++)if(u=s[d],u.row===r&&u.col===i){l.ref=o.IndexHelper.T(u.col)+(u.row+1)+":"+o.IndexHelper.T(u.col+u.colCount-1)+(u.row+u.rowCount),c=!0;break}c||(l.ref=o.IndexHelper.T(i)+(r+1)),f="sjs://",a.url&&(a.url.substring(0,f.length)===f?(l.location=o.Util.oa(a.url.replace(f,"")),b=t.data.dataTable[r][i].value,"string"==typeof b&&(l.display=o.Util.oa(b))):l.url=o.Util.oa(a.url)),a.tooltip&&(l.tooltip=o.Util.oa(a.tooltip)),l["xr:uid"]=o.Ha(),n[t.name]||(n[t.name]=[]),n[t.name].push(l)}},e.prototype.pi=function(e,t){var r=0;if(o.J(e))e=m;else{if(e._error||e._calcError)return r=7,{value:e._error||e._calcError,cellType:r};"number"==typeof e?(r=1,isNaN(e)&&(e=0)):"boolean"==typeof e?r=5:T(e)&&"/OADate"===e.substring(0,7)?r=6:t?r=9:T(e)?r=2:(r=2,e=""+e)}return{value:e,cellType:r}},e.prototype.wi=function(e,t){var r,o,i=this;return k(t)?n.ConverterHelper.cloneSpreadJSStyle(t):T(t)?C.test(t)?(r=t.indexOf(g),o=i.xi(e,t.substring(r)),n.ConverterHelper.cloneSpreadJSStyle(i.af[i.lh[o]])):{parentName:t}:void 0},e.prototype.bj=function(e){var t=this;return e&&t.af[t.lh[e]]},e.prototype.yi=function(e,t,r){var i,n=this;r&&(r=n.wi(e,r),o.ga.ca(t,r,!0),r&&r.parentName&&(r.parentName=n.xi(e,r.parentName),i=n.af[n.lh[r.parentName]],o.ga.ca(t,i)))},e.prototype.cj=function(e,t){o.J(t.linkColor)?(t.linkColor!==p||!e.foreColor&&e.foreColor!==m)&&(e.foreColor="hyperlink"):e.foreColor=t.linkColor,o.J(e.textDecoration)?e.textDecoration=1:1!==(1&e.textDecoration)&&(e.textDecoration+=1)},e.prototype.xi=function(e,t){return e.renamedStyles&&e.renamedStyles[t]&&(t=e.renamedStyles[t]),t},e.prototype.oi=function(e,t,r,i,n,a,l,s,c){var d,u,f=this,b=e.data,h=f.ji(e,t,r),g=m,y=m,S=b&&b.dataTable&&b.dataTable[t]&&b.dataTable[t][r]&&b.dataTable[t][r].hyperlink,C=S||T(c)&&"/OADate"===c.substring(0,7)||c!==m&&void 0!==c&&(n||a),w=p;return v(h)&&v(a)&&v(n)&&!C&&(w=""+h+"|"+n+"|"+a),w&&f.sh[w]?(i[s]=f.sh[w].styleIndex,f.sh[w]):(h?g=f.wi(e,h):C&&(g={}),g&&(g.parentName&&(g.parentName=f.xi(e,g.parentName),d=f.af[f.lh[g.parentName]]||f.af[f.vh[g.parentName]],o.ga.ca(g,d)),f.yi(e,g,a),f.yi(e,g,n),f.yi(e,g,l),S&&f.cj(g,S),f._i(c,g),o.ga.ba(g)?g=m:(u=i[s]=f.zi(g),g.parentName&&f.isSameStyleInfo(f.af[f.lh[g.parentName]],g,!0)&&(y=g.parentName),g.name&&f.isSameStyleInfo(f.af[f.lh[g.name]],g,!0)&&(y=g.name),w&&(f.sh[w]={styleIndex:u,styleName:y,styleInfo:g}))),{styleName:y,styleInfo:g})},e.prototype.zi=function(e){var t,r=this.af;if(!e)return 0;for(t=r.length-1;t>=0;t--)if((!r[t].name||r[t].name.indexOf(g)>=0)&&o.ga.fa(r[t],e))return t;return e.name=p,r.push(e),r.length-1},e.prototype.dj=function(e){var t,r;if(!e)return 0;t=0;for(r in e)e.hasOwnProperty(r)&&parseInt(r,10)>t&&(t=parseInt(r,10));return t},e.prototype.li=function(e,t,r){var o,i,n,a=0;if(e)for(o in e)if(e.hasOwnProperty(o))for(i in e[o])parseInt(i,10)>a&&(a=parseInt(i,10));if(r)for(o in r)if(r.hasOwnProperty(o))for(i in r[o])parseInt(i,10)>a&&(a=parseInt(i,10));return n=t.tables,n&&n.forEach(function(e){e.col+e.colCount>a&&(a=e.col+e.colCount)}),a},e.prototype.ej=function(e,t,r){for(r++;r>=0&&r<t&&!e[r];)r++;return r<t?r:-1},e.prototype.fj=function(e,t,r,o,i){var n=m;if(o>=0&&o<t&&(n=e[o]),!n)return-1;for(i++;i>=0&&i<r&&!n[i];)i++;return i<r?i:-1},e.prototype.mi=function(e,t){var r,o,i=[],n=e.columnCount;if(!e.data||!e.data.columnDataArray)return i;for(r=0;r<t;r++)r<n?(o=this.ji(e,-1,r),i.push(o)):i.push(m);return i},e.prototype.gj=function(){var e,t,r,o,i,a,l=this,s=[],c={count:0};for(e=0,t=l.af.length;e<t;e++)r=l.af[e],o=n.ConverterHelper.toExtendedFormat(r,l),r.name&&r.name.indexOf(g)<0?(c[r.name]||(c[r.name]=c.count,c.count++),o.isStyleFormat=!0):(i=0,void 0!==c[r.parentName]&&c[r.parentName]!==m&&(i=c[r.parentName],a=s[i],!o.applyNumberFormat&&a&&(a.numberFormat?o.numberFormat=a.numberFormat:void 0!==a.numberFormatIndex&&(o.numberFormatIndex=a.numberFormatIndex))),o.parentFormatID=i),s.push(o);return s},e.prototype.hj=function(){var t=n.ConverterHelper.cloneSpreadJSStyle(e.Jh(this.Ne)),r=n.ConverterHelper.toExtendedFormat(t,this);return r.parentFormatID=0,r},e.prototype.ij=function(){var t,r,o,i,a,l,s,c=this,d=[],u=m;for(t=0,r=c.th.length;t<r;t++)if(o=c.th[t],"Normal"===o.name){i=new n.ExcelStyle,i.name="Normal",i.format(n.ConverterHelper.toExtendedFormat(o,c)),i.format().isStyleFormat=!0,i.builtInStyle=0,u=i,c.Ke=o;break}for(u||(a=new n.ExcelStyle,a.name="Normal",a.format(n.ConverterHelper.toExtendedFormat(e.Jh(this.Ne),c)),a.format().font.fontSize=14.67,a.format().isStyleFormat=!0,a.builtInStyle=0,d.push(a)),t=0,r=c.th.length;t<r;t++)l=c.th[t],l.name&&(void 0!==e.Bi[l.name]?(i=new n.ExcelStyle,i.name=l.name,i.format(n.ConverterHelper.toExtendedFormat(l,c)),i.format().isStyleFormat=!0,i.builtInStyle=e.Bi[l.name],("RowLevel_"===l.name.substring(0,9)||"ColLevel_"===l.name.substring(0,9))&&l.name.length>9&&(i.outLineLevel=parseInt(l.name.substring(9),10)-1),d.push(i)):(s=new n.CustomExcelStyle,s.name=l.name,s.format(n.ConverterHelper.toExtendedFormat(l,c)),s.format().isStyleFormat=!0,d.push(s)));return d},e.prototype.jj=function(){var e,t,r=[],o=this.Ne.sheets;for(e in o)o.hasOwnProperty(e)&&(t=o[e],r[t.index]=e);return r},e.prototype.kj=function(e){return this.Ne.sheets[e]},e.prototype.lj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{colsSumRight:!(r.columnOutlines&&0===r.columnOutlines.direction),rowsSumBelow:!(r.rowOutlines&&0===r.rowOutlines.direction)}:{}},e.prototype.mj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?f(r.sheetTabColor):m},e.prototype.nj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{rowCount:r.rowCount,columnCount:r.columnCount}:{}},e.prototype.oj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i={showGridLine:!0,showRowColHeaders:!0,gridlineColor:m,zoom:1};return o?(!o.gridline||o.gridline.showVerticalGridline!==!1&&o.gridline.showHorizontalGridline!==!1||(i.showGridLine=!1),o.rowHeaderVisible===!1&&o.colHeaderVisible===!1&&(i.showRowColHeaders=!1),o.gridline&&o.gridline.color&&(i.gridlineColor=n.ColorHelper.toExcelIndexedColor(f(o.gridline.color,4291876837))),void 0!==o.topCellIndex&&void 0!==o.leftCellIndex&&(t={row:o.topCellIndex,col:o.leftCellIndex},i.topLeftCell=t),i.zoom=o.zoomFactor,i):i},e.prototype.pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o={frozenRowCount:0,frozenColCount:0,frozenTopRow:0,frozenLeftCol:0};return r?(o.frozenRowCount=r.frozenRowCount||0,o.frozenColCount=r.frozenColCount||0,o.frozenTopRow=r.frozenTopRow||0,o.frozenLeftCol=r.frozenLeftCol||0,o):o},e.prototype.qj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!!r&&r.isProtected},e.prototype.rj=function(e,t){var r,o,i=this.Ne,n=i.sheets&&i.sheets[e],a=n.protectionOptions,s={};for(o in a)a.hasOwnProperty(o)&&(r=a[o],r&&"allowSelectLockedCells"===o||r&&"allowSelectUnlockedCells"===o||r&&"allowEditObjects"===o||(s[l.fromProtectionOptions[o]?l.fromProtectionOptions[o]:o]=a[o]));return t&&!a&&(s.objects=!1),s},e.prototype.aj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?r.spans:[]},e.prototype.sj=function(){var e=this.Ne;return{showHorizontalScrollbar:e.showHorizontalScrollbar,showVerticalScrollbar:e.showVerticalScrollbar,tabStripVisible:e.tabStripVisible,tabStripRatio:e.tabStripRatio,startSheetIndex:e.startSheetIndex,activeSheetIndex:e.activeSheetIndex}},e.prototype.tj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||0===r.visible},e.prototype.uj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||2===r.visible},e.prototype.vj=function(){var e,t,r,o,i,n=[];if(this.Ne.names)for(t=0;t<this.Ne.names.length;t++)e=this.Ne.names[t],n.push({name:e.name,localSheetId:-1,formula:e.formula,comment:e.comment});r=this.Ne.sheets;for(o in r)if(r.hasOwnProperty(o)&&(i=r[o],i.names))for(t=0;t<i.names.length;t++)e=i.names[t],n.push({name:e.name,localSheetId:i.index,formula:e.formula,comment:e.comment});return n},e.prototype.xg=function(e){var t=this,r=t.Ne.sheets&&t.Ne.sheets[e];return r.conditionalFormats},e.Jh=function(e){var t,r,i,n,a,l,s={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",textDecoration:0,hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){for(i=r.data.defaultDataNode.style,n=this.prototype.wi(r,i),a=n.parentName;a&&(l=be(a,e,r));)o.ga.ca(n,l),a=l.parentName;return o.ga.ca(n,s),n}return s},e.prototype.wj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.comments&&r.comments.map(function(e){return l.convertToExcelComment(r,e)})},e.prototype.xj=function(e){var t,r=[],o=this.Ne;if(e)return o.sheets[e].pivotTables;for(t in o.sheets)o.sheets[t].pivotTables&&(r=r.concat(o.sheets[t].pivotTables));return r},e.prototype.yj=function(e){return e.floatingObjects&&e.floatingObjects.filter(function(e){return"1"===e.typeName&&e.src&&e.src.indexOf(";base64,")!==-1}).map(function(t){return l.convertToExcelPicture(e,t)})},e.prototype.zj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.sparklineGroups},e.prototype.$h=function(e){var t,r,o,i=e.rowFilter,a=this;if(i)return t=[],r=i.filteredColumns,o=i.filterItemMap,o&&r&&r.length>0&&o.forEach(function(o){var l,s;r.indexOf(o.index)<0||(l=o.conditions[0],3===l.conType&&(s=0===l.compareType,t.push({autoFilterColumnId:o.index-O(e,i.range).col,colorFilter:{cellColor:s,dxfId:a.Yh({isColorFilter:!0,fill:n.ColorHelper.toExcelBackColor(l.expected,s)})}})))}),t},e.prototype.gi=function(e){var t,r,i=m;return e&&(t=e.sortInfo,!t||o.J(t.ascending)||o.J(t.index)||(i={range:new o.Range(e.range.row,t.index,e.range.rowCount,1),descending:!t.ascending},t.color!==p&&(r=t.isBackColor,i.isBackColor=r,"{"===t.color[0]&&(t.color=JSON.parse(t.color)),i.dxfid=this.Yh({isColorFilter:!0,fill:n.ColorHelper.toExcelBackColor(t.color,r)})))),i},e.prototype.Aj=function(e,t){var r=e.autoFilter,i={range:"A1",filterColumns:[]},n=r.filterItemMap;return n&&n.forEach(function(e){var r,n,a,l,s;e&&(r=e.conditions,n=r[0],a={autoFilterColumnId:0},l=se(n,t),o.J(l)||(s=l.filterType,1===s?a.top10=l:2===s?a.dynamicFilter=l:4===s?a.customFilters=l:3===s&&(a.filters=l),i.filterColumns.push(a)))}),i},e.prototype.Bj=function(e,t,r){var i,n,a,l,s,c,d,u,f,b,h,p,g,y,S,C,w,x,A,T,v,k,F=this,R=F.Ne,E=R.sheets&&R.sheets[e];if(o.J(t)||o.J(t.range))return m;if(i=t.range,n=t.adjustRangeForFrozen?E.frozenRowCount:0,a={range:O(E,i,n),filterColumns:[]},E.Zh&&E.Zh.length>0&&(a.filterColumns=E.Zh),l=t.filteredColumns,s=t.filterItemMap,s&&l&&l.length>0&&s.forEach(function(e){var t,r,n,s,c,d;if(!(e.index<i.col||e.index>=i.col+i.colCount||l.indexOf(e.index)<0)){for(t=e.conditions,r=t[0],n=1;n<t.length;n++)r={conType:0,compareType:0,item1:r,item2:t[n]};r&&(s={autoFilterColumnId:e.index-a.range.col},c=le(E,r,new o.Range(a.range.row+1,a.range.col,a.range.rowCount-1,1)),o.J(c)||(d=c.filterType,1===d?s.top10=c:2===d?s.dynamicFilter=c:3===d?s.filters=c:4===d&&(s.customFilters=c),a.filterColumns.push(s)))}}),c=F.aj(e),c&&c.length>0){for(d=i.row-1,u=i.col,f=i.colCount,b=a.filterColumns.length>0,h=[],p=0,g=c;p<g.length;p++)if(y=g[p],S=y.row,C=y.rowCount,w=y.col,x=y.colCount,w>=u&&w+x<=f&&(d===S||d===S+C-1))for(A=w;A<w+x-1;A++)T=A-u,b?(v=a.filterColumns[A],v&&v.autoFilterColumnId===T?v.showButton=0:(k={autoFilterColumnId:T,showButton:0},h.push(k))):(k={autoFilterColumnId:T,showButton:0},h.push(k));h.length>0&&(a.filterColumns=a.filterColumns.concat(h))}return a.sortInfo=r,a},e.prototype.Cj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=m;return r.rowFilter&&(o=r.rowFilter.autoFilterSortInfo),this.Bj(e,r.rowFilter,o)},e.prototype.fi=function(e){var t,r=[],o=this.Ne;if(e)return o.sheets[e].tables;for(t in o.sheets)o.sheets[t].tables&&(r=r.concat(o.sheets[t].tables));return r},e.prototype.Dj=function(e){var t,r,o,i=this.Ne.sheets[e];if(!i.slicers)return[];for(t=[],r=0;r<i.slicers.length;r++)o=i.slicers[r],o.type&&"table"!==o.type||t.push(l.convertToExcelSlicer(i,o));return t},e.prototype.Ej=function(e,t){var r,o,i,n=this.Ne.sheets[e];if(!n.slicers)return[];for(r=[],o=0;o<n.slicers.length;o++)i=n.slicers[o],i.type===t&&r.push(l.convertToExcelSlicer(n,i));return r},e.prototype.Fj=function(e){return e.charts&&e.charts.map(function(t){return l.convertToExcelChart(e,t)})},e.prototype.Gj=function(e){return e.shapes&&e.shapes.map(function(t){return l.convertToExcelShape(e,t)})},e.prototype.Hj=function(e){var t,r=function(e){var t=[],o=e&&e.sp||[];return o.forEach(function(e){e.control?t.push({sp:e}):3===e.shapeType&&t.push.apply(t,r(e))}),t},o=function(e){var t=[];return e.forEach(function(e){e.sp&&e.sp.control?t.push(e):e.grpSp&&t.push.apply(t,r(e.grpSp))}),t},i=o(this.Gj(e)||[]);return i.forEach(function(e){var t=e.sp.control,r=e.sp.nvSpPr.cNvPr;t.id=r.id,t.name=r.name,t.visible=!r.hidden,r.hidden=!0}),t=function(e){return e.sp.control.id},i.sort(function(e,r){return t(e)-t(r)}),i},e.prototype.Ij=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=this.Dj(e),i=this.Ej(e,"pivot"),n=this.Ej(e,"timeline"),a=o.concat(i).concat(n),l=this.yj(r),s=this.Fj(r),c=this.Gj(r),d=this.Hj(r),u=0;return[a,l,s,c].forEach(function(e){e&&(u+=e.length)}),{slicers:a,pictures:l,charts:s,shapes:c,controlShapes:d,withDrawingObjects:u>0}},e.prototype.Jj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i=[],n=o.validations;return n&&(t=this.jj(),he(n,i,e,t)),i},e.prototype.Kj=function(e){
28
- var t={top:75,bottom:75,left:70,right:70,header:30,footer:30},r=this.Ne,o=r.sheets&&r.sheets[e],i=o.printInfo,n=i&&i.margin;return n?{bottom:Te(n.bottom,t.bottom),top:Te(n.top,t.bottom),left:Te(n.left,t.bottom),right:Te(n.right,t.bottom),header:Te(n.header,t.bottom),footer:Te(n.footer,t.bottom)}:m},e.prototype.Lj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i=o.printInfo;if(i)return t=i.centering,{horizontalCentered:1===t||3===t,verticalCentered:2===t||3===t,printGridLine:i.showGridLine,printRowColumnsHeaders:2===i.showRowHeader&&2===i.showColumnHeader}},e.prototype.Mj=function(e,t){var r,i,n,a,l,s,c,d,u,f,b,h,p,g,y,S,C;function w(e,t,r){return e=e||"",t=t||"",r=r||"","&L"+e+"&C"+t+"&R"+r}function x(e,t,r){if(e[t]&&e[t][r]){var o=e[t][r];return w(o.left,o.center,o.right)}}return r=this.Ne,i=r.sheets&&r.sheets[e],(n=i.printInfo)?(a={},l=n.fitPagesTall,s=n.fitPagesWide,o.J(l)||l===-1||(a.useSmartPrint=!0,a.smartPrintPagesHeight=Math.max(0,l)),o.J(s)||s===-1||(a.useSmartPrint=!0,a.smartPrintPagesWidth=Math.max(0,s)),t||(n.paperSize&&(c=n.paperSize.kind,0!==c&&(a.paperSizeIndex=c)),a.copies=1,o.J(n.firstPageNumber)||(a.useCustomStartingPage=!0,a.firstPageNumber=n.firstPageNumber),a.orientation=2===n.orientation?2:1,a.pageOrder=1===n.pageOrder?1:2,a.zoomFactor=parseFloat(n.zoomFactor),a.showColor=!n.blackAndWhite,a.advancedHeadFooterSetting={},d=a.advancedHeadFooterSetting,u=n.pageHeaderFooter,f=void 0,u?(d.headerFooterDifferentFirstPage=n.differentFirstPage,f=x(u,"first","header"),f&&(d.headerFirstPage=f),f=x(u,"first","footer"),f&&(d.footerFirstPage=f),b=n.differentOddAndEvenPages,d.headerFooterDifferentOddEvenPages=n.differentOddAndEvenPages,f=b?x(u,"odd","header"):x(u,"normal","header"),f&&(d.headerOddPage=f),f=b?x(u,"odd","footer"):x(u,"normal","footer"),f&&(d.footerOddPage=f),f=x(u,"even","header"),f&&(d.headerEvenPage=f),f=x(u,"even","footer"),f&&(d.footerEvenPage=f)):(h=w(n.headerLeft,n.headerCenter,n.headerRight),p=w(n.footerLeft,n.footerCenter,n.footerRight),a.advancedHeadFooterSetting={headerEvenPage:h,headerOddPage:h,footerOddPage:p,footerEvenPage:p}),g=i.rows,y=[],g&&g.length>0&&g.forEach(function(e,t){e&&e.pageBreak&&y.push(t)}),S=i.columns,C=[],S&&S.length>0&&S.forEach(function(e,t){e&&e.pageBreak&&C.push(t)}),y.length>0&&(a.rowBreakLines=y),C.length>0&&(a.columnBreakLines=C)),a):m},e.prototype.Nj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].printInfo},e.prototype.Oj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].rowFilter},e.prototype.Pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=r.shapes,i=[];return o&&o.length>0&&this.Qj(o,i),i},e.prototype.Qj=function(e,t){var r=this;e.forEach(function(e,o){var i,n,a,l;1===e.shapeType?(i=void 0,e.shapeData&&e.shapeData.pic&&e.shapeData.pic.cameraTool?i=e.shapeData.pic:e.cameraTool===!0&&(i=e),i&&(n=o+1,a=De("Picture_x0020_"+n,i.src),a.style=i.vmlStyle,a.anchor=i.anchor,a.cellRange=i.cellRange,a.spid="_x0000_s10"+i.spid,t.push(a))):3===e.shapeType&&(l=e.shapeData&&e.shapeData.grpSp&&e.shapeData.grpSp.sp||e.sp,l&&r.Qj(l,t))})},e.prototype.Rj=function(e){var t,r,o,i,n,a,l,s=this.Ne,c=s.sheets&&s.sheets[e],d=c.printInfo,u=[];return d&&(t=d.pageHeaderFooter,t?(r=t.normal,o=t.odd,o?(i=o.header||{},i.leftImage&&u.push(De("LH",i.leftImage)),i.centerImage&&u.push(De("CH",i.centerImage)),i.rightImage&&u.push(De("RH",i.rightImage)),n=o.footer||{},n.leftImage&&u.push(De("LF",n.leftImage)),n.centerImage&&u.push(De("CF",n.centerImage)),n.rightImage&&u.push(De("RF",n.rightImage))):r&&(i=r.header||{},i.leftImage&&u.push(De("LH",i.leftImage)),i.centerImage&&u.push(De("CH",i.centerImage)),i.rightImage&&u.push(De("RH",i.rightImage)),n=r.footer||{},n.leftImage&&u.push(De("LF",n.leftImage)),n.centerImage&&u.push(De("CF",n.centerImage)),n.rightImage&&u.push(De("RF",n.rightImage))),a=t.even,a&&(i=a.header||{},i.leftImage&&u.push(De("LHEVEN",i.leftImage)),i.centerImage&&u.push(De("CHEVEN",i.centerImage)),i.rightImage&&u.push(De("RHEVEN",i.rightImage)),n=a.footer||{},n.leftImage&&u.push(De("LFEVEN",n.leftImage)),n.centerImage&&u.push(De("CFEVEN",n.centerImage)),n.rightImage&&u.push(De("RFEVEN",n.rightImage))),l=t.first,l&&(i=l.header||{},i.leftImage&&u.push(De("LHFIRST",i.leftImage)),i.centerImage&&u.push(De("CHFIRST",i.centerImage)),i.rightImage&&u.push(De("RHFIRST",i.rightImage)),n=l.footer||{},n.leftImage&&u.push(De("LFFIRST",n.leftImage)),n.centerImage&&u.push(De("CFFIRST",n.centerImage)),n.rightImage&&u.push(De("RFFIRST",n.rightImage)))):(d.headerLeftImage&&u.push(De("LH",d.headerLeftImage)),d.headerCenterImage&&u.push(De("CH",d.headerCenterImage)),d.headerRightImage&&u.push(De("RH",d.headerRightImage)),d.footerLeftImage&&u.push(De("LF",d.footerLeftImage)),d.footerCenterImage&&u.push(De("CF",d.footerCenterImage)),d.footerRightImage&&u.push(De("RF",d.footerRightImage)))),u},e.prototype.Sj=function(){return this.vh},e.Bi={"20% - Accent1":30,"20% - Accent2":34,"20% - Accent3":38,"20% - Accent4":42,"20% - Accent5":46,"20% - Accent6":50,"40% - Accent1":31,"40% - Accent2":35,"40% - Accent3":39,"40% - Accent4":43,"40% - Accent5":47,"40% - Accent6":51,"60% - Accent1":32,"60% - Accent2":36,"60% - Accent3":40,"60% - Accent4":44,"60% - Accent5":48,"60% - Accent6":52,Accent1:29,Accent2:33,Accent3:37,Accent4:41,Accent5:45,Accent6:49,Bad:27,Calculation:22,"Check Cell":23,Comma:3,"Comma [0]":6,Currency:4,"Currency [0]":7,"Explanatory Text":53,Good:26,"Heading 1":16,"Heading 2":17,"Heading 3":18,"Heading 4":19,Input:20,"Linked Cell":24,Neutral:28,Normal:0,Note:10,Output:21,Percent:5,Title:15,Total:25,"Warning Text":11,Hyperlink:8,FollowedHyperLink:9,RowLevel_1:1,RowLevel_2:1,RowLevel_3:1,RowLevel_4:1,RowLevel_5:1,RowLevel_6:1,RowLevel_7:1,ColLevel_1:2,ColLevel_2:2,ColLevel_3:2,ColLevel_4:2,ColLevel_5:2,ColLevel_6:2,ColLevel_7:2},e}(),t.WriterDataModel=A},"./src/datamodel/datetime-helper.ts":function(e,t,r){"use strict";var o,i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=null,n=void 0;function l(e){var t=e.getTimezoneOffset();return t===-485&&(t=-485-43/60),t===-321&&(t=-321-10/60),t===-507&&(t=-507-52/60),t===-402&&(t=-402-4/60),t}a=function(){function e(){}return e.jg=function(e){return"/OADate("+e+")/"},e.Tj=function(e){return"string"==typeof e&&"/OADate("===e.substr(0,8)?parseInt(e.substr(8,e.length-8-1-1),10):e},e.ig=function(e){return e===n||e===i?0:("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date?(1440*e.getTime()+3181192704e6-864e5*l(e))/124416e6:0)},e.Je=function(e){var t,r=e-25569,o=new Date(864e5*r),i=r>=0?1:-1,n=l(o),a=(864e5*e*1440+i-3181192704e6+864e5*n)/1440,s=new Date(a),c=n>=0?1:-1,d=new Date(a+36e5*c),u=l(d);return Math.abs(n-u)>=60?new Date(a+60*(u-n)*1e3):(t=e+"",s=999===s.getMilliseconds()&&"33333333"===t.substr(t.length-8)?new Date(s.valueOf()+1):s)},e.vf=function(t){var r,o,n,a,l,s,c;if(!t||" "===t)return!1;if(0===t.length)return!1;if(t=t.toUpperCase(),t=t.replace(/(\[.*\])+/g," "),t=t.replace(/"[^"]*"/g," "),t=t.replace(/(\*.|_.|\\.)+/g," "),t.indexOf("GENERAL")!==-1)return!1;for(r=-1,o=0,n=!1,a=null,l=0;l<t.length;l++){if(s=t[l],"["===s)do s=t[l],l++;while(l<t.length&&"]"!==s);if("Y"===s||"D"===s||"M"===s||"H"===s||"S"===s||"A"===s)n?o++:(0===l||t.length>0&&"\\"!==t[l-1])&&(n=!0,r=l,o=1);else{if(n=!1," "===s&&a)return!0;0!==o&&(c=t.substring(r,r+o),r=l,o=0,a=a===i?e.Uj(c):a&&e.Uj(c))}}return 0!==o&&l===t.length&&(c=t.substring(r,r+o),a=a===i?e.Uj(c):a&&e.Uj(c)),!!a},e.Uj=function(e){var t,r,i,a,l,s,c,d,u;if(o.StringEx.O(e))return!1;for(t=[],r="",i=0,a=e.length;i<a;i++)l=e[i],r.indexOf(l)===-1&&(t.push({key:l,count:e.match(RegExp(l,"g")).length}),r+=l);for(s={Y:4,D:4,M:5,H:2,S:2,A:4},i=0,c=t.length;i<c;i++){if(d=t[i],u=s[d.key],u===n)return!1;if(d.count>u)return!1}return!0},e}(),t.DateTimeHelper=a},"./src/datamodel/excel-helper.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/datamodel/excel-style.ts"),n=r("./src/datamodel/chart-model.ts"),a=r("./src/common/excel-types.ts"),l=null;function h(e,t,r){var o,i=e.defaults.colWidth,n=e.columns,a=0,s=n?l:i;for(o=t;o<r;o++)a+=s||p(n,o,i,e.columnOutlines);return a}function p(e,t,r,o){var i=e[t];return i?o&&w(t,o)?0:i.visible===!1?0:i.size:r}function m(e,t,r){var o,i=e.defaults.rowHeight,n=e.rows,a=0,s=n?l:i;for(o=t;o<r;o++)a+=s||g(n,o,i,e.rowOutlines);return a}function g(e,t,r,o){var i=e[t];return i?o&&w(t,o)?0:i.visible===!1?0:i.size:r}function y(e,t){for(var r,o,i=e.defaults.colWidth,n=e.columns,s=0,c=0,d=n&&n.length||a.ExcelConstants.vb,u=n?l:i;s<t&&c<d;)r=u||p(n,c,i),s+=r,c++;return o=s-t,o>0?(c--,o=r-o):o=t-s,{col:c,colOffset:o}}function S(e,t){for(var r,o,i=e.defaults.rowHeight,n=e.rowsVisibleInfo||e.rows,s=0,c=0,d=n&&n.length||a.ExcelConstants.wb,u=n?l:i;s<t&&c<d;)r=u||g(n,c,i),s+=r,c++;return o=s-t,o>0?(c--,o=r-o):o=t-s,{row:c,rowOffset:o}}function C(e,t){var r=t.x,o=t.y,i={},n={},a=S(e,o);return A(a,i,["row","rowOffset"]),a=y(e,r),A(a,i,["col","colOffset"]),a=S(e,o+t.height),A(a,n,["row","rowOffset"]),a=y(e,r+t.width),A(a,n,["col","colOffset"]),{startPoint:i,endPoint:n}}function w(e,t){if(!t)return!1;if(t.items)return t.items[e]&&t.items[e].viewCollapsed;if(!t.itemsData)return!1;t.collapseIndexMap||x(t);var r=t.collapseIndexMap;return!!r[e]}t.isCollapsed=w;function x(e){var t,r,o,i,n,a,l,s=e.itemsData,c=e.collapseIndexMap={},d=!1;if(0===e.direction){for(t=s.length-1;t>=0;t--)if(o=s[t],o&&1===o.count&&o.info&&o.info.collapsed){for(i=o.index+o.count,n=t+1;n<s.length;n++)a=s[n],a&&a.info&&a.info.level>o.info.level&&a.index===i&&(i=a.index+a.count);for(l=o.index+1;l<i;l++)c[l]=!0}}else for(r=s.length,t=0;t<r;t++)if(o=s[t],o&&1===o.count&&o.info&&o.info.collapsed){if(i=o.index-1,i<0&&o.info.level===-1)break;for(n=t-1;n>=0;n--)a=s[n],a&&a.info&&a.info.level>o.info.level&&a.index+a.count-1===i&&(i=a.index-1);for(l=i+1;l<o.index;l++)c[l]=!0}}s=7;function A(e,t,r){r.forEach(function(r){void 0!==e[r]&&(t[r]=e[r])})}function T(e,t){var r,n,a,c,d,u,f,b,p,g,y,S,C,w,x,T,v={};return A(t,v,["fontSize","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode"]),r=e.forzenRowCount||0,n=e.forzenColumnCount||0,a=t.row,c=t.col,d=t.anchor,u=h(e,n,c+1),f=m(e,r,a),v.rowIndex=a-r,v.colIndex=c-n,d?(b=h(e,n,d[0])+d[1]-s,p=m(e,r,d[2])+d[3]-s,g=h(e,n,d[4])+d[5]+s,y=m(e,r,d[6])+d[7]+s,v.location={x:b-u,y:p-f},v.width=g-b,v.height=y-p,V(e,d)):(v.location={x:i.UnitHelper.pointToPixel(t.marginLeft)-u-s,y:i.UnitHelper.pointToPixel(t.marginTop)-f-s},v.width=k(t.width)+2*s,v.height=k(t.height)+2*s,V(e,l,{x:v.location.x+u,y:v.location.y+f,width:v.width,height:v.height})),S=t.foreColor,S&&S!==i.ExcelColor.EmptyColor&&(v.foreColor=i.ColorHelper.toRGBColor(S)),S=t.backColor,S&&(v.backColor=S.split(" ")[0]),S=t.borderColor,S&&(v.borderColor=S.split(" ")[0]),C=t.borderWidth,C&&(v.borderWidth=k(C)),v.borderStyle=R(t.dashStyle,t.lineStyle),w=t.zIndex,o.J(w)||(v.zIndex=w),w=t.opacity,o.J(w)||(v.opacity=w),t.autoSize&&(v.autoSize=!0),v.locked=t.locked!==!1,v.lockText=t.lockText!==!1,v.dynamicSize=t.dynamicSize!==!1,v.dynamicMove=t.dynamicMove!==!1,w=t.inset,w&&(x=[0,0,0,0],w.trim().split(",").forEach(function(e,t){var r=e||["0.1in","0.05in"][t%2];x[t]=F(r)}),v.padding={left:x[0],top:x[1],right:x[2],bottom:x[3]}),T=["left","center","right"].indexOf(t.hAlign),T!==-1&&(v.horizontalAlign=T),v}t.convertFromExcelComment=T;function v(e,t){var r,n,a,l,c,d,u=t.rowIndex,f=t.colIndex,b=t.location||{x:9,y:-18},p={row:u,col:f};return o.J(t.width)&&(t.width=160),o.J(t.height)&&(t.height=100),t.fontFamily=t.fontFamily||"Arial",t.borderColor=t.borderColor||"black",t.backColor=t.backColor||"#FFFFE1",A(t,p,["zIndex","opacity","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode","backColor","borderColor"]),r=h(e,0,f+1),n=m(e,0,u),p.marginLeft=i.UnitHelper.pixelToPoint(r+b.x+s),p.marginTop=i.UnitHelper.pixelToPoint(n+b.y+s),p.width=i.UnitHelper.pixelToPoint(t.width-2*s)+"pt",p.height=i.UnitHelper.pixelToPoint(t.height-2*s)+"pt",a=t.fontSize||"9pt",a.indexOf("px")!==-1?p.fontSize=i.UnitHelper.pixelToPoint(parseFloat(a)):p.fontSize=a.replace("pt",""),l=t.foreColor,p.foreColor=l&&i.ColorHelper.toExcelColor(l),p.borderWidth=i.UnitHelper.pixelToPoint(t.borderWidth||1)+"pt",c=E(t.borderStyle),p.dashStyle=c.dashStyle,p.lineStyle=c.lineStyle,d=t.padding,d&&(p.inset=[i.UnitHelper.pixelToPoint(d.left)+"pt",i.UnitHelper.pixelToPoint(d.top)+"pt",i.UnitHelper.pixelToPoint(d.right)+"pt",i.UnitHelper.pixelToPoint(d.bottom)+"pt"].join(",")),p.hAlign=["Left","Center","Right"][t.horizontalAlign||0]||"Left",p.visibility=1===t.displayMode?"visible":"hidden",p}t.convertToExcelComment=v;function k(e){return e?i.UnitHelper.pointToPixel(parseFloat(e.replace("pt",""))):0}function F(e){var t=0;return e.indexOf("in")!==-1?t=72*parseFloat(e.replace("in","").trim()):e.indexOf("cm")!==-1?t=72*parseFloat(e.replace("cm","").trim())/2.54:e.indexOf("mm")!==-1?t=72*parseFloat(e.replace("mm","").trim())/25.4:e.indexOf("pt")!==-1&&(t=parseFloat(e.replace("pt","").trim())),i.UnitHelper.pointToPixel(t)}function R(e,t){if(!o.StringEx.L(t))return"double";if(e)switch(e.toLowerCase()){case"solid":return"solid";case"1 1":return"dotted";case"dash":case"dashdot":case"longdash":case"longdashdot":case"longdashdotdot":return"dashed"}return"solid"}function E(e){var t,r;if(e)switch(e.toLowerCase()){case"solid":t="solid";break;case"dotted":t="1 1";break;case"dashed":t="dash";break;case"double":r="thinThin"}return{dashStyle:t,lineStyle:r}}function I(e,t){if(e){var r=e.startPoint,o=e.endPoint;t.startRow=r.row,t.startRowOffset=r.rowOffset,t.startRowOffsetEmu=r.rowOffsetEmu,t.startColumn=r.col,t.startColumnOffset=r.colOffset,t.startColumnOffsetEmu=r.colOffsetEmu,t.endRow=o.row,t.endRowOffset=o.rowOffset,t.endRowOffsetEmu=o.rowOffsetEmu,t.endColumn=o.col,t.endColumnOffset=o.colOffset,t.endColumnOffsetEmu=o.colOffsetEmu}}c=1e5;function L(e){return{l:e.l/c,t:e.t/c,r:e.r/c,b:e.b/c}}function D(e){return{l:parseInt((e.l||0)*c,10),t:parseInt((e.t||0)*c,10),r:parseInt((e.r||0)*c,10),b:parseInt((e.b||0)*c,10)}}function B(e,t,r){var o,i=G(r,t.name,"picture"),n={name:i,alt:t.descr};return A(t,n,["src","isVisible","locked","rot"]),de(t.anchor,e,n,t.xfrm),U(t.pictureFormat,n),o=t.srcRect,o&&(n.srcRect=L(o)),n}t.convertFromExcelPicture=B;function P(e,t){return t.twoCellAnchor=Z(e,t),t}t.convertToExcelSlicer=P;function W(e,t){switch(e){case"solid":return"dbl"===t?"double":"solid";case"dot":case"sysDot":return"dotted"}return"dashed"}function _(e){return!e||"hidden"===e}function N(e){switch(e){case"dotted":return"dot";case"dashed":return"dash";case"double":return"dbl"}return"solid"}function M(e,t){var r,o={},n=t.src;return O(n,o),A(t,o,["name","locked","rot"]),o.descr=t.alt,o.twoCellAnchor=Z(e,t,!0),o.hidden=t.isVisible===!1,o.fillColor=i.ColorHelper.toExcelColor(t.backColor),o.lineBorder={width:_(t.borderStyle)?0:t.borderWidth,color:i.ColorHelper.toExcelColor(t.borderColor),style:N(t.borderStyle),noFill:t.noFill},r=t.srcRect,r&&(o.srcRect=D(r)),o}t.convertToExcelPicture=M,d=";base64,";function O(e,t){var r,o=e.indexOf(d);o>0&&(t.base64Image=e.substr(o+d.length),r=e.substr(0,o).split("/").pop(),"x-icon"===r&&(r="png"),t.imageType=r)}t.getPictureInfo=O;function H(e){if(!e)return!1;var t={};return O(e,t),"svg+xml"===t.imageType}t.isSVGPicture=H;function G(e,t,r){function o(e){return e.name===this.name}function i(t){var r=o.bind({name:t});return void 0!==e.filter(r)[0]}t=t||r;for(var n=t,a=1;i(n);)n=t+"_"+a,a++;return n}function U(e,t){var r,o,n,a,l;return e?(r=e.fillFormat,r&&1===r.fillFormatType&&(t.backColor=i.ColorHelper.toRGBColor(r.color)),o=e.lineFormat,void(o&&(t.borderWidth=o.width,n=o.fillFormat,n&&1===n.fillFormatType?t.borderColor=i.ColorHelper.toRGBColor(n.color):n&&0===n.fillFormatType&&(t.noFill=!0),a=o.lineDashType,a&&(l=o.compoundLineType,t.borderStyle=W(a,l))))):null}u=2;function J(e,t,r){e.rowCount<t&&(e.rowCount=t),e.columnCount<r&&(e.columnCount=r)}function z(e,t){var r=0,o=0,i=t.endPoint;i&&(r=i.row,o=i.col),r+=u,o+=u,J(e,r,o)}t.inflateWorksheetByAnchor=z;function V(e,t,r){var o,i,n;t?(o=t[6]+1,i=t[4]+1):(n=C(e,r),o=n.endPoint.row+u,i=n.endPoint.col+u),J(e,o,i)}function j(e,t,r){var o,i,n,a;return o=h(e,0,t.col)+t.colOffset,i=m(e,0,t.row)+t.rowOffset,n=h(e,0,r.col)+r.colOffset,a=m(e,0,r.row)+r.rowOffset,{x:o,y:i,width:n-o,height:a-i}}t.getBounds=j;function X(e,t){return j(e,t.startPoint,t.endPoint)}function K(e,t){var r=t.startPoint,o=h(e,0,r.col)+r.colOffset,i=m(e,0,r.row)+r.rowOffset;return{x:o,y:i,width:t.width,height:t.height}}function q(e){return{x:e.x,y:e.y,width:e.width,height:e.height}}function Y(e,t,r){var o=e.startPoint,i=e.endPoint,n=o.x*t,a=o.y*r,l=i.x*t,s=i.y*r;return{x:n,y:a,width:l-n,height:s-a}}function Q(e,t,r){var o=e.startPoint;return{x:o.x*t,y:o.y*r,width:e.width,height:e.height}}function Z(e,t,r){var i,n,a;return o.J(t.startRow)?C(e,{x:t.x||0,y:t.y||0,width:t.width||0,height:t.height||0}):(r&&(t=$(e,t)),i={row:t.startRow,rowOffset:t.startRowOffset||0,col:t.startColumn,colOffset:t.startColumnOffset||0},n={row:t.endRow,rowOffset:t.endRowOffset||0,col:t.endColumn,colOffset:t.endColumnOffset||0},a=ne(t.dynamicMove,t.dynamicSize),{startPoint:i,endPoint:n,editAs:a})}function $(e,t){var r=t.pictureStretch;return 0===r?t:1===r?ee(e,t):2===r?te(e,t):3===r?re(e,t):t}function ee(e,t){var r,o,i,n,a,l,s,c,d,u,f=e.rowCount,b=e.columnCount,p=t.width,g=t.height,y=t.startRow,S=t.startRowOffset||0,C=t.startColumn,w=t.startColumnOffset||0,x=t.endRow,A=t.endRowOffset||0,T=t.endColumn,v=t.endColumnOffset||0,k=t.originalWidth,F=t.originalHeight,R=Math.min(p,k),E=Math.min(g,F),I=F>g?S:S+(g-F)/2,L=k>p?w:w+(p-k)/2;for(p=R,g=E,r=0,o=y,i=I,n=!1;o<f;)if(a=m(e,o,o+1),o++,r+=a,!n&&(i-=a),i<0&&!n&&(y=o-1<0?0:o-1,S=a+i,n=!0),r>g+I){x=o-1<0?0:o-1,A=a-(r-g-I);break}for(l=0,s=C,c=L,d=!1;s<b;)if(u=h(e,s,s+1),s++,l+=u,!d&&(c-=u),c<0&&!d&&(C=s-1<0?0:s-1,w=u+c,d=!0),l>p+L){T=s-1<0?0:s-1,v=u-(l-p-L);break}return t.width=p,t.height=g,t.startRow=y,t.startRowOffset=S,t.endRow=x,t.endRowOffset=A,t.startColumn=C,t.startColumnOffset=w,t.endColumn=T,t.endColumnOffset=v,t}function te(e,t){var r,o,i,n,a,l,s,c,d=e.rowCount,u=e.columnCount,f=t.width,b=t.height,p=t.startRow,g=t.startRowOffset||0,y=t.startColumn,S=t.startColumnOffset||0,C=t.endRow,w=t.endRowOffset||0,x=t.endColumn,A=t.endColumnOffset||0,T=t.originalWidth,v=t.originalHeight,k=f/b,F=T/v,R=0,E=0,I=f,L=b;if(b>0&&v>0&&k>F)I=F*b,R=S+f/2-I/2,f=I,b=1/F*f;else{if(!(f>0&&T>0&&1/k>1/F))return t;L=1/F*f,E=g+b/2-L/2,b=L,f=F*b}if(R>0){for(;y<u;)if(r=h(e,y,y+1),y++,R-=r,R<0){y--,S=R+r;break}for(o=0,i=y;i<u;)if(n=h(e,i,i+1),i++,o+=n,o>I+S){A=n-(o-I-S),x=i-1<0?0:i-1;break}}else if(E>0){for(;p<d;)if(a=m(e,p,p+1),p++,E-=a,E<0){p--,g=E+a;break}for(l=0,s=p;s<d;)if(c=m(e,s,s+1),s++,l+=c,l>L+g){w=c-(l-L-g),C=s-1<0?0:s-1;break}}return t.width=f,t.height=b,t.startRow=p,t.startRowOffset=g,t.endRow=C,t.endRowOffset=w,t.startColumn=y,t.startColumnOffset=S,t.endColumn=x,t.endColumnOffset=A,t}function re(e,t){var r,o,i,n,a,l,s=e.rowCount,c=e.columnCount,d=t.width,u=t.height,f=t.startRow,b=t.startRowOffset||0,p=t.startColumn,g=t.startColumnOffset||0,y=t.endRow,S=t.endRowOffset||0,C=t.endColumn,w=t.endColumnOffset||0,x=t.originalWidth,A=t.originalHeight;for(d=Math.min(d,x),u=Math.min(u,A),r=0,o=f;o<s;)if(i=m(e,o,o+1),o++,r+=i,r>u+b){y=o-1<0?0:o-1,S=i-(r-u-b);break}for(n=0,a=p;a<c;)if(l=h(e,a,a+1),a++,n+=l,n>d+g){C=a-1<0?0:a-1,w=l-(n-d-g);break}return t.width=d,t.height=u,t.startRow=f,t.startRowOffset=b,t.endRow=y,t.endRowOffset=S,t.startColumn=p,t.startColumnOffset=g,t.endColumn=C,t.endColumnOffset=w,t}function oe(e,t,r,o){var i=t.anchorType;return 0===i?X(e,t):1===i?K(e,t):2===i?q(t):3===i?Y(t,r,o):4===i?Q(t,r,o):null}function ie(e){var t=e.anchorType||e.editAs||0,r=!0,o=!0;return 2===t?(r=!1,o=!1):1===t&&(o=!1),{dynamicMove:r,dynamicSize:o}}function ne(e,t){var r;return e===!1&&t===!1?r=2:t===!1&&(r=1),r}function ae(e,t,r){var o={x:e.x||0,y:e.y||0,width:e.width||0,height:e.height||0};return{startPoint:{x:(o.x/t).toFixed(5),y:(o.y/r).toFixed(5)},endPoint:{x:((o.x+o.width)/t).toFixed(5),y:((o.y+o.height)/r).toFixed(5)}}}function le(e){var t,r,o;return e?(t=i.ColorHelper.toExcelColor(e),r=t.colorType(),2===r?(o=i.ColorHelper.getRGBAColorData(t),{srgbClr:{val:o.rgb}}):3===r?{schemeClr:{val:t.value()}}:null):null}function se(e,t,r){return{x:e.x*r-e.y*t,y:e.x*t+e.y*r}}f=Math.PI/180/6e4;function ce(e){var t,r,i,n,a,l,s,c,d,u,b,h,p,m,g,y,S,C,w,x;if(e&&!o.J(e.rot))return t=e.rot,r=e.off,i=e.ext,n=r.x,a=r.y,l=i.cx,s=i.cy,c=l/2,d=s/2,u=t*f,b=Math.sin(u),h=Math.cos(u),p=n+c,m=a+d,g=[],y=[],[{x:-c,y:-d},{x:c,y:-d},{x:-c,y:d},{x:c,y:d}].forEach(function(e){var t=se(e,b,h);g.push(t.x+p),y.push(t.y+m)}),S=Math.min.apply(null,g),C=Math.max.apply(null,g),w=Math.min.apply(null,y),x=Math.max.apply(null,y),{x:S,y:w,width:C-S,height:x-w}}function de(e,t,r,o){var i,n,a=ce(o)||oe(t,e),l=ie(e);r.dynamicMove=l.dynamicMove,r.dynamicSize=l.dynamicSize,A(a,r,["x","y","width","height"]),0===e.anchorType?(i=o?C(t,a):e,I(i,r)):i=C(t,a),z(t,i),n=e.clientData,n&&(r.isLocked=n.fLocksWithSheet,r.canPrint=n.fPrintsWithSheet)}function ue(e,t){var r,i,n,a,l,s,c,d,u,f,b;return z(e,t),n=o.Util.za(t),a=n&&n.layoutId,l=o.Util.Aa(a),r=l?t.AlternateContent&&t.AlternateContent.Choice&&t.AlternateContent.Choice.GraphicalObjectFrame&&t.AlternateContent.Choice.GraphicalObjectFrame.nvGraphicFramePr:2===t.shapeType?t.nvGraphicFramePr:t.graphicFrame&&t.graphicFrame.nvGraphicFramePr,i=r&&r.cNvPr,s=G(e.charts,i.name,"chart"),c=t.chartSpace,d={name:s,chartSpace:c,isVisible:!i.hidden,alt:i.descr,AlternateContent:t.AlternateContent},de(t,e,d,t.xfrm),u=d.width,f=d.height,b=c.userShapes,b&&(c.userShapes=b.map(function(t){return t.pic?me(e,t,u,f):t.graphicFrame?he(e,t,u,f):void 0})),d}t.convertFromExcelChart=ue;function fe(e,t){var r,o=t.shapeData;return o.editAs=ne(t.dynamicMove,t.dynamicSize),o.clientData={fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},r=t.alt,r&&(o.sp?o.sp.nvSpPr.cNvPr.descr=r:o.cxnSp?o.cxnSp.nvCxnSpPr.cNvPr.descr=r:o.grpSp?o.grpSp.nvGrpSpPr.cNvPr.descr=r:o.pic&&(o.pic.nvPicPr.cNvPr.descr=r)),o}t.convertToExcelShape=fe;function be(e,t){var r,i=Z(e,t),n=t.isVisible,a=t.chartSpace,l={anchorType:0,startPoint:i.startPoint,endPoint:i.endPoint,editAs:i.editAs,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:t.name,descr:t.alt||"",hidden:!o.J(n)&&!n}}},clientData:{fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},chartSpace:a,AlternateContent:t.AlternateContent},s=1,c=a.userShapes;return c&&c.length>0&&(r=c.map(function(e){var r;return"1"===e.typeName?(r=ge(e,s,t.width,t.height),s++):"2"===e.typeName&&(r=pe(e,s,t.width,t.height),s++),r}).filter(function(e){return!!e}),r.length>0?a.userShapes={relSizeAnchor:r}:delete a.userShapes),l}t.convertToExcelChart=be;function he(e,t,r,o){var i=t.graphicFrame&&t.graphicFrame.nvGraphicFramePr&&t.graphicFrame.nvGraphicFramePr.cNvPr&&t.graphicFrame.nvGraphicFramePr.cNvPr,n=G(e.charts,i.name,"chart"),a=oe(e,t,r,o),l={name:n,chartSpace:t.chartSpace,isVisible:!i.hidden,alt:i.descr};return A(a,l,["x","y","width","height"]),l}function pe(e,t,r,i){var n=ae(e,r,i),a=e.isVisible;return{typeName:e.typeName,anchorType:3,startPoint:n.startPoint,endPoint:n.endPoint,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:e.name,descr:e.alt||"",hidden:!o.J(a)&&!a}}},chartSpace:e.chartSpace}}function me(e,t,r,o){var i,n,a,l,s,c=t.pic&&t.pic.nvPicPr&&t.pic.nvPicPr.cNvPr,d=c.name,u=e.floatingObjects;return u&&(d=G(u,d,"picture")),i=t.pic&&t.pic.blipFill,n=i&&i.blip&&i.blip.blipBlob,a=n&&n.blob,l={name:d,alt:c.descr,src:a,isVisible:!c.hidden},s=oe(e,t,r,o),A(s,l,["x","y","width","height"]),U(t.pictureFormat,l),l}function ge(e,t,r,o){var i,a,l=ae(e,r,o),s={typeName:e.typeName,anchorType:3,startPoint:l.startPoint,endPoint:l.endPoint,pic:{nvPicPr:{cNvPr:{name:e.name,descr:e.alt||""},cNvPicPr:{picLocks:{}}},spPr:{ln:{w:_(e.borderStyle)?0:e.borderWidth},prstGeom:{prst:1,avLst:{}}}},src:e.src},c=s.pic.spPr,d=c.ln,u=le(e.backColor);return u&&(c.solidFill=u),i=le(e.borderColor),i&&(d.solidFill=i),a=N(e.borderStyle),"dbl"===a?d.cmpd=n.Charts.ST_CompoundLine[a]:d.prstDash=n.Charts.ST_PresetLineDashVal[a],s}function ye(e,t){return!(!e||!t||e.color!==t.color||e.type!==t.type)||!e&&!t}t.isBorderEqual=ye,b={backColor:2,foreColor:0,borderBottom:1,borderLeft:1,borderRight:1,borderTop:1,font:0,textDecoration:0};function Se(e,t){var r,i={};for(r in e)e.hasOwnProperty(r)&&(0===b[r]?e[r]!==t[r]&&(i[r]=e[r]):1===b[r]?ye(e[r],t[r])||(i[r]=e[r]):2===b[r]?o.Util.Da(e[r],t[r])||(i[r]=e[r]):i[r]=e[r]);return i}t.processTableCellStyle=Se;function Ce(e,t){var r,o={};for(r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);for(r in b)void 0===e[r]&&void 0!==t[r]&&(o[r]=t[r]);return o}t.resetTableCellStyle=Ce;function we(e,t){var r,o="png",i=e.lastIndexOf(".");return i!==-1&&(o=e.substr(i+1)),"svg"===o&&(o="svg+xml"),r=t(e,!0),r?"data:image/"+o+";base64,"+r:l}t.getImageContent=we;function xe(e){return JSON.parse(JSON.stringify(e))}function Ae(e){var t=e.sp||e.cxnSp||e.grpSp;return t&&(t.spPr&&t.spPr.xfrm||t.grpSpPr&&t.grpSpPr.xfrm)}t.getXFrm=Ae;function Te(e,t){if(e&&5===e.shapeType){var r=t[e.nvSpPr.cNvPr.id];r&&(e.shapeType=7,e.control=r)}}function ve(e,t){var r=e&&e.sp||[];r.forEach(function(e){5===e.shapeType?Te(e,t):3===e.shapeType&&ve(e,t)})}function ke(e,t){var r,o,i={},n=e.controls||{};return de(t,e,i),t.sp?(Te(t.sp,n),i.shapeType=t.sp.shapeType,i.name=t.sp.nvSpPr.cNvPr.name,i.alt=t.sp.nvSpPr.cNvPr.descr,i.shapeData=xe(t)):t.cxnSp?(i.shapeType=t.cxnSp.shapeType,i.name=t.cxnSp.nvCxnSpPr.cNvPr.name,i.alt=t.cxnSp.nvCxnSpPr.cNvPr.descr,i.shapeData=xe(t)):t.grpSp?(ve(t.grpSp,n),i.shapeType=t.grpSp.shapeType,i.name=t.grpSp.nvGrpSpPr.cNvPr.name,i.alt=t.grpSp.nvGrpSpPr.cNvPr.descr,i.shapeData=xe(t)):t.pic&&(r=t.pic,i.shapeType=r.shapeType,i.name=r.nvPicPr.cNvPr.name,i.alt=r.nvPicPr.cNvPr.descr,i.shapeData=xe(t)),o=i.shapeData,o&&o.hidden&&(o.isVisible=!1,i.isVisible=!1,delete o.hidden),i}t.convertFromExcelShape=ke,t.toProtectionOptions={selectLockedCells:"allowSelectLockedCells",selectUnlockedCells:"allowSelectUnlockedCells",autoFilter:"allowFilter",sort:"allowSort",insertColumns:"allowInsertColumns",insertRows:"allowInsertRows",deleteColumns:"allowDeleteColumns",deleteRows:"allowDeleteRows",objects:"allowEditObjects"},t.fromProtectionOptions={allowSelectLockedCells:"selectLockedCells",allowSelectUnlockedCells:"selectUnlockedCells",allowFilter:"autoFilter",allowSort:"sort",allowInsertColumns:"insertColumns",allowInsertRows:"insertRows",allowDeleteColumns:"deleteColumns",allowDeleteRows:"deleteRows",allowEditObjects:"objects"},t.excelSupportProtectionOptions={formatCells:!0,formatColumns:!0,formatRows:!0,insertColumns:!0,insertRows:!0,insertHyperlinks:!0,deleteColumns:!0,deleteRows:!0,sort:!0,autoFilter:!0,pivotTables:!0};function Fe(e){return Ee(e)?(e>4294934530&&e<4294967296&&(e-=4294967296),e):e}t.convertFirstPageNumber=Fe;function Re(e){return Ee(e)?(e<0&&(e+=4294967296),e):e}t.convertFirstPageNumberToExcel=Re;function Ee(e){return"string"==typeof e&&(e=+e),!(isNaN(e)||!isFinite(e))}},"./src/datamodel/excel-style.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L,D,B,P,W,_,N,M,O,H,G;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/builtIn-resource.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/xml-io/xml-reader.ts"),l=r("./src/xlsx-io/reader/style-reader.ts"),s=null,c=void 0,d="Headings",u="Body",f="Calibri",b="bold",h="italic",function(e){e[e.none=0]="none",e[e.major=1]="major",e[e.minor=2]="minor",e[e.ninched=255]="ninched"}(p=t.FontSchemeCategory||(t.FontSchemeCategory={})),function(e){e[e.top=0]="top",e[e.center=1]="center",e[e.bottom=2]="bottom",e[e.justify=3]="justify",e[e.distributed=4]="distributed"}(m=t.ExcelVerticalAlignment||(t.ExcelVerticalAlignment={})),function(e){e[e.general=0]="general",e[e.left=1]="left",e[e.center=2]="center",e[e.right=3]="right",e[e.fill=4]="fill",e[e.justify=5]="justify",e[e.centerContinuous=6]="centerContinuous",e[e.distributed=7]="distributed"}(g=t.ExcelHorizontalAlignment||(t.ExcelHorizontalAlignment={})),function(e){e[e.accordingToContext=0]="accordingToContext",e[e.leftToRight=1]="leftToRight",e[e.rightToLeft=2]="rightToLeft"}(y=t.TextDirection||(t.TextDirection={})),function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.double=2]="double",e[e.singleaccounting=3]="singleaccounting",e[e.doubleaccounting=4]="doubleaccounting"}(S=t.UnderLineStyle||(t.UnderLineStyle={})),function(e){e[e.baseLine=0]="baseLine",e[e.superscript=1]="superscript",e[e.subscript=2]="subscript"}(C=t.VertAlign||(t.VertAlign={})),function(e){e[e.none=0]="none",e[e.thin=1]="thin",e[e.medium=2]="medium",e[e.dashed=3]="dashed",e[e.dotted=4]="dotted",e[e.thick=5]="thick",e[e.double=6]="double",e[e.hair=7]="hair",e[e.mediumDashed=8]="mediumDashed",e[e.dashDot=9]="dashDot",e[e.mediumDashDot=10]="mediumDashDot",e[e.dashDotDot=11]="dashDotDot",e[e.mediumDashDotDot=12]="mediumDashDotDot",e[e.slantDashDot=13]="slantDashDot"}(w=t.ExcelBorderStyle||(t.ExcelBorderStyle={})),function(e){e[e.none=0]="none",e[e.solid=1]="solid",e[e.darkGray=2]="darkGray",e[e.mediumGray=3]="mediumGray",e[e.lightGray=4]="lightGray",e[e.gray125=5]="gray125",e[e.gray0625=6]="gray0625",e[e.darkHorizontal=7]="darkHorizontal",e[e.darkVertical=8]="darkVertical",e[e.darkDown=9]="darkDown",e[e.darkUp=10]="darkUp",e[e.darkGrid=11]="darkGrid",e[e.darkTrellis=12]="darkTrellis",e[e.lightHorizontal=13]="lightHorizontal",e[e.lightVertical=14]="lightVertical",e[e.lightDown=15]="lightDown",e[e.lightUp=16]="lightUp",e[e.lightGrid=17]="lightGrid",e[e.lightTrellis=18]="lightTrellis"}(x=t.FillPatternType||(t.FillPatternType={})),A=function(){function e(e,t,r){var o=this;if(3===e&&t>11&&241!==t&&242!==t&&243!==t&&244!==t&&255!==t)throw Error("themeColorIndexError");if(r>1||r<-1)throw Error("colorTintError");1===e&&32767===t&&(o.Vj=!0),o.Wj=e||2,o.Xj=t||0,o.Yj=r||0}return e.prototype.colorType=function(){return this.Wj},e.prototype.value=function(){return this.Xj},e.prototype.tint=function(){return this.Yj},e.prototype.isAutoColor=function(e){var t=this;return 0===arguments.length?t.Vj:void("boolean"==typeof e&&e!==t.Vj&&(t.Vj=e))},e.prototype.isIndexedColor=function(){return 1===this.Wj},e.prototype.isRGBColor=function(){return 2===this.Wj},e.prototype.isThemeColor=function(){return 3===this.Wj},e.prototype.equals=function(e){return this===e||!!e&&(this.Wj===e.colorType()&&this.value()===e.value()&&this.tint()===e.tint()&&this.isAutoColor()===e.isAutoColor())},e.EmptyColor=new e,e}(),t.ExcelColor=A,T=function(){function e(e,t){this.color=e||null,this.lineStyle=t||0}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.color?t.color.equals(e.color)&&t.lineStyle===e.lineStyle:!e.color&&t.lineStyle===e.lineStyle)},e.prototype.isDefault=function(){return null===this.color&&0===this.lineStyle},e}(),t.ExcelBorderSide=T,v=function(){function e(){var e=this;e.left=new T,e.top=new T,e.right=new T,e.bottom=new T,e.diagonalUp=new T,e.diagonalDown=new T}return e.prototype.clone=function(){var t=this,r=new e;return r.left=t.left?new T(t.left.color,t.left.lineStyle):t.left,r.right=t.right?new T(t.right.color,t.right.lineStyle):t.right,r.top=t.top?new T(t.top.color,t.top.lineStyle):t.top,r.bottom=t.bottom?new T(t.bottom.color,t.bottom.lineStyle):t.bottom,r.diagonalUp=t.diagonalUp?new T(t.diagonalUp.color,t.diagonalUp.lineStyle):t.diagonalUp,r.diagonalDown=t.diagonalDown?new T(t.diagonalDown.color,t.diagonalDown.lineStyle):t.diagonalDown,r},e.prototype.compose=function(e){var t=this;t.left&&t.left.isDefault()&&(t.left=e.left),t.right&&t.right.isDefault()&&(t.right=e.right),t.top&&t.top.isDefault()&&(t.top=e.top),t.bottom&&t.bottom.isDefault()&&(t.bottom=e.bottom),t.diagonalUp&&t.diagonalUp.isDefault()&&(t.diagonalUp=e.diagonalUp),t.diagonalDown&&t.diagonalDown.isDefault()&&(t.diagonalDown=e.diagonalDown);
29
- },e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.left.equals(e.left)&&t.right.equals(e.right)&&t.top.equals(e.top)&&t.bottom.equals(e.bottom)&&t.diagonalUp.equals(e.diagonalUp)&&t.diagonalDown.equals(e.diagonalDown))},e}(),t.ExcelBorder=v,k=function(){function e(){}return e.prototype.clone=function(){var t=this,r=new e;return r.bgColor=t.bgColor,r.fgColor=t.fgColor,r.patternType=t.patternType,r.stops=t.stops,r.type=t.type,r.degree=t.degree,r.left=t.left,r.right=t.right,r.top=t.top,r.bottom=t.bottom,r},e.prototype.compose=function(e){var t=this;t.bgColor===c&&(t.bgColor=e.bgColor),t.fgColor===c&&(t.fgColor=e.fgColor),t.patternType===c&&(t.patternType=e.patternType),t.stops===c&&(t.stops=e.stops),t.type===c&&(t.type=e.type),t.degree===c&&(t.degree=e.degree),t.left===c&&(t.left=e.left),t.right===c&&(t.right=e.right),t.top===c&&(t.top=e.top),t.bottom===c&&(t.bottom=e.bottom)},e.prototype.equals=function(e){var t=this;return t===e||!!e&&JSON.stringify(t)===JSON.stringify(e)},e.Default=function(){return e.Zj||(e.Zj=new e,e.Zj.bgColor=c,e.Zj.fgColor=c,e.Zj.patternType=0),e.Zj},e}(),t.ExcelFill=k,F=function(){function e(e,t,r){var o=this;void 0!==t?o.fontColor=t:o.fontColor=null,void 0!==e?o.fontName=e:o.fontName=null,void 0!==r?o.fontFamily=r:o.fontFamily=0,o.isAutoColor=!1,o.isBold=!1,o.isItalic=!1,o.isOutlineStyle=!1,o.isShadowStyle=!1,o.isStrikeOut=!1,o.fontScheme=0,o.fontSize=11,o.charSetIndex=0,o.underLineStyle=0,o.vertAlign=0,o.Zj=null}return e.prototype.equals=function(e){var t,r=this;return r===e||!!e&&(t=r.isBold===e.isBold&&r.isItalic===e.isItalic&&this.isOutlineStyle===e.isOutlineStyle&&this.isShadowStyle===e.isShadowStyle&&this.isStrikeOut===e.isStrikeOut&&this.fontName===e.fontName&&this.fontFamily===e.fontFamily&&this.fontSize===e.fontSize&&this.charSetIndex===e.charSetIndex&&this.underLineStyle===e.underLineStyle&&this.vertAlign===e.vertAlign&&this.fontScheme===e.fontScheme,!!t&&(!r.fontColor&&!e.fontColor||!(!r.fontColor&&e.fontColor)&&(!(r.fontColor&&!e.fontColor)&&r.fontColor.equals(e.fontColor))))},e.prototype.clone=function(){var t=this,r=new e(t.fontName,t.fontColor,t.fontFamily);return r.isAutoColor=t.isAutoColor,r.isBold=t.isBold,r.isItalic=t.isItalic,r.isOutlineStyle=t.isOutlineStyle,r.isShadowStyle=t.isShadowStyle,r.isStrikeOut=t.isStrikeOut,r.fontScheme=t.fontScheme,r.fontSize=t.fontSize,r.charSetIndex=t.charSetIndex,r.underLineStyle=t.underLineStyle,r.vertAlign=t.vertAlign,r.fontColor=t.fontColor,r},e.prototype.Default=function(){var t=this;return t.Zj||(t.Zj=new e,t.Zj.fontSize=11,t.Zj.fontFamily=2,t.Zj.fontColor=new A(1,0,0),t.Zj.fontName="Calibri",t.Zj.charSetIndex=0),t.Zj},e.prototype.compose=function(e){var t=this;null===t.fontColor&&(t.fontColor=e.fontColor),null===t.fontName&&(t.fontName=e.fontName),0===t.fontFamily&&(t.fontFamily=e.fontFamily),t.isAutoColor===!1&&(t.isAutoColor=e.isAutoColor),t.isBold===!1&&(t.isBold=e.isBold),t.isItalic===!1&&(t.isItalic=e.isItalic),t.isOutlineStyle===!1&&(t.isOutlineStyle=e.isOutlineStyle),t.isShadowStyle===!1&&(t.isShadowStyle=e.isShadowStyle),t.isStrikeOut===!1&&(t.isStrikeOut=e.isStrikeOut),0===t.fontScheme&&(t.fontScheme=e.fontScheme),11===t.fontSize&&(t.fontSize=e.fontSize),0===t.charSetIndex&&(t.charSetIndex=e.charSetIndex),0===t.underLineStyle&&(t.underLineStyle=e.underLineStyle),0===t.vertAlign&&(t.vertAlign=e.vertAlign),null===t.Zj&&(t.Zj=e.Zj)},e}(),t.ExcelFont=F,R=function(){function e(e,t){this.numberFormatId=e,this.numberFormatCode=t}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.numberFormatId===e.numberFormatId&&t.numberFormatCode===e.numberFormatCode)},e.prototype.compose=function(e){var t=this;t.numberFormatId===c&&(t.numberFormatId=e.numberFormatId),t.numberFormatCode===c&&(t.numberFormatCode=e.numberFormatCode)},e.prototype.clone=function(){var t=this;return new e(t.numberFormatId,t.numberFormatCode)},e}(),t.ExcelNumerFormat=R,E=function(){function e(){var e=this;e.font=(new F).Default(),e.border=new v,e.applyAlignment=c,e.applyBorder=c,e.applyFill=c,e.applyFont=c,e.applyNumberFormat=c,e.applyProtection=c,e.quotePrefix=c,e.fill=k.Default(),e.numberFormatIndex=0,e.numberFormat=c,e.isStyleFormat=!1,e.parentFormatID=c,e.parentName=c,e.horizontalAlign=0,e.verticalAlign=0,e.isLocked=!1,e.rotation=0,e.isWordWrap=!1,e.isJustfyLastLine=!1,e.isShrinkToFit=!1,e.isFirstSymbolApostrophe=!1,e.readingOrder=0,e.isHidden=!1,e.indent=0,e.isVerticalText=!1}return e.Default=function(){var t=new e;return t.numberFormatIndex=0,t.isLocked=!0,t.verticalAlign=2,t.horizontalAlign=0,t},e.prototype.copyFrom=function(e){var t=this;t.applyAlignment=e.applyAlignment,t.applyBorder=e.applyBorder,t.applyFill=e.applyFill,t.applyFont=e.applyFont,t.applyNumberFormat=e.applyNumberFormat,t.applyProtection=e.applyProtection,t.fill=null!==e.fill?e.fill.clone():null,t.border=null!==e.border?e.border.clone():null,t.font=null!==e.font?e.font.clone():null,t.numberFormatIndex=e.numberFormatIndex,t.numberFormat=e.numberFormat,t.isStyleFormat=e.isStyleFormat,t.parentFormatID=e.parentFormatID,t.horizontalAlign=e.horizontalAlign,t.verticalAlign=e.verticalAlign,t.isLocked=e.isLocked,t.rotation=e.rotation,t.isWordWrap=e.isWordWrap,t.isJustfyLastLine=e.isJustfyLastLine,t.isShrinkToFit=e.isShrinkToFit,t.isFirstSymbolApostrophe=e.isFirstSymbolApostrophe,t.readingOrder=e.readingOrder,t.isHidden=e.isHidden,t.indent=e.indent,t.quotePrefix=e.quotePrefix},e.prototype.clone=function(){var t=new e;return t.copyFrom(this),t},e.prototype.equals=function(e,t,r){var o,i=this;if(i===e)return!0;if(!e)return!1;if(!i.numberFormat&&e.numberFormat)return!1;if(o=i.numberFormatIndex===e.numberFormatIndex&&i.horizontalAlign===e.horizontalAlign&&i.verticalAlign===e.verticalAlign&&i.isLocked===e.isLocked&&i.rotation===e.rotation&&i.isWordWrap===e.isWordWrap&&i.isJustfyLastLine===e.isJustfyLastLine&&i.isShrinkToFit===e.isShrinkToFit&&i.isFirstSymbolApostrophe===e.isFirstSymbolApostrophe&&i.readingOrder===e.readingOrder&&i.isHidden===e.isHidden&&i.indent===e.indent&&i.parentFormatID===e.parentFormatID&&i.quotePrefix===e.quotePrefix&&i.border.equals(e.border)&&i.isVerticalText===e.isVerticalText,t||(o=o&&i.parentName===e.parentName),r||(o=o&&i.applyAlignment===e.applyAlignment&&i.applyBorder===e.applyBorder&&i.applyFill===e.applyFill&&i.applyFont===e.applyFont&&i.applyNumberFormat===e.applyNumberFormat&&i.applyProtection===e.applyProtection),i.font)o=o&&i.font.equals(e.font);else if(e.font)return!1;if(i.numberFormat&&(o=o&&i.numberFormat.equals(e.numberFormat)),i.fill)o=o&&i.fill.equals(e.fill);else if(e.fill)return!1;return o},e}(),t.ExtendedFormat=E,I=function(){function e(){this.$j=null,this.builtInStyle=0,this.category=0,this.isCustomBuiltin=!1,this.name=null,this.outLineLevel=0}return e.prototype.format=function(e){var t=this;return 0===arguments.length?(null===t.$j&&(t.$j=new E),t.$j):void(t.$j=e)},e.prototype.copy=function(){var t=this,r=new e;return r.builtInStyle=t.builtInStyle,r.outLineLevel=t.outLineLevel,r.isCustomBuiltin=t.isCustomBuiltin,r.category=t.category,r.name=t.name,r.format(t.format().clone()),r},e.prototype.isBuiltInStyle=function(){return!0},e.prototype.getBuiltInStyleCategory=function(){var e=this;if(!e.isBuiltInStyle())return 0;switch(e.builtInStyle){case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 2:case 1:return 4;case 24:return 1;case 19:return 2;case 20:return 2;case 3:case 6:case 4:case 7:return 5;case 49:return 2;case 23:return 1;case 13:case 14:case 15:case 16:return 3;case 17:return 2;case 21:return 2;case 25:return 1;case 0:return 1;case 10:case 18:return 2;case 5:return 5;case 12:case 22:return 3;case 11:return 2;default:return 0}},e}(),t.ExcelStyle=I,L=function(){function e(){this.$j=null,this.name=null}return e.prototype.format=function(e){var t=this;return 0===arguments.length?(null===t.$j&&(t.$j=new E),t.$j):(t.$j=e,this)},e.prototype.copy=function(){var t=new e;return t.name=this.name,t.format(this.format().clone()),t},e.prototype.isBuiltInStyle=function(){return!1},e}(),t.CustomExcelStyle=L,D=function(){function e(){}return e.initBuiltInExcelStyleCollections=function(){var t,r,o,n,s,c,d,u;if(e.builtInStyles.length=0,t=i.BuiltInStylesResource)for(r=new a.XmlReader,r.reset(),r.setXml(t),o=[],n=[],s=[],c=[],d={};r.read();)if(1===r.depth&&2!==r.elementType)switch(r.name()){case"numFmts":l.readNumberFormats(r,d);break;case"fonts":l.readFonts(r,o);break;case"fills":l.readFills(r,n);break;case"borders":l.readBorders(r,s);break;case"cellStyleXfs":l.readXFs(r,c,o,s,d,n,!0);break;case"cellStyles":for(u=r.depth;r.read();){if(r.depth<=u)return;1===r.nodeType()&&"cellStyle"===r.name()&&U(r,c,d)}}},e.getBuiltInStyles=function(){var t,r,o=e.builtInStyles.length;for(47!==o&&e.initBuiltInExcelStyleCollections(),t=[],o=e.builtInStyles.length,r=0;r<o;r++)t.push(e.builtInStyles[r].copy());return t},e.getNormalStyle=function(){var e,t=new E;return t.font=new F,t.font.fontColor=new A(3,1),t.font.fontSize=11,t.font.fontName="Calibri",e=new I,e.format(t),e.name="Normal",e.builtInStyle=0,e},e.builtInStyles=[],e}(),t.BuiltInExcelStyles=D;function U(e,t,r){for(var o,i,n=c,a=0,l=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":n=e.readContentAsString();break;case"xfId":a=e.readContentAsInt(0);break;case"builtinId":l=e.readContentAsInt(0)}o=t[a],o.isStyleFormat=!0,i=new I,i.name=n,i.format(o.clone()),!i.format().numberFormat&&r[i.format().numberFormatIndex]&&(i.format().numberFormat=r[i.format().numberFormatIndex],i.format().numberFormatIndex=0),i.isCustomBuiltin=!1,i.builtInStyle=l,i.category=i.getBuiltInStyleCategory(),D.builtInStyles.push(i)}B=function(){function e(){}return e.builtInNumberFomrat=function(){return e._j||(e._j={count:0}),0===e._j.count&&e.initBuintNumberFormat(),e._j},e.languageIndepedentNumberFormat=function(){return e.ak||(e.ak={count:0}),0===e.ak.count&&e.initLanguageIndepedentNumberFormat(),e.ak},e.formatCodeTable=function(){return e.ck||(e.ck=[]),e.ck},e.customNumberFormat=function(){return e.dk||(e.dk={count:0}),e.dk},e.getCultureInfo=function(){var e=o.K(),t=e&&e.GC&&e.GC.Spread&&e.GC.Spread.Common&&o.K().GC.Spread.Common.CultureManager.getCultureInfo();return t||o.Ga()},e.initBuintNumberFormat=function(){var t,r,i,n,a,l,s,c=e._j;if(c[0]="General",c[1]="0",c[2]="0.00",c[3]="#,##0",c[4]="#,##0.00",c[9]="0%",c[10]="0.00%",c[11]="0.00E+00",c[12]="# ?/?",c[13]="# ??/??",c[14]="m/d/yyyy",c[15]="d-mmm-yy",c[16]="d-mmm",c[17]="mmm-yy",c[18]="h:mm AM/PM",c[19]="h:mm:ss AM/PM",c[20]="h:mm",c[21]="h:mm:ss",c[22]="m/d/yyyy h:mm",c[37]="#,##0_);(#,##0)",c[38]="#,##0_);[Red](#,##0)",c[39]="#,##0.00_);(#,##0.00)",c[40]="#,##0.00_);[Red](#,##0.00)",c[45]="mm:ss",c[46]="[h]:mm:ss",c[47]="mm:ss.0",c[48]="##0.0E+0",c[49]="@",c.count=49,o.Fa())if(t=o.Fa(),"zh-cn"===t)c[14]="yyyy/m/d",c[17]="mmm-yy",c[22]="yyyy/m/d h:mm",c[27]='yyyy"\u5e74"m"\u6708"',c[28]='m"\u6708"d"\u65e5"',c[29]='m"\u6708"d"\u65e5"',c[30]="m-d-yy",c[31]='yyyy"\u5e74"m"\u6708"d"\u65e5"',c[32]='h"\u65f6"mm"\u5206"',c[33]='h"\u65f6"mm"\u5206"ss"\u79d2"',c[34]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"',c[35]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2"',c[36]='yyyy"\u5e74"m"\u6708"',c[39]="#,##0.00;-#,##0.00",c[40]="#,##0.00;[Red]-#,##0.00",c[50]='yyyy"\u5e74"m"\u6708"',c[51]='m"\u6708"d"\u65e5"',c[52]='yyyy"\u5e74"m"\u6708"',c[53]='m"\u6708"d"\u65e5"',c[54]='m"\u6708"d"\u65e5"',c[55]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"',c[56]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2"',c[57]='yyyy"\u5e74"m"\u6708"',c[58]='m"\u6708"d"\u65e5"',c.count=58;else if("ja-jp"===t)c[14]="yyyy/m/d",c[15]="dd-mmm-yy",c[16]="dd-mmm",c[17]="mmm-yy",c[22]="yyyy/mm/dd h:mm",c[27]="[$-411]ge.m.d",c[28]='[$-411]ggge"\u5e74"m"\u6708"d"',c[29]='[$-411]ggge"\u5e74"m"\u6708"d"',c[30]="m/d/yy",c[31]='yyyy"\u5e74"m"\u6708"d"\u65e5"',c[32]='h"\u6642"mm"\u5206"',c[33]='h"\u6642"mm"\u5206"ss"\u79d2"',c[34]='yyyy"\u5e74"m"\u6708"',c[35]='m"\u6708"d"\u65e5"',c[36]="[$-411]ge.m.d",c[38]="#,##0;[Red]-#,##0",c[39]="#,##0.00;-#,##0.00",c[40]="#,##0.00;[Red]-#,##0.00",c[50]="[$-411]ge.m.d",c[51]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c[52]='yyyy"\u5e74"m"\u6708"',c[53]='m"\u6708"d"\u65e5"',c[54]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c[55]='yyyy"\u5e74"m"\u6708"',c[56]='m"\u6708"d"\u65e5"',c[57]="[$-411]ge.m.d",c[58]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c.count=58;else{if(r=e.getCultureInfo(),i=r&&r.LocalNumberFormat,o.isNullOrUndefined(i)||Array.isArray(i)||"object"!=typeof i)return;for(n in i)isNaN(+n)||(a=i[n],o.Util.Ca(a)&&(c[n]=i[n]));l=0;for(n in c)isNaN(+n)||(s=+n,s>l&&(l=s));c.count=l}},e.initLanguageIndepedentNumberFormat=function(){var t=e.ak;t[27]="m/d/yyyy",t[28]="m/d/yyyy",t[29]="m/d/yyyy",t[30]="m/d/yyyy",t[31]="m/d/yyyy",t[32]="h:mm:ss",t[33]="h:mm:ss",t[34]="m/d/yyyy",t[35]="m/d/yyyy",t[36]="m/d/yyyy",t[50]="m/d/yyyy",t[51]="m/d/yyyy",t[52]="m/d/yyyy",t[53]="m/d/yyyy",t[54]="m/d/yyyy",t[55]="m/d/yyyy",t[56]="m/d/yyyy",t[57]="m/d/yyyy",t[58]="m/d/yyyy"},e.getFormatCode=function(t){var r,o,i,n=e.builtInNumberFomrat(),a=e.customNumberFormat(),l=e.languageIndepedentNumberFormat(),s=t.numberFormatIndex;return t.numberFormat?(r=t.numberFormat,o=r.numberFormatId,i=r.numberFormatCode,n[o]&&n[o]!==i?(n[o]=i,i):(a[i]||(a[i]=o,a.count++),i)):n[s]?n[s]:l[s]?l[s]:"General"},e.getFormatId=function(t){var r,o,i,n,a,l,s,c=e.ek();if(c[t])return c[t];if(o=e.builtInNumberFomrat())for(i in o)if(o[i]===t)return r={isBuiltIn:!0,id:parseInt(i,10)},c[t]=r,r;if(n=e.customNumberFormat(),n&&n[t])return r={isBuiltIn:!1,id:n[t]},c[t]=r,r;if(a=0,n.count>0){l=0;for(s in n)n[s]>l&&(l=n[s]);a=l}return a=Math.max(e.fk,a)+1,e.fk++,n[t]=a,r={isBuiltIn:!1,id:a}},e.ek=function(){return e.gk||(e.gk={}),e.gk},e.ck=null,e.gk=null,e._j={count:0},e.ak={count:0},e.dk={count:0},e.fk=170,e}(),t.ExtendedNumberFormatHelper=B;function J(e,t){var r=Math.pow(10,t);return Math.round(e*r)/r}P=function(){function e(){}return e.pointToPixel=function(e,t){return void 0===t&&(t=2),J(96*e/72,t)},e.pixelToPoint=function(e){return 72*e/96},e.emuToPixles=function(e,t){return J(96*e/914400,t||2)},e.pixelToEMU=function(e){return Math.round(914400*e/96)},e.getMaxiumDigitWidth=function(t){var r,o,i,a,l,s,c=0,d=e.hk();if(d[t])return d[t];try{if(e.ik||(e.ik=document.createElement("span")),r=e.ik,r.style.font=t,o=r.style.fontSize,o.indexOf("px")!==-1?o=Math.round(e.pixelToPoint(parseFloat(o))):o.indexOf("pt")!==-1&&(o=Math.round(parseFloat(o))),!isNaN(o)&&o||(o=Math.round(e.pixelToPoint(parseFloat(t.match(/(\d|\.)+/))))),i=r.style.fontFamily,i||t.split(" ").forEach(function(e){"normal"!==e&&"italic"!==e&&"bold"!==e&&e.indexOf("px")===-1&&e.indexOf("pt")===-1&&isNaN(e)&&(i=e)}),n.unknownFontMaxDigitWidthMap[o]&&n.unknownFontMaxDigitWidthMap[o][i]?c=n.unknownFontMaxDigitWidthMap[o][i]:n.MaxDigitWidthMap[o]&&n.MaxDigitWidthMap[o][i]&&(c=n.MaxDigitWidthMap[o][i]),c>0)return c=Math.round(c),d[t]=c,c}catch(e){}for(a="0123456789",l=0,s=0;s<a.length;s++)l=e.measureText(a.charAt(s),t),l>c&&(c=l);return c>0?(c=Math.round(c),d[t]=c,c):(d[t]=7,d[t])},e.truncate=function(e){return Math.floor(e)},e.hk=function(){return e.jk||(e.jk={}),e.jk},e.measureText=function(t,r){var o,i;function n(){return e.kk||(e.kk=document.createElement("canvas")),e.kk}try{return o=n(),i=o.getContext("2d"),i.font=r,i.measureText(t).width}catch(e){return 8}},e.ik=null,e.jk=null,e.kk=null,e}(),t.UnitHelper=P,W=function(){function e(e,t,r,o){var i=this;i.a=e,i.r=t,i.g=r,i.b=o}return e.prototype.toString=function(){var e=this;return 255===e.a?"#"+e.getColorUnitString(e.r)+e.getColorUnitString(e.g)+e.getColorUnitString(e.b):"rgba("+e.r+","+e.g+","+e.b+","+e.a+")"},e.prototype.getColorUnitString=function(e){var t=e.toString(16);return 1===t.length&&(t="0"+t),t},e.hueToRGB=function(e,t,r){return r<0&&(r+=240),r>240&&(r-=240),r<40?e+((t-e)*r+20)/40:r<120?t:r<160?e+((t-e)*(160-r)+20)/40:e},e.fromHLS=function(t,r,o){var i,n,a,l,s;return 0===o?i=n=a=parseInt(255*r/240,10):(l=void 0,s=void 0,s=r<=120?(r*(240+o)+120)/240:r+o-(r*o+120)/240,l=2*r-s,i=parseInt((255*e.hueToRGB(l,s,t+80)+120)/240,10),n=parseInt((255*e.hueToRGB(l,s,t)+120)/240,10),a=parseInt((255*e.hueToRGB(l,s,t-80)+120)/240,10)),new e(255,i,n,a)},e}(),t.lk=W,_=function(){function e(e){var t,r,o,i,n=this,a=e.r,l=e.g,s=e.b,c=Math.max(Math.max(a,l),s),d=Math.min(Math.min(a,l),s),u=c+d;n.luminosity=parseInt(""+(240*u+255)/510,10),t=c-d,0===t?(n.saturation=0,n.hue=160):(n.luminosity<=120?n.saturation=parseInt(""+(240*t+u/2)/u,10):n.saturation=parseInt(""+(240*t+(510-u)/2)/(510-u),10),r=(40*(c-a)+t/2)/t,o=(40*(c-l)+t/2)/t,i=(40*(c-s)+t/2)/t,a===c?n.hue=parseInt(""+(i-o),10):l===c?n.hue=parseInt(""+(80+r-i),10):n.hue=parseInt(""+(160+o-r),10),n.hue<0&&(n.hue+=240),n.hue>240&&(n.hue-=240))}return e.prototype.toColor=function(){return W.fromHLS(this.hue,this.luminosity,this.saturation)},e}(),N=function(){function e(){}return e.getThemeColorName=function(e){if(!e||3!==e.colorType())return null;var t=Math.round(100*e.tint());return 0===e.value()||243===e.value()?"Background 1 "+t:1===e.value()||241===e.value()?"Text 1 "+t:2===e.value()||244===e.value()?"Background 2 "+t:3===e.value()||242===e.value()?"Text 2 "+t:4===e.value()?"Accent 1 "+t:5===e.value()?"Accent 2 "+t:6===e.value()?"Accent 3 "+t:7===e.value()?"Accent 4 "+t:8===e.value()?"Accent 5 "+t:9===e.value()?"Accent 6 "+t:10===e.value()?"hyperlink":11===e.value()?"followedHyperlink":null},e.getThemeColorIndex=function(e,t){return"Background 1"===e.substring(0,12)?t?243:0:"Text 1"===e.substring(0,6)?t?241:1:"Background 2"===e.substring(0,12)?t?244:2:"Text 2"===e.substring(0,6)?t?242:3:"Accent 1"===e.substring(0,8)?4:"Accent 2"===e.substring(0,8)?5:"Accent 3"===e.substring(0,8)?6:"Accent 4"===e.substring(0,8)?7:"Accent 5"===e.substring(0,8)?8:"Accent 6"===e.substring(0,8)?9:"hyperlink"===e?10:"followedHyperlink"===e?11:void 0},e.mk=function(){return e.nk||(e.nk={}),e.nk},e.getExcelThemeColor=function(t){var r,i,n,a;return o.StringEx.L(t)?A.EmptyColor:(r=e.mk(),r[t]?r[t]:(i=0,n=t.split(" "),n.length>=3&&(i=parseFloat(n[2]),isNaN(i)||(i/=100)),a=new A(3,e.getThemeColorIndex(t),i),r[t]=a,a))},e.toRGBColor=function(t){return t?""+e.getRGBColor(t):null},e.colorFromIndex=function(t,r){var o,i,n,a;return 32767===t?new W(0,0,0,0):t<0||t>=e.palette.length?new W(255,0,0,0):e.useCustomPalette?e.customPalette[t]!==c?e.customPalette[t]:64===t?new W(255,0,0,0):65===t?new W(255,255,255,255):new W(0,255,255,255):(o=e.palette[t],i=o>>16&255,n=o>>8&255,a=255&o,new W(r,i,n,a))},e.updateTint=function(e,t){var r,o,i;return 0===t?e:(r=new _(e),t>0?(o=240-r.luminosity,i=o*t,W.fromHLS(r.hue,r.luminosity+i,r.saturation)):(i=r.luminosity*-t,W.fromHLS(r.hue,r.luminosity-i,r.saturation)))},e.getRGBColor=function(t){var r,o;return null===t||t===c?new W(0,255,255,255):t.isAutoColor()?new W(255,0,0,0):t.isIndexedColor()?(r=e.colorFromIndex(0|t.value(),255),e.updateTint(r,t.tint())):t.isRGBColor()?(o=(16777215&t.value())+4278190080,r=e.fromArgb(o),e.updateTint(r,t.tint())):t.isThemeColor()?e.getThemeColorName(t):new W(0,255,255,255)},e.fromArgb=function(e){return new W(e>>24&255,e>>16&255,e>>8&255,255&e)},e.getRGBAColorData=function(t){var r=e.fromArgb(t.value());return{rgb:r.getColorUnitString(r.r)+r.getColorUnitString(r.g)+r.getColorUnitString(r.b),alpha:r.a}},e.pk=function(){return e.qk||(e.qk={}),e.qk},e.fromHtmlColor=function(t){var r,o,i,n,a,l;if(t)return"string"!=typeof t?t:(r=e.pk(),r[t]?r[t]:(o=t.toLowerCase(),"#"===o.substring(0,1)?(7===o.length?o="#ff"+o.substring(1):4===o.length&&(o="#ff"+o[1]+o[1]+o[2]+o[2]+o[3]+o[3]),i=parseInt(o.substring(1,o.length),16)):"rgb("===o.substring(0,4)?(n=o.indexOf("("),a=o.indexOf(")"),l=o.substring(n+1,a).split(","),i=255*Math.pow(16,6)+parseInt(l[0],10)*Math.pow(16,4)+parseInt(l[1],10)*Math.pow(16,2)+parseInt(l[2],10)):"rgba("===o.substring(0,5)?(n=o.indexOf("("),a=o.indexOf(")"),l=o.substring(n+1,a).split(","),i=parseInt(255*parseFloat(l[3]),10)*Math.pow(16,6)+parseInt(l[0],10)*Math.pow(16,4)+parseInt(l[1],10)*Math.pow(16,2)+parseInt(l[2],10)):i=e.rk[o]?e.rk[o]:parseInt(o,10),r[t]=i,i))},e.isThemeColor=function(e){if(!e||"string"!=typeof e)return!1;e=e.toLowerCase();var t=e[0];switch(t){case"b":return 0===e.indexOf("background ");case"t":return 0===e.indexOf("text ");case"a":return 0===e.indexOf("accent ");case"h":return 0===e.indexOf("hyperlink");case"f":return 0===e.indexOf("followedhyperlink");default:return!1}},e.mixTranslucentColor=function(t,r){var o,i,n,a;return 255===r.a?r:0===r.a?t:(o=Math.round((255-t.a)*r.a/255),i=e.getMaxInt(t.a,r.a,t.r,r.r,o+t.a),n=e.getMaxInt(t.a,r.a,t.g,r.g,o+t.a),a=e.getMaxInt(t.a,r.a,t.b,r.b,o+t.a),new W(Math.round(o+t.a),i,n,a))},e.getMaxInt=function(e,t,r,o,i){return 0===i?0:(t*o+(255-t)*e*r/255)/i},e.toExcelColor=function(t,r){if(t instanceof A)return t;if(r===c&&(r=16777215),!t)return null;if(e.isThemeColor(t))return e.getExcelThemeColor(t);var o=e.fromHtmlColor(t);return o!==r?e.fromColorToExcelColor(e.fromArgb(o)):null},e.toExcelBackColor=function(t,r){var o,i;if(t!==s&&"object"==typeof t)if(t.stops)for(o=t,i=0;i<o.stops.length;i++)o.stops[i].color=e.toExcelColor(o.stops[i].color);else o={patternType:t.type,fgColor:e.toExcelColor(t.patternColor||"#000000"),bgColor:e.toExcelColor(t.backgroundColor||"#FFFFFF")};else o=t?{patternType:1,fgColor:e.toExcelColor(t),bgColor:e.toExcelColor(r?"#000000":"#FFFFFF")}:{patternType:0,fgColor:new A(1,64,0),bgColor:new A(1,65,0)};return o},e.toExcelIndexedColor=function(t){if(t){var r=e.getPaletteColorIndex(t,63);return new A(1,r)}return null},e.fromColorToExcelColor=function(t){var r,o,i,n,a;return t=e.mixTranslucentColor(e.fromArgb(16777215),t),255!==t.a&&(r=e.sk,o=Math.round(r.r-t.a+t.a/255*t.r),i=Math.round(r.g-t.a+t.a/255*t.g),n=Math.round(r.b-t.a+t.a/255*t.b),t=new W(255,o,i,n)),a=t.a*Math.pow(16,6)+t.r*Math.pow(16,4)+t.g*Math.pow(16,2)+t.b,new A(2,a,0)},e.getClosestColorIndex=function(t,r){var o,i,n,a,l,s,d,u;for(r===c&&(r=64),o=-1,i=Number.MAX_VALUE,n=Math.min(e.palette.length-1,r);n>=0;n--)a=e.palette[n],l=(16711680&a)>>16,s=(65280&a)>>8,d=255&a,u=Math.abs(.3*(l-t.r))+Math.abs(.59*(s-t.g))+Math.abs(.11*(d-t.b)),u<i&&(i=u,o=n);return o},e.getPaletteColorIndex=function(t,r){return r===c&&(r=64),t.isThemeColor()?e.getClosestColorIndex(e.getRGBColor(new A(3,t.value(),0))):e.getClosestColorIndex(e.getRGBColor(t),r)},e.toColorSchemeIndex=function(e){return"ACCENT1"===e?4:"ACCENT2"===e?5:"ACCENT3"===e?6:"ACCENT4"===e?7:"ACCENT5"===e?8:"ACCENT6"===e?9:"DK1"===e?1:"DK2"===e?3:"LT1"===e?0:"LT2"===e?2:"HLIK"===e?10:"FOLHLINK"===e?11:"PHCLR"===e?240:"BG1"===e?243:"BG2"===e?244:"TX1"===e?241:"TX2"===e?242:255},e.scRgbTosRgb=function(e){return e<=0?0:e<=.0031308?255*e*12.92+.5:e<1?255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5:255},e.convertHLSToRGB=function(t,r,o){var i,n,a=0,l=0,s=0;return 0===o?(a=255*r/255|0,l=a,s=a):(i=void 0,i=r<=127?(r*(255+o)+127)/255:r+o-(r*o+127)/255,n=2*r-i,a=parseInt(""+(255*e.hueToRGB(n,i,t+85)+127)/255,10),l=parseInt(""+(255*e.hueToRGB(n,i,t)+127)/255,10),s=parseInt(""+(255*e.hueToRGB(n,i,t-85)+127)/255,10)),a=a>0?a:0,l=l>0?l:0,s=s>0?s:0,a=a<255?a:255,l=l<255?l:255,s=s>255?s:255,new W(0,a,l,s)},e.hueToRGB=function(e,t,r){return r<0&&(r+=255),r>255&&(r-=255),r<42?e+((t-e)*r+21)/42:r<127?t:r<170?e+((t-e)*(170-r)+21)/42:e},e.fromPresetColorVal=function(t){var r=e.rk[t];return r!==c?e.fromArgb(r):null},e.nk=null,e.qk=null,e.useCustomPalette=!1,e.customPalette=null,e.palette=[4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4286578688,4278222848,4278190208,4286611456,4286578816,4278222976,4290822336,4286611584,4288256511,4288230246,4294967244,4291624959,4284874854,4294934656,4278216396,4291611903,4278190208,4294902015,4294967040,4278255615,4286578816,4286578688,4278222976,4278190335,4278242559,4291624959,4291624908,4294967193,4288269567,4294941132,4291598847,4294954137,4281558783,4281584844,4288269312,4294953984,4294940928,4294927872,4284901017,4288059030,4278203238,4281571686,4278203136,4281545472,4288230144,4288230246,4281545625,4281545523,4278190080],e.sk=new W(255,255,255,255),e.rk={aliceblue:4293982463,antiquewhite:4294634455,aqua:4278255615,aquamarine:4286578644,azure:4293984255,beige:4294309340,bisque:4294960324,black:4278190080,blanchedalmond:4294962125,blue:4278190335,blueviolet:4287245282,brown:4289014314,burlywood:4292786311,cadetblue:4284456608,chartreuse:4286578432,chocolate:4291979550,coral:4294934352,cornflowerblue:4284782061,cornsilk:4294965468,crimson:4292613180,cyan:4278255615,darkblue:4278190219,darkcyan:4278225803,darkgoldenrod:4290283019,darkgray:4289309097,darkgreen:4278215680,darkkhaki:4290623339,darkmagenta:4287299723,darkolivegreen:4283788079,darkorange:4294937600,darkorchid:4288230092,darkred:4287299584,darksalmon:4293498490,darkseagreen:4287609999,darkslateblue:4282924427,darkslategray:4281290575,darkturquoise:4278243025,darkviolet:4287889619,deeppink:4294907027,deepskyblue:4278239231,dimgray:4285098345,dodgerblue:4280193279,feldspar:4291924597,firebrick:4289864226,floralwhite:4294966e3,forestgreen:4280453922,fuchsia:4294902015,gainsboro:4292664540,ghostwhite:4294506751,gold:4294956800,goldenrod:4292519200,gray:4286611584,green:4278222848,greenyellow:4289593135,honeydew:4293984240,hotpink:4294928820,"indianred ":4291648604,"indigo ":4283105410,ivory:4294967280,khaki:4293977740,lavender:4293322490,lavenderblush:4294963445,lawngreen:4286381056,lemonchiffon:4294965965,lightblue:4289583334,lightcoral:4293951616,lightcyan:4292935679,lightgoldenrodyellow:4294638290,lightgrey:4292072403,lightgreen:4287688336,lightpink:4294948545,lightsalmon:4294942842,lightseagreen:4280332970,lightskyblue:4287090426,lightslateblue:4286869759,lightslategray:4286023833,lightsteelblue:4289774814,lightyellow:4294967264,lime:4278255360,limegreen:4281519410,linen:4294635750,magenta:4294902015,maroon:4286578688,mediumaquamarine:4284927402,mediumblue:4278190285,mediumorchid:4290401747,mediumpurple:4287852760,mediumseagreen:4282168177,mediumslateblue:4286277870,mediumspringgreen:4278254234,mediumturquoise:4282962380,mediumvioletred:4291237253,midnightblue:4279834992,mintcream:4294311930,mistyrose:4294960353,moccasin:4294960309,navajowhite:4294958765,navy:4278190208,oldlace:4294833638,olive:4286611456,olivedrab:4285238819,orange:4294944e3,orangered:4294919424,orchid:4292505814,palegoldenrod:4293847210,palegreen:4288215960,paleturquoise:4289720046,palevioletred:4292374675,papayawhip:4294963157,peachpuff:4294957753,peru:4291659071,pink:4294951115,plum:4292714717,powderblue:4289781990,purple:4286578816,red:4294901760,rosybrown:4290547599,royalblue:4282477025,saddlebrown:4287317267,salmon:4294606962,sandybrown:4294222944,seagreen:4281240407,seashell:4294964718,sienna:4288696877,silver:4290822336,skyblue:4287090411,slateblue:4285160141,slategray:4285563024,snow:4294966010,springgreen:4278255487,steelblue:4282811060,tan:4291998860,teal:4278222976,thistle:4292394968,tomato:4294927175,turquoise:4282441936,violet:4293821166,violetred:4291829904,wheat:4294303411,white:4294967295,whitesmoke:4294309365,yellow:4294967040,yellowgreen:4288335154,transparent:16777215},e}(),t.ColorHelper=N;function z(e){return e===!1}function V(e){return e&&"NORMAL"!==e.toUpperCase()&&e.indexOf("__builtInStyle")<0}M=function(){function e(){}return e.getFontName=function(e){var t,r,o;if(!e)return null;if(t=e,r=",",t.indexOf(r)!==-1&&(t=t.split(r)[0]),t){for(o=t.length-1;o>=0&&"/"!==t[o];)o--;o>=0&&(t=t.substring(o)),t&&"/#"===t.substring(0,2)&&(t=t.substring(2)),'"'===t[0]&&'"'===t[t.length-1]&&(t=t.substring(1,t.length-1))}return t},e.setStyleInfoFont=function(e,t,r,o){var i,n,a,l,s,b,h=e.fontName;h||(h=f),n="",e.fontSize>0&&(n=P.pointToPixel(e.fontSize,4)+"px"),a="",a=e.isItalic?"italic":"normal",l="",l=e.isBold?"bold":"normal",s="",s=e.fontColor?e.fontColor.isThemeColor()?N.getThemeColorName(e.fontColor):N.toRGBColor(e.fontColor):e.fontColor,t.foreColor=s,e.isStrikeOut&&(t.textDecoration=2),e.underLineStyle!==c&&(b=1,2===e.underLineStyle?b=8:0===e.underLineStyle&&(b=0),t.textDecoration===c?t.textDecoration=b:t.textDecoration=t.textDecoration|b),1===e.fontScheme?(t.themeFont=d,r&&(h=r)):2===e.fontScheme&&(t.themeFont=u,o&&(h=o)),i=a+" "+l+" "+n+" "+h,i&&(t.font=i)},e.tk=function(){return e.uk||(e.uk={}),e.uk},e.fromHtmlFont=function(t){var r,i,n,a,l,s,c,d,u,f,p,m,g,y;if(!o.StringEx.L(t)){if(r={},i=e.tk(),i[t])return i[t];if(n=e.splitFontString(t),0!==n.length){for(a=0,l=!1,s=!1,c=!1;a<n.length;){if(d=n[a].toLowerCase(),"normal"===d);else if(l||"italic"!==d&&"oblique"!==d&&"inherit"!==d)if(s||"small-caps"!==d)if(c||"bold"!==d&&"bolder"!==d&&"lighter"!==d&&"100"!==d&&"200"!==d&&"300"!==d&&"400"!==d&&"500"!==d&&"600"!==d&&"700"!==d&&"800"!==d&&"900"!==d&&"inherit"!==d){if("/"===d.substring(0,1)){a++;break}if("xx-small"===d||"x-small"===d||"small"===d||"medium"===d||"large"===d||"x-large"===d||"xx-large"===d||d.indexOf("px")!==-1||d.indexOf("pt")!==-1)break}else c=!0,"bolder"===d||parseInt(d,10)>=700?r.fontWeight=b:"lighter"===d?r.fontWeight="ExtraLight":r.fontWeight=d;else s=!0,r.fontVariant=d;else l=!0,"oblique"===d&&(d=h),r.fontStyle=d;if(a++,l&&s&&c)break}if(a<n.length&&(u=n[a].toLowerCase(),"xx-small"===u||"x-small"===u||"small"===u||"medium"===u||"large"===u||"x-large"===u||"xx-large"===u?(f=10,"xx-small"===u||"x-small"===u?f=6:"small"===u?f=8:"large"===u?f=14:"x-large"===u?f=18:"xx-large"===u&&(f=22),r.fontSize=f):(p=void 0,u.indexOf("px")!==-1?p=parseFloat(u):u.indexOf("pt")!==-1&&(m=parseFloat(u),isNaN(m)||(p=P.pointToPixel(m,4))),isNaN(p)||(r.fontSize=p)),a++),a<n.length&&(g=n[a].toLowerCase(),"/"===g.substring(0,1)&&a++),a<n.length){for(y=n[a],a++;a<n.length;a++)y=y+" "+n[a];r.fontFamily=y}return i[t]=r,r}}},e.composeFontWeightAndFontStyleToDestFont=function(t,r){var o=e.fromHtmlFont(t),i=e.fromHtmlFont(r);return o.fontWeight&&(i.fontWeight=o.fontWeight),o.fontStyle&&(i.fontStyle=o.fontStyle),(i.fontWeight?i.fontWeight:"normal")+" "+(i.fontStyle?i.fontStyle:"normal")+" "+i.fontSize+"px "+i.fontFamily+" "+(i.fontVariant?i.fontVariant:"")},e.splitFontString=function(e){var t,r,i,n,a;if(o.StringEx.L(e))return[];for(e=e.trim(),t=[],r="",i=0,n=e.length;i<n;i++)if(a=e[i]," "===a||"/"===a)t.push(r),r="","/"===a&&(r+="/");else if("'"===a||'"'===a)for(i++;e[i]!==a&&i<n;)r+=e[i],i++;else r+=a;return r.length>0&&t.push(r),t},e.toVerticalAlignment=function(e){return 0===e||1===e||2===e?e:2},e.toExcelVerticalAlignment=function(e){return 0===e||1===e||2===e?e:0},e.toHorizontalAlignment=function(e){switch(e){case 0:return 3;case 1:return 0;case 6:return 4;case 2:return 1;case 3:return 2;case 4:case 5:case 7:return 3;default:return 3}},e.toExcelHorizontalAlignment=function(e){switch(e){case 1:return 2;case 0:return 1;case 2:return 3;case 3:return 0;case 4:return 6;default:return 0}},e.toBorderLine=function(e){if(e){var t=null;return 0===e.lineStyle?null:(e.color||(e.color=new A(1,0,0)),t=e.color.isThemeColor()?{color:N.getThemeColorName(e.color),style:e.lineStyle}:{color:""+N.getRGBColor(e.color),style:e.lineStyle})}},e.toExcelBorderSide=function(e){var t,r,o=new T;return e?(t=e.color,N.isThemeColor(t)?o.color=N.getExcelThemeColor(t):(r=e.color,o.color=new A(2,N.fromHtmlColor(r),0)),o.lineStyle=e.style,o):o},e.setStyleInfoBorders=function(t,r){r.borderLeft=e.toBorderLine(t.left),r.borderRight=e.toBorderLine(t.right),r.borderTop=e.toBorderLine(t.top),r.borderBottom=e.toBorderLine(t.bottom),r.borderVertical=e.toBorderLine(t.vertical),r.borderHorizontal=e.toBorderLine(t.horizontal),r.diagonalUp=e.toBorderLine(t.diagonalUp),r.diagonalDown=e.toBorderLine(t.diagonalDown)},e.toCellStyle=function(t,r,i){var n,a,l,d,u,f,b,h,p,m,g,y={};return t?(n=t.isStyleFormat,a=t.applyFont,l=t.applyFill,d=t.applyBorder,u=t.applyAlignment,f=t.applyProtection,b=t.applyNumberFormat,n&&(z(a)&&(y.applyFont=a),z(l)&&(y.applyFill=l),
30
- z(d)&&(y.applyBorder=d),z(u)&&(y.applyAlignment=u),z(f)&&(y.applyProtection=f),z(b)&&(y.applyNumberFormat=b)),(!n&&t.applyFont!==!1||n)&&t.font&&e.setStyleInfoFont(t.font,y,r,i),y.locked=t.isLocked,t.indent!==c&&(y.textIndent=t.indent,y.textIndent>0&&(h=y.textIndent,p=Math.floor(h),h-p===.5&&0===(1&p)?y.textIndent=p:y.textIndent=Math.round(h))),y.wordWrap=t.isWordWrap,y.vAlign=e.toVerticalAlignment(t.verticalAlign),y.hAlign=e.toHorizontalAlignment(t.horizontalAlign),o.J(t.rotation)||(255===t.rotation?y.isVerticalText=!0:y.textOrientation=t.rotation>90?90-t.rotation:t.rotation),t.border&&(m=t.border,m&&e.setStyleInfoBorders(m,y)),t.fill&&0!==t.fill.patternType?e.Ie(t.fill,y):y.backColor=s,t.isShrinkToFit?y.shrinkToFit=!0:y.shrinkToFit=!1,g=B.getFormatCode(t),n&&"General"===g||(y.formatter=g),o.J(t.quotePrefix)||(y.quotePrefix=t.quotePrefix),y):null},e.toRichTextStyle=function(t,r,o){var i={};return e.setStyleInfoFont(t,i,r,o),i.charSetIndex=t.charSetIndex,i.isCondense=t.isCondense,i.isExtend=t.isExtend,i.fontFamily=t.fontFamily,i.isOutlineStyle=t.isOutlineStyle,i.isShadowStyle=t.isShadowStyle,i.vertAlign=t.vertAlign,i},e.fromRichTextStyle=function(t){var r,i,n,a,l;if(!o.J(t))return r=f,i={},t.font&&(n=e.fromHtmlFont(t.font),n.fontFamily&&(r=e.getFontName(n.fontFamily)),o.StringEx.L(r)&&(r=f),i.fontFamily=r,n.fontSize&&(i.fontSize=Math.round(P.pixelToPoint(n.fontSize))),n.fontStyle===h&&(i.isItalic=!0),n.fontWeight===b&&(i.isBold=!0)),t.foreColor&&(N.isThemeColor(t.foreColor)?i.foreColor=N.getExcelThemeColor(t.foreColor):(a=N.fromHtmlColor(t.foreColor),l=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(a)),a=l.a*Math.pow(16,6)+l.r*Math.pow(16,4)+l.g*Math.pow(16,2)+l.b,i.foreColor=new A(2,a,0))),t.themeFont&&(t.themeFont.toUpperCase()==="Headings".toUpperCase()?i.fontScheme=1:t.themeFont.toUpperCase()==="Body".toUpperCase()&&(i.fontScheme=2)),1===(1&t.textDecoration)&&(i.underLineStyle=1),8===(8&t.textDecoration)&&(i.underLineStyle=2),i.isStrikeOut=2===(2&t.textDecoration),i.charSetIndex=t.charSetIndex,i.isCondense=t.isCondense,i.isExtend=t.isExtend,i.fontFamilySet=t.fontFamily,i.isOutlineStyle=t.isOutlineStyle,i.isShadowStyle=t.isShadowStyle,i.vertAlign=t.vertAlign,i},e.toSchemeClrValue=function(e){switch(e){case 255:return"";case 1:return"dk1";case 0:return"lt1";case 3:return"dk2";case 2:return"lt2";case 4:return"accent1";case 5:return"accent2";case 6:return"accent3";case 7:return"accent4";case 8:return"accent5";case 9:return"accent6";case 10:return"hlink";case 11:return"folHlink";case 240:return"phClr";case 241:return"tx1";case 242:return"tx2";case 243:return"bg1";case 244:return"bg2";default:return""}},e.Ie=function(t,r){1===t.patternType?e.vk(t.fgColor,r):t.patternType?e.wk(t.patternType,t.fgColor,t.bgColor,r):t.stops&&e.xk(t,r)},e.vk=function(e,t){if(o.J(e))t.backColor="#000000";else{var r=e.isRGBColor()&&0===e.value();if(e.isRGBColor()&&0===e.value()||e.isIndexedColor()&&64===e.value()||e.isIndexedColor()&&65===e.value())return void(r&&(t.backColor=null));e.isThemeColor()?t.backColor=N.getThemeColorName(e):t.backColor=N.toRGBColor(e)}},e.wk=function(e,t,r,o){o.backColor={type:e,patternColor:null,backgroundColor:null},t&&(t.isThemeColor()?o.backColor.patternColor=N.getThemeColorName(t):o.backColor.patternColor=N.toRGBColor(t)),r&&!r.isAutoColor()&&(r.isThemeColor()?o.backColor.backgroundColor=N.getThemeColorName(r):o.backColor.backgroundColor=N.toRGBColor(r))},e.xk=function(e,t){var r,o;for(t.backColor=e,r=0;r<e.stops.length;r++)o=e.stops[r].color,"string"!=typeof o&&(o.isThemeColor()?e.stops[r].color=N.getThemeColorName(o):e.stops[r].color=N.toRGBColor(o))},e.getStyleFormatter=function(e){var t,r,i=s,n=e.formatter;return"string"==typeof n&&("="===n.charAt(0)||n.indexOf("{{")>=0&&n.indexOf("}}")>=0)?i:("string"==typeof n&&" "!==n?i=n:e.autoFormatter?(t=e.autoFormatter.formatCached,t&&!o.StringEx.O(t)&&(i=t)):n&&(r=n.formatCached,r&&!o.StringEx.O(r)&&(i=r)),i)},e.toExtendedFormat=function(t,r){var i,n,a,l,d,u,p,m,g,y,S,C,w,x,T,I,L,D,P;if(t){if(i=t.parentName,n=t.name,a=V(n),l=new E,d=e.getStyleFormatter(t),d?(u=B.getFormatId(d),p=u.id,m=u.isBuiltIn,m?l.numberFormatIndex=p:l.numberFormat=new R(p,d),g=r.bj(i),y=g&&e.getStyleFormatter(g),!a&&(0!==p||y&&0!==B.getFormatId(y).id)&&(l.applyNumberFormat=!0)):l.numberFormatIndex=0,t.backColor&&0!==t.backColor.type){if(a||(l.applyFill=!0),S=new k,"string"==typeof t.backColor)S.patternType=1,S.fgColor=t.backColor;else if(o.J(t.backColor.type)||"path"===t.backColor.type)for(C in t.backColor)S[C]=t.backColor[C];else S.patternType=t.backColor.type,S.fgColor=t.backColor.patternColor,S.bgColor=t.backColor.backgroundColor;for(o.J(S.fgColor)||(S.fgColor=N.toExcelColor(S.fgColor)),o.J(S.bgColor)||(S.bgColor=N.toExcelColor(S.bgColor)),w=S.stops&&S.stops.length,x=0;x<w;x++)S.stops[x].color=N.toExcelColor(S.stops[x].color);l.fill=S}return(t.borderLeft||t.borderRight||t.borderTop||t.borderBottom||t.diagonalUp||t.diagonalDown)&&(l.border=new v,t.borderLeft&&(l.border.left=e.toExcelBorderSide(t.borderLeft)),t.borderRight&&(l.border.right=e.toExcelBorderSide(t.borderRight)),t.borderTop&&(l.border.top=e.toExcelBorderSide(t.borderTop)),t.borderBottom&&(l.border.bottom=e.toExcelBorderSide(t.borderBottom)),t.diagonalDown&&(l.border.diagonalDown=e.toExcelBorderSide(t.diagonalDown)),t.diagonalUp&&(l.border.diagonalUp=e.toExcelBorderSide(t.diagonalUp)),a||(l.applyBorder=!0)),(t.font||t.fontForColumnWidth||t.foreColor||t.themeFont||t.textDecoration!==c&&null!==t.textDecoration)&&(a||(l.applyFont=!0),T=f,I=t.fontForColumnWidth?t.fontForColumnWidth:t.font,I&&(L=e.fromHtmlFont(I),L.fontFamily&&(T=e.getFontName(L.fontFamily)),o.StringEx.L(T)&&(T=f),l.font=new F(T.trim(),null,0),L.fontSize&&(l.font.fontSize=e.getExcelFontSize(L.fontSize)),L.fontStyle===h&&(l.font.isItalic=!0),L.fontWeight===b&&(l.font.isBold=!0)),1===(1&t.textDecoration)&&(l.font.underLineStyle=1),8===(8&t.textDecoration)&&(l.font.underLineStyle=2),t.foreColor&&(N.isThemeColor(t.foreColor)?l.font.fontColor=N.getExcelThemeColor(t.foreColor):(D=N.fromHtmlColor(t.foreColor),P=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(D)),D=P.a*Math.pow(16,6)+P.r*Math.pow(16,4)+P.g*Math.pow(16,2)+P.b,l.font.fontColor=new A(2,D,0))),l.font.isStrikeOut=2===(2&t.textDecoration)),t.themeFont&&(t.themeFont.toUpperCase()==="Headings".toUpperCase()?l.font.fontScheme=1:t.themeFont.toUpperCase()==="Body".toUpperCase()&&(l.font.fontScheme=2)),t.shrinkToFit&&(l.isShrinkToFit=!0),t.textOrientation&&(l.rotation=t.textOrientation<0?90-t.textOrientation:t.textOrientation),t.locked!==c?l.isLocked=t.locked:l.isLocked=!0,t.wordWrap!==s&&t.wordWrap!==c&&(l.isWordWrap=t.wordWrap),t.textIndent!==s&&t.textIndent!==c&&(l.indent=Math.ceil(t.textIndent)),l.verticalAlign=e.toExcelVerticalAlignment(t.vAlign),l.horizontalAlign=e.toExcelHorizontalAlignment(t.hAlign),t.isVerticalText===!0&&(l.isVerticalText=t.isVerticalText),o.J(t.quotePrefix)||(l.quotePrefix=t.quotePrefix),o.J(i)||(l.parentName=i),a&&(l.applyFont=t.applyFont,l.applyFill=t.applyFill,l.applyAlignment=t.applyAlignment,l.applyBorder=t.applyBorder,l.applyNumberFormat=t.applyNumberFormat,l.applyProtection=t.applyProtection),l}},e.getExcelFontSize=function(e){var t=P.pixelToPoint(e),r=.05,o=Math.round(1e3*t)/1e3,i=Math.round(o%r*1e3)/1e3;return i<r/2?Math.floor(o/r)*r:Math.ceil(o/r)*r},e.toDifferentialFormatting=function(t,r){var i,n,a,l,s,d,u,b,h,p,m,g,y={};return!o.isNullOrUndefined(t.parentName)&&r&&(i=o.ga._(r.th,t.parentName),t=i?i:t),n=t.isSlicerHeader,a=t.isFormatStyle,l=t.formatter,"string"==typeof l&&" "!==l&&(s=B.getFormatId(l),d=s.id,u=s.isBuiltIn,u?(y.numberFormatIndex=d,y.numberFormatCode=l):y.numberFormat=new R(d,l)),t.backColor!==c&&(b=t.backColor,b!==c?y.fill=N.toExcelBackColor(b,!0):y.fill=b),(a||t.borderLeft||t.borderRight||t.borderTop||t.borderBottom||t.borderVertical||t.borderHorizontal)&&(y.border=new v,t.borderLeft?y.border.left=e.toExcelBorderSide(t.borderLeft):(n||t.borderLeft===c&&a)&&(y.border.left=c),t.borderRight?y.border.right=e.toExcelBorderSide(t.borderRight):(n||t.borderRight===c&&a)&&(y.border.right=c),t.borderTop?y.border.top=e.toExcelBorderSide(t.borderTop):(n||t.borderTop===c&&a)&&(y.border.top=c),t.borderBottom?y.border.bottom=e.toExcelBorderSide(t.borderBottom):(n||t.borderBottom===c&&a)&&(y.border.bottom=c),t.borderVertical&&(y.border.vertical=e.toExcelBorderSide(t.borderVertical)),t.borderHorizontal&&(y.border.horizontal=e.toExcelBorderSide(t.borderHorizontal))),(t.font||t.foreColor!==c||t.themeFont||t.textDecoration!==c&&null!==t.textDecoration)&&(h=f,p=void 0,t.font&&(m=e.fromHtmlFont(t.font),m.fontFamily&&(h=e.getFontName(m.fontFamily)),o.StringEx.L(h)&&(h=f),y.font=new F(h.trim(),null,0),m.fontSize&&(y.font.fontSize=Math.round(P.pixelToPoint(m.fontSize))),"italic"===m.fontStyle&&(y.font.isItalic=!0),"bold"===m.fontWeight&&(y.font.isBold=!0)),y.font||(y.font=new F(h.trim(),null,0)),1===(1&t.textDecoration)&&(y.font.underLineStyle=1),8===(8&t.textDecoration)&&(y.font.underLineStyle=2),t.foreColor&&(N.isThemeColor(t.foreColor)?y.font.fontColor=N.getExcelThemeColor(t.foreColor):(p=N.fromHtmlColor(t.foreColor),g=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(p)),p=g.a*Math.pow(16,6)+g.r*Math.pow(16,4)+g.g*Math.pow(16,2)+g.b,y.font.fontColor=new A(2,p,0))),null===t.foreColor&&(y.font.fontColor=null),y.font.isStrikeOut=2===(2&t.textDecoration)),y.isPartFontStyle=t.isPartFontStyle,y.isSlicerHeader=n,y},e.toStringStyle=function(e){if(o.isNullOrUndefined(e))return"";var t="";return o.isNullOrUndefined(e.backColor)||(t+="object"==typeof e.backColor?"backColor:"+JSON.stringify(e.backColor)+",":"backColor:"+e.backColor+","),e.foreColor!==c&&(t+="foreColor:"+e.foreColor+","),e.hAlign!==c&&(t+="hAlign:"+e.hAlign+","),e.vAlign!==c&&(t+="vAlign:"+e.vAlign+","),e.font!==c&&(t+="font:"+e.font+","),e.themeFont!==c&&(t+="themeFont:"+e.themeFont+","),e.formatter!==c&&(t+="formatter:"+e.formatter+","),o.isNullOrUndefined(e.borderLeft)||(t+="borderLeft:"+JSON.stringify(e.borderLeft)+","),o.isNullOrUndefined(e.borderTop)||(t+="borderTop:"+JSON.stringify(e.borderTop)+","),o.isNullOrUndefined(e.borderRight)||(t+="borderRight:"+JSON.stringify(e.borderRight)+","),o.isNullOrUndefined(e.borderBottom)||(t+="borderBottom:"+JSON.stringify(e.borderBottom)+","),o.isNullOrUndefined(e.diagonalDown)||(t+="diagonalDown:"+JSON.stringify(e.diagonalDown)+","),o.isNullOrUndefined(e.diagonalUp)||(t+="diagonalUp:"+JSON.stringify(e.diagonalUp)+","),e.locked!==c&&(t+="locked:"+e.locked+","),e.textIndent!==c&&(t+="textIndent:"+e.textIndent+","),e.wordWrap!==c&&(t+="wordWrap:"+e.wordWrap+","),e.shrinkToFit!==c&&(t+="shrinkToFit:"+e.shrinkToFit+","),e.textDecoration!==c&&(t+="textDecoration:"+e.textDecoration+","),e.textOrientation!==c&&(t+="textOrientation:"+e.textOrientation+","),e.isVerticalText!==c&&(t+="isVerticalText:"+e.isVerticalText+","),e.quotePrefix!==c&&(t+="quotePrefix:"+e.quotePrefix+","),e.autoFormatter!==c&&(t+="autoFormatter:"+e.autoFormatter+","),o.isNullOrUndefined(e.name)||e.name.indexOf("__builtInStyle")!==-1||(t+="name:"+e.name+","),e.parentName!==c&&(t+="parentName:"+e.parentName+","),e.fontForColumnWidth!==c&&(t+="fontForColumnWidth:"+e.fontForColumnWidth+","),V(e.name)&&(e.applyFont!==c&&(t+="applyFont:"+e.applyFont+","),e.applyFill!==c&&(t+="applyFill:"+e.applyFill+","),e.applyAlignment!==c&&(t+="applyAlignment:"+e.applyAlignment+","),e.applyBorder!==c&&(t+="applyBorder:"+e.applyBorder+","),e.applyProtection!==c&&(t+="applyProtection:"+e.applyProtection+","),e.applyNumberFormat!==c&&(t+="applyNumberFormat:"+e.applyNumberFormat+",")),t},e.cloneSpreadJSStyle=function(e){if(!o.isNullOrUndefined(e)){var t={};return t.backColor=e.backColor,t.foreColor=e.foreColor,t.hAlign=e.hAlign,t.vAlign=e.vAlign,t.font=e.font,t.themeFont=e.themeFont,t.formatter=e.formatter,t.borderLeft=e.borderLeft,t.borderTop=e.borderTop,t.borderRight=e.borderRight,t.borderBottom=e.borderBottom,t.diagonalDown=e.diagonalDown,t.diagonalUp=e.diagonalUp,t.locked=e.locked,t.textIndent=e.textIndent,t.wordWrap=e.wordWrap,t.shrinkToFit=e.shrinkToFit,t.textDecoration=e.textDecoration,t.textOrientation=e.textOrientation,t.isVerticalText=e.isVerticalText,t.quotePrefix=e.quotePrefix,t.autoFormatter=e.autoFormatter,t.name=e.name,t.parentName=e.parentName,t.fontForColumnWidth=e.fontForColumnWidth,V(e.name)&&(t.applyFont=e.applyFont,t.applyFill=e.applyFill,t.applyAlignment=e.applyAlignment,t.applyBorder=e.applyBorder,t.applyProtection=e.applyProtection,t.applyNumberFormat=e.applyNumberFormat),t}},e.convertDxfToStyle=function(t,r,i,n){var a,l={};return t.font&&e.setStyleInfoFont(t.font,l,r,i),t.fill&&(o.isNullOrUndefined(t.fill.patternType)&&t.fill.bgColor&&(t.fill.patternType=1),1===t.fill.patternType&&(t.fill.fgColor=t.fill.bgColor),0!==t.fill.patternType?e.Ie(t.fill,l):l.backColor=s),t.border&&e.setStyleInfoBorders(t.border,l),t.numberFormat&&(a=B.getFormatCode(t),"General"!==a&&(l.formatter=a)),n&&t.alignment&&(t.alignment.horizontalAlign!==c&&(l.hAlign=t.alignment.horizontalAlign),t.alignment.verticalAlign!==c&&(l.vAlign=t.alignment.verticalAlign),t.alignment.isWordWrap!==c&&(l.wordWrap=t.alignment.isWordWrap),t.alignment.isShrinkToFit!==c&&(l.shrinkToFit=t.alignment.isShrinkToFit),t.alignment.indent!==c&&(l.textIndent=t.alignment.indent),t.alignment.rotation!==c&&(l.textOrientation=t.alignment.rotation)),n&&t.protection&&t.alignment.isLocked!==c&&(l.locked=t.alignment.isLocked),l},e.uk=null,e}(),t.ConverterHelper=M,O=function(){function e(){}return e.Jh=function(e){var t,r,i,n,a={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){i=r.data.defaultDataNode.style;for(n in i)i.hasOwnProperty(n)&&!o.J(i[n])&&(a[n]=i[n]);break}return a},e}(),t.DefaultStyle=O,H=function(){function e(){}return e.getSystemColor=function(t){return N.fromArgb(e.yk[t])},e.yk=[4290032820,4288263377,4278190080,4289440683,4293980400,4288716960,4285098345,4293125091,4294967295,4278190080,4278190080,4290367978,4292338930,4285361517,4281571839,4294967295,4278216396,4294244348,4290760155,4282601044,4294967265,4278190080,4293980400,4293980400,4281571839,4278190080,4291348680,4294967295,4284769380,4278190080,4288716960,4293125091,4293980400,4294967295,4288716960,4278190080],e}(),G=function(){function e(){}return e.getSystemColor=function(t){return e.systemColors[t.toUpperCase()]},e.systemColors={length:0,"3DDKSHADOW":H.getSystemColor(30),"3DLIGHT":H.getSystemColor(31),ACTIVEBORDER:H.getSystemColor(0),ACTIVECAPTION:H.getSystemColor(1),APPWORKSPACE:H.getSystemColor(3),BACKGROUND:H.getSystemColor(10),BTNFACE:H.getSystemColor(32),BTNHIGHLIGHT:H.getSystemColor(33),BTNSHADOW:H.getSystemColor(34),BTNTEXT:H.getSystemColor(35),CAPTIONTEXT:H.getSystemColor(2),GRAYTEXT:H.getSystemColor(13),HIGHLIGHT:H.getSystemColor(14),HIGHLIGHTTEXT:H.getSystemColor(15),INACTIVEBORDER:H.getSystemColor(17),INACTIVECAPTION:H.getSystemColor(18),INACTIVECAPTIONTEXT:H.getSystemColor(19),INFOBK:H.getSystemColor(20),INFOTEXT:H.getSystemColor(21),MENU:H.getSystemColor(22),GRADIENTACTIVECAPTION:H.getSystemColor(11),HOTLIGHT:H.getSystemColor(16),GRADIENTINACTIVECAPTION:H.getSystemColor(12),MENUBAR:H.getSystemColor(23),MENUHIGHLIGHT:H.getSystemColor(24),MENUTEXT:H.getSystemColor(25),SCROLLBAR:H.getSystemColor(26),WINDOW:H.getSystemColor(27),WINDOWFRAME:H.getSystemColor(28),WINDOWTEXT:H.getSystemColor(29)},e}(),t.ExcelSystemColor=G;function j(){P.jk=c,B.gk=c,B.dk={count:0},B._j={count:0},M.uk=c,N.nk=c,N.qk=c,N.useCustomPalette=!1,N.customPalette=s}t.clearCache=j},"./src/excel-io.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xlsx-io/common/file-loader.ts"),i=r("./src/xlsx-io/reader/xlsx-reader.ts"),n=r("./src/xlsx-io/writer/xlsx-writer.ts"),a=r("./src/xlsx-io/password/xlsxEncryptionHelper.ts"),l=r("./src/xlsx-io/common/errorcode.ts"),s=r("./src/xlsx-io/common/errorMessage.ts"),c=r("./src/common/common.ts"),d=r("./src/common/excel-types.ts"),t.ErrorCode=l.errorCode,u=r("./src/lc/releaseLc.js"),u&&(u.zk&&u.zk(t),f=u.Ak,1===f&&u.Bk()),b=function(){function e(){this.Ck=new o.FileLoader}return e.prototype.open=function(e,t,r,o){var n=this;t||(t=function(){}),r||(r=function(){}),n.Ck.onFileLoad=function(e){try{var n=new i.XlsxReader;n.Dk(e,o,function(e){t(e)})}catch(e){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}},n.Ck.onError=r,n.Ck.loadFile(e,o)},e.prototype.save=function(e,t,r,o){t||(t=function(){}),r||(r=function(){});var i,d;"object"==typeof e&&(i=JSON.parse(JSON.stringify(e))),"string"==typeof e&&(i=JSON.parse(e)),new n.XlsxWriter(i,function(){try{var e=this;e.onZip=function(e){if(o&&o.password)try{e=a.XlsxEncryptionHelper.Ek(e,o.password),d||(e=a.XlsxEncryptionHelper.Fk(e))}catch(e){return void r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}t(e)},e.onError=function(){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})},c.J(o)&&(o={}),c.J(o.xlsxStrictMode)&&(o.xlsxStrictMode=!0),o&&o.password&&(d=o.useArrayBuffer,o.useArrayBuffer=!0),e.Bg=o,e.Gk()}catch(e){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}})},e.registerMaxDigitWidth=function(e,t,r){!e||c.J(t)||c.J(r)||(d.unknownFontMaxDigitWidthMap[t]||(d.unknownFontMaxDigitWidthMap[t]={}),d.unknownFontMaxDigitWidthMap[t][e]=r)},e.tableThemes=c.buildInTableThemes,e.pivotTableThemes=c.buildInPivotTableThemes,e.slicerStyles=c.buildInSlicerStyles,e.timelineStyles=c.buildInTimelineStyles,e}(),t.IO=b},"./src/lc/common.js":function(e,t,r){!function(){"use strict";var t,o,i,n,a={zk:function(e){t=e}},l=r("./src/xlsx-io/reader/xlsx-reader.ts").XlsxReader,s=r("./src/datamodel/datamodel-writer.ts").WriterDataModel,c=r("./src/common/common.ts").K,d=r("./src/lc/ipaddr.js"),u=r("./src/lc/lcValidator.js"),f=u.Hk,b=u.Ik,h="object"==typeof global&&global&&global.Object===Object&&global,p="object"==typeof self&&self&&self.Object===Object&&self,m=h||p||Function("return this")(),g=/^[0-9.]+$/,y="m",S="n",C="b",w="d",x="e",A="adr",T=b("XRsZ"),v=b("HUkJ"),k=b("T&g"),F=b("Q&w"),R=b("GRz1"),E=b("XSzB"),I=b("XRwh"),L=b("WQs5");function D(e,t){var r,o,i,n,a="",l=0;for(r=0;r<e.length;r++)l=Math.max(l,e[r].length);for(r=0;r<l;r++){for(t&&(o=""),n=0;n<e.length;n++)t?o+=r>=e[n].length?"00":e[n].charAt(r)+e[n].charAt(r+1):r<e[n].length&&(a+=e[n].charAt(r));t&&(i=parseInt(o,16),a+=String.fromCharCode(i),r++)}return a}function B(e){var r=c(),o=r&&r[D(["G","C"])],i=o&&o[D(["Sra","ped"])],n=i&&i[D(["Set","hes"])];return n&&n[e]||t&&t[e]}function P(){var e=c(),t=e&&e[D(["G","C"])],r=t&&t[D(["Sra","ped"])];return r&&r[D(["Cmo","omn"])]}o=function(e){var t,r=D(["Lcnee","iesKy"]),o=B(r),i="QKAU";return f(o,{pK:"l6/zrbWoSbcLFwEetFh38rH3ErBZE9H+Cqix3R+wTlfA1wD5B+lUcCQn+EJ60I4RGrm0x1sFjkiLWwB0jAn6BWZv0W4WbqAKriOdeoivxDp1Wmjs3qkEDhvbsjPtfvwx2BHil6o+/tDrdMJQSGs18WZm2PoQLQuL+9VhZ4FNRHUQU3Jtioke/OZEGHJOdYVwvCGalzBad6QFOiVbDBQPePpS3++GJzOxN8SN/7lyS5/IdKiy3WJRaVGkB370+HbN6hKraDfUgReLX26yxRaKC/5aWnGAJ2NnWLoGyAGRcwT9dVjo4bcAZNrrA0U9JVKQxaSskhdv2p49XzJkltXx5w==",aC:"B1"},function(r){t=W(r,i),t.hl=!!o,M(t,o),e(t)},function(){t=W(),t.hl=!!o,M(t,o),e(t)}),t};function W(e,t){var r,o,i,n,a={isVd:function(e){var t=this,r=B("Workbook");return e=r&&1===r.lm||e,t.s&&!t.e&&(!t.adr||!!t.adr.dsr==!!e)}},l=V(),s=function(){var a,s,c,d,u,f,b;if(!e)return!1;if(a=e[v],!a||!a.length)return!1;for(d=0,u=a.length;d<u;d++)if(s=a[d],c=s&&s[F]===t){r=s[k];break}if(!c)return!1;if(e[L]&&(n=e[L]),e[I]){if(f=new Date,b=_(e[I]),i=Math.ceil((b-f)/864e5),o=i<=0)return!1}else i=void 0;return!!(l||!e[R]&&!e[E]||J(e[R],e[E])||z(e[R],e[E]))};return a[C]=l,a.s=s(),a[y]=e?e[T]?-1:1:0,a[S]=r,a[x]=o,o||(a[w]=i),a[A]=n,a}function _(e){return new Date(N(e.substr(0,4))||0,N(e.substr(4,2))-1||0,N(e.substr(6,2))||0)}function N(e){return parseInt(e,10)}function M(e,t){e.m=t?e.m:-1}function O(e,t){var r,o,i,n,a;if(!e||0!==e.indexOf("//"))return!1;if(r=e.slice(2).split("/"),r.length<1)return!1;for(o=r[0],i=0,n=t.length;i<n;i++)if(a=t[i],a===o)return!0;return!1}function H(e,t){var r,o,i,n,a;for(r=0,o=t.length;r<o;r++){if(i=t[r],n=!1,i&&0===i.lastIndexOf("*.",0)&&(n=!0),i=n?i.slice(2):i,i===e)return!0;if(n&&(a=e.indexOf("."+i),a>0&&a===e.length-i.length-1))return!0}return!1}function G(e,t){var r,o,i,n;if(0===e.indexOf("[")&&e.lastIndexOf("]")===e.length-1&&(e=e.substring(1,e.length-1)),e.indexOf("%")>-1&&(e=e.split("%")[0]),a(e))for(r=d.parse(e),o=0;o<t.length;o++){if(i=t[o],a(i)&&s(i,e))return!0;if(n=l(i),n&&c(r,n))return!0}return!1;function a(e){return d.IPv4.isValidFourPartDecimal(e)||d.IPv6.isValid(e)}function l(e){var t,r;if(e.indexOf("/")===-1)return!1;t=e.split("/"),(t[1].indexOf(":")>-1||t[1].indexOf(".")>-1)&&(r=d.parse(t[1]).prefixLengthFromSubnetMask(),e=[t[0],r].join("/"));try{return d.parseCIDR(e)}catch(e){return!1}}function s(e,t){var r=""+d.parse(e),o=""+d.parse(t);return r===o}function c(e,t){try{return e.match(t)}catch(e){return!1}}}function U(e,t){var r,o,i,n;if(e&&4===e.split(".").length)for(r=0,o=t.length;r<o;r++)if(i=t[r],i&&(n=i.length-2,n>0&&(i===e||".*"===i.substr(n)&&e.substr(0,n)===i.substr(0,n)&&g.test(e))))return!0;return!1}function J(e,t){var r,o,i,n;return!!q()&&(r=b("JYx3Gb#8Pb5R"),o=b("1agFGc#UHbw5"),i=m[r]&&m[r][o],!!i&&(i=i.toLowerCase(),n=e.split(","),!(!e||!O(i,n))))}function z(e,t){var r,o=b("JYx3Gb#8Pb5R"),i=b("Zdg3Ga#UHbw5"),n=m[o]&&m[o][i];return!n||(n=n.toLowerCase(),r=e.split(","),!(!e||!H(n,r))||(!(!e||!U(n,r))||!(!e||!G(n,r))))}function V(){var e=b("JYx3Gb#8Pb5R");return j(m[e])}function j(e){var t=b("VdgJHc#wJb59"),r=b("Zdg3Ga#UHbw5");return e&&(X(e[t])||K(e[t])||Y(e[r]))}function X(e){var t=b("MlSZto#Z");return e&&e===t}function K(e){var t=b("yXbog&w");return e&&e===t}function q(){var e=b("JYx3Gb#8Pb5R"),t=b("VdgJHc#wJb59"),r=b("Udg36Y#oUddV"),o=m[e];return o&&o[t]===r}function Y(e){var t=b("4LJITMx8UMcA"),r=b("Zo9Wv2#M"),o=b("JYw3Gb4NOb6x");return e&&(e===t||e===r||e===o)}function Q(e){var t=B(D(["S","R"])),r=P()&&t&&P().ResourceManager;return r&&new r(t).getResource()[e]}i=function(e,t,r){var o,i,n,a=Q(D([e,"s"])),l=B(D(["Wrbo","okok"])),s=Q(l&&1===l.lm?D(["ld","se"]):D(["lr","su"])),c=Z(a,t);for(s=Z(s,t),c=c.replace("{0}",r.d),c=c.replace("{1}",s).replace("{1}",s),o=[],i=0,n=0;n<c.length;n++)"\r"!==c[n]&&"\n"!==c[n]||(o.push(c.substring(i,n)),"\r"===c[n]&&n<c.length-1&&"\n"===c[n+1]&&n++,i=n+1);return i<c.length&&o.push(c.substring(i,c.length)),o};function Z(e,t){var r,o,i,n=!0,a="";if(e)if("string"==typeof e)e=e.trim(),e&&(r=[e]);else if(Array.isArray(e)){for(o=!0,r=[],i=0;i<e.length;i++)a=e[i].trim(),r.push(a),o&&a&&(o=!1);o&&(r=null)}return r||(n=!1,r=t),D(r,n)}function $(e,t,r){var o,n={name:D(["Eauto eso","vlainVrin"]),index:0,allowCellOverflow:!0,defaults:{colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:30,colWidth:60},isSelected:!1,rowCount:20,columnCount:20,data:{dataTable:{}}},a=i(e,t,r),l=n.data.dataTable;for(o=1;o<a.length+1;o++)l[o]={},l[o][1]={value:a[o-1]};return n}function ee(e,t,r){var i=this;o(function(o){var n,a,l,s,c,d,u,f,b,h,p,m,g=["IvldEclI ies e.","nai xe Olcneky"];if(o.hl)if(o.isVd(!1)){if(o.m!==-1)return t.apply(i),void(i.onCompleted&&i.onCompleted());o.d?(n="l2",g=["Pwrdb pedSet.\rYu eprr elyetkyeprsi 0 as","oee ySra.hes \nortmoaydpomn e xie n{}dy."]):(n="l6",g=["Pwrdb pedSet vlainVrin\no iesdfrDsrbto.","oee ySra.hesEauto eso\rNtLcne o itiuin"])}else o.adr&&o.adr.dsr?n=Q(D(["l8","s"]))?"l8":"l4":o.e?(n="l5",g=["Pwrdb pedSet.\rYu eprr elyetkyhseprd","oee ySra.hes \nortmoaydpomn e a xie."]):n=Q(D(["l8","s"]))?"l8":"l4";else o.b?(n="l1",g=["Pwrdb pedSet.\no a nydpo hsEAUTO eso oal.\rTmoaydpomn esaeaalbefrtsig ","oee ySra.hes\rYucnol elyti VLAINvrinlcly \neprr elyetky r vial o etn."]):(n=Q(D(["l7","s"]))?"l7":"l3",g=["EclI ies o on\rYune ai ies e ornSraJ xe O eprr esaeaalbefreauto.I o ucae ies,yu e si orprhs ofraineal ","xe OLcneNtFud\no edavldlcnekyt u pedSEclI.Tmoayky r vial o vlain fyuprhsdalcne orkyi nyu ucaecnimto mi."]);if(a=$(n,g,o),!o.hl&&o.b||o.isVd(!1)){if(r&&t.apply(i),l=e.sheets,s=l[a.name])a.index=s.index;else{for(c in l)l.hasOwnProperty(c)&&(d=l[c],d.index++);if(u=e.slicerCaches)for(f=0;f<u.length;f++)if(b=u[f],h=b.pivotTables,h&&h.length>0)for(p=0;p<h.length;p++)m=h[p],m.tabId+=1;e.sheetCount++,e.activeSheetIndex=e.activeSheetIndex?++e.activeSheetIndex:1}l[a.name]=a,r||t.apply(i)}else e.sheetCount=1,e.sheets={},e.sheets[a.name]=a,r||t.apply(i);i.onCompleted&&i.onCompleted()})}n=function(){var e,t=l.prototype.Jk;l.prototype.Jk=function(){var e=arguments,r=this;ee.call(r,r.Kk.Ne,function(){t.apply(r,e)},!0)},l.prototype.Xh=function(){},e=s.prototype.Ph,s.prototype.Ph=function(){var t=arguments,r=this;ee.call(r,r.Ne,function(){e.apply(r,t)},!1)},s.prototype.Xh=function(){}},a.Bk=n,e.exports=a}()},"./src/lc/ipaddr.js":function(e,t,r){"use strict";!function(t){var r,o="(0?\\d+|0x[a-f0-9]+)",i={fourOctet:RegExp("^".concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"$"),"i"),threeOctet:RegExp("^".concat(o,"\\.").concat(o,"\\.").concat(o,"$"),"i"),twoOctet:RegExp("^".concat(o,"\\.").concat(o,"$"),"i"),longValue:RegExp("^".concat(o,"$"),"i")},n=RegExp("^0[0-7]+$","i"),a=RegExp("^0x[a-f0-9]+$","i"),l="%[0-9a-z]{1,}",s="(?:[0-9a-f]+::?)+",c={zoneIndex:RegExp(l,"i"),native:RegExp("^(::)?(".concat(s,")?([0-9a-f]+)?(::)?(").concat(l,")?$"),"i"),deprecatedTransitional:RegExp("^(?:::)(".concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"(").concat(l,")?)$"),"i"),transitional:RegExp("^((?:".concat(s,")|(?:::)(?:").concat(s,")?)").concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"(").concat(l,")?$"),"i")};function d(e,t){var r,o,i,n,a;if(e.indexOf("::")!==e.lastIndexOf("::"))return null;for(r=0,o=-1,i=(e.match(c.zoneIndex)||[])[0],i&&(i=i.substring(1),e=e.replace(/%.+$/,""));(o=e.indexOf(":",o+1))>=0;)r++;if("::"===e.substr(0,2)&&r--,"::"===e.substr(-2,2)&&r--,r>t)return null;for(a=t-r,n=":";a--;)n+="0:";return e=e.replace("::",n),":"===e[0]&&(e=e.slice(1)),":"===e[e.length-1]&&(e=e.slice(0,-1)),t=function(){var t,r=e.split(":"),o=[];for(t=0;t<r.length;t++)o.push(parseInt(r[t],16));return o}(),{parts:t,zoneId:i}}function u(e,t,r,o){var i,n;if(e.length!==t.length)throw Error("ipaddr: cannot match CIDR for objects with different lengths");for(i=0;o>0;){if(n=r-o,n<0&&(n=0),e[i]>>n!==t[i]>>n)return!1;o-=r,i+=1}return!0}function f(e){if(a.test(e))return parseInt(e,16);if("0"===e[0]&&!isNaN(parseInt(e[1],10))){if(n.test(e))return parseInt(e,8);throw Error("ipaddr: cannot parse ".concat(e," as octal"))}return parseInt(e,10)}function b(e,t){for(;e.length<t;)e="0".concat(e);return e}r={},r.IPv4=function(){function e(e){if(4!==e.length)throw Error("ipaddr: ipv4 octet count should be 4");var t,r;for(t=0;t<e.length;t++)if(r=e[t],!(0<=r&&r<=255))throw Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}return e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.kind=function(){return"ipv4"},e.prototype.match=function(e,t){var r;if(void 0===t&&(r=e,e=r[0],t=r[1]),"ipv4"!==e.kind())throw Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return u(this.octets,e.octets,8,t)},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,o=0,i=!1,n={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(e=3;e>=0;e-=1){if(t=this.octets[e],!(t in n))return null;if(r=n[t],i&&0!==r)return null;8!==r&&(i=!0),o+=r}return 32-o},e.prototype.range=function(){return r.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.toIPv4MappedAddress=function(){return r.IPv6.parse("::ffff:".concat(""+this))},e.prototype.toNormalizedString=function(){return""+this},e.prototype.toString=function(){return this.octets.join(".")},e}(),r.IPv4.broadcastAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),o=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)|255^parseInt(o[n],10)),n++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv4 CIDR format")}},r.IPv4.isIPv4=function(e){return null!==this.parser(e)},r.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch(e){return!1}},r.IPv4.isValidFourPartDecimal=function(e){return!(!r.IPv4.isValid(e)||!e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},r.IPv4.networkAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),o=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],r=0;r<4;)i.push(parseInt(o[r],10)&parseInt(n[r],10)),r++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv4 CIDR format")}},r.IPv4.parse=function(e){var t=this.parser(e);if(null===t)throw Error("ipaddr: string is not formatted like an IPv4 Address");return new this(t)},r.IPv4.parseCIDR=function(e){var t,r,o;if((t=e.match(/^(.+)\/(\d+)$/))&&(r=parseInt(t[2]),r>=0&&r<=32))return o=[this.parse(t[1]),r],Object.defineProperty(o,"toString",{value:function e(){return this.join("/")}}),o;throw Error("ipaddr: string is not formatted like an IPv4 CIDR range")},r.IPv4.parser=function(e){var t,r,o;if(t=e.match(i.fourOctet))return function(){var e,o=t.slice(1,6),i=[];for(e=0;e<o.length;e++)r=o[e],i.push(f(r));return i}();if(t=e.match(i.longValue)){if(o=f(t[1]),o>4294967295||o<0)throw Error("ipaddr: address outside defined range");return function(){var e,t=[];for(e=0;e<=24;e+=8)t.push(o>>e&255);return t}().reverse()}return(t=e.match(i.twoOctet))?function(){var e=t.slice(1,4),r=[];if(o=f(e[1]),o>16777215||o<0)throw Error("ipaddr: address outside defined range");return r.push(f(e[0])),r.push(o>>16&255),r.push(o>>8&255),r.push(255&o),r}():(t=e.match(i.threeOctet))?function(){var e=t.slice(1,5),r=[];if(o=f(e[2]),o>65535||o<0)throw Error("ipaddr: address outside defined range");return r.push(f(e[0])),r.push(f(e[1])),r.push(o>>8&255),r.push(255&o),r}():null},r.IPv4.subnetMaskFromPrefixLength=function(e){var t,r,o;if(e=parseInt(e),e<0||e>32)throw Error("ipaddr: invalid IPv4 prefix length");for(t=[0,0,0,0],r=0,o=Math.floor(e/8);r<o;)t[r]=255,r++;return o<4&&(t[o]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},r.IPv6=function(){function e(e,t){var r,o;if(16===e.length)for(this.parts=[],r=0;r<=14;r+=2)this.parts.push(e[r]<<8|e[r+1]);else{if(8!==e.length)throw Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(r=0;r<this.parts.length;r++)if(o=this.parts[r],!(0<=o&&o<=65535))throw Error("ipaddr: ipv6 part should fit in 16 bits");t&&(this.zoneId=t)}return e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},e.prototype.kind=function(){return"ipv6"},e.prototype.match=function(e,t){var r;if(void 0===t&&(r=e,e=r[0],t=r[1]),"ipv6"!==e.kind())throw Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return u(this.parts,e.parts,16,t)},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,o=0,i=!1,n={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,
31
- 65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};for(r=7;r>=0;r-=1){if(e=this.parts[r],!(e in n))return null;if(t=n[e],i&&0!==t)return null;16!==t&&(i=!0),o+=t}return 128-o},e.prototype.range=function(){return r.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){var e,t,r=[],o=this.parts;for(t=0;t<o.length;t++)e=o[t],r.push(e>>8),r.push(255&e);return r},e.prototype.toFixedLengthString=function(){var e=function(){var e,t=[];for(e=0;e<this.parts.length;e++)t.push(b(this.parts[e].toString(16),4));return t}.call(this).join(":"),t="";return this.zoneId&&(t="%".concat(this.zoneId)),e+t},e.prototype.toIPv4Address=function(){var e,t,o;if(!this.isIPv4MappedAddress())throw Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return e=this.parts.slice(-2),t=e[0],o=e[1],new r.IPv4([t>>8,255&t,o>>8,255&o])},e.prototype.toNormalizedString=function(){var e=function(){var e,t=[];for(e=0;e<this.parts.length;e++)t.push(this.parts[e].toString(16));return t}.call(this).join(":"),t="";return this.zoneId&&(t="%".concat(this.zoneId)),e+t},e.prototype.toRFC5952String=function(){for(var e,t=/((^|:)(0(:|$)){2,})/g,r=this.toNormalizedString(),o=0,i=-1;e=t.exec(r);)e[0].length>i&&(o=e.index,i=e[0].length);return i<0?r:"".concat(r.substring(0,o),"::").concat(r.substring(o+i))},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},e}(),r.IPv6.broadcastAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),o=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<16;)i.push(parseInt(r[n],10)|255^parseInt(o[n],10)),n++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}},r.IPv6.isIPv6=function(e){return null!==this.parser(e)},r.IPv6.isValid=function(e){if("string"==typeof e&&e.indexOf(":")===-1)return!1;try{var t=this.parser(e);return new this(t.parts,t.zoneId),!0}catch(e){return!1}},r.IPv6.networkAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),o=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],r=0;r<16;)i.push(parseInt(o[r],10)&parseInt(n[r],10)),r++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}},r.IPv6.parse=function(e){var t=this.parser(e);if(null===t.parts)throw Error("ipaddr: string is not formatted like an IPv6 Address");return new this(t.parts,t.zoneId)},r.IPv6.parseCIDR=function(e){var t,r,o;if((r=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(r[2]),t>=0&&t<=128))return o=[this.parse(r[1]),t],Object.defineProperty(o,"toString",{value:function e(){return this.join("/")}}),o;throw Error("ipaddr: string is not formatted like an IPv6 CIDR range")},r.IPv6.parser=function(e){var t,r,o,i,n,a;if(o=e.match(c.deprecatedTransitional))return this.parser("::ffff:".concat(o[1]));if(c.native.test(e))return d(e,8);if((o=e.match(c.transitional))&&(a=o[6]||"",t=d(o[1].slice(0,-1)+a,6),t.parts)){for(n=[parseInt(o[2]),parseInt(o[3]),parseInt(o[4]),parseInt(o[5])],r=0;r<n.length;r++)if(i=n[r],!(0<=i&&i<=255))return null;return t.parts.push(n[0]<<8|n[1]),t.parts.push(n[2]<<8|n[3]),{parts:t.parts,zoneId:t.zoneId}}return null},r.IPv6.subnetMaskFromPrefixLength=function(e){var t,r,o;if(e=parseInt(e),e<0||e>128)throw Error("ipaddr: invalid IPv6 prefix length");for(t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0,o=Math.floor(e/8);r<o;)t[r]=255,r++;return o<16&&(t[o]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},r.fromByteArray=function(e){var t=e.length;if(4===t)return new r.IPv4(e);if(16===t)return new r.IPv6(e);throw Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},r.isValid=function(e){return r.IPv6.isValid(e)||r.IPv4.isValid(e)},r.parse=function(e){if(r.IPv6.isValid(e))return r.IPv6.parse(e);if(r.IPv4.isValid(e))return r.IPv4.parse(e);throw Error("ipaddr: the address has neither IPv6 nor IPv4 format")},r.parseCIDR=function(e){try{return r.IPv6.parseCIDR(e)}catch(t){try{return r.IPv4.parseCIDR(e)}catch(e){throw Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},r.process=function(e){var t=this.parse(e);return"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t},r.subnetMatch=function(e,t,r){var o,i,n,a;void 0!==r&&null!==r||(r="unicast");for(i in t)if(Object.prototype.hasOwnProperty.call(t,i))for(n=t[i],!n[0]||n[0]instanceof Array||(n=[n]),o=0;o<n.length;o++)if(a=n[o],e.kind()===a[0].kind()&&e.match.apply(e,a))return i;return r},e.exports?e.exports=r:t.ipaddr=r}(void 0)},"./src/lc/lcValidator.js":function(e,t){var r=function(e){var t={};function r(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=e,r.c=t,r.p="dist",r(0)}([function(e,t){(function(e){"use strict";var r,o,i,n,a,l,s,c,d,u;Object.defineProperty(t,"__esModule",{value:!0}),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="undefined"!=typeof window,i=String.fromCharCode,n=o&&window.Uint8Array||f,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,c=l||s;function f(e){var t,o;if("number"==typeof e)for(t=Array(e),o=0;o<e;++o)t[o]=0;else t=e.slice(0);return t.buffer=t,t.byteLength=t.length,"object"===(void 0===e?"undefined":r(e))&&e.buffer&&(t.buffer=e.buffer),t}function b(e,t,r,o){return 1==e.length?e:(e.splice(r,1,o(e.splice(t,1,o(e[r]))[0])),e)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=e.charCodeAt(0);return r>=65&&r<=90?e.toLowerCase():r>=97&&r<=122?e.toUpperCase():r>=48&&r<=57?i(48+(r-48+10+t)%10):e}function p(e){var t,r=e.split(""),o=function e(t){return h(t,-1)};for(t=r.length-5;t>=0;t--)b(r,t+1,t+3,o),b(r,t,t+2,o);return r.join("")}function m(e){return e.split("").reverse().join("")}function g(e){var t,r,o,i,n,l,s,c,d,u=[],f="",b=a,h=e,p=h.length%3;if(p>0)for(;p++<3;)f+="=",h+="\0";for(p=0;p<h.length;p+=3)t=h.charCodeAt(p),r=h.charCodeAt(p+1),o=h.charCodeAt(p+2),i=t<<16|r<<8|o,n=i>>18&63,l=i>>12&63,s=i>>6&63,c=63&i,u[p/3]=b.charAt(n)+b.charAt(l)+b.charAt(s)+b.charAt(c);return d=u.join(""),d=d.slice(0,d.length-f.length)+f}function y(e){var t,r,o,n,l,s,c,d,u,f,b=[],h=a,p=e;for(f=0;f<p.length;f+=4)n=h.indexOf(p.charAt(f)),l=h.indexOf(p.charAt(f+1)),s=h.indexOf(p.charAt(f+2)),c=h.indexOf(p.charAt(f+3)),d=n<<18|l<<12|s<<6|c,t=d>>>16&255,r=d>>>8&255,o=255&d,b[f/4]=i(t,r,o),64==c&&(b[f/4]=i(t,r)),64==s&&(b[f/4]=i(t));return u=b.join("")}function S(e){return(o&&window.atob||y)(e)}function C(e){return(o&&window.btoa||g)(e)}function w(e){return decodeURIComponent(Array.prototype.map.call(S(e),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function x(e){return C(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return i(parseInt(t,16))}))}function A(e){var t,r;return e?(t=p(e),t=m(t),r=Math.ceil(t.length/2),t=t.substr(r)+t.substr(0,r),t=t.replace("#","="),t=t.replace("&","=="),w(t)):""}d=t.iDe=A;function T(e){var t,r=S(e),o=r.length,i=new n(o);for(t=0;t<o;t++)i[t]=r.charCodeAt(t);return i.buffer}function v(e){var t,r,o=new ArrayBuffer(e.length),i=new n(o);for(t=0,r=e.length;t<r;t++)i[t]=e.charCodeAt(t);return o}function k(e){return i.apply(null,new n(e))}function F(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"")}function R(e){var t,r,o,i=0,n=5381,a=0;for(t=e.length-1;t>=0;t--)r=e.charCodeAt(t),i=r+(i<<6)+(i<<16)-i,n=r+((n<<5)+n),a=r+((a<<5)-a),a&=a;return o=i^n^a,o<0&&(o=~o),o.toString(16).toUpperCase()}function E(e){return e&&JSON.parse(e)||void 0}function I(e,t){try{t="#"+t;var r=e.indexOf(t);if(r>-1)return{prefix:e.substring(0,r),licData:JSON.parse(A(e.substr(r+t.length)))}}catch(e){}return!1}function L(e){return"oncomplete"in e&&(e.then=function(t,r){e.resolve=t,e.reject=r},e.oncomplete=function(t){e.resolve(e.result)},e.onerror=function(){e.reject()}),e}u=t.attorn=function e(t,r,i,n){var a,l,s,d,u,f,b,h=o?window.msCrypto?window.msCrypto:window.crypto:void 0,p=I(t,r.aC);if(!p)return n();a=p.licData,l=p.prefix+"#"+r.aC,s=k(T(x(l+JSON.stringify(a.D))));function m(){return R(l+JSON.stringify(a.D))===a.H?i(a.D):n()}return d=A("JYx3Gb#8Pb5R"),u=A("VdgJHc#wJb59"),c[d]&&c[d][u]&&!location.protocol.match(/^https/i)?m():h&&h.subtle?(f={alg:"PS256",e:"AQAB",kty:"RSA",n:F(r.pK)},f=window.msCrypto?v(JSON.stringify(f)):f,b={name:"RSA-PSS",saltLength:32,hash:{name:"SHA-256"}},L(h.subtle.importKey("jwk",f,b,!1,["verify"])).then(function(e){L(h.subtle.verify(b,e,T(a.S),v(s))).then(function(e){return e?i(a.D):n()})},function(){return m()}),void 0):m()}}).call(t,function(){return this}())}]);e.exports={Hk:r.attorn,Ik:r.iDe}},"./src/lc/releaseLc.js":function(e,t,r){var o=r("./src/lc/common.js");e.exports={Ak:1,Bk:o.Bk,zk:o.zk}},"./src/lib/jszip.min.js":function(e,t,r){(function(t,r){var o;!function(t){e.exports=t()}(function(){return function e(t,r,i){function n(l,s){var c,d,u;if(!r[l]){if(!t[l]){if(c="function"==typeof o&&o,!s&&c)return o(l,!0);if(a)return a(l,!0);throw d=Error("Cannot find module '"+l+"'"),d.code="MODULE_NOT_FOUND",d}u=r[l]={exports:{}},t[l][0].call(u.exports,function(e){var r=t[l][1][e];return n(r||e)},u,u.exports,e,t,r,i)}return r[l].exports}for(var a="function"==typeof o&&o,l=0;l<i.length;l++)n(i[l]);return n}({1:[function(e,t,r){"use strict";var o=e("./utils"),i=e("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,a,l,s,c,d=[],u=0,f=e.length,b=f,h="string"!==o.getTypeOf(e);u<e.length;)b=f-u,i=h?(t=e[u++],r=u<f?e[u++]:0,u<f?e[u++]:0):(t=e.charCodeAt(u++),r=u<f?e.charCodeAt(u++):0,u<f?e.charCodeAt(u++):0),a=t>>2,l=(3&t)<<4|r>>4,s=1<b?(15&r)<<2|i>>6:64,c=2<b?63&i:64,d.push(n.charAt(a)+n.charAt(l)+n.charAt(s)+n.charAt(c));return d.join("")},r.decode=function(e){var t,r,o,a,l,s,c,d,u=0,f=0,b="data:";if(e.substr(0,b.length)===b)throw Error("Invalid base64 input, it looks like a data url.");if(d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4,e.charAt(e.length-1)===n.charAt(64)&&d--,e.charAt(e.length-2)===n.charAt(64)&&d--,d%1!=0)throw Error("Invalid base64 input, bad content length.");for(c=i.uint8array?new Uint8Array(0|d):Array(0|d);u<e.length;)t=n.indexOf(e.charAt(u++))<<2|(a=n.indexOf(e.charAt(u++)))>>4,r=(15&a)<<4|(l=n.indexOf(e.charAt(u++)))>>2,o=(3&l)<<6|(s=n.indexOf(e.charAt(u++))),c[f++]=t,64!==l&&(c[f++]=r),64!==s&&(c[f++]=o);return c}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var o=e("./external"),i=e("./stream/DataWorker"),n=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function l(e,t,r,o,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=o,this.compressedContent=i}l.prototype={getContentWorker:function(){var e=new i(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(e,t,r){return e.pipe(new n).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var o=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var o=e("./utils"),i=function(){var e,t,r,o;for(t=[],r=0;r<256;r++){for(e=r,o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==o.getTypeOf(e)?function(e,t,r,o){var n,a=i,l=o+r;for(e^=-1,n=o;n<l;n++)e=e>>>8^a[255&(e^t[n])];return-1^e}(0|t,e,e.length,0):function(e,t,r,o){var n,a=i,l=o+r;for(e^=-1,n=o;n<l;n++)e=e>>>8^a[255&(e^t.charCodeAt(n))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var o=null;o="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:o}},{lie:37}],7:[function(e,t,r){"use strict";var o="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),n=e("./utils"),a=e("./stream/GenericWorker"),l=o?"uint8array":"array";function s(e,t){a.call(this,"FlateWorker/"+e),this.Lk=null,this.Mk=e,this.Ok=t,this.meta={}}r.magic="\b\0",n.inherits(s,a),s.prototype.processChunk=function(e){this.meta=e.meta,null===this.Lk&&this.Pk(),this.Lk.push(n.transformTo(l,e.data),!1)},s.prototype.flush=function(){a.prototype.flush.call(this),null===this.Lk&&this.Pk(),this.Lk.push([],!0)},s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.Lk=null},s.prototype.Pk=function(){this.Lk=new i[this.Mk]({raw:!0,level:this.Ok.level||-1});var e=this;this.Lk.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new s("Deflate",e)},r.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function o(e,t){var r,o="";for(r=0;r<t;r++)o+=String.fromCharCode(255&e),e>>>=8;return o}function i(e,t,r,i,a,d){var u,f,b,h,p,m,g=e.file,y=e.compression,S=d!==l.utf8encode,C=n.transformTo("string",d(g.name)),w=n.transformTo("string",l.utf8encode(g.name)),x=g.comment,A=n.transformTo("string",d(x)),T=n.transformTo("string",l.utf8encode(x)),v=w.length!==g.name.length,k=T.length!==x.length,F="",R="",E="",I=g.dir,L=g.date,D={crc32:0,compressedSize:0,uncompressedSize:0};return t&&!r||(D.crc32=e.crc32,D.compressedSize=e.compressedSize,D.uncompressedSize=e.uncompressedSize),b=0,t&&(b|=8),S||!v&&!k||(b|=2048),h=0,p=0,I&&(h|=16),"UNIX"===a?(p=798,h|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(g.unixPermissions,I)):(p=20,h|=function(e){return 63&(e||0)}(g.dosPermissions)),u=L.getUTCHours(),u<<=6,u|=L.getUTCMinutes(),u<<=5,u|=L.getUTCSeconds()/2,f=L.getUTCFullYear()-1980,f<<=4,f|=L.getUTCMonth()+1,f<<=5,f|=L.getUTCDate(),v&&(R=o(1,1)+o(s(C),4)+w,F+="up"+o(R.length,2)+R),k&&(E=o(1,1)+o(s(A),4)+T,F+="uc"+o(E.length,2)+E),m="",m+="\n\0",m+=o(b,2),m+=y.magic,m+=o(u,2),m+=o(f,2),m+=o(D.crc32,4),m+=o(D.compressedSize,4),m+=o(D.uncompressedSize,4),m+=o(C.length,2),m+=o(F.length,2),{fileRecord:c.LOCAL_FILE_HEADER+m+C+F,dirRecord:c.CENTRAL_FILE_HEADER+o(p,2)+m+o(A.length,2)+"\0\0\0\0"+o(h,4)+o(i,4)+C+F+A}}var n=e("../utils"),a=e("../stream/GenericWorker"),l=e("../utf8"),s=e("../crc32"),c=e("../signature");function d(e,t,r,o){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=o,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this.Qk=[]}n.inherits(d,a),d.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,o=this.Qk.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-o-1))/r:100}}))},d.prototype.openedSource=function(e){var t,r;this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name,t=this.streamFiles&&!e.file.dir,t?(r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:r.fileRecord,meta:{percent:0}})):this.accumulate=!0},d.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+o(e.crc32,4)+o(e.compressedSize,4)+o(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){var e,t,r,i;for(e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});r=this.bytesWritten-e,i=function(e,t,r,i,a){var l=n.transformTo("string",a(i));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(e,2)+o(e,2)+o(t,4)+o(r,4)+o(l.length,2)+l}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName),this.push({data:i,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this.Qk.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(e){this.Qk.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t.Qk.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},d.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this.Qk.length?(this.prepareNextSource(),!0):this.previous||this.Qk.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(e){var t,r=this.Qk;if(!a.prototype.error.call(this,e))return!1;for(t=0;t<r.length;t++)try{r[t].error(e)}catch(e){}return!0},d.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this.Qk,t=0;t<e.length;t++)e[t].lock()},t.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){"use strict";var o=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var n=new i(t.streamFiles,r,t.platform,t.encodeFileName),a=0;try{e.forEach(function(e,r){a++;var i=function(e,t){var r=e||t,i=o[r];if(!i)throw Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),l=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,c=r.date;r.Rk(i,l).withStreamInfo("file",{name:e,dir:s,date:c,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=a}catch(e){n.error(e)}return n}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){"use strict";function o(){if(!(this instanceof o))return new o;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e,t=new o;for(e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(o.prototype=e("./object")).loadAsync=e("./load"),o.support=e("./support"),o.defaults=e("./defaults"),o.version="3.10.1",o.loadAsync=function(e,t){return(new o).loadAsync(e,t)},o.external=e("./external"),t.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){"use strict";var o=e("./utils"),i=e("./external"),n=e("./utf8"),a=e("./zipEntries"),l=e("./stream/Crc32Probe"),s=e("./nodejsUtils");function c(e){return new i.Promise(function(t,r){var o=e.decompressed.getContentWorker().pipe(new l);o.on("error",function(e){r(e)}).on("end",function(){o.streamInfo.crc32!==e.decompressed.crc32?r(Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}t.exports=function(e,t){var r=this;return t=o.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),s.isNode&&s.isStream(e)?i.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new a(t);return r.load(e),r}).then(function(e){var r,o=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(r=0;r<n.length;r++)o.push(c(n[r]));return i.Promise.all(o)}).then(function(e){var i,n,a,l,s,c;for(i=e.shift(),n=i.files,a=0;a<n.length;a++)l=n[a],s=l.fileNameStr,c=o.resolve(l.fileNameStr),r.file(c,l.decompressed,{binary:!0,optimizedBinaryString:!0,date:l.date,dir:l.dir,comment:l.fileCommentStr.length?l.fileCommentStr:null,unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions,createFolders:t.createFolders}),l.dir||(r.file(c).unsafeOriginalName=s);return i.zipComment.length&&(r.comment=i.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){"use strict";var o=e("../utils"),i=e("../stream/GenericWorker");function n(e,t){i.call(this,"Nodejs stream input adapter for "+e),this.Sk=!1,this.Tk(t)}o.inherits(n,i),n.prototype.Tk=function(e){var t=this;(this.Uk=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t.Sk=!0:t.end()})},n.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this.Uk.pause(),!0)},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this.Sk?this.end():this.Uk.resume(),!0)},t.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){"use strict";var o=e("readable-stream").Readable;function i(e,t,r){o.call(this,t),this.Vk=e;var i=this;e.on("data",function(e,t){i.push(e)||i.Vk.pause(),r&&r(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,o),i.prototype.Wk=function(){this.Vk.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){"use strict";t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m;function g(e,t,r){var o,a,d,m,g=i.getTypeOf(t),y=i.extend(r||{},l);y.date=y.date||new Date,null!==y.compression&&(y.compression=y.compression.toUpperCase()),"string"==typeof y.unixPermissions&&(y.unixPermissions=parseInt(y.unixPermissions,8)),y.unixPermissions&&16384&y.unixPermissions&&(y.dir=!0),y.dosPermissions&&16&y.dosPermissions&&(y.dir=!0),y.dir&&(e=h(e)),y.createFolders&&(o=b(e))&&p.call(this,o,!0),a="string"===g&&!1===y.binary&&!1===y.base64,r&&void 0!==r.binary||(y.binary=!a),(t instanceof s&&0===t.uncompressedSize||y.dir||!t||0===t.length)&&(y.base64=!1,y.binary=!0,t="",y.compression="STORE",g="string"),d=null,d=t instanceof s||t instanceof n?t:u.isNode&&u.isStream(t)?new f(e,t):i.prepareContent(e,t,y.binary,y.optimizedBinaryString,y.base64),m=new c(e,d,y),this.files[e]=m}o=e("./utf8"),i=e("./utils"),n=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),l=e("./defaults"),s=e("./compressedObject"),c=e("./zipObject"),d=e("./generate"),u=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),b=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},h=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},p=function(e,t){return t=void 0!==t?t:l.createFolders,e=h(e),this.files[e]||g.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}m={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,o;for(t in this.files)o=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,o)},filter:function(e){var t=[];return this.forEach(function(r,o){e(r,o)&&t.push(o)}),t},file:function(e,t,r){var o,i;return 1!==arguments.length?(e=this.root+e,g.call(this,e,t,r),this):y(e)?(o=e,this.filter(function(e,t){return!t.dir&&o.test(e)})):(i=this.files[this.root+e],i&&!i.dir?i:null)},folder:function(e){if(!e)return this;if(y(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=p.call(this,t),o=this.clone();return o.root=r.name,o},remove:function(e){var t,r,o;if(e=this.root+e,t=this.files[e],t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),o=0;o<r.length;o++)delete this.files[r[o].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r,l={};try{if((l=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=l.type.toLowerCase(),l.compression=l.compression.toUpperCase(),"binarystring"===l.type&&(l.type="string"),!l.type)throw Error("No output type specified.");i.checkSupport(l.type),"darwin"!==l.platform&&"freebsd"!==l.platform&&"linux"!==l.platform&&"sunos"!==l.platform||(l.platform="UNIX"),"win32"===l.platform&&(l.platform="DOS"),r=l.comment||this.comment||"",t=d.generateWorker(this,l,r)}catch(e){(t=new n("error")).error(e)}return new a(t,l.type||"string",l.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},t.exports=m},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){"use strict";var o=e("./DataReader");function i(e){o.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,o),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2),i=e.charCodeAt(3),n=this.length-4;0<=n;--n)if(this.data[n]===t&&this.data[n+1]===r&&this.data[n+2]===o&&this.data[n+3]===i)return n-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2),i=e.charCodeAt(3),n=this.readData(4);return t===n[0]&&r===n[1]&&o===n[2]&&i===n[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){"use strict";var o=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return o.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){"use strict";var o=e("./Uint8ArrayReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var o=e("./DataReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var o=e("./ArrayReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var o=e("../utils"),i=e("../support"),n=e("./ArrayReader"),a=e("./StringReader"),l=e("./NodeBufferReader"),s=e("./Uint8ArrayReader");t.exports=function(e){var t=o.getTypeOf(e);return o.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new l(e):i.uint8array?new s(o.transformTo("uint8array",e)):new n(o.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,r){"use strict";var o=e("./GenericWorker"),i=e("../utils");function n(e){o.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(n,o),n.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var o=e("./GenericWorker"),i=e("../crc32");function n(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(n,o),n.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./GenericWorker");function n(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}o.inherits(n,i),n.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./GenericWorker");function n(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this.Xk=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=o.getTypeOf(e),t.isPaused||t.Yk()},function(e){t.error(e)})}o.inherits(n,i),n.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.Xk&&this.dataIsReady&&(this.Xk=!0,o.delay(this.Yk,[],this)),!0)},n.prototype.Yk=function(){this.Xk=!1,this.isPaused||this.isFinished||(this.Zk(),this.isFinished||(o.delay(this.Yk,[],this),
32
- this.Xk=!0))},n.prototype.Zk=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function o(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this.$k={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this.$k[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this.$k=[]},emit:function(e,t){if(this.$k[e])for(var r=0;r<this.$k[e].length;r++)this.$k[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=o},{}],29:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./ConvertWorker"),n=e("./GenericWorker"),a=e("../base64"),l=e("../support"),s=e("../external"),c=null;if(l.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t){return new s.Promise(function(r,i){var n=[],l=e._k,s=e.al,c=e.cl;e.on("data",function(e,r){n.push(e),t&&t(r)}).on("error",function(e){n=[],i(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return o.newBlob(o.transformTo("arraybuffer",t),r);case"base64":return a.encode(t);default:return o.transformTo(e,t)}}(s,function(e,t){var r,o=0,i=null,n=0;for(r=0;r<t.length;r++)n+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(n),r=0;r<t.length;r++)i.set(t[r],o),o+=t[r].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}(l,n),c);r(e)}catch(e){i(e)}n=[]}).resume()})}function u(e,t,r){var a=t;switch(t){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._k=a,this.al=t,this.cl=r,o.checkSupport(a),this.dl=e.pipe(new i(a)),e.lock()}catch(e){this.dl=new n("error"),this.dl.error(e)}}u.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var r=this;return"data"===e?this.dl.on(e,function(e){t.call(r,e.data,e.meta)}):this.dl.on(e,function(){o.delay(t,arguments,r)}),this},resume:function(){return o.delay(this.dl.resume,[],this.dl),this},pause:function(){return this.dl.pause(),this},toNodejsStream:function(e){if(o.checkSupport("nodestream"),"nodebuffer"!==this.al)throw Error(this.al+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this.al},e)}},t.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){"use strict";var o,i;if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof Buffer,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{o=new ArrayBuffer(0);try{r.blob=0===new Blob([o],{type:"application/zip"}).size}catch(e){try{i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder),i.append(o),r.blob=0===i.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){"use strict";for(var o=e("./utils"),i=e("./support"),n=e("./nodejsUtils"),a=e("./stream/GenericWorker"),l=Array(256),s=0;s<256;s++)l[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;l[254]=l[254]=1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function d(){a.call(this,"utf-8 encode")}r.utf8encode=function(e){return i.nodebuffer?n.newBufferFrom(e,"utf-8"):function(e){var t,r,o,n,a,l=e.length,s=0;for(n=0;n<l;n++)55296==(64512&(r=e.charCodeAt(n)))&&n+1<l&&56320==(64512&(o=e.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(o-56320),n++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(s):Array(s),n=a=0;a<s;n++)55296==(64512&(r=e.charCodeAt(n)))&&n+1<l&&56320==(64512&(o=e.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(o-56320),n++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?o.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,n,a=e.length,s=Array(2*a);for(t=r=0;t<a;)if((i=e[t++])<128)s[r++]=i;else if(4<(n=l[i]))s[r++]=65533,t+=n-1;else{for(i&=2===n?31:3===n?15:7;1<n&&t<a;)i=i<<6|63&e[t++],n--;1<n?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return s.length!==r&&(s.subarray?s=s.subarray(0,r):s.length=r),o.applyFromCharCode(s)}(e=o.transformTo(i.uint8array?"uint8array":"array",e))},o.inherits(c,a),c.prototype.processChunk=function(e){var t,n,a,s=o.transformTo(i.uint8array?"uint8array":"array",e.data);this.leftOver&&this.leftOver.length&&(i.uint8array?(t=s,(s=new Uint8Array(t.length+this.leftOver.length)).set(this.leftOver,0),s.set(t,this.leftOver.length)):s=this.leftOver.concat(s),this.leftOver=null),n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+l[e[r]]>t?r:t}(s),a=s,n!==s.length&&(i.uint8array?(a=s.subarray(0,n),this.leftOver=s.subarray(n,s.length)):(a=s.slice(0,n),this.leftOver=s.slice(n,s.length))),this.push({data:r.utf8decode(a),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=c,o.inherits(d,a),d.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,r,o){"use strict";var i,n,a=e("./support"),l=e("./base64"),s=e("./nodejsUtils"),c=e("./external");function d(e){return e}function u(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),o.newBlob=function(e,t){o.checkSupport("blob");try{return new Blob([e],{type:t})}catch(o){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch(e){throw Error("Bug : can't construct the Blob.")}}},i={stringifyByChunk:function(e,t,r){var o=[],i=0,n=e.length;if(n<=r)return String.fromCharCode.apply(null,e);for(;i<n;)"array"===t||"nodebuffer"===t?o.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,n)))):o.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,n)))),i+=r;return o.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(e){return!1}}()}};function f(e){var t=65536,r=o.getTypeOf(e),n=!0;if("uint8array"===r?n=i.applyCanBeUsed.uint8array:"nodebuffer"===r&&(n=i.applyCanBeUsed.nodebuffer),n)for(;1<t;)try{return i.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return i.stringifyByChar(e)}function b(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}o.applyFromCharCode=f,n={},n.string={string:d,array:function(e){return u(e,Array(e.length))},arraybuffer:function(e){return n.string.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:function(e){return u(e,s.allocBuffer(e.length))}},n.array={string:f,array:d,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(e)}},n.arraybuffer={string:function(e){return f(new Uint8Array(e))},array:function(e){return b(new Uint8Array(e),Array(e.byteLength))},arraybuffer:d,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(new Uint8Array(e))}},n.uint8array={string:f,array:function(e){return b(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:d,nodebuffer:function(e){return s.newBufferFrom(e)}},n.nodebuffer={string:f,array:function(e){return b(e,Array(e.length))},arraybuffer:function(e){return n.nodebuffer.uint8array(e).buffer},uint8array:function(e){return b(e,new Uint8Array(e.length))},nodebuffer:d},o.transformTo=function(e,t){if(t=t||"",!e)return t;o.checkSupport(e);var r=o.getTypeOf(t);return n[r][e](t)},o.resolve=function(e){var t,r,o,i;for(t=e.split("/"),r=[],o=0;o<t.length;o++)i=t[o],"."===i||""===i&&0!==o&&o!==t.length-1||(".."===i?r.pop():r.push(i));return r.join("/")},o.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":a.nodebuffer&&s.isBuffer(e)?"nodebuffer":a.uint8array&&e instanceof Uint8Array?"uint8array":a.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},o.checkSupport=function(e){if(!a[e.toLowerCase()])throw Error(e+" is not supported by this platform")},o.MAX_VALUE_16BITS=65535,o.MAX_VALUE_32BITS=-1,o.pretty=function(e){var t,r,o="";for(r=0;r<(e||"").length;r++)o+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return o},o.delay=function(e,r,o){t(function(){e.apply(o||null,r||[])})},o.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},o.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},o.prepareContent=function(e,t,r,i,n){return c.Promise.resolve(t).then(function(e){return a.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new c.Promise(function(t,r){var o=new FileReader;o.onload=function(e){t(e.target.result)},o.onerror=function(e){r(e.target.error)},o.readAsArrayBuffer(e)}):e}).then(function(t){var s=o.getTypeOf(t);return s?("arraybuffer"===s?t=o.transformTo("uint8array",t):"string"===s&&(n?t=l.decode(t):r&&!0!==i&&(t=function(e){return u(e,a.uint8array?new Uint8Array(e.length):Array(e.length))}(t))),t):c.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){"use strict";var o=e("./reader/readerFor"),i=e("./utils"),n=e("./signature"),a=e("./zipEntry"),l=e("./support");function s(e){this.files=[],this.loadOptions=e}s.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r,o=this.reader.index;return this.reader.setIndex(e),r=this.reader.readString(4)===t,this.reader.setIndex(o),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=l.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,o=this.zip64EndOfCentralSize-44;0<o;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e,t,r,o=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(o<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?Error("Corrupted zip: can't find end of central directory"):Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");if(this.reader.setIndex(o),e=o,this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(o=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(o),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}if(t=this.centralDirOffset+this.centralDirSize,this.zip64&&(t+=20,t+=12+this.zip64EndOfCentralSize),r=e-t,0<r)this.isSignature(e,n.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=o(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){"use strict";var o=e("./reader/readerFor"),i=e("./utils"),n=e("./compressedObject"),a=e("./crc32"),l=e("./utf8"),s=e("./compressions"),c=e("./support");function d(e,t){this.options=e,this.loadOptions=t}d.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in s)if(Object.prototype.hasOwnProperty.call(s,t)&&s[t].magic===e)return s[t];return null}(this.compressionMethod)))throw Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=o(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,o,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),o=e.readData(r),this.extraFields[t]={id:t,length:r,value:o};e.setIndex(i)},handleUTF8:function(){var e,t,r,o,n=c.uint8array?"uint8array":"array";this.useUTF8()?(this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment)):(e=this.findExtraFieldUnicodePath(),null!==e?this.fileNameStr=e:(t=i.transformTo(n,this.fileName),this.fileNameStr=this.loadOptions.decodeFileName(t)),r=this.findExtraFieldUnicodeComment(),null!==r?this.fileCommentStr=r:(o=i.transformTo(n,this.fileComment),this.fileCommentStr=this.loadOptions.decodeFileName(o)))},findExtraFieldUnicodePath:function(){var e,t=this.extraFields[28789];return t?(e=o(t.value),1!==e.readInt(1)?null:a(this.fileName)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))):null},findExtraFieldUnicodeComment:function(){var e,t=this.extraFields[25461];return t?(e=o(t.value),1!==e.readInt(1)?null:a(this.fileComment)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))):null}},t.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){"use strict";var o,i,n,a,l,s,c,d;function u(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this.el=t,this.fl=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}for(o=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),n=e("./utf8"),a=e("./compressedObject"),l=e("./stream/GenericWorker"),u.prototype={internalStream:function(e){var t,r,i=null,a="string";try{if(!e)throw Error("No output type specified.");t="string"===(a=e.toLowerCase())||"text"===a,"binarystring"!==a&&"text"!==a||(a="string"),i=this.gl(),r=!this.fl,r&&!t&&(i=i.pipe(new n.Utf8EncodeWorker)),!r&&t&&(i=i.pipe(new n.Utf8DecodeWorker))}catch(e){(i=new l("error")).error(e)}return new o(i,a,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},Rk:function(e,t){if(this.el instanceof a&&this.el.compression.magic===e.magic)return this.el.getCompressedWorker();var r=this.gl();return this.fl||(r=r.pipe(new n.Utf8EncodeWorker)),a.createWorkerFrom(r,e,t)},gl:function(){return this.el instanceof a?this.el.getContentWorker():this.el instanceof l?this.el:new i(this.el)}},s=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<s.length;d++)u.prototype[s[d]]=c;t.exports=u},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var r,o,i,n,a,l,s,c=e.MutationObserver||e.WebKitMutationObserver;c?(i=0,n=new c(d),a=e.document.createTextNode(""),n.observe(a,{characterData:!0}),r=function(){a.data=i=++i%2}):e.setImmediate||void 0===e.MessageChannel?r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){d(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(d,0)}:(l=new e.MessageChannel,l.port1.onmessage=d,r=function(){l.port2.postMessage(0)}),s=[];function d(){var e,t,r;for(o=!0,r=s.length;r;){for(t=s,s=[],e=-1;++e<r;)t[e]();r=s.length}o=!1}t.exports=function(e){1!==s.push(e)||o||r()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){"use strict";var o,i,n,a,l=e("immediate");function s(){}o={},i=["REJECTED"],n=["FULFILLED"],a=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=a,this.queue=[],this.outcome=void 0,e!==s&&b(this,e)}function d(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function u(e,t,r){l(function(){var i;try{i=t(r)}catch(t){return o.reject(e,t)}i===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,i)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function b(e,t){var r,i=!1;function n(t){i||(i=!0,o.reject(e,t))}function a(t){i||(i=!0,o.resolve(e,t))}r=h(function(){t(a,n)}),"error"===r.status&&n(r.value)}function h(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===n||"function"!=typeof t&&this.state===i)return this;var r=new this.constructor(s);return this.state!==a?u(r,this.state===n?e:t,this.outcome):this.queue.push(new d(r,e,t)),r},d.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},d.prototype.otherCallFulfilled=function(e){u(this.promise,this.onFulfilled,e)},d.prototype.callRejected=function(e){o.reject(this.promise,e)},d.prototype.otherCallRejected=function(e){u(this.promise,this.onRejected,e)},o.resolve=function(e,t){var r,i,a,l=h(f,t);if("error"===l.status)return o.reject(e,l.value);if(r=l.value)b(e,r);else for(e.state=n,e.outcome=t,i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t);return e},o.reject=function(e,t){e.state=i,e.outcome=t;for(var r=-1,o=e.queue.length;++r<o;)e.queue[r].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(s),e)},c.reject=function(e){var t=new this(s);return o.reject(t,e)},c.all=function(e){var t,r,i,n,a,l,c=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));if(t=e.length,r=!1,!t)return this.resolve([]);for(i=Array(t),n=0,a=-1,l=new this(s);++a<t;)d(e[a],a);return l;function d(e,a){c.resolve(e).then(function(e){i[a]=e,++n!==t||r||(r=!0,o.resolve(l,i))},function(e){r||(r=!0,o.reject(l,e))})}},c.race=function(e){var t,r,i,n,a,l=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));if(t=e.length,r=!1,!t)return this.resolve([]);for(i=-1,n=new this(s);++i<t;)a=e[i],l.resolve(a).then(function(e){r||(r=!0,o.resolve(n,e))},function(e){r||(r=!0,o.reject(n,e))});return n}},{immediate:36}],38:[function(e,t,r){"use strict";var o={};(0,e("./lib/utils/common").assign)(o,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){"use strict";var o=e("./zlib/deflate"),i=e("./utils/common"),n=e("./utils/strings"),a=e("./zlib/messages"),l=e("./zlib/zstream"),s=Object.prototype.toString,c=0,d=-1,u=0,f=8;function b(e){var t,r,h;if(!(this instanceof b))return new b(e);if(this.options=i.assign({level:d,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:u,to:""},e||{}),t=this.options,t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0,r=o.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy),r!==c)throw Error(a[r]);if(t.header&&o.deflateSetHeader(this.strm,t.header),t.dictionary){if(h="string"==typeof t.dictionary?n.string2buf(t.dictionary):"[object ArrayBuffer]"===s.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=o.deflateSetDictionary(this.strm,h))!==c)throw Error(a[r]);this.il=!0}}function h(e,t){var r=new b(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}b.prototype.push=function(e,t){var r,a,l=this.strm,d=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?l.input=n.string2buf(e):"[object ArrayBuffer]"===s.call(e)?l.input=new Uint8Array(e):l.input=e,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=new i.Buf8(d),l.next_out=0,l.avail_out=d),1!==(r=o.deflate(l,a))&&r!==c)return this.onEnd(r),!(this.ended=!0);0!==l.avail_out&&(0!==l.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(n.buf2binstring(i.shrinkBuf(l.output,l.next_out))):this.onData(i.shrinkBuf(l.output,l.next_out)))}while((0<l.avail_in||0===l.avail_out)&&1!==r);return 4===a?(r=o.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==a||(this.onEnd(c),!(l.avail_out=0))},b.prototype.onData=function(e){this.chunks.push(e)},b.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=b,r.deflate=h,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,h(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){"use strict";var o=e("./zlib/inflate"),i=e("./utils/common"),n=e("./utils/strings"),a=e("./zlib/constants"),l=e("./zlib/messages"),s=e("./zlib/zstream"),c=e("./zlib/gzheader"),d=Object.prototype.toString;function u(e){var t,r;if(!(this instanceof u))return new u(e);if(this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{}),t=this.options,t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0,r=o.inflateInit2(this.strm,t.windowBits),r!==a.Z_OK)throw Error(l[r]);this.header=new c,o.inflateGetHeader(this.strm,this.header)}function f(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||l[r.err];return r.result}u.prototype.push=function(e,t){var r,l,s,c,u,f,b=this.strm,h=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;l=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?b.input=n.binstring2buf(e):"[object ArrayBuffer]"===d.call(e)?b.input=new Uint8Array(e):b.input=e,b.next_in=0,b.avail_in=b.input.length;do{if(0===b.avail_out&&(b.output=new i.Buf8(h),b.next_out=0,b.avail_out=h),(r=o.inflate(b,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(f="string"==typeof p?n.string2buf(p):"[object ArrayBuffer]"===d.call(p)?new Uint8Array(p):p,r=o.inflateSetDictionary(this.strm,f)),r===a.Z_BUF_ERROR&&!0===m&&(r=a.Z_OK,m=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),!(this.ended=!0);b.next_out&&(0!==b.avail_out&&r!==a.Z_STREAM_END&&(0!==b.avail_in||l!==a.Z_FINISH&&l!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(s=n.utf8border(b.output,b.next_out),c=b.next_out-s,u=n.buf2string(b.output,s),b.next_out=c,b.avail_out=h-c,c&&i.arraySet(b.output,b.output,s,c,0),this.onData(u)):this.onData(i.shrinkBuf(b.output,b.next_out)))),0===b.avail_in&&0===b.avail_out&&(m=!0)}while((0<b.avail_in||0===b.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(l=a.Z_FINISH),l===a.Z_FINISH?(r=o.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):l!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(b.avail_out=0))},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=u,r.inflate=f,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},r.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){"use strict";var o,i,n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){var t,r,o;for(t=Array.prototype.slice.call(arguments,1);t.length;)if(r=t.shift()){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(o in r)r.hasOwnProperty(o)&&(e[o]=r[o]);
33
- }return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)},o={arraySet:function(e,t,r,o,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+o),i);else for(var n=0;n<o;n++)e[i+n]=t[r+n]},flattenChunks:function(e){var t,r,o,i,n,a;for(t=o=0,r=e.length;t<r;t++)o+=e[t].length;for(a=new Uint8Array(o),t=i=0,r=e.length;t<r;t++)n=e[t],a.set(n,i),i+=n.length;return a}},i={arraySet:function(e,t,r,o,i){for(var n=0;n<o;n++)e[i+n]=t[r+n]},flattenChunks:function(e){return[].concat.apply([],e)}},r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,o)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,i))},r.setTyped(n)},{}],42:[function(e,t,r){"use strict";var o,i,n=e("./common"),a=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){l=!1}for(o=new n.Buf8(256),i=0;i<256;i++)o[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;function s(e,t){if(t<65537&&(e.subarray&&l||!e.subarray&&a))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,r.string2buf=function(e){var t,r,o,i,a,l=e.length,s=0;for(i=0;i<l;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<l&&56320==(64512&(o=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(o-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(s),i=a=0;a<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<l&&56320==(64512&(o=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(o-56320),i++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t},r.buf2binstring=function(e){return s(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,o=t.length;r<o;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,i,n,a,l=t||e.length,c=Array(2*l);for(r=i=0;r<l;)if((n=e[r++])<128)c[i++]=n;else if(4<(a=o[n]))c[i++]=65533,r+=a-1;else{for(n&=2===a?31:3===a?15:7;1<a&&r<l;)n=n<<6|63&e[r++],a--;1<a?c[i++]=65533:n<65536?c[i++]=n:(n-=65536,c[i++]=55296|n>>10&1023,c[i++]=56320|1023&n)}return s(c,i)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+o[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,o){for(var i=65535&e|0,n=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3<r?2e3:r;n=n+(i=i+t[o++]|0)|0,--a;);i%=65521,n%=65521}return i|n<<16|0}},{}],44:[function(e,t,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){"use strict";var o=function(){var e,t,r,o;for(t=[],r=0;r<256;r++){for(e=r,o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var n,a=o,l=i+r;for(e^=-1,n=i;n<l;n++)e=e>>>8^a[255&(e^t[n])];return-1^e}},{}],46:[function(e,t,r){"use strict";var o,i=e("../utils/common"),n=e("./trees"),a=e("./adler32"),l=e("./crc32"),s=e("./messages"),c=0,d=4,u=0,f=-2,b=-1,h=4,p=2,m=8,g=9,y=286,S=30,C=19,w=2*y+1,x=15,A=3,T=258,v=T+A+1,k=42,F=113,R=1,E=2,I=3,L=4;function D(e,t){return e.msg=s[t],t}function B(e){return(e<<1)-(4<e?9:0)}function P(e){for(var t=e.length;0<=--t;)e[t]=0}function W(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function _(e,t){n.jl(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,W(e.strm)}function N(e,t){e.pending_buf[e.pending++]=t}function M(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function O(e,t){var r,o,i=e.max_chain_length,n=e.strstart,a=e.prev_length,l=e.nice_match,s=e.strstart>e.w_size-v?e.strstart-(e.w_size-v):0,c=e.window,d=e.w_mask,u=e.prev,f=e.strstart+T,b=c[n+a-1],h=c[n+a];e.prev_length>=e.good_match&&(i>>=2),l>e.lookahead&&(l=e.lookahead);do if(c[(r=t)+a]===h&&c[r+a-1]===b&&c[r]===c[n]&&c[++r]===c[n+1]){n+=2,r++;do;while(c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&n<f);if(o=T-(f-n),n=f-T,a<o){if(e.match_start=t,l<=(a=o))break;b=c[n+a-1],h=c[n+a]}}while((t=u[t&d])>s&&0!=--i);return a<=e.lookahead?a:e.lookahead}function H(e){var t,r,o,n,s,c,d,u,f,b,h=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-v)){for(i.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=r=e.hash_size;o=e.head[--t],e.head[t]=h<=o?o-h:0,--r;);for(t=r=h;o=e.prev[--t],e.prev[t]=h<=o?o-h:0,--r;);n+=h}if(0===e.strm.avail_in)break;if(c=e.strm,d=e.window,u=e.strstart+e.lookahead,f=n,b=void 0,b=c.avail_in,f<b&&(b=f),r=0===b?0:(c.avail_in-=b,i.arraySet(d,c.input,c.next_in,b,u),1===c.state.wrap?c.adler=a(c.adler,d,b,u):2===c.state.wrap&&(c.adler=l(c.adler,d,b,u)),c.next_in+=b,c.total_in+=b,b),e.lookahead+=r,e.lookahead+e.insert>=A)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+A-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<A)););}while(e.lookahead<v&&0!==e.strm.avail_in)}function G(e,t){for(var r,o;;){if(e.lookahead<v){if(H(e),e.lookahead<v&&t===c)return R;if(0===e.lookahead)break}if(r=0,e.lookahead>=A&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-v&&(e.match_length=O(e,r)),e.match_length>=A)if(o=n.kl(e,e.strstart-e.match_start,e.match_length-A),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=A){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else o=n.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(o&&(_(e,!1),0===e.strm.avail_out))return R}return e.insert=e.strstart<A-1?e.strstart:A-1,t===d?(_(e,!0),0===e.strm.avail_out?I:L):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?R:E}function U(e,t){for(var r,o,i;;){if(e.lookahead<v){if(H(e),e.lookahead<v&&t===c)return R;if(0===e.lookahead)break}if(r=0,e.lookahead>=A&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=A-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-v&&(e.match_length=O(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===A&&4096<e.strstart-e.match_start)&&(e.match_length=A-1)),e.prev_length>=A&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-A,o=n.kl(e,e.strstart-1-e.prev_match,e.prev_length-A),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=A-1,e.strstart++,o&&(_(e,!1),0===e.strm.avail_out))return R}else if(e.match_available){if((o=n.kl(e,0,e.window[e.strstart-1]))&&_(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return R}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(o=n.kl(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<A-1?e.strstart:A-1,t===d?(_(e,!0),0===e.strm.avail_out?I:L):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?R:E}function J(e,t,r,o,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=o,this.func=i}function z(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=m,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*w),this.dyn_dtree=new i.Buf16(2*(2*S+1)),this.bl_tree=new i.Buf16(2*(2*C+1)),P(this.dyn_ltree),P(this.dyn_dtree),P(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(x+1),this.heap=new i.Buf16(2*y+1),P(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*y+1),P(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function V(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=p,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?k:F,e.adler=2===t.wrap?0:1,t.last_flush=c,n.ll(t),u):D(e,f)}function j(e){var t=V(e);return t===u&&function(e){e.window_size=2*e.w_size,P(e.head),e.max_lazy_match=o[e.level].max_lazy,e.good_match=o[e.level].good_length,e.nice_match=o[e.level].nice_length,e.max_chain_length=o[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=A-1,e.match_available=0,e.ins_h=0}(e.state),t}function X(e,t,r,o,n,a){var l,s;return e?(l=1,t===b&&(t=6),o<0?(l=0,o=-o):15<o&&(l=2,o-=16),n<1||g<n||r!==m||o<8||15<o||t<0||9<t||a<0||h<a?D(e,f):(8===o&&(o=9),s=new z,(e.state=s).strm=e,s.wrap=l,s.gzhead=null,s.w_bits=o,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=n+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+A-1)/A),s.window=new i.Buf8(2*s.w_size),s.head=new i.Buf16(s.hash_size),s.prev=new i.Buf16(s.w_size),s.lit_bufsize=1<<n+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new i.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,j(e))):f}o=[new J(0,0,0,0,function(e,t){var r,o=65535;for(o>e.pending_buf_size-5&&(o=e.pending_buf_size-5);;){if(e.lookahead<=1){if(H(e),0===e.lookahead&&t===c)return R;if(0===e.lookahead)break}if(e.strstart+=e.lookahead,e.lookahead=0,r=e.block_start+o,(0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,_(e,!1),0===e.strm.avail_out))return R;if(e.strstart-e.block_start>=e.w_size-v&&(_(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===d?(_(e,!0),0===e.strm.avail_out?I:L):(e.strstart>e.block_start&&(_(e,!1),e.strm.avail_out),R)}),new J(4,4,8,4,G),new J(4,5,16,8,G),new J(4,6,32,32,G),new J(4,4,16,16,U),new J(8,16,32,32,U),new J(8,16,128,128,U),new J(8,32,128,256,U),new J(32,128,258,1024,U),new J(32,258,258,4096,U)],r.deflateInit=function(e,t){return X(e,t,m,15,8,0)},r.deflateInit2=X,r.deflateReset=j,r.deflateResetKeep=V,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?f:(e.state.gzhead=t,u):f},r.deflate=function(e,t){var r,i,a,s,b,h;if(!e||!e.state||5<t||t<0)return e?D(e,f):f;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==d)return D(e,0===e.avail_out?-5:f);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===k&&(2===i.wrap?(e.adler=0,N(i,31),N(i,139),N(i,8),i.gzhead?(N(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),N(i,255&i.gzhead.time),N(i,i.gzhead.time>>8&255),N(i,i.gzhead.time>>16&255),N(i,i.gzhead.time>>24&255),N(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),N(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(N(i,255&i.gzhead.extra.length),N(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=l(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(N(i,0),N(i,0),N(i,0),N(i,0),N(i,0),N(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),N(i,3),i.status=F)):(b=m+(i.w_bits-8<<4)<<8,b|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(b|=32),b+=31-b%31,i.status=F,M(i,b),0!==i.strstart&&(M(i,e.adler>>>16),M(i,65535&e.adler)),e.adler=1)),69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),W(e),a=i.pending,i.pending!==i.pending_buf_size));)N(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),W(e),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,N(i,s)}while(0!==s);i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),0===s&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),W(e),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,N(i,s)}while(0!==s);i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),0===s&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&W(e),i.pending+2<=i.pending_buf_size&&(N(i,255&e.adler),N(i,e.adler>>8&255),e.adler=0,i.status=F)):i.status=F),0!==i.pending){if(W(e),0===e.avail_out)return i.last_flush=-1,u}else if(0===e.avail_in&&B(t)<=B(r)&&t!==d)return D(e,-5);if(666===i.status&&0!==e.avail_in)return D(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==c&&666!==i.status){if(h=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(H(e),0===e.lookahead)){if(t===c)return R;break}if(e.match_length=0,r=n.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(_(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===d?(_(e,!0),0===e.strm.avail_out?I:L):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?R:E}(i,t):3===i.strategy?function(e,t){for(var r,o,i,a,l=e.window;;){if(e.lookahead<=T){if(H(e),e.lookahead<=T&&t===c)return R;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=A&&0<e.strstart&&(o=l[i=e.strstart-1])===l[++i]&&o===l[++i]&&o===l[++i]){a=e.strstart+T;do;while(o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&i<a);e.match_length=T-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=A?(r=n.kl(e,1,e.match_length-A),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=n.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(_(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===d?(_(e,!0),0===e.strm.avail_out?I:L):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?R:E}(i,t):o[i.level].func(i,t),h!==I&&h!==L||(i.status=666),h===R||h===I)return 0===e.avail_out&&(i.last_flush=-1),u;if(h===E&&(1===t?n.ml(i):5!==t&&(n.nl(i,0,0,!1),3===t&&(P(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),W(e),0===e.avail_out))return i.last_flush=-1,u}return t!==d?u:i.wrap<=0?1:(2===i.wrap?(N(i,255&e.adler),N(i,e.adler>>8&255),N(i,e.adler>>16&255),N(i,e.adler>>24&255),N(i,255&e.total_in),N(i,e.total_in>>8&255),N(i,e.total_in>>16&255),N(i,e.total_in>>24&255)):(M(i,e.adler>>>16),M(i,65535&e.adler)),W(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?u:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==k&&69!==t&&73!==t&&91!==t&&103!==t&&t!==F&&666!==t?D(e,f):(e.state=null,t===F?D(e,-3):u):f},r.deflateSetDictionary=function(e,t){var r,o,n,l,s,c,d,b,h=t.length;if(!e||!e.state)return f;if(2===(l=(r=e.state).wrap)||1===l&&r.status!==k||r.lookahead)return f;for(1===l&&(e.adler=a(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===l&&(P(r.head),r.strstart=0,r.block_start=0,r.insert=0),b=new i.Buf8(r.w_size),i.arraySet(b,t,h-r.w_size,r.w_size,0),t=b,h=r.w_size),s=e.avail_in,c=e.next_in,d=e.input,e.avail_in=h,e.next_in=0,e.input=t,H(r);r.lookahead>=A;){for(o=r.strstart,n=r.lookahead-(A-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[o+A-1])&r.hash_mask,r.prev[o&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=o,o++,--n;);r.strstart=o,r.lookahead=A-1,H(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=A-1,r.match_available=0,e.next_in=c,e.input=d,e.avail_in=s,r.wrap=l,u},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){"use strict";t.exports=function(e,t){var r,o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k;r=e.state,o=e.next_in,v=e.input,i=o+(e.avail_in-5),n=e.next_out,k=e.output,a=n-(t-e.avail_out),l=n+(e.avail_out-257),s=r.dmax,c=r.wsize,d=r.whave,u=r.wnext,f=r.window,b=r.hold,h=r.bits,p=r.lencode,m=r.distcode,g=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{h<15&&(b+=v[o++]<<h,h+=8,b+=v[o++]<<h,h+=8),S=p[b&g];t:for(;;){if(b>>>=C=S>>>24,h-=C,0===(C=S>>>16&255))k[n++]=65535&S;else{if(!(16&C)){if(0==(64&C)){S=p[(65535&S)+(b&(1<<C)-1)];continue t}if(32&C){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&S,(C&=15)&&(h<C&&(b+=v[o++]<<h,h+=8),w+=b&(1<<C)-1,b>>>=C,h-=C),h<15&&(b+=v[o++]<<h,h+=8,b+=v[o++]<<h,h+=8),S=m[b&y];r:for(;;){if(b>>>=C=S>>>24,h-=C,!(16&(C=S>>>16&255))){if(0==(64&C)){S=m[(65535&S)+(b&(1<<C)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&S,h<(C&=15)&&(b+=v[o++]<<h,(h+=8)<C&&(b+=v[o++]<<h,h+=8)),s<(x+=b&(1<<C)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(b>>>=C,h-=C,(C=n-a)<x){if(d<(C=x-C)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(T=f,(A=0)===u){if(A+=c-C,C<w){for(w-=C;k[n++]=f[A++],--C;);A=n-x,T=k}}else if(u<C){if(A+=c+u-C,(C-=u)<w){for(w-=C;k[n++]=f[A++],--C;);if(A=0,u<w){for(w-=C=u;k[n++]=f[A++],--C;);A=n-x,T=k}}}else if(A+=u-C,C<w){for(w-=C;k[n++]=f[A++],--C;);A=n-x,T=k}for(;2<w;)k[n++]=T[A++],k[n++]=T[A++],k[n++]=T[A++],w-=3;w&&(k[n++]=T[A++],1<w&&(k[n++]=T[A++]))}else{for(A=n-x;k[n++]=k[A++],k[n++]=k[A++],k[n++]=k[A++],2<(w-=3););w&&(k[n++]=k[A++],1<w&&(k[n++]=k[A++]))}break}}break}}while(o<i&&n<l);o-=w=h>>3,b&=(1<<(h-=w<<3))-1,e.next_in=o,e.next_out=n,e.avail_in=o<i?i-o+5:5-(o-i),e.avail_out=n<l?l-n+257:257-(n-l),r.hold=b,r.bits=h}},{}],49:[function(e,t,r){"use strict";var o,i,n,a=e("../utils/common"),l=e("./adler32"),s=e("./crc32"),c=e("./inffast"),d=e("./inftrees"),u=1,f=2,b=0,h=-2,p=1,m=852,g=592;function y(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function S(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function C(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=p,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new a.Buf32(m),t.distcode=t.distdyn=new a.Buf32(g),t.sane=1,t.back=-1,b):h}function w(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,C(e)):h}function x(e,t){var r,o;return e&&e.state?(o=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?h:(null!==o.window&&o.wbits!==t&&(o.window=null),o.wrap=r,o.wbits=t,w(e))):h}function A(e,t){var r,o;return e?(o=new S,(e.state=o).window=null,(r=x(e,t))!==b&&(e.state=null),r):h}n=!0;function T(e){if(n){var t;for(o=new a.Buf32(512),i=new a.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(d(u,e.lens,0,288,o,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;d(f,e.lens,0,32,i,0,e.work,{bits:5}),n=!1}e.lencode=o,e.lenbits=9,e.distcode=i,e.distbits=5}function v(e,t,r,o){var i,n=e.state;return null===n.window&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new a.Buf8(n.wsize)),o>=n.wsize?(a.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(o<(i=n.wsize-n.wnext)&&(i=o),a.arraySet(n.window,t,r-o,i,n.wnext),(o-=i)?(a.arraySet(n.window,t,r-o,o,0),n.wnext=o,n.whave=n.wsize):(n.wnext+=i,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=i))),0}r.inflateReset=w,r.inflateReset2=x,r.inflateResetKeep=C,r.inflateInit=function(e){return A(e,15)},r.inflateInit2=A,r.inflate=function(e,t){var r,o,i,n,m,g,S,C,w,x,A,k,F,R,E,I,L,D,B,P,W,_,N,M,O=0,H=new a.Buf8(4),G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return h;12===(r=e.state).mode&&(r.mode=13),m=e.next_out,i=e.output,S=e.avail_out,n=e.next_in,o=e.input,g=e.avail_in,C=r.hold,w=r.bits,x=g,A=S,_=b;e:for(;;)switch(r.mode){case p:if(0===r.wrap){r.mode=13;break}for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(2&r.wrap&&35615===C){H[r.check=0]=255&C,H[1]=C>>>8&255,r.check=s(r.check,H,2,0),w=C=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&C)<<8)+(C>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&C)){e.msg="unknown compression method",r.mode=30;break}if(w-=4,W=8+(15&(C>>>=4)),0===r.wbits)r.wbits=W;else if(W>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<W,e.adler=r.check=1,r.mode=512&C?10:12,w=C=0;break;case 2:for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(r.flags=C,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=C>>8&1),512&r.flags&&(H[0]=255&C,H[1]=C>>>8&255,r.check=s(r.check,H,2,0)),w=C=0,r.mode=3;case 3:for(;w<32;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.head&&(r.head.time=C),512&r.flags&&(H[0]=255&C,H[1]=C>>>8&255,H[2]=C>>>16&255,H[3]=C>>>24&255,r.check=s(r.check,H,4,0)),w=C=0,r.mode=4;case 4:for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.head&&(r.head.xflags=255&C,r.head.os=C>>8),512&r.flags&&(H[0]=255&C,H[1]=C>>>8&255,r.check=s(r.check,H,2,0)),w=C=0,r.mode=5;case 5:if(1024&r.flags){for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.length=C,r.head&&(r.head.extra_len=C),512&r.flags&&(H[0]=255&C,H[1]=C>>>8&255,r.check=s(r.check,H,2,0)),w=C=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(g<(k=r.length)&&(k=g),k&&(r.head&&(W=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),a.arraySet(r.head.extra,o,n,k,W)),512&r.flags&&(r.check=s(r.check,o,k,n)),g-=k,n+=k,r.length-=k),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===g)break e;for(k=0;W=o[n+k++],r.head&&W&&r.length<65536&&(r.head.name+=String.fromCharCode(W)),W&&k<g;);if(512&r.flags&&(r.check=s(r.check,o,k,n)),g-=k,n+=k,W)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===g)break e;for(k=0;W=o[n+k++],r.head&&W&&r.length<65536&&(r.head.comment+=String.fromCharCode(W)),W&&k<g;);if(512&r.flags&&(r.check=s(r.check,o,k,n)),g-=k,n+=k,W)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(C!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}w=C=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;w<32;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}e.adler=r.check=y(C),w=C=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=m,e.avail_out=S,e.next_in=n,e.avail_in=g,r.hold=C,r.bits=w,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){C>>>=7&w,w-=7&w,r.mode=27;break}for(;w<3;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}switch(r.last=1&C,w-=1,3&(C>>>=1)){case 0:r.mode=14;break;case 1:if(T(r),r.mode=20,6!==t)break;C>>>=2,w-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}C>>>=2,w-=2;break;case 14:for(C>>>=7&w,w-=7&w;w<32;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if((65535&C)!=(C>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&C,w=C=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(k=r.length){if(g<k&&(k=g),S<k&&(k=S),0===k)break e;a.arraySet(i,o,n,k,m),g-=k,n+=k,S-=k,m+=k,r.length-=k;break}r.mode=12;break;case 17:for(;w<14;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(r.nlen=257+(31&C),C>>>=5,w-=5,r.ndist=1+(31&C),C>>>=5,w-=5,r.ncode=4+(15&C),C>>>=4,w-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;w<3;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.lens[G[r.have++]]=7&C,C>>>=3,w-=3}for(;r.have<19;)r.lens[G[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,N={bits:r.lenbits},_=d(0,r.lens,0,19,r.lencode,0,r.work,N),r.lenbits=N.bits,_){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;I=(O=r.lencode[C&(1<<r.lenbits)-1])>>>16&255,L=65535&O,!((E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(L<16)C>>>=E,w-=E,r.lens[r.have++]=L;else{if(16===L){for(M=E+2;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(C>>>=E,w-=E,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}W=r.lens[r.have-1],k=3+(3&C),C>>>=2,w-=2}else if(17===L){for(M=E+3;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}w-=E,W=0,k=3+(7&(C>>>=E)),C>>>=3,w-=3}else{for(M=E+7;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}w-=E,W=0,k=11+(127&(C>>>=E)),C>>>=7,w-=7}if(r.have+k>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;k--;)r.lens[r.have++]=W}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,N={bits:r.lenbits},_=d(u,r.lens,0,r.nlen,r.lencode,0,r.work,N),r.lenbits=N.bits,_){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,N={bits:r.distbits},_=d(f,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,N),r.distbits=N.bits,_){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=g&&258<=S){e.next_out=m,e.avail_out=S,e.next_in=n,e.avail_in=g,r.hold=C,r.bits=w,c(e,A),m=e.next_out,i=e.output,S=e.avail_out,n=e.next_in,o=e.input,g=e.avail_in,C=r.hold,w=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;I=(O=r.lencode[C&(1<<r.lenbits)-1])>>>16&255,L=65535&O,!((E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(I&&0==(240&I)){for(D=E,B=I,P=L;I=(O=r.lencode[P+((C&(1<<D+B)-1)>>D)])>>>16&255,L=65535&O,!(D+(E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}C>>>=D,w-=D,r.back+=D}if(C>>>=E,w-=E,r.back+=E,r.length=L,0===I){r.mode=26;break}if(32&I){r.back=-1,r.mode=12;break}if(64&I){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&I,r.mode=22;case 22:if(r.extra){for(M=r.extra;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.length+=C&(1<<r.extra)-1,C>>>=r.extra,w-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;I=(O=r.distcode[C&(1<<r.distbits)-1])>>>16&255,L=65535&O,!((E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(0==(240&I)){for(D=E,B=I,P=L;I=(O=r.distcode[P+((C&(1<<D+B)-1)>>D)])>>>16&255,L=65535&O,!(D+(E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}C>>>=D,w-=D,r.back+=D}if(C>>>=E,w-=E,r.back+=E,64&I){e.msg="invalid distance code",r.mode=30;break}r.offset=L,r.extra=15&I,r.mode=24;case 24:if(r.extra){for(M=r.extra;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.offset+=C&(1<<r.extra)-1,C>>>=r.extra,w-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===S)break e;if(k=A-S,r.offset>k){if((k=r.offset-k)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}F=k>r.wnext?(k-=r.wnext,r.wsize-k):r.wnext-k,k>r.length&&(k=r.length),R=r.window}else R=i,F=m-r.offset,k=r.length;for(S<k&&(k=S),S-=k,r.length-=k;i[m++]=R[F++],--k;);0===r.length&&(r.mode=21);break;case 26:if(0===S)break e;i[m++]=r.length,S--,r.mode=21;break;case 27:if(r.wrap){for(;w<32;){if(0===g)break e;g--,C|=o[n++]<<w,w+=8}if(A-=S,e.total_out+=A,r.total+=A,A&&(e.adler=r.check=r.flags?s(r.check,i,A,m-A):l(r.check,i,A,m-A)),A=S,(r.flags?C:y(C))!==r.check){e.msg="incorrect data check",r.mode=30;break}w=C=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;w<32;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(C!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}w=C=0}r.mode=29;case 29:_=1;break e;case 30:_=-3;break e;case 31:return-4;case 32:default:return h}return e.next_out=m,e.avail_out=S,e.next_in=n,e.avail_in=g,r.hold=C,r.bits=w,(r.wsize||A!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&v(e,e.output,e.next_out,A-e.avail_out)?(r.mode=31,-4):(x-=e.avail_in,A-=e.avail_out,e.total_in+=x,e.total_out+=A,r.total+=A,r.wrap&&A&&(e.adler=r.check=r.flags?s(r.check,i,A,e.next_out-A):l(r.check,i,A,e.next_out-A)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==x&&0===A||4===t)&&_===b&&(_=-5),_)},r.inflateEnd=function(e){if(!e||!e.state)return h;var t=e.state;return t.window&&(t.window=null),e.state=null,b},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?h:((r.head=t).done=!1,b):h},r.inflateSetDictionary=function(e,t){var r,o=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?h:11===r.mode&&l(1,t,o,0)!==r.check?-3:v(e,t,o,o)?(r.mode=31,-4):(r.havedict=1,b):h},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){"use strict";var o=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[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],a=[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],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,s,c,d,u,f){var b,h,p,m,g,y,S,C,w,x=f.bits,A=0,T=0,v=0,k=0,F=0,R=0,E=0,I=0,L=0,D=0,B=null,P=0,W=new o.Buf16(16),_=new o.Buf16(16),N=null,M=0;for(A=0;A<=15;A++)W[A]=0;for(T=0;T<s;T++)W[t[r+T]]++;for(F=x,k=15;1<=k&&0===W[k];k--);if(k<F&&(F=k),0===k)return c[d++]=20971520,c[d++]=20971520,f.bits=1,0;for(v=1;v<k&&0===W[v];v++);for(F<v&&(F=v),A=I=1;A<=15;A++)if(I<<=1,(I-=W[A])<0)return-1;if(0<I&&(0===e||1!==k))return-1;for(_[1]=0,A=1;A<15;A++)_[A+1]=_[A]+W[A];for(T=0;T<s;T++)0!==t[r+T]&&(u[_[t[r+T]]++]=T);if(y=0===e?(B=N=u,19):1===e?(B=i,P-=257,N=n,M-=257,256):(B=a,N=l,-1),A=v,g=d,E=T=D=0,p=-1,m=(L=1<<(R=F))-1,1===e&&852<L||2===e&&592<L)return 1;for(;;){for(S=A-E,w=u[T]<y?(C=0,u[T]):u[T]>y?(C=N[M+u[T]],B[P+u[T]]):(C=96,0),b=1<<A-E,v=h=1<<R;c[g+(D>>E)+(h-=b)]=S<<24|C<<16|w|0,0!==h;);for(b=1<<A-1;D&b;)b>>=1;if(0!==b?(D&=b-1,D+=b):D=0,T++,0==--W[A]){if(A===k)break;A=t[r+u[T]]}if(F<A&&(D&m)!==p){
34
- for(0===E&&(E=F),g+=v,I=1<<(R=A-E);R+E<k&&!((I-=W[R+E])<=0);)R++,I<<=1;if(L+=1<<R,1===e&&852<L||2===e&&592<L)return 1;c[p=D&m]=F<<24|R<<16|g-d|0}}return 0!==D&&(c[g+D]=A-E<<24|64<<16|0),f.bits=F,0}},{"../utils/common":41}],51:[function(e,t,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L=e("../utils/common"),D=0,B=1;function P(e){for(var t=e.length;0<=--t;)e[t]=0}o=0,i=29,n=256,a=n+1+i,l=30,s=19,c=2*a+1,d=15,u=16,f=7,b=256,h=16,p=17,m=18,g=[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],y=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],w=Array(2*(a+2)),P(w),x=Array(2*l),P(x),A=Array(512),P(A),T=Array(256),P(T),v=Array(i),P(v),E=Array(l);function W(e,t,r,o,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=o,this.max_length=i,this.has_stree=e&&e.length}function _(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function N(e){return e<256?A[e]:A[256+(e>>>7)]}function M(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function O(e,t,r){e.bi_valid>u-r?(e.bi_buf|=t<<e.bi_valid&65535,M(e,e.bi_buf),e.bi_buf=t>>u-e.bi_valid,e.bi_valid+=r-u):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function H(e,t,r){O(e,r[2*t],r[2*t+1])}function G(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function U(e,t,r){var o,i,n,a=Array(d+1),l=0;for(o=1;o<=d;o++)a[o]=l=l+r[o-1]<<1;for(i=0;i<=t;i++)n=e[2*i+1],0!==n&&(e[2*i]=G(a[n]++,n))}function J(e){var t;for(t=0;t<a;t++)e.dyn_ltree[2*t]=0;for(t=0;t<l;t++)e.dyn_dtree[2*t]=0;for(t=0;t<s;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function z(e){8<e.bi_valid?M(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function V(e,t,r,o){var i=2*t,n=2*r;return e[i]<e[n]||e[i]===e[n]&&o[t]<=o[r]}function j(e,t,r){for(var o=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&V(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!V(t,o,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=o}function X(e,t,r){var o,i,a,l,s=0;if(0!==e.last_lit)for(;o=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===o?H(e,i,t):(H(e,(a=T[i])+n+1,t),0!==(l=g[a])&&O(e,i-=v[a],l),H(e,a=N(--o),r),0!==(l=y[a])&&O(e,o-=E[a],l)),s<e.last_lit;);H(e,b,t)}function K(e,t){var r,o,i,n=t.dyn_tree,a=t.stat_desc.static_tree,l=t.stat_desc.has_stree,s=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=c,r=0;r<s;r++)0!==n[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):n[2*r+1]=0;for(;e.heap_len<2;)n[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,l&&(e.static_len-=a[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;1<=r;r--)j(e,n,r);for(i=s;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],j(e,n,1),o=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=o,n[2*i]=n[2*r]+n[2*o],e.depth[i]=(e.depth[r]>=e.depth[o]?e.depth[r]:e.depth[o])+1,n[2*r+1]=n[2*o+1]=i,e.heap[1]=i++,j(e,n,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,o,i,n,a,l,s=t.dyn_tree,u=t.max_code,f=t.stat_desc.static_tree,b=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(n=0;n<=d;n++)e.bl_count[n]=0;for(s[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<c;r++)m<(n=s[2*s[2*(o=e.heap[r])+1]+1]+1)&&(n=m,g++),s[2*o+1]=n,u<o||(e.bl_count[n]++,a=0,p<=o&&(a=h[o-p]),l=s[2*o],e.opt_len+=l*(n+a),b&&(e.static_len+=l*(f[2*o+1]+a)));if(0!==g){do{for(n=m-1;0===e.bl_count[n];)n--;e.bl_count[n]--,e.bl_count[n+1]+=2,e.bl_count[m]--,g-=2}while(0<g);for(n=m;0!==n;n--)for(o=e.bl_count[n];0!==o;)u<(i=e.heap[--r])||(s[2*i+1]!==n&&(e.opt_len+=(n-s[2*i+1])*s[2*i],s[2*i+1]=n),o--)}}(e,t),U(n,u,e.bl_count)}function q(e,t,r){var o,i,n=-1,a=t[1],l=0,s=7,c=4;for(0===a&&(s=138,c=3),t[2*(r+1)+1]=65535,o=0;o<=r;o++)i=a,a=t[2*(o+1)+1],++l<s&&i===a||(l<c?e.bl_tree[2*i]+=l:0!==i?(i!==n&&e.bl_tree[2*i]++,e.bl_tree[2*h]++):l<=10?e.bl_tree[2*p]++:e.bl_tree[2*m]++,n=i,c=(l=0)===a?(s=138,3):i===a?(s=6,3):(s=7,4))}function Y(e,t,r){var o,i,n=-1,a=t[1],l=0,s=7,c=4;for(0===a&&(s=138,c=3),o=0;o<=r;o++)if(i=a,a=t[2*(o+1)+1],!(++l<s&&i===a)){if(l<c)for(;H(e,i,e.bl_tree),0!=--l;);else 0!==i?(i!==n&&(H(e,i,e.bl_tree),l--),H(e,h,e.bl_tree),O(e,l-3,2)):l<=10?(H(e,p,e.bl_tree),O(e,l-3,3)):(H(e,m,e.bl_tree),O(e,l-11,7));n=i,c=(l=0)===a?(s=138,3):i===a?(s=6,3):(s=7,4)}}P(E),I=!1;function Q(e,t,r,i){O(e,(o<<1)+(i?1:0),3),function(e,t,r,o){z(e),o&&(M(e,r),M(e,~r)),L.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}r.ll=function(e){I||(function(){var e,t,r,o,c,u=Array(d+1);for(o=r=0;o<i-1;o++)for(v[o]=r,e=0;e<1<<g[o];e++)T[r++]=o;for(T[r-1]=o,o=c=0;o<16;o++)for(E[o]=c,e=0;e<1<<y[o];e++)A[c++]=o;for(c>>=7;o<l;o++)for(E[o]=c<<7,e=0;e<1<<y[o]-7;e++)A[256+c++]=o;for(t=0;t<=d;t++)u[t]=0;for(e=0;e<=143;)w[2*e+1]=8,e++,u[8]++;for(;e<=255;)w[2*e+1]=9,e++,u[9]++;for(;e<=279;)w[2*e+1]=7,e++,u[7]++;for(;e<=287;)w[2*e+1]=8,e++,u[8]++;for(U(w,a+1,u),e=0;e<l;e++)x[2*e+1]=5,x[2*e]=G(e,5);k=new W(w,g,n+1,a,d),F=new W(x,y,0,l,d),R=new W(Array(0),S,0,s,f)}(),I=!0),e.l_desc=new _(e.dyn_ltree,k),e.d_desc=new _(e.dyn_dtree,F),e.bl_desc=new _(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,J(e)},r.nl=Q,r.jl=function(e,t,r,o){var i,a,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return D;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return B;for(t=32;t<n;t++)if(0!==e.dyn_ltree[2*t])return B;return D}(e)),K(e,e.l_desc),K(e,e.d_desc),l=function(e){var t;for(q(e,e.dyn_ltree,e.l_desc.max_code),q(e,e.dyn_dtree,e.d_desc.max_code),K(e,e.bl_desc),t=s-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?Q(e,t,r,o):4===e.strategy||a===i?(O(e,2+(o?1:0),3),X(e,w,x)):(O(e,4+(o?1:0),3),function(e,t,r,o){var i;for(O(e,t-257,5),O(e,r-1,5),O(e,o-4,4),i=0;i<o;i++)O(e,e.bl_tree[2*C[i]+1],3);Y(e,e.dyn_ltree,t-1),Y(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),X(e,e.dyn_ltree,e.dyn_dtree)),J(e),o&&z(e)},r.kl=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(T[r]+n+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},r.ml=function(e){O(e,2,3),H(e,b,w),function(e){16===e.bi_valid?(M(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,o){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var o,i,n,a,l=1,s={},c=!1,d=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,o="[object process]"==={}.toString.call(e.process)?function(e){r.nextTick(function(){b(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",h,!1):e.attachEvent("onmessage",h),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){b(e.data)},function(e){n.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,function(e){var t=d.createElement("script");t.onreadystatechange=function(){b(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(b,0,e)},u.setImmediate=function(e){var t,r,i;for("function"!=typeof e&&(e=Function(""+e)),t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];return i={callback:e,args:t},s[l]=i,o(l),l++},u.clearImmediate=f}function f(e){delete s[e]}function b(e){if(c)setTimeout(b,0,e);else{var r=s[e];if(r){c=!0;try{!function(e){var r=e.callback,o=e.args;switch(o.length){case 0:r();break;case 1:r(o[0]);break;case 2:r(o[0],o[1]);break;case 3:r(o[0],o[1],o[2]);break;default:r.apply(t,o)}}(r)}finally{f(e),c=!1}}}}function h(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&b(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)})}).call(this,r("./node_modules/timers-browserify/main.js").setImmediate,r("./node_modules/process/browser.js"))},"./src/xlsx-io/common/chart-helper.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/datamodel/chart-model.ts"),i=o.Charts.ST_SystemColorVal,n=o.Charts.ST_SchemeColorVal,a=o.Charts.ST_SplitType,l=o.Charts.ST_MarkerStyle,s=o.Charts.ST_SeriesLayout;function d(e,t,r){return e===t&&(e=r),e}c=function(){function e(){}return e.ToKnownColor=function(e){var t=null;switch(e){case i.scrollBar:t=23;break;case i.activeCaption:t=2;break;case i.inactiveCaption:t=17;break;case i.menu:t=21;break;case i.window:t=24;break;case i.windowFrame:t=25;break;case i.menuText:t=22;break;case i.windowText:t=26;break;case i.activeBorder:t=1;break;case i.inactiveBorder:t=16;break;case i.appWorkspace:t=4;break;case i.highlight:t=13;break;case i.highlightText:t=14;break;case i.btnFace:t=168;break;case i.btnShadow:t=170;break;case i.grayText:t=12;break;case i.inactiveCaptionText:t=18;break;case i.btnHighlight:t=169;break;case i.infoText:t=20;break;case i.infoBk:t=19;break;case i.gradientActiveCaption:t=171;break;case i.gradientInactiveCaption:t=172;break;case i.menuHighlight:t=174;break;case i.menuBar:t=173}return t},e.ToST_SystemColorVal=function(e){var t=null;switch(e){case 1:t=i.activeBorder;break;case 2:t=i.activeCaption;break;case 168:t=i.btnFace;break;case 169:t=i.btnHighlight;break;case 170:t=i.btnShadow;break;case 171:t=i.gradientActiveCaption;break;case 172:t=i.gradientInactiveCaption;break;case 12:t=i.grayText;break;case 13:t=i.highlight;break;case 14:t=i.highlightText;break;case 16:t=i.inactiveBorder;break;case 17:t=i.inactiveCaption;break;case 18:t=i.inactiveCaptionText;break;case 20:t=i.infoText;break;case 21:t=i.menu;break;case 173:t=i.menuBar;break;case 174:t=i.menuHighlight;break;case 22:t=i.menuText;break;case 24:t=i.window;break;case 25:t=i.windowFrame;break;case 26:t=i.windowText}return t},e.ToST_SchemeColorVal=function(e){var t=n.accent1;switch(e){case 4:t=n.accent1;break;case 5:t=n.accent2;break;case 6:t=n.accent3;break;case 7:t=n.accent4;break;case 8:t=n.accent5;break;case 9:t=n.accent6;break;case 0:t=n.bg1;break;case 2:t=n.bg2;break;case 11:t=n.folHlink;break;case 10:t=n.hlink;break;case 12:t=n.phClr;break;case 13:t=n.dk1;break;case 14:t=n.lt1;break;case 15:t=n.dk2;break;case 16:t=n.lt2;break;case 1:t=n.tx1;break;case 3:t=n.tx2}return t},e.ToColorSchemeIndex=function(e){var t=4;switch(e){case n.bg1:t=0;break;case n.tx1:t=1;break;case n.bg2:t=2;break;case n.tx2:t=3;break;case n.accent2:t=5;break;case n.accent3:t=6;break;case n.accent4:t=7;break;case n.accent5:t=8;break;case n.accent6:t=9;break;case n.hlink:t=10;break;case n.folHlink:t=11;break;case n.phClr:t=12;break;case n.dk1:t=13;break;case n.lt1:t=14;break;case n.dk2:t=15;break;case n.lt2:t=16}return t},e.ToST_PresetLineDashVal=function(e){return d(e,11,1)},e.ToPatternType=function(e){var t,r=0;return"number"==typeof e&&(t={0:1,1:2,2:3,3:4,4:5,5:6,6:7,7:8,8:9,9:10,10:11,11:12,16:13,17:14,27:15,28:16,34:17,52:18,14:19,15:20,25:21,26:22,36:23,45:24,29:25,30:26,32:27,31:28,19:29,18:30,21:31,20:32,40:33,37:34,41:35,35:36,39:37,53:38,43:39,42:40,44:41,46:42,47:43,48:44,38:45,49:46,50:47,51:48,12:49,13:50,22:51,23:52,24:53,33:54},"number"==typeof t[e]&&(r=t[e])),r},e.ToST_PresetPatternVal=function(e){var t,r=0;return"number"==typeof e&&(t={1:0,2:1,3:2,4:3,5:4,6:5,7:6,8:7,9:8,10:9,11:10,12:11,13:16,14:17,15:27,16:28,17:34,18:52,19:14,20:15,21:25,22:26,23:36,24:45,25:29,26:30,27:32,28:31,29:19,30:18,31:21,32:20,33:40,34:37,35:41,36:35,37:39,38:53,39:43,40:42,41:44,42:46,43:47,44:48,45:38,46:49,47:50,48:51,49:12,50:13,51:22,52:23,53:24,54:33},"number"==typeof t[e]&&(r=t[e])),r},e.ToST_PresetShadowVal=function(e){return e>19?0:e},e.ToST_SplitType=function(e){var t=a.pos;switch(e){case 0:t=a.pos;break;case 1:t=a.val;break;case 2:t=a.percent;break;case 3:t=a.cust}return t},e.ToChartSplitType=function(e){var t=0;switch(e){case a.cust:t=3;break;case a.percent:t=2;break;case a.val:t=1}return t},e.ToST_LightRigDirection=function(e){var t=1;switch(e){case 1:t=4;break;case 2:t=6;break;case 5:t=6;break;case 7:t=3;break;case 8:t=6}return t},e.ToST_MarkerStyle=function(e){return 11===e&&(e=l.circle),e},e.ToST_LegendPos=function(e){var t=0;switch(e){case 0:break;case 1:t=4;break;case 2:t=3;break;case 3:t=2;break;case 5:t=1}return t},e.ToLegendPosition=function(e){var t=4;switch(e){case 1:t=5;break;case 2:t=3;break;case 3:t=2;break;case 4:t=1}return t},e.ToST_PresetCameraType=function(e){return d(e,62,0)},e.ToST_BuiltInUnit=function(e){return e>8&&(e=0),e},e.ToST_Crosses=function(e){var t=0;switch(e){case 2:t=1;break;case 3:t=2}return t},e.ToAxisCrosses=function(e){var t=1;switch(e){case 1:t=2;break;case 2:t=3}return t},e.ToCT_ChartType=function(e){var t=16;switch(e){case s.funnel:t=17;break;case s.paretoLine:t=18;break;case s.regionMap:t=19;break;case s.sunburst:t=20;break;case s.treemap:t=21;break;case s.waterfall:t=22;break;case s.clusteredColumn:t=23}return t},e.ToST_SeriesLayout=function(e){var t=0;switch(e){case 16:t=s.boxWhisker;break;case 17:t=s.funnel;break;case 18:t=s.paretoLine;break;case 19:t=s.regionMap;break;case 20:t=s.sunburst;break;case 21:t=s.treemap;break;case 22:t=s.waterfall;break;case 23:t=s.clusteredColumn}return t},e}(),t.ChartHelper=c},"./src/xlsx-io/common/color-reader.ts":function(e,t,r){"use strict";var o,i,n;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/datamodel/excel-style.ts"),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-reader.ts");function a(e){var t,r,a=o.ExcelColor.EmptyColor,l=!1,s=-1,c=0,d="",u=-1;if(e&&e instanceof n.XmlReader)for(t=e;t.moveToNextAttribute();)switch(t.readAttributeNameAsString()){case"auto":l=t.readContentAsBoolean(!1);break;case"theme":s=t.readContentAsInt(-1);break;case"tint":c=t.readContentAsDouble(0);break;case"rgb":d=t.readContentAsString();break;case"indexed":u=t.readContentAsInt(-1)}else e&&(l=!!e._attr.auto,e._attr.theme&&(s=parseInt(e._attr.theme,10)),e._attr.tint&&(c=parseFloat(e._attr.tint)),d=e._attr.rgb||"",e._attr.indexed&&(u=parseInt(e._attr.indexed,10)));return l?(a.isAutoColor(!0),a):s!==-1?a=new o.ExcelColor(3,s,c):i.StringEx.L(d)?u>=0?a=new o.ExcelColor(1,u,0):a:(r=parseInt(d,16),a=new o.ExcelColor(2,r,c))}t.readColor=a},"./src/xlsx-io/common/color-writer.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("./src/datamodel/excel-style.ts");function i(e,t,r){void 0!==r&&e.writeLeafElement(t,function(){if(null===r||r.isAutoColor())return void e.writeAttributeString("auto","1");if(r.isIndexedColor())e.writeAttributeString("indexed",""+r.value());else if(r.isThemeColor())e.writeAttributeString("theme",""+r.value()),0!==r.tint()&&e.writeAttributeString("tint",""+r.tint());else if(r.isRGBColor()){var t=r.value().toString(16);e.writeAttributeString("rgb",t.toUpperCase()),0!==r.tint()&&e.writeAttributeString("tint",""+r.tint())}})}t.writeColor=i;function n(e,t,r){r&&e.writeElement(t,void 0,function(){if("a:dk1"===t)4278190080===r.value()?e.writeLeafElement("a:sysClr",function(){e.writeAttributeString("val","windowText"),e.writeAttributeString("lastClr","000000")}):e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if("a:lt1"===t)4294967295===r.value()?e.writeLeafElement("a:sysClr",function(){e.writeAttributeString("val","window"),e.writeAttributeString("lastClr","FFFFFF")}):e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if(2===r.colorType())e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if(3===r.colorType())e.writeLeafElement("a:schemeClr",function(){e.writeAttributeString("val",o.ConverterHelper.toSchemeClrValue(r.value()))});else if(1===r.colorType()){var i=o.ColorHelper.toExcelIndexedColor(r);e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",i&&i.value?i.value().toString(16):"0")})}})}t.writeColorScheme=n},"./src/xlsx-io/common/errorMessage.ts":function(e,t,r){"use strict";var o,i;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i={en:{EXP_IO:"File read and write exception.",EXP_FILE_FORMAT:"Incorrect file format.",EXP_NO_PASSWORD:"The Excel file cannot be opened because the workbook/worksheet is password protected.",EXP_INVALID_PASSWORD:"The specified password is incorrect."},ja:{EXP_IO:"\u30d5\u30a1\u30a4\u30ebIO\u306b\u95a2\u3059\u308b\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002",EXP_FILE_FORMAT:"\u30d5\u30a1\u30a4\u30eb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u8aa4\u308a\u304c\u3042\u308a\u307e\u3059\u3002",EXP_NO_PASSWORD:"\u30ef\u30fc\u30af\u30d6\u30c3\u30af/\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u4fdd\u8b77\u3055\u308c\u3066\u3044\u307e\u3059\u3002Excel\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002",EXP_INVALID_PASSWORD:"\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u4e0d\u6b63\u3067\u3059\u3002"},zh:{EXP_IO:"\u6587\u4ef6\u8bfb\u5199\u5f02\u5e38",EXP_FILE_FORMAT:"\u6587\u4ef6\u683c\u5f0f\u9519\u8bef",EXP_NO_PASSWORD:"Excel\u6587\u4ef6\u53d7\u5bc6\u7801\u4fdd\u62a4\uff0c\u65e0\u6cd5\u88ab\u6253\u5f00",EXP_INVALID_PASSWORD:"\u5bc6\u7801\u9519\u8bef"}};function n(){var e=o.Fa()||"en",t=i[e.split("-")[0]];return t?t:i.en}t.sR=n},"./src/xlsx-io/common/errorcode.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorCode={fileIOError:0,fileFormatError:1,noPassword:2,invalidPassword:3}},"./src/xlsx-io/common/file-loader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xlsx-io/password/compoundFile.ts"),i=r("./src/xlsx-io/password/xlsxEncryptionHelper.ts"),n=r("./src/xlsx-io/common/errorcode.ts"),a=r("./src/xlsx-io/common/errorMessage.ts"),l=r("./src/lib/jszip.min.js"),s=void 0,c="undefined",d=function(){function e(e){var t=this;if(e===s?t.loadType=1:t.loadType=e,typeof FileReader===c)throw Error("The browser doesn't support FileReader!");t.fileReader=new FileReader,t.passwordFileReader=new FileReader,t.compoundFile=new o.CompoundFile}return e.prototype.loadFile=function(e,t){var r=this,o=r.fileReader;return e instanceof ArrayBuffer?void r.fileLoad(e,t):void(e&&o&&(o.onload=function(e){r.fileLoad(e.target.result,t)},o.onerror=function(){r.ol()},1===r.loadType?o.readAsArrayBuffer?o.readAsArrayBuffer(e):r.loadType=0:o.readAsDataURL&&o.readAsDataURL(e)))},e.prototype.ol=function(){this.onError({errorCode:n.errorCode.fileIOError,errorMessage:a.sR().EXP_IO})},e.prototype.pl=function(){this.onError({errorCode:n.errorCode.fileFormatError,errorMessage:a.sR().EXP_FILE_FORMAT})},e.prototype.ql=function(){this.onError({errorCode:n.errorCode.noPassword,errorMessage:a.sR().EXP_NO_PASSWORD})},e.prototype.rl=function(){this.onError({errorCode:n.errorCode.invalidPassword,errorMessage:a.sR().EXP_INVALID_PASSWORD})},e.prototype.fileLoad=function(e,t){var r,o,n,a,c=this;if(t&&t.password)try{if(e=i.XlsxEncryptionHelper.sl(e,t.password),!e)return void c.rl()}catch(e){return void c.rl()}else if(i.XlsxEncryptionHelper.ul(e))return void c.ql();switch(r=new l,c.loadType){case 1:r.loadAsync(e).then(d).catch(function(){c.pl()});break;case 0:default:o="base64,",n=e.indexOf(o),n!==-1&&(a=e.substring(n+o.length),r.loadAsync(a,{base64:!0}).then(d).catch(function(){c.pl()}))}function d(){var e,t,o,i=r.files,n={};for(e in i)i[e]&&(t=void 0,o=e.substring(e.lastIndexOf(".")),t=".xml"===o||".rels"===o?"text":e.indexOf("/media/")===-1?"binarystring":"base64",i[e].async(t).then(function(e){return function(t){n[e.toLowerCase()]=t;for(var r in i)if(n[r.toLowerCase()]===s)return;c.onFileLoad(n)}}(e)).catch(function(){c.pl()}))}},e}(),t.FileLoader=d},"./src/xlsx-io/password/aes.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k;Object.defineProperty(t,"__esModule",{value:!0}),o=null,i=null,n="AES must be instanitated with `new`",a=function(e){var t,r=[];if("number"==typeof e){for(t=0;t<e;t++)r.push(0);return r}for(t=0;t<e.length;t++)if(e[t]<0||e[t]>=256||"number"!=typeof e[t])throw Error("invalid byte ("+e[t]+":"+t+")");if(e.slice)return e.slice(0);for(t=0;t<e.length;t++)r.push(e[t]);return r},o=a,i=function(e,t,r,o,i){null===r&&(r=0),null===o&&(o=0),null===i&&(i=e.length);for(var n=o;n<i;n++)t[r]=e[n],r++},l={16:10,24:12,32:14},s=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],c=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],u=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],f=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],b=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],h=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],
25
+ isometricOffAxis4Right:37,isometricOffAxis4Bottom:38,obliqueTopLeft:39,obliqueTop:40,obliqueTopRight:41,obliqueLeft:42,obliqueRight:43,obliqueBottomLeft:44,obliqueBottom:45,obliqueBottomRight:46,perspectiveFront:47,perspectiveLeft:48,perspectiveRight:49,perspectiveAbove:50,perspectiveBelow:51,perspectiveAboveLeftFacing:52,perspectiveAboveRightFacing:53,perspectiveContrastingLeftFacing:54,perspectiveContrastingRightFacing:55,perspectiveHeroicLeftFacing:56,perspectiveHeroicRightFacing:57,perspectiveHeroicExtremeLeftFacing:58,perspectiveHeroicExtremeRightFacing:59,perspectiveRelaxed:60,perspectiveRelaxedModerately:61},Ue(G),t.Charts.ST_PresetCameraType=G,U={tl:0,t:1,tr:2,l:3,r:4,bl:5,b:6,br:7},Ue(U),t.Charts.ST_LightRigDirection=U,J={legacyFlat1:0,legacyFlat2:1,legacyFlat3:2,legacyFlat4:3,legacyNormal1:4,legacyNormal2:5,legacyNormal3:6,legacyNormal4:7,legacyHarsh1:8,legacyHarsh2:9,legacyHarsh3:10,legacyHarsh4:11,threePt:12,balanced:13,soft:14,harsh:15,flood:16,contrasting:17,morning:18,sunrise:19,sunset:20,chilly:21,freezing:22,flat:23,twoPt:24,glow:25,brightRoom:26},Ue(J),t.Charts.ST_LightRigType=J,z={relaxedInset:0,circle:1,slope:2,cross:3,angle:4,softRound:5,convex:6,coolSlant:7,divot:8,riblet:9,hardEdge:10,artDeco:11},Ue(z),t.Charts.ST_BevelPresetType=z,V={legacyMatte:0,legacyPlastic:1,legacyMetal:2,legacyWireframe:3,matte:4,plastic:5,metal:6,warmMatte:7,translucentPowder:8,powder:9,dkEdge:10,softEdge:11,clear:12,flat:13,softmetal:14},Ue(V),t.Charts.ST_PresetMaterialType=V,j={shdw1:0,shdw2:1,shdw3:2,shdw4:3,shdw5:4,shdw6:5,shdw7:6,shdw8:7,shdw9:8,shdw10:9,shdw11:10,shdw12:11,shdw13:12,shdw14:13,shdw15:14,shdw16:15,shdw17:16,shdw18:17,shdw19:18,shdw20:19},Ue(j),t.Charts.ST_PresetShadowVal=j,X={shape:0,circle:1,rect:2},Ue(X),t.Charts.ST_PathShadeType=X,K={none:0,x:1,y:2,xy:3},Ue(K),t.Charts.ST_TileFlipMode=K,q={email:0,screen:1,print:2,hqprint:3,none:4},Ue(q),t.Charts.ST_BlipCompression=q,Y={pct5:0,pct10:1,pct20:2,pct25:3,pct30:4,pct40:5,pct50:6,pct60:7,pct70:8,pct75:9,pct80:10,pct90:11,horz:12,vert:13,ltHorz:14,ltVert:15,dkHorz:16,dkVert:17,narHorz:18,narVert:19,dashHorz:20,dashVert:21,cross:22,dnDiag:23,upDiag:24,ltDnDiag:25,ltUpDiag:26,dkDnDiag:27,dkUpDiag:28,wdDnDiag:29,wdUpDiag:30,dashDnDiag:31,dashUpDiag:32,diagCross:33,smCheck:34,lgCheck:35,smGrid:36,lgGrid:37,dotGrid:38,smConfetti:39,lgConfetti:40,horzBrick:41,diagBrick:42,solidDmnd:43,openDmnd:44,dotDmnd:45,plaid:46,sphere:47,weave:48,divot:49,shingle:50,wave:51,trellis:52,zigZag:53},Ue(Y),t.Charts.ST_PresetPatternVal=Y,Q={png:0,jpg:1,jpeg:2,emf:3},Ue(Q),t.Charts.ST_BobType=Q,Z={over:0,mult:1,screen:2,darken:3,lighten:4},Ue(Z),t.Charts.ST_BlendMode=Z,$={sib:0,tree:1},Ue($),t.Charts.ST_EffectContainerType=$,t.Charts.ST_PathToType={PathLine:0,PathMove:1,PathQuadBez:2,PathCubicBez:3},ee={line:0,lineInv:1,triangle:2,rtTriangle:3,rect:4,diamond:5,parallelogram:6,trapezoid:7,nonIsoscelesTrapezoid:8,pentagon:9,hexagon:10,heptagon:11,octagon:12,decagon:13,dodecagon:14,star4:15,star5:16,star6:17,star7:18,star8:19,star10:20,star12:21,star16:22,star24:23,star32:24,roundRect:25,round1Rect:26,round2SameRect:27,round2DiagRect:28,snipRoundRect:29,snip1Rect:30,snip2SameRect:31,snip2DiagRect:32,plaque:33,ellipse:34,teardrop:35,homePlate:36,chevron:37,pieWedge:38,pie:39,blockArc:40,donut:41,noSmoking:42,rightArrow:43,leftArrow:44,upArrow:45,downArrow:46,stripedRightArrow:47,notchedRightArrow:48,bentUpArrow:49,leftRightArrow:50,upDownArrow:51,leftUpArrow:52,leftRightUpArrow:53,quadArrow:54,leftArrowCallout:55,rightArrowCallout:56,upArrowCallout:57,downArrowCallout:58,leftRightArrowCallout:59,upDownArrowCallout:60,quadArrowCallout:61,bentArrow:62,uturnArrow:63,circularArrow:64,leftCircularArrow:65,leftRightCircularArrow:66,curvedRightArrow:67,curvedLeftArrow:68,curvedUpArrow:69,curvedDownArrow:70,swooshArrow:71,cube:72,can:73,lightningBolt:74,heart:75,sun:76,moon:77,smileyFace:78,irregularSeal1:79,irregularSeal2:80,foldedCorner:81,bevel:82,frame:83,halfFrame:84,corner:85,diagStripe:86,chord:87,arc:88,leftBracket:89,rightBracket:90,leftBrace:91,rightBrace:92,bracketPair:93,bracePair:94,straightConnector1:95,bentConnector2:96,bentConnector3:97,bentConnector4:98,bentConnector5:99,curvedConnector2:100,curvedConnector3:101,curvedConnector4:102,curvedConnector5:103,callout1:104,callout2:105,callout3:106,accentCallout1:107,accentCallout2:108,accentCallout3:109,borderCallout1:110,borderCallout2:111,borderCallout3:112,accentBorderCallout1:113,accentBorderCallout2:114,accentBorderCallout3:115,wedgeRectCallout:116,wedgeRoundRectCallout:117,wedgeEllipseCallout:118,cloudCallout:119,cloud:120,ribbon:121,ribbon2:122,ellipseRibbon:123,ellipseRibbon2:124,leftRightRibbon:125,verticalScroll:126,horizontalScroll:127,wave:128,doubleWave:129,plus:130,flowChartProcess:131,flowChartDecision:132,flowChartInputOutput:133,flowChartPredefinedProcess:134,flowChartInternalStorage:135,flowChartDocument:136,flowChartMultidocument:137,flowChartTerminator:138,flowChartPreparation:139,flowChartManualInput:140,flowChartManualOperation:141,flowChartConnector:142,flowChartPunchedCard:143,flowChartPunchedTape:144,flowChartSummingJunction:145,flowChartOr:146,flowChartCollate:147,flowChartSort:148,flowChartExtract:149,flowChartMerge:150,flowChartOfflineStorage:151,flowChartOnlineStorage:152,flowChartMagneticTape:153,flowChartMagneticDisk:154,flowChartMagneticDrum:155,flowChartDisplay:156,flowChartDelay:157,flowChartAlternateProcess:158,flowChartOffpageConnector:159,actionButtonBlank:160,actionButtonHome:161,actionButtonHelp:162,actionButtonInformation:163,actionButtonForwardNext:164,actionButtonBackPrevious:165,actionButtonEnd:166,actionButtonBeginning:167,actionButtonReturn:168,actionButtonDocument:169,actionButtonSound:170,actionButtonMovie:171,gear6:172,gear9:173,funnel:174,mathPlus:175,mathMinus:176,mathMultiply:177,mathDivide:178,mathEqual:179,mathNotEqual:180,cornerTabs:181,squareTabs:182,plaqueTabs:183,chartX:184,chartStar:185,chartPlus:186},Ue(ee),t.Charts.ST_ShapeType=ee,te={textNoShape:0,textPlain:1,textStop:2,textTriangle:3,textTriangleInverted:4,textChevron:5,textChevronInverted:6,textRingInside:7,textRingOutside:8,textArchUp:9,textArchDown:10,textCircle:11,textButton:12,textArchUpPour:13,textArchDownPour:14,textCirclePour:15,textButtonPour:16,textCurveUp:17,textCurveDown:18,textCanUp:19,textCanDown:20,textWave1:21,textWave2:22,textDoubleWave1:23,textWave4:24,textInflate:25,textDeflate:26,textInflateBottom:27,textDeflateBottom:28,textInflateTop:29,textDeflateTop:30,textDeflateInflate:31,textDeflateInflateDeflate:32,textFadeRight:33,textFadeLeft:34,textFadeUp:35,textFadeDown:36,textSlantUp:37,textSlantDown:38,textCascadeUp:39,textCascadeDown:40},Ue(te),t.Charts.ST_TextShapeType=te,re={none:0,norm:1,lighten:2,lightenLess:3,darken:4,darkenLess:5},Ue(re),t.Charts.ST_PathFillMode=re,oe={none:0,triangle:1,stealth:2,diamond:3,oval:4,arrow:5},Ue(oe),t.Charts.ST_LineEndType=oe,ie={sm:0,med:1,lg:2},Ue(ie),t.Charts.ST_LineEndWidth=ie,ne={sm:0,med:1,lg:2},Ue(ne),t.Charts.ST_LineEndLength=ne,ae={solid:0,dot:1,dash:2,lgDash:3,dashDot:4,lgDashDot:5,lgDashDotDot:6,sysDash:7,sysDot:8,sysDashDot:9,sysDashDotDot:10},Ue(ae),t.Charts.ST_PresetLineDashVal=ae,le={rnd:0,sq:1,flat:2},Ue(le),t.Charts.ST_LineCap=le,se={ctr:0,in:1},Ue(se),t.Charts.ST_PenAlignment=se,ce={sng:0,dbl:1,thickThin:2,thinThick:3,tri:4},Ue(ce),t.Charts.ST_CompoundLine=ce,de={twoCell:0,oneCell:1,absolute:2},Ue(de),t.Charts.ST_EditAs=de,ue={t:0,ctr:1,b:2,just:3,dist:4},Ue(ue),t.Charts.ST_TextAnchoringType=ue,fe={overflow:0,ellipsis:1,clip:2},Ue(fe),t.Charts.ST_TextVertOverflowType=fe,be={overflow:0,clip:1},Ue(be),t.Charts.ST_TextHorzOverflowType=be,he={horz:0,vert:1,vert270:2,wordArtVert:3,eaVert:4,mongolianVert:5,wordArtVertRtl:6},Ue(he),t.Charts.ST_TextVerticalType=he,pe={none:0,square:1},Ue(pe),t.Charts.ST_TextWrappingType=pe;me={alphaLcParenBoth:0,alphaUcParenBoth:1,alphaLcParenR:2,alphaUcParenR:3,alphaLcPeriod:4,alphaUcPeriod:5,arabicParenBoth:6,arabicParenR:7,arabicPeriod:8,arabicPlain:9,romanLcParenBoth:10,romanUcParenBoth:11,romanLcParenR:12,romanUcParenR:13,romanLcPeriod:14,romanUcPeriod:15,circleNumDbPlain:16,circleNumWdBlackPlain:17,circleNumWdWhitePlain:18,arabicDbPeriod:19,arabicDbPlain:20,ea1ChsPeriod:21,ea1ChsPlain:22,ea1ChtPeriod:23,ea1ChtPlain:24,ea1JpnChsDbPeriod:25,ea1JpnKorPlain:26,ea1JpnKorPeriod:27,arabic1Minus:28,arabic2Minus:29,hebrew2Minus:30,thaiAlphaPeriod:31,thaiAlphaParenR:32,thaiAlphaParenBoth:33,thaiNumPeriod:34,thaiNumParenR:35,thaiNumParenBoth:36,hindiAlphaPeriod:37,hindiNumPeriod:38,hindiNumParenR:39,hindiAlpha1Period:40};Ue(me),t.Charts.ST_TextAutonumberScheme=me,ge={none:0,words:1,sng:2,dbl:3,heavy:4,dotted:5,dottedHeavy:6,dash:7,dashHeavy:8,dashLong:9,dashLongHeavy:10,dotDash:11,dotDashHeavy:12,dotDotDash:13,dotDotDashHeavy:14,wavy:15,wavyHeavy:16,wavyDbl:17},Ue(ge),t.Charts.ST_TextUnderlineType=ge,ye={noStrike:0,sngStrike:1,dblStrike:2},Ue(ye),t.Charts.ST_TextStrikeType=ye,Se={none:0,small:1,all:2},Ue(Se),t.Charts.ST_TextCapsType=Se,Ce={l:0,ctr:1,r:2,dec:3},Ue(Ce),t.Charts.ST_TextTabAlignType=Ce,we={l:0,ctr:1,r:2,just:3,justLow:4,dist:5,thaiDist:6},Ue(we),t.Charts.ST_TextAlignType=we,xe={auto:0,t:1,ctr:2,base:3,b:4},Ue(xe),t.Charts.ST_TextFontAlignType=xe,Ae={auto:0},Ue(Ae),t.Charts.ST_StyleColorVal=Ae,t.Charts.CT_PathType={CT_PathToList:0,CT_Path2DArcTo:1,CT_Path2DClose:2},Te={col:0,row:1},Ue(Te),t.Charts.ST_FormulaDirection=Te,ve={cat:0,colorStr:1},Ue(ve),t.Charts.ST_StringDimensionType=ve,ke={val:0,x:1,y:2,size:3,colorVal:4},Ue(ke),t.Charts.ST_NumericDimensionType=ke,Fe={l:0,t:1,r:2,b:3},Ue(Fe),t.Charts.ST_SidePos=Fe,Re={t:1,r:2,l:3,b:4},Ue(Re),t.Charts.ST_2016ChartPosLegend=Re,Ee={min:0,ctr:1,max:2},Ue(Ee),t.Charts.ST_PosAlign=Ee,Ie={hundreds:0,thousands:1,tenThousands:2,hundredThousands:3,millions:4,tenMillions:5,hundredMillions:6,billions:7,trillions:8,percentage:9},Ue(Ie),t.Charts.ST_AxisUnit=Ie,Le={in:1,out:3,cross:0,none:2},Ue(Le),t.Charts.ST_TickMarksType=Le,De={boxWhisker:0,funnel:1,paretoLine:2,regionMap:3,sunburst:4,treemap:5,waterfall:6,clusteredColumn:7},Ue(De),t.Charts.ST_SeriesLayout=De,Be={none:0,banner:1,overlapping:2},Ue(Be),t.Charts.ST_ParentLabelLayout=Be,Pe={none:0,bestFitOnly:1,showAll:2},Ue(Pe),t.Charts.ST_RegionLabelLayout=Pe,We={l:0,r:1},Ue(We),t.Charts.ST_IntervalClosedSide=We,_e={Address:0,AdminDistrict:1,AdminDistrict2:2,AdminDistrict3:3,Continent:4,CountryRegion:5,Locality:6,Ocean:7,Planet:8,PostalCode:9,Region:10,Unsupported:11},Ue(_e),t.Charts.ST_EntityType=_e,Ne={mercator:0,miller:1,robinson:2,albers:3},Ue(Ne),t.Charts.ST_GeoProjectionType=Ne,Me={dataOnly:0,postalCode:1,county:2,state:3,countryRegion:4,countryRegionList:5,world:6},Ue(Me),t.Charts.ST_GeoMappingLevel=Me,Oe={inclusive:0,exclusive:1},Ue(Oe),t.Charts.ST_QuartileMethod=Oe,He={bestFit:0,b:1,ctr:2,inBase:3,inEnd:4,l:5,outEnd:6,r:7,t:8},Ue(He),t.Charts.ST_DataLabelPos=He,Ge={default:0,portrait:1,landscape:2},Ue(Ge),t.Charts.ST_PageOrientation=Ge},"./src/datamodel/datamodel-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/datamodel/excel-helper.ts"),l=r("./src/datamodel/datetime-helper.ts"),s=r("./src/common/range-parser.ts"),c=r("./src/xml-io/node-helper.ts"),d=o.StringEx.O,u=n.ConverterHelper.convertDxfToStyle,f=c.XmlNodeHelper.He,b=null,h=void 0,p="Normal";function S(e,t,r,o,i,n){var a,l,s,c,d=e.itemsData;d&&(a=d[d.length-1],l=d[d.length-2],s=a&&a.info,c=l&&l.info,s&&(o&&i&&1===a.count?c&&l.index===a.index-1&&c.level===s.level-1?c.collapsed=!0:t>0?d.splice(d.length-2,0,{index:a.index-1,count:1,info:{level:s.level-1,collapsed:!0}}):e.head={collapsed:!0,level:r-1}:!o&&n&&(c&&a.index===l.index+1&&s.level===c.level-1?a.collapsed=!0:t>=a.index+a.count&&d.push({index:a.index+a.count,count:1,info:{level:s.level-1,collapsed:!0}}))))}function C(e,t,r,i,n,a,l,s,c,d){var u={};return u.conType=e,o.J(t)||(u.compareType=t),o.J(r)||(u.expected=r),o.J(i)||(u.ignoreBlank=i),o.J(n)||(u.type=n),o.J(a)||(u.isPercent=a),o.J(l)||(u.item1=l),o.J(s)||(u.item2=s),o.J(c)||(u.ranges=c),o.J(d)||(u.expectTypeId=d),2===e&&(u.ignoreCase=!0),u}function w(e,t){var r,o,i=e.cellColor?0:1,a=t.fill;return a&&(0===a.patternType?r="":(o={},n.ConverterHelper.Ie(a,o),r=o.backColor)),C(3,i,r)}function x(e){if(e.length>0){var t=e[0];if("number"==typeof t)return"number";if("string"==typeof t&&0===t.indexOf("/OADate(")&&t.indexOf(")")===t.length-2)return"date";if("boolean"==typeof t)return"boolean"}return""}function A(e,t,r){var o,i,n={none:0,equal:0,lessThan:4,lessThanOrEqual:5,notEqual:1,greaterThan:2,greaterThanOrEqual:3};switch(e){case"string":o=2;break;case"number":o=1,r=parseFloat(r);break;case"date":o=5,"string"==typeof r&&0===r.indexOf("/OADate(")?(i=parseInt(r.replace("/OADate(",""),10),r=l.DateTimeHelper.Je(i)):r=l.DateTimeHelper.Je(parseInt(r,10)),n={none:0,equal:0,lessThan:2,lessThanOrEqual:3,notEqual:1,greaterThan:4,greaterThanOrEqual:5};break;case"boolean":default:o=11}return C(o,n[t],r)}function T(e,t){var r,o;function i(e){var r,o,i,n,a="notEqual"===e.operator,l=e.value,s=l.indexOf("*"),c=l.lastIndexOf("*");return s!==-1?s===l.length-1&&0!==s?(o=a?3:2,r=C(2,o,l.substring(0,l.length-1))):0===s&&s===c?(o=a?5:4,r=C(2,o,l.substring(1))):(i=a?7:6,s!==-1&&c!==-1&&(l=l.substr(1,l.length-2)),r=C(2,i,l)):(n=x(t),r=A(n,e.operator||"none",l)),r}return e.filter1&&(r=i(e.filter1)),e.filter2&&(o=e.and?1:0,r=C(0,o,b,b,b,b,r,i(e.filter2))),r}function v(e,t){function r(e){var r;return o.J(t)||(r=C(t.conType,t.compareType,e.value)),r}var i;return e.filter1&&(i=r(e.filter1)),i=e.filter2?C(t.conType,t.compareType,b,b,b,b,i,r(e.filter2)):C(t.conType,t.compareType,b,b,b,b,i,b)}function k(e,t,r){var i,n=new o.Range(t.row,r,t.rowCount,1),a=e.type;return 100===a||101===a?i=C(10,b,b,b,a-100,b,b,b,n):16===a?i=C(6,b,0,b,b,b,b,b,b,6):a>=17&&a<=20?i=C(6,b,a-17,b,b,b,b,b,b,2):a>=21&&a<=32?i=C(6,b,a-21,b,b,b,b,b,b,3):a>=0&&a<=15&&(i=C(6,b,a)),i}function F(e,t){var r,o=t.conType;return 1===o&&(r=C(1,t.compareType,b)),r}function R(e){var t=e.top?0:1;return C(8,b,e.value,b,t,e.percent)}function E(e,t){var r=e.top?1:-1;return C(3,t.compareType,e.value,b,r,e.percent)}function I(e){return d(e)?e:"="+e}function L(e){return d(e)||e.length<=2?e:e.substr(1,e.length-2)}function D(e,t){var r=null;return t.forEach(function(t){t.id===e&&(r=t.name)}),r}t.getTableName=D;function B(e,t,r){var o=null;return r.forEach(function(r){r.id===e&&r.columns.forEach(function(e){e.id===t&&(o=e.name)})}),o}t.getTableColumnName=B;function P(e,t,r){var o,i,n=null;for(o=0;o<t.length;o++)if(i=t[o],""+r[i.cacheId].pivotCacheId===e){n=i.name;break}return n}function W(e,t){return t=t||" ",e.map(_).join(t)}function _(e){var t,r=e.row,n=e.col,a=e.rowCount,l=e.colCount,s=n+l-1,c=r+a-1;return o.isRangeWholeRow(e)&&o.isRangeWholeColumn(e)?t="$1:$"+i.ExcelConstants.wb:o.isRangeWholeRow(e)?t=r+1+":"+(c+1):o.isRangeWholeColumn(e)?t=o.IndexHelper.T(n)+":"+o.IndexHelper.T(s):(t=o.IndexHelper.T(n)+(r+1),(a>1||l>1)&&(t+=":"+o.IndexHelper.T(s)+(c+1))),t}m=["fillStyleLst","lnStyleLst","effectStyleLst","bgFillStyleLst"],g=["w","cap","cmpd","algn","prstDash","custDash","round","bevel","miter","headEnd","tailEnd"];function N(e,t){g.forEach(function(r){void 0===t[r]&&void 0!==e[r]&&(t[r]=e[r])})}function M(e,t){e&&N(e,t)}function O(e,t){return!!e[t]}function H(e,t,r,i,n,l){var s,c,d,u=e.Ke;if(r[i]&&r[i][n]){if(s=r[i][n].style,!s)return;c=o.ga._(t.namedStyles,s),c&&(d=a.processTableCellStyle(c,u),d.name="__builtInTableStyle"+e.Le+c.name,o.ga.aa(t.namedStyles,e.Me,d),e.Le++,r[i][n].style=d.name,l[s]=d.name)}}function G(e,t){var r=e.filter(function(e){return e._attr.name===t});return r&&r[0]}function U(e,t){var r=f(e.bk);return r[t]}function J(e){return e.filter(function(e){return!(e.pic&&!e.pic.cameraTool)})}function z(e){return e&&e.indexOf(" ")>=0&&("'"!==e[0]||'"'!==e[0])&&(e="'"+e+"'"),e}y=function(){function e(){var e=this;e.Ne={version:"17.1.3"},e.Ke=b,e.Oe=b,e.Pe=[],e.Qe=[],e.Re=[],e.Se=[],e.Te=1,e.Le=0,e.Ue=0,e.Ve=0,e.We=[],e.Xe=[],e.Ye={},e.Ze={},e.$e=!0,e._e=b,e.af=[],e.bf=!1,e.cf=3,e.df=[],e.ef=[],e.ff="Calibri Light",e.gf="Calibri",e.hf=[],e.if=[],e.jf=[],e.Me={},e.kf=[]}return e.prototype.lf=function(e){this.mf=e,this.pf={}},e.prototype.qf=function(e,t){var r,o,i,n,a,l,s,c,d=this;return d.pf||(d.pf={}),r=this.pf,o=e+","+t,(i=r[o])?i:(n=this.mf,l=n&&n.themeElements&&n.themeElements.fmtScheme,l&&(s=m[e],c=s&&l[s],a=c,c&&(1===e?c=c.ln:0===e&&(c=c.items),a=c[t])),r[o]=a,a)},e.prototype.rf=function(e){var t,r,o,i,n,a,l,s,c;if(e){if(t={name:e.name},e.colorScheme&&(r=e.colorScheme,t.themeColor={name:r.name,text1:r.schemeColors[1],text2:r.schemeColors[3],background1:r.schemeColors[0],background2:r.schemeColors[2],accent1:r.schemeColors[4],accent2:r.schemeColors[5],accent3:r.schemeColors[6],accent4:r.schemeColors[7],accent5:r.schemeColors[8],accent6:r.schemeColors[9],hyperlink:r.schemeColors[10],followedHyperlink:r.schemeColors[11]}),e.fontScheme){for(o=e.fontScheme,i=o.majorFont.runFormattings,n=o.minorFont.runFormattings,a=0,l=i.length;a<l;a++)s=i[a],s&&0===s.fontLanguage&&(c=z(s.typeface),t.headingFont=c,this.ff=c);for(a=0,l=n.length;a<l;a++)s=n[a],s&&0===s.fontLanguage&&(c=z(s.typeface),t.bodyFont=c,this.gf=c)}this.sf=t}},e.prototype.tf=function(e){var t,r;e&&(t=this,t.Ke=n.ConverterHelper.toCellStyle(e,t.ff,t.gf),r={},n.ConverterHelper.setStyleInfoFont(e.font,r,h,h),t.Ke.fontForColumnWidth=r.font,t.Oe=e)},e.prototype.uf=function(e,t){var r,i,a,s,c,d,u,f,b,m,g,y;if(e){if(r=this,i=r.Ne,a=n.ConverterHelper.toCellStyle(e,r.ff,r.gf),!o.J(a.formatter)){for(s=RegExp("\\[DBNum\\d+\\]","ig"),c=s.exec(a.formatter),d=a.formatter;null!==c;)u=c[0],f=parseInt(u.substring(u.indexOf("m")+1,u.indexOf("]")),10),(f>4||4===f&&d.indexOf("[$-412]")<0&&"ko-kr"!==o.Fa())&&(d=d.replace(u,"[DBNum3]")),c=s.exec(a.formatter);a.formatter=d}r.Pe.push(a),b=n.ExtendedNumberFormatHelper.getFormatCode(e),r.Qe.push(l.DateTimeHelper.vf(b)),"@"===b?r.Re.push(!0):r.Re.push(!1),e.isStyleFormat?(m=r.wf(t),m===-1&&(m=r.Ve),r.We.length>m?r.Se[r.Se.length]=r.We[m]:(r.Se[r.Se.length]="__builtInStyle"+r.Te,r.Te++)):(g="",e.parentFormatID!==h&&r.Se.length>e.parentFormatID&&(g=r.Se[e.parentFormatID]),(g===p||"__builtInStyle"===g.substring(0,14)||o.StringEx.L(g))&&(g="__builtInStyle"+r.Te,r.Te++),a.name=g,y=r.Ze[g],"__builtInStyle"===g.substring(0,14)||y===h||e.equals(y)||(a.parentName=g,g="__builtInStyle"+r.Te,r.Te++,a.name=g),i.namedStyles||(i.namedStyles=[]),o.ga.aa(i.namedStyles,r.Me,a),r.Se[r.Se.length]=g)}},e.prototype.wf=function(e){return this.Ye[e]?this.Ye[e]:-1},e.prototype.xf=function(e,t){var r,i,a,l,s,c,d,u,f;if(e){if(r=this,i=r.Ne,r.$e&&(r.yf(),r.$e=!1),a=e.name,l=r._e,l&&e.isBuiltInStyle())for(s=0,c=l.length;s<c;s++)if(d=l[s],d.builtInStyle===e.builtInStyle){a=d.name;break}if(o.ga.Z(r.Me,a)){for(s=0,c=r.af.length;s<c;s++)if(f=r.af[s],f.name===a){r.af[s]=e,r.Xe[s]=e.format(),r.Ye[t]=s;break}r.Ze[a]=e.format(),u=n.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),u.name=a,o.ga.aa(i.namedStyles,r.Me,u)}else r.Ze[a]=e.format(),r.af.push(e),r.Xe.push(e.format()),r.Ye[t]=r.Xe.length-1,r.We.push(a),i.namedStyles||(i.namedStyles=[]),u=n.ConverterHelper.toCellStyle(e.format(),r.ff,r.gf),u.name=a,o.ga.aa(i.namedStyles,r.Me,u)}},e.prototype.yf=function(){var e,t,r,o,i=this,a=i.Ne;if(i.$e)for(a.namedStyles||(a.namedStyles=[]),i._e=n.BuiltInExcelStyles.getBuiltInStyles(),e=0,t=i._e.length;e<t;e++)r=i._e[e],r&&r.name===p&&(i.Ve=i.Xe.length),i.af.push(r),i.Xe.push(r.format()),i.We.push(r.name),i.Ze[r.name]=r.format(),o=n.ConverterHelper.toCellStyle(r.format(),i.ff,i.gf),o.name=r.name},e.prototype.zf=function(e){this.bf=e},e.prototype.Af=function(e,t){var r=this.Ne;e||(r.showHorizontalScrollbar=e),t||(r.showVerticalScrollbar=t)},e.prototype.Bf=function(e,t,r,o){var i=this.Ne;e||(i.tabStripVisible=e),i.startSheetIndex=r,i.activeSheetIndex=t,i.tabStripRatio=o/1e3},e.prototype.Cf=function(e,t,r){var i={},n=this.Ne;i.name=e,i.index=t,1===r?i.visible=0:2===r&&(i.visible=2),i.allowCellOverflow=!0,i.theme=this.sf,i.defaults=o.Ea(),o.J(n.sheetCount)&&(n.sheetCount=0),n.sheetCount++,n.sheets||(n.sheets={}),n.sheets[e]=i},e.prototype.Df=function(e,t,r){var i,n,a=this.Ne;if(e&&(a.referenceStyle=1,a.sheets))for(i in a.sheets)a.sheets.hasOwnProperty(i)&&(n=a.sheets[i],n.referenceStyle=1,n.colHeaderAutoText=1);a.calculationMode=r,a.iterativeCalculation="1"===t.iterate,a.iterativeCalculationMaximumIterations=o.J(t.count)?100:parseInt(t.count,10),a.iterativeCalculationMaximumChange=o.J(t.delta)?.001:parseFloat(t.delta)},e.prototype.Ef=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];r===!1&&(i.rowOutlines||(i.rowOutlines={}),i.rowOutlines.direction=0),t===!1&&(i.columnOutlines||(i.columnOutlines={}),i.columnOutlines.direction=0)},e.prototype.Ff=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];t!==n.ExcelColor.EmptyColor&&(t.isThemeColor()?o.sheetTabColor=n.ColorHelper.getThemeColorName(t):o.sheetTabColor=n.ColorHelper.toRGBColor(t))},e.prototype.Gf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];i.rowCount=t,i.columnCount=r},e.prototype.Hf=function(e,t,r,o,i,a,l,s){var c,d=this.Ne,u=d.sheets&&d.sheets[e];o||(u.rowHeaderVisible=o,u.colHeaderVisible=o),a&&(u.showFormulas=!0),l?u.showZeros=!0:u.showZeros=!1,100!==i&&(u.zoomFactor=i/100),t&&t.isIndexedColor()&&64===t.value()&&(t=null),null===t&&r||(c={},null!==t&&(c.color=""+n.ColorHelper.toRGBColor(t)),r||(c.showVerticalGridline=r,c.showHorizontalGridline=r),u.gridline=c),u.isSelected=s},e.prototype.If=function(e,t,r,o,i,n,a,l,s){var c,d,u,f,b,h,p,m,g=this.Ne,y=g.sheets&&g.sheets[e];if(this.cf===t){for(y.rowCount<=r&&(y.rowCount=r+1),y.columnCount<=o&&(y.columnCount=o+1),c=0,d=n.length;c<d;c++)u=n[c],f=a[c],b=l[c],h=s[c],f===-1&&(f=y.rowCount-1),h===-1&&(h=y.columnCount-1),u=u>=0?u:0,f=f>=0?f:0,b=b>=0?b:0,h=h>=0?h:0,u<y.rowCount&&b<y.columnCount&&(p=Math.min(y.rowCount-u,f-u+1),m=Math.min(y.columnCount-b,h-b+1),p>=1&&m>=1&&(y.selections=y.selections||{},y.selections[c]={row:u,rowCount:p,col:b,colCount:m}));y.selections&&(y.selections.length=n.length),y.activeRow=r>=0&&r<y.rowCount?r:0,y.activeCol=o>=0&&o<y.columnCount?o:0}},e.prototype.Jf=function(e,t,r,i,n){var a,l,s,c,d,u,f,b,h;n&&(a=this.Ne,l=a.sheets&&a.sheets[e],s=this.Kf,c=o.IndexHelper.P(s),d=o.IndexHelper.R(s),u=o.IndexHelper.P(i),f=o.IndexHelper.R(i),r&&t?this.Lf(u,f,e):r&&!t?this.Lf(u,d,e):!r&&t&&this.Lf(c,f,e),r&&(b=r+c,l.rowCount<=b&&(l.rowCount=b),l.frozenRowCount=b,l.frozenTopRow=c),t&&(h=t+d,l.columnCount<=h&&(l.columnCount=h),l.frozenColCount=h,l.frozenLeftCol=d))},e.prototype.Mf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[e];i.defaults={colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:t,colWidth:r}},e.prototype.Nf=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];o.defaults.rowHeight=n.UnitHelper.pointToPixel(t)},e.prototype.Of=function(e,t,r){var o,i=this.Ne,n=i.sheets&&i.sheets[e];isNaN(r)?(o=this.Pf(t),n.defaults._isExcelDefaultColumnWidth=!0):o=this.Qf(r),n.defaults.colWidth=o},e.prototype.Pf=function(e){var t=this.Ke,r=this.getMaxiumDigitWidth(t.fontForColumnWidth?t.fontForColumnWidth:t.font),o=2*Math.ceil(r/4)+1,i=this.Qf(e,r)+o;return 8*Math.ceil(i/8)},e.prototype.Qf=function(e,t){if(0===e)return 0;var r=this.Ke,i=r.fontForColumnWidth?r.fontForColumnWidth:r.font;return Math.floor(Math.floor(256*e)/256*(o.J(t)?this.getMaxiumDigitWidth(i):t)+.5)},e.prototype.getMaxiumDigitWidth=function(e){return this.Rf===h&&(this.Rf=n.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.Sf=function(e){var t=this,r=t.Ne,o=r.sheets&&r.sheets[e],i=o.columnCount||0,n=o.rowCount||0,a=t.Tf,l=t.Uf;o.columnCount=Math.max(i,a+1),o.rowCount=Math.max(n,l+1)},e.prototype.Vf=function(e,t,r,o,n,a,l,s){var c,d,u,f,p,m,g,y,C,w,x,A,T,v,k=this.Ne,F=k.sheets&&k.sheets[e],R=F.columnOutlines&&0===F.columnOutlines.direction,E=this.jf,I=this.Qf(n),L=i.ExcelConstants.vb;for(r>=L-1&&(r=L-1),c=!1,d=t;d<=r;d++){if(u=!1,(l>0||s)&&(d+2>F.columnCount&&(f=F.columnOutlines&&F.columnOutlines.items,l<=0&&(!f||!f[d-1]||f[d-1].level<0)&&(c=!0),c||(F.columnCount=d+2)),c||(F.columnOutlines||(F.columnOutlines={}),F.columnOutlines.items||(F.columnOutlines.items=[]),F.columnOutlines.itemsData||(F.columnOutlines.itemsData=[]),p=F.columnOutlines.items,p[d]={level:l-1,collapsed:s},a&&(u=!0),m=F.columnOutlines.itemsData,g=m[m.length-1],g&&d===g.index+g.count&&g.info.level===l-1&&g.info.collapsed===s?g.count++:m.push({index:d,count:1,info:{level:l-1,collapsed:s}}))),F.columnOutlines&&F.columnOutlines.itemsData&&(y=F.columnOutlines.itemsData,S(y,d,l,R,a,E[d-1]&&E[d-1].hidden)),I!==-1||a){for(F.columns||(F.columns=[]),C=F.columns.length,w=C;w<d;w++)F.columns[w]=b,E[w]=b;x={},A={},x.hidden=a,a&&0===l&&(A.visible=x.visible=!1),I!==-1&&(A.size=x.size=I),x.visible!==!1&&u!==!0||0!==x.size||(A.size=x.size=h),E[d]=x,F.columns[d]=A}1!==o&&(T=this.Se[o],T!==h?this.df[d]={style:T}:o<this.Pe.length&&(this.df[d]={style:this.Pe[o]}),v=this.Pe[o],v&&v.isVerticalText===!0&&this.kf.push(d))}F.columnCount>L&&(F.columnCount=L)},e.prototype.Wf=function(e){var t,r,o,i,n,a,l,s,c,d,u=this,f=u.Ne,b=f.sheets&&f.sheets[e],h=b.defaults,p=b.data,m=b.columns,g=b.columnCount,y=h.colWidth;if(m&&(t=m.length,g<t))for(r=g;r<t;r++)if(o=m[r],o&&o.size===y){i=m.slice(0,r),u.jf=i,b.columns=i,p&&p.columnDataArray&&(p.columnDataArray=p.columnDataArray.slice(0,r));break}if(n=b.rows,a=b.rowCount,l=h.rowHeight,n&&(s=n.length,a<s))for(r=a;r<s;r++)if(c=n[r],c&&c.size===l){d=n.slice(0,r),u.if=d,b.rows=d,p&&p.rowDataArray&&(p.rowDataArray=p.rowDataArray.slice(0,r));break}},e.prototype.Xf=function(e,t,r,i,n){var a=this.Ne,l=a.sheets&&a.sheets[e];l.spans||(l.spans=[]),l.spans.push(new o.Range(t,i,r-t+1,n-i+1))},e.prototype.Yf=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e];o.isProtected=t},e.prototype.Zf=function(e,t,r){var o,i,n,l,s=this.Ne,c=s.sheets&&s.sheets[e];for(c.protectionOptions=c.protectionOptions||{},o=0;o<t.length;o++)i=t[o].name,n=t[o].value,l=a.toProtectionOptions[i],l?c.protectionOptions[l]=n:c.protectionOptions[i]=n;r&&c.protectionOptions.allowEditObjects===h&&(c.protectionOptions.allowEditObjects=!0)},e.prototype.$f=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];o.data||(o.data={}),t=o.data,this.ef.length>0&&(t.rowDataArray=this.ef,this.ef=[]),this.df.length>0&&(t.columnDataArray=this.df,this.df=[]),this.Ke&&(t.defaultDataNode={style:this.Ke}),this.sf&&(o.theme=this.sf),this.Sf(e)},e.prototype._f=function(e,t){var r,o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x=this.Ne,A=x.sheets&&x.sheets[e];if(A&&(r=t?A.rowOutlines:A.columnOutlines))for(o=0===r.direction,i=r.items,n=t?A.rows:A.columns,a=t?this.if:this.jf,l=function(){return o?0:n.length-1},s=function(e){return o?e<n.length:e>=0},c=function(e){return o?e+1:e-1},d=function(e){return o?e-1:e+1},u=function(e,t){var r=i[e];if(r)return r.level<=t?r:u(r.parentIndex,t)},f=l(),b=void 0;s(f);f=c(f))h=i[f],h&&h.level!==-1?(p=d(f),m=i[p],g=!m&&"number"==typeof h.level||m&&m.level<h.level,y=m&&m.level>h.level,S=void 0,C=void 0,g?(S=p,C=!!m&&(m.collapsed||m.viewCollapsed)):y?h.level===-1?C=!1:(w=void 0,w=m.parentIndex===b?m:u(m.parentIndex,h.level),w&&(S=w.parentIndex,C=w.viewCollapsed)):(S=m.parentIndex,C=m.viewCollapsed),h.parentIndex=S,h.viewCollapsed=C,!C&&a[f].hidden&&(n[f].visible=!1)):b=f},e.prototype.ag=function(e,t,r,o,i,a,l){var s,c,d,u,f,p,m,g,y=this.Ne,C=y.sheets&&y.sheets[e],w=C.rowOutlines&&0===C.rowOutlines.direction,x=this.if;if((i>0||a)&&(!w&&t+2>C.rowCount&&(C.rowCount=t+2),C.rowOutlines||(C.rowOutlines={}),C.rowOutlines.items||(C.rowOutlines.items=[]),C.rowOutlines.itemsData||(C.rowOutlines.itemsData=[]),s=C.rowOutlines.items,s[t]={level:i-1,collapsed:a},c=C.rowOutlines.itemsData,d=c[c.length-1],d&&t===d.index+d.count&&d.info.level===i-1&&d.info.collapsed===a?d.count++:c.push({index:t,count:1,info:{level:i-1,collapsed:a}})),u=x[t-1]&&x[t-1].hidden,C.rowOutlines&&C.rowOutlines.itemsData&&S(C.rowOutlines,t,i,w,l,u),i<=0&&t+1>C.rowCount&&(C.rowCount=t+1),r!==-1&&t<C.rowCount&&(f=this.Se[r],f!==h?this.ef[t]={style:f}:r<this.Pe.length&&(this.ef[t]={style:this.Pe[r]})),o!==-1||l){for(C.rows||(C.rows=[]),p=C.rows.length;p<t;p++)C.rows.push(b),x.push(b);m={},g={},m.hidden=l,l&&0===i&&(g.visible=m.visible=!1),o!==-1&&(g.size=m.size=Math.round(n.UnitHelper.pointToPixel(o))),m.visible===!1&&0===m.size&&(g.size=m.size=h),x.push(m),C.rows.push(g)}},e.prototype.bg=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];o.data||(o.data={}),t=o.data,t.dataTable||(t.dataTable={})},e.prototype.cg=function(e,t){var r=this.Ne,o=r.sheets&&r.sheets[e],i=o.data.dataTable;i[t]||(i[t]={})},e.prototype.dg=function(e,t,r,i){var n,a,l,s=this,c=s.Ne,d=c.sheets&&c.sheets[e],u=d.data.dataTable[t];u[r]||(u[r]={}),n=u[r],a=s.Se[i],a!==h?n.style=a:i<s.Pe.length&&(n.style=s.Pe[i]),s.kf.indexOf(r)>-1&&(l=s.Pe[i],l&&o.J(l.isVerticalText)&&(s.Pe[i].isVerticalText=!1))},e.prototype.eg=function(e,t,r,o){var i,n=this,a=n.Ne,l=a.sheets&&a.sheets[e],s=l.data.dataTable[t];s||(l.data.dataTable[t]=s={}),s[r]||(s[r]={}),i=s[r],i.hyperlink=o},e.prototype.fg=function(e,t){if(t[0]){var r=this,o=r.Ne,i=o.sheets&&o.sheets[e];i&&(i.sharedFormulas=t)}},e.prototype.gg=function(e,t,r,o,i,a,l,s){var c,d,u,f=this,b=f.Ne,h=b.sheets&&b.sheets[e],p=h.data.dataTable[t];if(p[r]||(p[r]={}),c=p[r],o<f.Qe.length&&f.Qe[o]&&"number"==typeof i&&(i=f.hg(i)),void 0!==i&&(c.value=i),void 0!==a&&(c.formula=a),l&&(c.arrayInfo=l),s){for(d=[],u=0;u<s.length;u++)s[u].style?d.push({style:n.ConverterHelper.toRichTextStyle(s[u].style,f.ff,f.gf),text:s[u].text}):d.push(s[u]);c.value={richText:d}}},e.prototype.hg=function(e){return this.bf&&(e+=1462),e=l.DateTimeHelper.Je(e),e instanceof Date&&(e=l.DateTimeHelper.ig(e)),l.DateTimeHelper.jg(e)},e.prototype.kg=function(e){var t,r,o;if(e&&e.length>0){for(n.ColorHelper.useCustomPalette=!0,t={},r=0,o=e.length;r<o;r++)t[r]=n.ColorHelper.fromArgb(e[r]);n.ColorHelper.customPalette=t}},e.prototype.mg=function(){this.cf=3},e.prototype.ng=function(e){this.cf=e},e.prototype.Lf=function(e,t,r){var o=this.Ne,i=o.sheets&&o.sheets[r];i.topCellIndex=e,i.leftCellIndex=t},e.prototype.og=function(){this.Ne.names=[];for(var e in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(e)&&(this.Ne.sheets[e].names=[])},e.prototype.pg=function(e,t,r,o){var i,n;if(r===-1)this.Ne.names.push({name:e,formula:t,row:0,col:0,comment:o});else for(i in this.Ne.sheets)this.Ne.sheets.hasOwnProperty(i)&&(n=this.Ne.sheets[i],n.index===r&&n.names.push({name:e,formula:t,row:0,col:0,comment:o}))},e.prototype.qg=function(e){var t=this.rg[e];return u(t,this.ff,this.gf)},e.prototype.sg=function(e){var t=this.tg[e];return u(t,this.ff,this.gf)},e.prototype.ug=function(e){var t=this.hf[e];return u(t,this.ff,this.gf)},e.prototype.vg=function(e,t){return u(e,this.ff,this.gf,t)},e.prototype.wg=function(e,t){var r,i,n,a=this.Ne.sheets[e];for(a.conditionalFormats||(a.conditionalFormats={rules:[]}),r=0;r<t.rules.length;r++)i=t.rules[r],!o.J(i.dxfId)&&i.dxfId>-1&&(n=this.ug(i.dxfId),n.font&&0===n.font.indexOf("normal normal")&&delete n.font,i.style=n,delete i.dxfId),a.conditionalFormats.rules.push(i)},e.prototype.xg=function(e){return this.Ne.sheets[e].conditionalFormats},e.prototype.yg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.comments=e.map(function(e){return a.convertFromExcelComment(i,e)})},e.prototype.zg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.pivotTables=e},e.prototype.Ag=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t],n=e.pictures,a=e.charts,l=e.shapes,s=r.Bg&&r.Bg.importPictureAsFloatingObject;n&&s&&this.Cg(n,i),a&&this.Dg(a,i),l&&(s&&(l=J(l)),this.Eg(l,i))},e.prototype.Cg=function(e,t){t.floatingObjects=t.floatingObjects||[];var r=t.floatingObjects;e.forEach(function(e){var o=a.convertFromExcelPicture(t,e,r);o.typeName="1",r.push(o)})},e.prototype.Dg=function(e,t){t.charts=t.charts||[],e.map(function(e){var r=a.convertFromExcelChart(t,e);t.charts.push(r)})},e.prototype.Fg=function(e,t){var r,o=this,i=o.Ne.pivotCaches;
26
+ if(i)for(r in i)if(i.hasOwnProperty(r)&&i[r]&&i[r][e]===t)return i[r]},e.prototype.Gg=function(e){var t,r,o,i,n,a,l=this,s=e.sp||e.cxnSp,c=s&&s.style,d=s&&s.spPr;c&&(t=c.lnRef,r=void 0,o=void 0,i=d.ln,i||(i={}),t&&(r=t.idx,r&&(o=l.qf(1,r-1),M(o,i),d.ln=i))),n=e.grpSp,n&&(a=n.sp,a&&a.length&&a.forEach(function(e){l.Gg({sp:e})}))},e.prototype.Eg=function(e,t){var r=this;t.shapes=t.shapes||[],e.map(function(e){r.Gg(e);var o=a.convertFromExcelShape(t,e);t.shapes.push(o)})},e.prototype.Hg=function(e,t){var r=this,o=r.Ne,i=o.sheets&&o.sheets[t];i.controls=e},e.prototype.Ig=function(e,t){var r=function(e){var t,r,o=e&&e.nvSpPr&&e.nvSpPr.cNvPr,i=o&&o.extLst&&o.extLst.ext||[];for(t=0;t<i.length;t++)if(r=i[t],r.compatExt)return r.compatExt.spid},o=function(e){return r(e)===t},i=function(e){var t,r,n,a=e&&e.sp||[];for(t=0;t<a.length;t++){if(r=a[t],o(r))return r;if(3===r.shapeType&&(n=i(r)))return n}},n=function(e){var t,r,n;for(t=0;t<e.length;t++)if(r=e[t],7===r.shapeType){if(o(r.shapeData&&r.shapeData.sp))return r.shapeData.sp}else if(3===r.shapeType&&(n=i(r.shapeData.grpSp)))return n},a=this,l=a.Ne,s=l.sheets&&l.sheets[e];return s&&s.shapes&&n(s.shapes)},e.prototype.Jg=function(e,t){var r,o,i,n=this,a=n.Ne,l=a.sheets&&a.sheets[t];for(l.sparklineGroups=e,r=0;r<e.length;r++)for(o=e[r].sparklines,i=0;i<o.length;i++)o[i].row>=l.rowCount&&(l.rowCount=o[i].row+1),o[i].col>=l.columnCount&&(l.columnCount=o[i].col+1)},e.prototype.Kg=function(e,t){var r,o,i,a,l,s,c,d,u,f,b,h=this,p=h.Ne,m=p.sheets&&p.sheets[t];for(m.tables=e,r=0;r<e.length;r++){e[r].row+e[r].rowCount>m.rowCount&&(m.rowCount=e[r].row+e[r].rowCount),e[r].col+e[r].colCount>m.columnCount&&(m.columnCount=e[r].col+e[r].colCount),o=m.data&&m.data.dataTable,i=e[r],a=m.data&&m.data.defaultDataNode&&m.data.defaultDataNode.style&&m.data.defaultDataNode.style.font;for(l in i.style)i.style.hasOwnProperty(l)&&i.style[l]&&i.style[l].font&&(i.style[l].font=n.ConverterHelper.composeFontWeightAndFontStyleToDestFont(i.style[l].font,a));for(s={},c=i.row+i.rowCount,d=i.col+i.colCount,u=i.row;u<c;u++)for(f=i.col;f<d;f++)o[u]&&o[u][f]&&(b=o[u][f].style,O(s,b)?o[u][f].style=s[b]:H(h,p,o,u,f,s))}},e.prototype.Lg=function(e,t,r,i){var n=this.Ne.sheets[e],a,l=[],s=0,c;if(n&&n.data&&n.data.dataTable&&(a=n.data.dataTable))for(;i>0&&s<t.rowCount;)a[t.row+s]&&(c=a[t.row+s][r],o.J(c.value)||(l.push(c.value),i--)),s++;return l},e.prototype.Mg=function(e,t){var r,i,a,l,s,c,d,u=this;if(!o.J(e)&&!o.J(e.range))return r={},r.filterItemMap=[],r.filteredColumns=[],i=e.range,i=new o.Range(i.row+1,i.col,i.rowCount-1,i.colCount),r.range=i,e.filterColumns.forEach(function(e){var n,a=e.autoFilterColumnId+i.col,l=[],s=!1,c=e.colorFilter;c&&(l.push(w(c,u.hf[c.dxfId])),s=!0),n=e.filters,n&&(n.blank&&n.filter.push(""),n.filter.forEach(function(e){l.push(C(2,0,e,n.blank))}),n.dateGroupItem.forEach(function(e){var t=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);l.push(C(5,0,t,!n.blank))}),s=!0),e.customFilters&&(l.push(T(e.customFilters,o.J(t)?i:u.Lg(t,i,a,1))),s=!0),e.dynamicFilter&&(l.push(k(e.dynamicFilter,i,a)),s=!0),e.top10Filter&&(l.push(R(e.top10Filter)),s=!0),s&&(r.filteredColumns.push(a),r.filterItemMap.push({index:a,conditions:l}))}),a=e.sortInfo,a&&a.dxfId===h?r.sortInfo=a:a&&a.dxfId!==h&&(l=void 0,s=e.sortInfo.isBackColor,c=u.hf[a.dxfId]&&u.hf[a.dxfId].fill,c&&(0===c.patternType?l="":(d={},n.ConverterHelper.Ie(c,d),l="object"==typeof d.backColor?JSON.stringify(d.backColor):d.backColor)),r.sortInfo={ascending:a.ascending,index:a.index,isBackColor:s,color:l}),r},e.prototype.Ng=function(e,t){if(!o.J(e)){var r={};return r.filterItemMap=[],e.filterColumns.forEach(function(e){var o=[],i=e.filters;i&&(i.filter.forEach(function(e){o.push(C(t.conType,0,e,i.blank))}),i.dateGroupItem.forEach(function(e){var r=new Date(e.year,e.month>0?e.month-1:e.month,e.day,e.hour,e.minute,e.second);o.push(C(t.conType,0,r,!i.blank))})),e.customFilters&&o.push(v(e.customFilters,t)),e.dynamicFilter&&o.push(F(e.dynamicFilter,t)),e.top10Filter&&o.push(E(e.top10Filter,t)),r.filterItemMap.push({conditions:o})}),r}},e.prototype.Og=function(e,t){if(!o.J(e)){var r=this,i=r.Ne,n=i.sheets&&i.sheets[e];n.rowFilter=r.Mg(t,e),i.allowAutoExtendFilterRange=!0}},e.prototype.Pg=function(e,t){var r,o,i,n,l,s=this,c=s.Ne,d=c.sheets&&c.sheets[t];d.slicers=d.slicers||[],r=d.slicers,o=[];for(i in c.sheets)c.sheets[i].tables&&(o=o.concat(c.sheets[i].tables));n=[];for(l in c.sheets)c.sheets[l].pivotTables&&(n=n.concat(c.sheets[l].pivotTables));e.forEach(function(e){"pivot"===e.type||"timeline"===e.type?e.pivotName=P(e.pivotCacheId,n,c.pivotCaches):(e.tableName=D(e.tableId,o),e.columnName=B(e.tableId,e.columnId,o),delete e.tableId,delete e.columnId),a.inflateWorksheetByAnchor(d,e),r.push(e)})},e.prototype.Qg=function(e,t){var r,i,n,a,l;o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],a=r.Rg(t),l=n.validations,l||(l=n.validations=[]),a.ranges=W(t.ranges,", "),l.push(a))},e.prototype.Rg=function(e){var t,r,i,n,a,l,s,c;if(o.J(e))return b;switch(t=e.type,r=e.compareOperator,i=e.firstFormula,n=e.secondFormula,a={type:t},t){case 0:break;case 1:case 2:case 6:l={operator:r,value1:I(i),value2:I(n)};break;case 3:s=i,o.J(s)&&(s=n),s&&(l='"'===s[0]&&'"'===s[s.length-1]?{value:L(s)}:{formula:I(s)});break;case 4:case 5:c=void 0,o.J(i)||(c=parseFloat(i),isNaN(c)||(i=this.hg(c))),o.J(n)||(c=parseFloat(n),isNaN(c)||(n=this.hg(c))),l={operator:r,value1:i&&i.indexOf("/OADate(")!==-1?i:I(i),value2:n&&n.indexOf("/OADate(")!==-1?n:I(n)};break;case 7:l={formula:I(i)}}return l&&(a.validatorInfo=l),a!==b&&(a.errorStyle=e.errorType,a.errorMessage=e.error,a.errorTitle=e.errorTitle,a.ignoreBlank=e.allowBlank,a.inCellDropdown=e.showPromptBox,a.inputMessage=e.prompt,a.inputTitle=e.promptTitle,a.showErrorMessage=e.showErrorMessage,a.showInputMessage=e.showInputMessage),a},e.prototype.Sg=function(e,t){var r,i,n,a;function l(e){return e=e||0,parseInt(Math.round(100*e),10)}o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,a.margin={top:l(t.top),bottom:l(t.bottom),left:l(t.left),right:l(t.right),header:l(t.header),footer:l(t.footer)})},e.prototype.Tg=function(e,t){var r,i,n,a,l,s,c,d;o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,a.showGridLine=t.printGridLine,l=t.horizontalCentered,s=t.verticalCentered,c=0,l&&s?c=3:l?c=1:s&&(c=2),a.centering=c,d=t.printRowColumnsHeaders?2:1,a.showColumnHeader=d,a.showRowHeader=d)},e.prototype.Ug=function(e,t,r){e.rows||(e.rows=[]);var o=e.rows[t];o?o.pageBreak=r:e.rows[t]={pageBreak:r}},e.prototype.Vg=function(e,t,r){e.columns||(e.columns=[]);var o=e.columns[t];o?o.pageBreak=r:e.columns[t]={pageBreak:r}},e.prototype.Wg=function(e,t){var r,i,n,a,l,s,c,d,u,f,p,m,g,y,S;function C(e){var t,r,o,i,n;if(e===h)return b;if(t=["","",""],e===b||""===e)return t;for(r=0,o=1,i=e.length;r<i;){if(r<i-1){if(n=e.substr(r,2),"&L"===n){o=0,r+=2;continue}if("&C"===n){o=1,r+=2;continue}if("&R"===n){o=2,r+=2;continue}}t[o]=t[o].concat(e[r]),r++}return t}o.J(e)||(r=this,i=r.Ne,n=i.sheets&&i.sheets[e],n.printInfo||(n.printInfo={}),a=n.printInfo,l=t.paperSizeIndex,0!==l&&(a.paperSize={kind:l}),t.useCustomStartingPage&&(a.firstPageNumber=t.firstPageNumber),o.J(t.showColor)||(a.blackAndWhite=!t.showColor),a.orientation=2===t.orientation?2:1,a.pageOrder=2===t.pageOrder?2:1,t.zoomFactor>0&&(a.zoomFactor=t.zoomFactor),t.useSmartPrint&&(t.smartPrintPagesWidth>=1&&(a.fitPagesWide=t.smartPrintPagesWidth),t.smartPrintPagesHeight>=1&&(a.fitPagesTall=t.smartPrintPagesHeight)),s=t.advancedHeadFooterSetting,s&&(c=a.pageHeaderFooter={},a.differentOddAndEvenPages=s.headerFooterDifferentOddEvenPages,a.differentFirstPage=s.headerFooterDifferentFirstPage,d=C(s.headerOddPage),d&&(s.headerFooterDifferentOddEvenPages?c.odd={header:{left:d[0],center:d[1],right:d[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}}:c.normal={header:{left:d[0],center:d[1],right:d[2],leftImage:s.headerLeftImage,centerImage:s.headerCenterImage,rightImage:s.headerRightImage}},a.headerLeft=d[0],a.headerCenter=d[1],a.headerRight=d[2]),u=C(s.footerOddPage),u&&(s.headerFooterDifferentOddEvenPages?(c.odd=c.odd||{},c.odd.footer={left:u[0],center:u[1],right:u[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}):(c.normal=c.normal||{},c.normal.footer={left:u[0],center:u[1],right:u[2],leftImage:s.footerLeftImage,centerImage:s.footerCenterImage,rightImage:s.footerRightImage}),a.footerLeft=u[0],a.footerCenter=u[1],a.footerRight=u[2]),f=C(s.headerEvenPage),f&&(c.even={header:{left:f[0],center:f[1],right:f[2],leftImage:s.evenHeaderLeftImage,centerImage:s.evenHeaderCenterImage,rightImage:s.evenHeaderRightImage}}),p=C(s.footerEvenPage),p&&(c.even=c.even||{},c.even.footer={left:p[0],center:p[1],right:p[2],leftImage:s.evenFooterLeftImage,centerImage:s.evenFooterCenterImage,rightImage:s.evenFooterRightImage}),m=C(s.headerFirstPage),m&&(c.first={header:{left:m[0],center:m[1],right:m[2],leftImage:s.firstHeaderLeftImage,centerImage:s.firstHeaderCenterImage,rightImage:s.firstHeaderRightImage}}),g=C(s.footerFirstPage),g&&(c.first=c.first||{},c.first.footer={left:g[0],center:g[1],right:g[2],leftImage:s.firstFooterLeftImage,centerImage:s.firstFooterCenterImage,rightImage:s.firstFooterRightImage}),s.headerLeftImage&&(a.headerLeftImage=s.headerLeftImage),s.headerCenterImage&&(a.headerCenterImage=s.headerCenterImage),s.headerRightImage&&(a.headerRightImage=s.headerRightImage),s.footerLeftImage&&(a.footerLeftImage=s.footerLeftImage),s.footerCenterImage&&(a.footerCenterImage=s.footerCenterImage),s.footerRightImage&&(a.footerRightImage=s.footerRightImage)),y=t.rowBreakLines,y&&y.length>0&&y.forEach(function(e){r.Ug(n,e,!0)}),S=t.columnBreakLines,S&&S.length>0&&S.forEach(function(e){r.Vg(n,e,!0)}))},e.prototype.Xg=function(e,t){var r,o,i,n;e<0||(r=this,o=r.Yg(e),o.printInfo||(o.printInfo={}),i=s.getRangesFromString(t),1===i.length&&(n=i[0],n.row>-1&&(o.printInfo.rowStart=n.row),n.rowCount>0&&(o.printInfo.rowEnd=n.row+n.rowCount-1),n.col>-1&&(o.printInfo.columnStart=n.col),n.colCount>0&&(o.printInfo.columnEnd=n.col+n.colCount-1)))},e.prototype.Zg=function(e,t){var r,i,n,a,l;if(!(e<0))for(r=this,i=r.Yg(e),i.printInfo||(i.printInfo={}),n=s.getRangesFromString(t.replace(","," ")),a=0;a<n.length;a++)l=n[a],o.isRangeWholeRow(l)?(i.printInfo.repeatRowStart=l.row,i.printInfo.repeatRowEnd=l.row+l.rowCount-1):o.isRangeWholeColumn(l)&&(i.printInfo.repeatColumnStart=l.col,i.printInfo.repeatColumnEnd=l.col+l.colCount-1)},e.prototype.Yg=function(e){var t,r,o=this.Ne.sheets;for(t in o)if(o.hasOwnProperty(t)&&(r=o[t],r.index===e))return r;return h},e.prototype.$g=function(e){this._g=e,this.ah={},this.bh={}},e.prototype.dh=function(e,t){var r,o,i,n,a,l,s,c,d,u,b,h,p,m,g=this._g,y=+t-1;if(g&&("cm"===e?(r=g.cellMetadata,o=this.ah):"vm"===e&&(r=g.valueMetadata,o=this.bh)),r){if(i=[e,y].join(","),n=o[i])return n;if(a=U(r,y)){l=a.rc,s=l._attr,c=+s.t-1,d=+s.v;try{if(u=f(g.metadataTypes.metadataType),b=f(g.futureMetadata),h=u[c],p=h&&h._attr.name,m=G(b,p))return n={name:p,detail:U(m,d)},o[i]=n,n}catch(e){}}}},e.prototype.eh=function(e){var t=this.dh("cm",e);return t&&"XLDAPR"===t.name},e.prototype.fh=function(e,t){var r=this;o.J(r.Ne.docProps)&&(r.Ne.docProps={}),o.J(r.Ne.docProps.docPropsCore)&&(r.Ne.docProps.docPropsCore={}),r.Ne.docProps.docPropsCore[e]=t},e.prototype.gh=function(e,t){var r=this;o.J(r.Ne.docProps)&&(r.Ne.docProps={}),o.J(r.Ne.docProps.docPropsApp)&&(r.Ne.docProps.docPropsApp={}),r.Ne.docProps.docPropsApp[e]=t},e.prototype.hh=function(e){var t=this;o.J(t.Ne.docProps)&&(t.Ne.docProps={}),o.J(t.Ne.docProps.docPropsCustom)&&(t.Ne.docProps.docPropsCustom=[]),t.Ne.docProps.docPropsCustom=e},e}(),t.ReaderDataModel=y},"./src/datamodel/datamodel-writer.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/excel-types.ts"),n=r("./src/datamodel/excel-style.ts"),a=r("./src/common/excel-types.ts"),l=r("./src/datamodel/excel-helper.ts"),s=r("./src/common/tuple.ts"),c=r("./src/datamodel/datetime-helper.ts"),d=r("./src/excel-io.ts"),u=n.ColorHelper.fromColorToExcelColor,f=n.ColorHelper.toExcelColor,b=o.Util.sa,h=o.Util.ta,p=void 0,m=null,g="__builtInStyle",y="__builtInValidatorStyle",S="__builtInTableStyle",C=/^(__builtInTableStyle\d+)?__builtInStyle\d+$/,w=/^__builtInTableStyle\d+__builtInStyle\d+$/;function T(e){return"string"==typeof e}function v(e){return"string"==typeof e||!e}function k(e){return"object"==typeof e}function F(e){return e.substring(0,19)===S}function R(e){return e.substring(0,23)===y}function E(e){var t=e.formula;return o.J(t)&&(t=e.expected,T(t)&&(t='"'+t+'"')),t}function I(e){var t,r,o;return T(e)&&(t=e.indexOf("/OADate(")+1,r=e.indexOf(")"),0!==t&&r>t&&(o=parseFloat(e.substring(t+7,r)),isNaN(o)||(e=""+o))),e}function L(e,t,r){var o,i=e.tables||[];return i.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(o=e,!1)}),o}function D(e,t,r){var o,i=e.spans||[];return i.every(function(e){return!(e.row<=t&&t<=e.row+e.rowCount-1&&e.col<=r&&r<=e.col+e.colCount-1)||(o=e,!1)}),o}function B(e,t){var r,o=e.spans||[];for(r=0;r<o.length;r++)if(t.row===o[r].row&&t.col===o[r].col){o.splice(r,1);break}}function P(e){if("/OADate("===e.substr(0,8)){var t=parseFloat(e.substr(8,e.length-10));return c.DateTimeHelper.Je(t)}}function W(e,t,r){e.ih||(e.ih={}),e.ih[t]=r}function _(e){return e.defaults?e.defaults.rowHeight:i.DefaultSize.Ab}function N(e){return e.defaults?e.defaults.colWidth:i.DefaultSize.zb}function M(e,t,r){var o=e.data.dataTable[t];if(o&&o[r])return o[r].value}function O(e,t,r){void 0===r&&(r=0);var i=t.row,n=t.col,a=t.rowCount,l=t.colCount;return i===-1&&(i=r,a=e.rowCount),n===-1&&(n=0,l=e.columnCount),i<=0?i=0:(i--,a+=1),new o.Range(i,n,a,l)}t.getFilterRange=O;function H(e){return o.J(e)?e:e.length>=2&&"="===e[0]?e.substring(1):"="===e?"":e}function G(e,t,r,i){var n,a,l;if(1===r.colCount){for(n=[],l=r.row;l<r.row+r.rowCount;l++)a=M(e,l,r.col),o.J(a)||n.push(a);return n.sort(function(e,t){return i?t-e:e-t}),n[t-1]}}function U(e,t,r){var i,n={filterType:1};if(n.isBottom=1===t.type,t.percent&&(n.percent=!0),i=t.expected,!o.J(i))return n.value=i,n.percent&&(i=Math.ceil(r.rowCount%i/100)),o.J(r)?n.filterValue=NaN:n.filterValue=G(e,i,r,!n.isBottom),n}function J(e){var t,r={filterType:1};return r.isBottom=e.type===-1,r.percent=1===e.compareType,t=e.expected,o.J(t)||(r.value=t,r.filterValue=t),r}function z(e,t,r){var o,i,n,a,l={filterType:2};if(0===t.type?l.type=100:1===t.type&&(l.type=101),r===m)return m;for(o=0,i=0,n=0;n<r.rowCount;n++)a=parseFloat(M(e,r.row+n,r.col)),isNaN(a)||(o+=a,i++);return i>0&&(l.value=o/i),l}function V(e){var t=new Date,r=t.getDay(),o=t.getDate(),i=new Date(t),n=new Date(t);switch(e){case 3:i.setDate(o-6);break;case 1:i.setDate(o-1);break;case 0:break;case 2:i.setDate(o+1);break;case 8:i.setDate(o-r-7),n.setDate(o-r-1);break;case 7:i.setDate(o-r),n.setDate(o-r+6);break;case 9:i.setDate(o-r+7),n.setDate(o-r+13);break;case 5:i.setDate(1),i.setMonth(i.getMonth()-1),n.setDate(0);break;case 4:i.setDate(1),n.setMonth(n.getMonth()+1),n.setDate(0);break;case 6:i.setDate(1),i.setMonth(i.getMonth()+1),n.setMonth(n.getMonth()+2),n.setDate(0)}return i.setHours(0),i.setMinutes(0),i.setSeconds(0),n.setHours(23),n.setMinutes(59),n.setSeconds(59),{from:i,to:n}}function j(e){var t,r,o,i,n,a,l=new Date,s=l.getDay(),d=l.getDate(),u=new Date(l),f=new Date(l);switch(e){case 11:u.setDate(d-6);break;case 9:u.setDate(d-1);break;case 8:break;case 10:u.setDate(d+1);break;case 16:u.setDate(d-s-7),f.setDate(d-s-1);break;case 15:u.setDate(d-s),f.setDate(d-s+6);break;case 17:u.setDate(d-s+7),f.setDate(d-s+13);break;case 13:u.setDate(1),u.setMonth(u.getMonth()-1),f.setDate(0);break;case 12:u.setDate(1),f.setMonth(f.getMonth()+1),f.setDate(0);break;case 14:u.setDate(1),u.setMonth(u.getMonth()+1),f.setMonth(f.getMonth()+2),f.setDate(0);break;case 18:t=u.getMonth()-u.getMonth()%3+1+3,r=t+3+3,u.setDate(1),u.setMonth(t),f.setMonth(r),f.setDate(0);break;case 19:o=u.getMonth()-u.getMonth()%3+1,i=o+3,u.setDate(1),u.setMonth(o),f.setMonth(i),f.setDate(0);break;case 20:n=u.getMonth()-u.getMonth()%3+1-3,a=o+3-3,u.setDate(1),u.setMonth(n),f.setMonth(a),f.setDate(0);break;case 21:u.setDate(1),u.setMonth(1),u.setFullYear(u.getFullYear()+1),f.setFullYear(f.getFullYear()+2),f.setMonth(0),f.setDate(0);break;case 22:u.setDate(1),u.setMonth(1),f.setFullYear(f.getFullYear()+1),f.setMonth(0),f.setDate(0);break;case 23:u.setDate(1),u.setMonth(1),u.setMonth(u.getFullYear()-1),f.setMonth(0),f.setDate(0);break;case 40:u.setMonth(0,1),u.setHours(0,0,0,0),f.setHours(23,59,59,999)}return u.setHours(0),u.setMinutes(0),u.setSeconds(0),f.setHours(23),f.setMinutes(59),f.setSeconds(59),{from:c.DateTimeHelper.ig(u),to:c.DateTimeHelper.ig(f)}}function X(e){var t,r=e.expected,o={filterType:2,type:r,conType:e.conType,expectTypeId:e.expectTypeId};return r>=0&&r<=15||r>=21&&r<=32?(t=V(r),t.from&&t.to&&(o.value=t.from,o.maxValue=t.to)):o.type=-1,o}function K(e){if(!o.J(e.compareType)){var t={filterType:4};return t.filter1={},t.filter1.operator=e.compareType,o.J(e.expected)?t.filter1.value=H(e.formula):t.filter1.value=e.expected,t}}function q(e){var t,r,i,n;if(!o.J(e.compareType))return t={filterType:4},t.filter1={},r=e.compareType,i=void 0,n=void 0,6===r?(i=5,n=3,t.and=!0):(i=r,n=r),t.filter1.operator=i,e.item1&&!o.J(e.item1.expected)&&(t.filter1.value=e.item1.expected),e.item2&&!o.J(e.item2.expected)&&(t.filter2={},t.filter2.operator=n,t.filter2.value=e.item2.expected),t}function Y(e){var t=e.expected,r=-1;switch(e.compareType){case 0:return{filterType:3,filter:[t]};case 1:r=1;break;case 2:t+="*";break;case 3:r=1,t+="*";break;case 4:t="*"+t;break;case 5:r=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:r=1,t="*"+t+"*"}return{filterType:4,filter1:{operator:r,value:t}}}function Q(e){var t,r,i;if(o.J(e.value1)?o.J(e.item1)||(t=e.item1.expected):t=e.value1,o.J(e.value2)?o.J(e.item2)||(r=e.item2.expected):r=e.value2,!r){switch(i=-1,e.compareType){case 0:return{filterType:3,filter:[t]};case 1:i=1;break;case 2:t+="*";break;case 3:i=1,t+="*";break;case 4:t="*"+t;break;case 5:i=1,t="*"+t;break;case 6:t="*"+t+"*";break;case 7:i=1,t="*"+t+"*";break;case 8:i=2;break;case 9:i=5;break;case 10:i=4;break;case 11:i=3}return{filterType:4,filter1:{operator:i,value:t}}}return 12===e.compareType?{filterType:4,filter1:{operator:3,value:t},filter2:{operator:5,value:r}}:13===e.compareType?{filterType:4,filter1:{operator:4,value:t},filter2:{operator:2,value:r}}:void 0}function Z(e,t){var r;r="/OADate"===e.expected.substring(0,7)?P(e.expected):new Date(e.expected),t.dateGroupItem=t.dateGroupItem||[],t.dateGroupItem.push({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate(),hour:r.getHours(),minute:r.getMinutes(),second:r.getSeconds(),dateTimeGrouping:2})}function $(e,t){var r,i,n,a=o.J(e.compareType)?e.operator:e.compareType;if(a>=8&&a<=23||40===a)r={filterType:2,type:t},i=j(a),i.from&&i.to&&(r.value=i.from,r.maxValue=i.to);else if(a>=24&&a<=39)r={filterType:2,type:t};else if(a>=0&&a<=7)return n=q(e),e.isWholeDay&&(n.isWholeDay=e.isWholeDay),n;return r}t.getPivotDateFilter=$;function ee(e){var t,r,o;if(0===e.compareType)return t={filterType:3},Z(e,t),t;switch(r=-1,e.compareType){case 0:break;case 1:r=1;break;case 2:r=4;break;case 3:r=5;break;case 4:r=2;break;case 5:r=3}return r!==-1?(o=E(e),o=I(o),{filterType:4,filter1:{operator:r,value:o}}):void 0}function te(e){var t,r,i=[],n=[];for(n.push(e);n.length>0;)t=n.shift(),0===t.conType?(r=t,o.J(r.item1)||n.push(r.item1),o.J(r.item2)||n.push(r.item2)):i.push(t);return i}function re(e){var t=-1;switch(e){case 0:case 2:case 4:case 6:t=0;break;case 1:case 3:case 5:case 7:t=1;break;default:t=0}return t}function oe(e,t){switch(t){case 0:case 1:return e;case 2:case 3:return e.concat("*");case 4:case 5:return"*".concat(e);case 6:case 7:return"*".concat(e).concat("*");default:return e}}function ie(e){var t={filterType:3,filter:[]};return e.forEach(function(e){o.J(e.expected)||t.filter.push(e.expected)}),t}function ne(e,t){return e.every(function(e){return e.conType===t})}function ae(e,t,r){var i,n,a,l,s,c,d,u,f,b,h,p,g;if(0===e.compareType){if(i=te(e),ne(i,5))return n={filterType:3},i.forEach(function(e){Z(e,n)}),n;if(ne(i,2)){if(s=!1,i.length<=2)for(c=0;c<i.length;c++)if(0!==i[c].compareType){s=!0;break}return s?(l={filterType:4},d=i[0],a=re(d.compareType),l.filter1={},l.filter1.operator=a,o.J(d.expected)?l.filter1.value=H(d.formula):l.filter1.value=oe(d.expected,d.compareType),2===i.length&&(d=i[1],a=re(d.compareType),l.filter2={},l.filter2.operator=a,o.J(d.expected)?l.filter2.value=H(d.formula):l.filter2.value=oe(d.expected,d.compareType)),l.and=!1,l):ie(i)}if(ne(i,11)){if(u=!0,i.length<=2&&(u=!1),u)return ie(i);if(i.length>0)return f=i[0],l={filterType:4,filter1:{operator:f.compareType}},o.J(f.expected)?l.filter1.value=H(f.formula):l.filter1.value=f.expected,2===i.length&&(f=i[1],l.filter2={operator:f.compareType},o.J(f.expected)?l.filter2.value=H(f.formula):l.filter2.value=f.expected),l.and=!1,l}return l={filterType:4,and:!1},b=le(t,i[0],r),l.filter1=b.filter1,i.length>1&&(h=le(t,i[1],r),l.filter2=h.filter1),l}if(i=te(e),2===i.length)return l={filterType:4},l.and=!0,p=le(t,i[0],r),o.J(p)||!p.filter1?m:(l.filter1=p.filter1,g=le(t,i[1],r),o.J(g)||!g.filter1?m:(l.filter2=g.filter1,l))}function le(e,t,r){if(e===m)return m;var o=t.conType;if(3===o);else{if(8===o)return U(e,t,r);if(10===o)return z(e,t,r);if(6===o)return X(t);if(11===o||1===o)return K(t);if(2===o)return Y(t);if(5===o)return ee(t);if(0===o)return ae(t,e,r)}}function se(e,t){var r=e.conType;return 3===r?J(e):2===r?q(e):0===r?Q(e):1===r?$(e,t):void 0}function ce(e){var t,r,i;return o.J(e)?m:(t=m,r=m,i=0,i=1===e.compareType?6:7,e.item1&&(t=0===e.item1.conType?ce(e.item1):de(e.item1)),e.item2&&(r=0===e.item2.conType?ce(e.item2):de(e.item2)),new s.Tuple(t,r,i))}function de(e){if(!o.J(e)){var t=e.conType,r,i;return 0===t?ce(e):1===t||7===t?(r=e.compareType,i=e.formula,o.J(i)&&(i=e.expected),new s.Tuple(i,m,r)):4===t?new s.Tuple(o.J(e.formula)?e.expected:e.formula,m,1):12===t||5===t||13===t?(i=E(e),new s.Tuple(i,m,1)):m}}function ue(e){if(e instanceof s.Tuple){var t=e;if(!o.J(t.item1))return ue(t.item1)}else if(!o.J(e))return H(""+e);return""}function fe(e,t,r){var i,n,a,l,s;return o.J(e)?m:(i=de(e.condition),n=m,a=m,o.J(i)||(o.J(i.item1)||(n=ue(i.item1)),o.J(i.item2)||(a=ue(i.item2))),l={},(h(n,t,r)||h(a,t,r))&&(l.external=!0),s=e.type,l.type=s,l.firstFormula=n,l.secondFormula=a,4!==s&&5!==s||(o.J(l.firstFormula)||(l.firstFormula=I(l.firstFormula)),o.J(l.secondFormula)||(l.secondFormula=I(l.secondFormula))),l.compareOperator=e.comparisonOperator,l.allowBlank=e.ignoreBlank,l.error=e.errorMessage,l.errorTitle=e.errorTitle,l.errorStyle=e.errorStyle,l.prompt=e.inputMessage,l.showPromptBox=e.inCellDropdown,l.promptTitle=e.inputTitle,l.showErrorBox=e.showErrorMessage,l.showInputMessage=e.showInputMessage,l)}function be(e,t,r){if(r.ih&&r.ih[e])return r.ih[e];var i=o.ga._(r.namedStyles,e);return i?(W(r,e,i),i):t.ih&&t.ih[e]?t.ih[e]:(i=o.ga._(t.namedStyles,e),i&&W(t,e,i),i)}function he(e,t,r,o){e.forEach(function(e){var i=fe(e,r,o);i.ranges=e.ranges.split(", ").join(" "),t.push(i)})}x={empty:0,thin:1,medium:2,dashed:3,dotted:4,thick:5,double:6,hair:7,mediumDashed:8,dashDot:9,mediumDashDot:10,dashDotDot:11,mediumDashDotDot:12,slantedDashDot:13};function pe(e){if(e){var t={};return e.borderColor&&(t.color=e.borderColor),e.borderStyle&&(t.style=x[e.borderStyle]),t}}function me(e,t){var r,o;if(e){for(r in e)e.hasOwnProperty(r)&&r.indexOf("border")>=0&&(o=e[r],o&&(e[r]=pe(o)));return t&&(e.isSlicerHeader=!0),e}}function ge(e){var t,r,i=e.sheets;if(i)for(t in i)i.hasOwnProperty(t)&&(r=i[t],r.defaults=r.defaults||o.Ea())}function ye(e){var t,r;if(o.J(e)||!Array.isArray(e))return m;for(t=[],r=0;r<e.length;r++)t.push(e[r].text?e[r].text:"");return t.join("")}function Se(e,t){var r=null;return t.forEach(function(t){t.name===e&&(r=t.id)}),r}function Ce(e,t,r){for(var o=0;o<e.styleElements.length;o++)e.styleElements[o].type===t&&(e.styleElements[o].size=r)}function we(e,t){return b(e,t,l.isBorderEqual)}function xe(e,t){return e[t.name]&&b(e[t.name],t,we)}function Ae(e,t){for(var r=t,o=1;e[r];)r=t+"_"+o,o++;return r}function Te(e,t){var r=t;return null!==e&&void 0!==e&&(r=e),(r/100).toFixed(2)}function ve(e){var t,r=e.names;if(r)for(t=0;t<r.length;t++)if("@"===r[t].name){r.splice(t,1);break}}function ke(e){var t,r,o,i,n,a=e.jh;if(a&&a.dataSourceOption&&a.dataSourceOption.schema&&a.dataSourceOption.schema.hierarchy)for(t=a.dataSourceOption.schema.hierarchy,r=a.views.filter(function(t){return t.name===e.addition.dataView.name})[0],o=r.columns,i=0;i<o.length;i++)if(n=o[i],n.outlineColumn||n.value===t.outlineColumn||t.outlineColumn&&n.value===t.outlineColumn.value)return!0}function Fe(e){var t,r,i,n,a,l,s,c,d,u,f,b,h=e.colHeaderRowCount||1;if(e.rowCount+=h,t=e.data,ke(e)){for(r=0;r<h;r++)e.rowOutlines.items.unshift(p);for(i=e.rowOutlines.itemsData,r=0;r<i.length;r++)n=i[r],n.index+=h}for(a=t.dataTable,a||(a=t.dataTable={}),l=e.rowCount-h;l>=0;l--)a[l+h]=a[l];for(s=e.colHeaderData.dataTable,l=0;l<h;l++)a[l]=s&&s[l]||{};if(c=e.colHeaderRowInfos,d=e.defaults&&e.defaults.colHeaderRowHeight,!o.J(d))for(c||(c=[]),l=0;l<h;l++)c[l]?o.J(c[l].size)&&(c[l].size=d):c[l]={size:d};if(c&&c.length>0)for(u=e.rows,u||(e.rows=[]),l=0;l<c.length;l++)e.rows.splice(l,0,c[l]);for(f=t.rowDataArray,f||(f=t.rowDataArray={}),l=e.rowCount-h;l>=0;l--)f[l+h]=f[l];for(b=e.colHeaderData.rowDataArray,l=0;l<h;l++)f[l]=b&&b[l]||{};e.frozenRowCount>0&&(e.frozenRowCount+=h,e.topCellIndex+=h)}function Re(e){var t,r,o,i,n,a=e.colHeaderRowCount||1,l=[],s=e.data,c=s.dataTable,d=c[a-1];if(e.columnCount=e.columnCount||e.columns&&e.columns.length||0,0!==e.rowCount&&0!==e.columnCount){if(d)for(t=0;t<e.columnCount;t++)r={id:t+1},o=d[t],r.name=o&&o.value||"Column"+(t+1),l.push(r);for(i={},t=l.length-1;t>=0;t--)n=l[t],i[n.name]?n.name=n.name+" "+t:i[n.name]=!0;e.tables=[{name:e.name,row:a-1,col:0,rowCount:e.rowCount,colCount:e.columnCount,rowFilter:{range:{row:a,col:0,rowCount:e.rowCount-1,colCount:e.columnCount},showFilterButton:!0},columns:l}]}}function Ee(e,t){var r=e;return r.length>255?r=r.slice(-240):(r=t+" "+r,r.length>250&&(r=e+" "+Math.random().toString(36).slice(-6))),r}function Ie(e){Fe(e),delete e.rowFilter,Re(e)}function Le(e,t){var r,i,a,l,s;o.J(e.numberFormat)||(r=e.numberFormat,i={},a=n.ExtendedNumberFormatHelper.getFormatId(r),l=a.id,s=a.isBuiltIn,s?(i.numberFormatIndex=l,e.numberFormatId=l):(i.numberFormat=new n.ExcelNumerFormat(l,r),e.numberFormatId=i.numberFormat.numberFormatId),t.push(i))}function De(e,t){var r={name:e};return l.getPictureInfo(t,r),r}function Be(e,t,r){var i=m,n=p,a=!1;return o.J(e)||(k(e)?Array.isArray(e)?i=e.join(","):(n=e.richText,n?i=ye(n):o.J(e._code)||(i=e),a=e._code>=99,a&&r<3&&(r=t?2:3)):(i=e,t&&r<1&&(r=1))),{value:i,richText:n,isSpillError:a,dynamicArrayLevel:r}}function Pe(e){return e&&"'"===e[0]&&"'"===e[e.length-1]&&(e=e.substring(1,e.length-1)),e}A=function(){function e(e){var t=this;t.kh(e),t.Ne=e,t.lh={},t.mh=[],t.nh={},t.oh=[],t.ph={},t.qh=[],t.rh={},t.sh={},t.af=[],t.th=[],t.uh={},t.vh={},t.wh={},t.xh={},t.yh={},t.Ah={},t.Bh={},t.hf=[],t.Ch=[],t.Dh=[],t.Eh=e.allowDynamicArray?1:0,t.Fh={},t.Gh={},t.Hh={},t.Ih=[]}return e.prototype.kh=function(e){var t,r,o,i,n,a,l,s,c,d=e.sheetCount||0;if(e.sheetCount=d+(e.sheetTabCount||0),t=e.activeSheetIndex,r=e.activeSheetTabIndex,(void 0===t||t<0)&&void 0!==r&&r>=0&&(e.activeSheetIndex=d+r),o=e.sheetTabs){i=function(t){if(o.hasOwnProperty(t)){var r=o[t];e.dataManager&&e.dataManager.tables&&r.addition&&r.addition.dataView&&r.addition.dataView.tableName&&(r.jh=e.dataManager.tables.filter(function(e){return e.name===r.addition.dataView.tableName})[0]),Ie(r),ve(r)}};for(n in o)i(n);if(a=e.sheets){for(l in o)o.hasOwnProperty(l)&&(a[l]=o[l]);for(s in a)a.hasOwnProperty(s)&&(c=a[s],"number"==typeof c.order&&(c.index=c.order))}else e.sheets=o}void 0===e.startSheetIndex&&(e.startSheetIndex=0)},e.prototype.$e=function(){var e=n.DefaultStyle.Jh(this.Ne);this.lh.Normal=0,this.af.push(e),this.th.push(e),this.vh[e.name]=this.af.length-1},e.prototype.Kh=function(e){var t=e.index;this.uh[t]||(this.uh[t]={}),this.wh[t]||(this.wh[t]={}),this.xh[t]||(this.xh[t]={}),this.yh[t]||(this.yh[t]={}),this.Ah[t]||(this.Ah[t]={})},e.prototype.Lh=function(e,t){var r,i,n,l,s,c,d,u;if(!e||!t)return!1;if(r=!0,!o.StringEx.L(t.fileName)&&(i=this.Mh(t.fileType),!o.StringEx.L(i))){for(n=new a.OverrideContentType,n.partName=t.fileName,n.contentType=i,l=!1,s=0,c=e.length;s<c;s++)if(d=e[s],d instanceof a.OverrideContentType&&d.contentType===n.contentType&&d.partName===n.partName){l=!0;break}l||e.push(n)}if(t.relationFiles&&t.relationFiles.count>0)for(u in t.relationFiles)t.relationFiles.hasOwnProperty(u)&&"count"!==u&&(r=r&&this.Lh(e,t.relationFiles[u]));return r},e.prototype.Mh=function(e){if(o.StringEx.L(e))return"";switch(e){case i.RelationshipConstants.Sa:return i.XFileConstants.Ib;case i.RelationshipConstants.Pa:return i.XFileConstants.Jb;case i.RelationshipConstants.Ua:return i.XFileConstants.Kb;case i.RelationshipConstants.Na:return i.XFileConstants.Lb;case i.RelationshipConstants.Ra:return i.XFileConstants.Mb;case i.RelationshipConstants.Za:return i.XFileConstants.Ob;case i.RelationshipConstants.$a:return i.XFileConstants.Pb;case i.RelationshipConstants._a:return i.XFileConstants._b;case i.RelationshipConstants.eb:return i.XFileConstants.Qb;case i.RelationshipConstants.jb:return i.XFileConstants.fc;case i.RelationshipConstants.kb:return i.XFileConstants.gc;case i.RelationshipConstants.lb:return i.XFileConstants.Rb;case i.RelationshipConstants.mb:return i.XFileConstants.Sb;case i.RelationshipConstants.pb:return i.XFileConstants.Ub;case i.RelationshipConstants.qb:return i.XFileConstants.Tb;case i.RelationshipConstants.ob:return i.XFileConstants.Vb;case i.RelationshipConstants.sb:return i.XFileConstants.fe;case i.RelationshipConstants.Ka:return i.XFileConstants.se;case i.RelationshipConstants.La:return i.XFileConstants.ve;case i.RelationshipConstants.Ma:return i.XFileConstants.ye;case i.RelationshipConstants.Wa:return i.XFileConstants.cc;case i.RelationshipConstants.Xa:return i.XFileConstants.dc;case i.RelationshipConstants.Ya:return i.XFileConstants.ec;case i.RelationshipConstants.bb:return i.XFileConstants.lc;case i.RelationshipConstants.ub:return i.XFileConstants.ic;case i.RelationshipConstants.tb:return i.XFileConstants.hc;default:return""}},e.prototype.Nh=function(e,t,r,o,i){var n,a,s,c,d,u,f,b,h,p,m,y,C,w=this,x=w.Ne,A=x.namedStyles;for(n=0;n<e.length;n++)if(a=e[n])for(s=a.row,c=a.col,d=a.rowCount,u=a.colCount,f=0;f<d;f++)if(b=t[s+f])for(h=0;h<u;h++)if(p=b[c+h],p&&p.style){if("string"==typeof p.style){if(i[p.style]){p.style=i[p.style];continue}p.style=r[p.style]}p.style&&(p.style=l.resetTableCellStyle(p.style,o),p.style.name&&(m=p.style.name,y=m.indexOf(g),w.Oh++,C=S+w.Oh+m.substring(y),p.style.name=C,A.push(p.style),p.style=C,i[m]=C))}},e.prototype.Ph=function(){var e,t,r=this,o=r.Ne;r.$e(),r.Qh();for(e in o.sheets)if(o.sheets.hasOwnProperty(e)){if(t=o.sheets[e],!t)continue;r.Rh(t),r.Kh(t),r.Sh(t),r.Th(t),r.Uh(t),r.Vh(t),r.Wh(t)}ge(r.Ne)},e.prototype.Xh=function(){var e=this;e.onCompleted&&e.onCompleted()},e.prototype.Wh=function(e){var t,r,o=e.conditionalFormats&&e.conditionalFormats.rules;if(o)for(t=0;t<o.length;t++)r=o[t],r.style&&(r.style.isPartFontStyle=!0,r.style.isFormatStyle=!0,r.dxfId=this.Yh(r.style));e.Zh=this.$h(e),this._h(e),this.ai(e),this.bi(e),this.ci(e)},e.prototype.Yh=function(e){var t=this,r=t.hf.indexOf(e);return r===-1&&(r=t.hf.length,t.hf.push(e)),r},e.prototype.di=function(e){var t=this,r=t.Ch.indexOf(e);return r===-1&&(r=t.Ch.length,t.Ch.push(e)),r},e.prototype.ei=function(e){var t=this,r=t.Dh.indexOf(e);return r===-1&&(r=t.Dh.length,
27
+ t.Dh.push(e)),r},e.prototype.ci=function(e){var t=this,r=e.slicers,i=t.fi();r&&r.length>0&&r.forEach(function(e){var r,n,a,l,s,c,u,f,b,h,p,m;if(e&&(r="timeline"===e.type,n=r?d.IO.timelineStyles:d.IO.slicerStyles,"string"==typeof e.style?(a=e.style.toLowerCase().replace(r?/^timeslicerstyle/:/^slicerstyle/,""),n[a]?e.style=n[a]:delete e.style):e.style instanceof Object&&(l=e.style&&e.style.name,s=l&&l.length>11&&n[l.toLowerCase().replace(r?/^timeslicerstyle/:/^slicerstyle/,"")],s&&(e.style.name="CustomSlicerStyle_"+e.name)),c=e.style,!o.J(c&&c.name))){if(u={},!xe(t.nh,c)){u={styleElements:[],name:Ae(t.nh,c.name)},c.name=u.name;for(f in c)if(c.hasOwnProperty(f)&&"name"!==f&&!o.J(c[f]))switch(f){case"headerStyle":case"wholeSlicerStyle":b={},b.type=f,b.dxfId=t.Yh(me(c[f],"headerStyle"===f)),b.tableId=Se(e.tableName,i),u.styleElements.push(b)}t.mh.push(u)}if(r){if(!xe(t.rh,c)){h={styleElements:[],name:Ae(t.rh,c.name)},c.name=u.name;for(p in c)if(c.hasOwnProperty(p)&&"name"!==p&&!o.J(c[p]))switch(p){case"selectionLabelStyle":case"timeLevelStyle":case"periodLabel1Style":case"periodLabel2Style":case"selectedTimeBlockStyle":case"unselectedTimeBlockStyle":case"selectedTimeBlockSpaceStyle":h.styleElements.push({type:p,dxfId:t.ei(me(c[p]))})}t.qh.push(h),t.rh[h.name]=c}}else if(!xe(t.ph,c)){m={styleElements:[],name:Ae(t.nh,c.name)},c.name=u.name;for(p in c)if(c.hasOwnProperty(p)&&"name"!==p&&!o.J(c[p]))switch(p){case"selectedItemWithDataStyle":case"selectedItemWithNoDataStyle":case"unSelectedItemWithDataStyle":case"unSelectedItemWithNoDataStyle":case"hoveredSelectedItemWithDataStyle":case"hoveredSelectedItemWithNoDataStyle":case"hoveredUnSelectedItemWithDataStyle":case"hoveredUnSelectedItemWithNoDataStyle":m.styleElements.push({type:p,dxfId:t.di(me(c[p]))})}t.oh.push(m),t.ph[m.name]=c}}})},e.prototype._h=function(e){var t,r,i=this;function n(e,t){var r,n,a,l,s,c,u,f,b,h;if(e&&(t?(r=e.style&&e.style.name,r&&r.length>10&&d.IO.pivotTableThemes[r.toLowerCase().replace(/^pivotstyle/,"")]&&(e.style.name="CustomPivotTableStyle_"+e.name)):"string"==typeof e.style?d.IO.tableThemes[e.style]?e.style=d.IO.tableThemes[e.style]:delete e.style:e.style instanceof Object&&(n=e.style&&e.style.name,n&&d.IO.tableThemes[n]&&(e.style.name="CustomTableStyle_"+e.name)),a=e.style,!o.J(a&&a.name))){if(xe(i.nh,a))return;l={styleElements:[]},l.name=Ae(i.nh,a.name),a.name=l.name,s=void 0,c=void 0,u=void 0,f=void 0;for(b in a)if(a.hasOwnProperty(b)&&"name"!==b&&void 0!==a[b])switch(b){case"firstRowStripSize":s=a[b];break;case"secondRowStripSize":c=a[b];break;case"firstColumnStripSize":u=a[b];break;case"secondColumnStripSize":f=a[b];break;default:h={},h.type=b,a[b].isPartFontStyle=!0,h.dxfId=i.Yh(a[b]),l.styleElements.push(h)}Ce(l,"firstRowStripStyle",s||1),Ce(l,"secondRowStripStyle",c||1),Ce(l,"firstColumnStripStyle",u||1),Ce(l,"secondColumnStripStyle",f||1),Ce(l,"firstRowStripeStyle",s||1),Ce(l,"secondRowStripeStyle",c||1),Ce(l,"firstColumnStripeStyle",u||1),Ce(l,"secondColumnStripeStyle",f||1),l.isPivot=t,i.mh.push(l),i.nh[l.name]=a}}t=e.pivotTables,t&&t.length>0&&t.forEach(function(e){return n(e,!0)}),r=e.tables,r&&r.length>0&&r.forEach(function(e){return n(e,!1)})},e.prototype.ai=function(e){var t=this,r=e.pivotTables;r&&r.length>0&&r.forEach(function(e){!o.J(e.formats)&&e.formats.length>0&&e.formats.forEach(function(e){var r,i,a,l,s;o.J(e.style)||(e.dxfId=t.Yh(e.style),e.style&&!o.J(e.style.formatter)&&(r=e.style.formatter,i={},a=n.ExtendedNumberFormatHelper.getFormatId(r),l=a.id,s=a.isBuiltIn,s?(i.numberFormatIndex=l,e.style.numberFormatId=l):(i.numberFormat=new n.ExcelNumerFormat(l,r),e.style.numberFormatId=i.numberFormat.numberFormatId),t.Ih.push(i)))}),!o.J(e.fields)&&e.fields.length>0&&e.fields.forEach(function(e){Le(e,t.Ih)}),!o.J(e.dataFields)&&e.dataFields.length>0&&e.dataFields.forEach(function(e){Le(e,t.Ih)})})},e.prototype.bi=function(e){var t,r=e.tables,o=r?r.length:0,i={};for(t=0;t<o;t++)r[t].tableSortInfo=this.gi(r[t].rowFilter);e.hi=i,e.rowFilter&&(e.rowFilter.autoFilterSortInfo=this.gi(e.rowFilter))},e.prototype.Th=function(e){var t,r=this,o=e.rows,i=_(e);for(e.rowsVisibleInfo={},t=0;t<e.rowCount;t++)e.rowsVisibleInfo[t]={},e.rowsVisibleInfo[t].size=o&&o[t]&&o[t].size||i,e.rowsVisibleInfo[t].visible=r.ii(e,t)},e.prototype.Uh=function(e){var t,r,o=e.columns,i=N(e),n=e.columnOutlines;for(e.columnVisibleInfo={},t=0;t<e.columnCount;t++)e.columnVisibleInfo[t]={},r=o&&o[t],e.columnVisibleInfo[t].size=r&&r.size||i,r&&r.visible===!1&&(e.columnVisibleInfo[t].visible=!1),l.isCollapsed(t,n)&&(e.columnVisibleInfo[t].visible=!1)},e.prototype.Rh=function(e){e.rowCount===p&&(e.rowCount=200),e.columnCount===p&&(e.columnCount=20),e.activeRow===p&&(e.activeRow=0),e.activeCol===p&&(e.activeCol=0),e.visible===p&&(e.visible=!0)},e.prototype.Vh=function(e){var t,r,o=e.index,i=this.yh[o],n=e.columnCount,a=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style;for(t=0;t<n;t++)r=this.ji(e,-1,t),this.ki(e,i,t,r,a)},e.prototype.Sh=function(e){var t,r,i,n,l,s,c,d,u,f,b,h,g,y,S,C,w,x,A,T,v,k,F,R,E,P,W,_,N,M,O,H,G,U,J,z,V,j,X,K,q,Y,Q,Z,$,ee,te,re=this,oe=e.index,ie=e.data&&e.data.dataTable,ne=e.data&&e.data.rowDataArray,ae=e.defaultData,le=re.Eh,se=re.Hh;if(0!==e.rowCount){if(t=re.li(ie,e,ae)+1,r=re.wh[oe],i=re.xh[oe],n=re.mi(e,t),l=re.Ah[oe],s=57,c=re.ni(e),d=[],u=e.tables,!o.J(u)&&Array.isArray(u))for(f=0;f<u.length;f++)for(b=u[f],h=b.row,g=h+b.rowCount-1,y=h;y<=g;y++)d[y]||(d[y]=!0);for(S={},C=e.data&&e.data.defaultDataNode&&e.data.defaultDataNode.style,w=0;w<=c&&w>=0;w++)if(ie&&ie.hasOwnProperty(w+"")||ne&&ne[w]||d[w]||ae&&ae.hasOwnProperty(w+"")){for(x=re.ki(e,i,w,re.ji(e,w,-1),C),A=s,T=ie&&ie[w],v=ae&&ae[w],k=0;k<t&&k>=0;k++)if(F=L(e,w,k),T&&T.hasOwnProperty(k+"")||F||v&&v.hasOwnProperty(k+"")){if(R=w*t+k,E=void 0,P=void 0,W=m,_=m,N=m,M=T&&T[k],O=v&&v[k],H=p,G=!1,M&&(_=M.formula,N=M.arrayInfo,U=N&&N.isDynamicArray,J=M.value,z=Be(J,U,le),W=z.value,H=z.richText,G=z.isSpillError,le=z.dynamicArrayLevel),!_&&o.J(W)&&O&&(W=Be(O.v,p,le).value),V=!1,F&&(V=!0,j=D(e,w,k),j&&B(e,j)),X=re.oi(e,w,k,r,n[k],x,C,R,W),P=X.styleName,E=X.styleInfo,V){if(F.showHeader!==!1&&w===F.row&&(W=F.columns[k-F.col]&&F.columns[k-F.col].name,W&&W.indexOf("\n")!==-1&&H))for(K=0;K<H.length;K++)H[K].text=o.Util.ua(H[K].text,"\r","");F.showFooter&&w===F.row+F.rowCount-1&&(q=F.columns[k-F.col],o.J(q&&q.footerValue)||(W=""+q.footerValue))}if(Y=re.pi(W,!o.J(H)),Q=Y.value,Q=I(Q),Z=Y.cellType,E||_||Q!==m||!o.StringEx.L(P)){if($=new a.ExcelCell(w,k),$.cellType=Z,$.value=Q,$.richText=H,$.isSpillError=G,$.qi=S[w+","+k],re.dg(r,R,E,P,$),re.ri(_,N,$),N&&N.isDynamicArray&&!$.isSpillError)for(ee=N.row;ee<N.row+N.rowCount;ee++)for(te=N.col;te<N.col+N.colCount;te++)S[ee+","+te]=1;re.ti(oe,w,$),re.ui($,e,w,k,se)}}l[w]=A}re.Eh=le,re.sh={}}},e.prototype.ni=function(e){var t=this.vi(e);return Math.min(e.rowCount-1,t.length>0?t.length:0)},e.prototype.ki=function(e,t,r,i,n){var a,l,s=this;return i&&(a=s.wi(e,i)),a?(a.parentName&&(a.parentName=s.xi(e,a.parentName),l=s.af[s.lh[a.parentName]],o.ga.ca(a,l)),s.yi(e,a,n),o.ga.ba(a)||(t[r]=s.zi(a),a.parentName&&s.isSameStyleInfo(s.af[s.lh[a.parentName]],a,!0)||(a.parentName=m)),i):m},e.prototype.Ai=function(){var t,r,i,n,a,l,s,c,d,u=this,f=u.Ne,b=f.sheets;for(r in b)if(b.hasOwnProperty(r)&&(i=b[r],n=i.namedStyles,n&&n.length>0)){if(!t)if(t={},f.namedStyles)for(a=f.namedStyles,l=0;l<a.length;l++)t[a[l].name]=1;else f.namedStyles=[];for(l=0;l<n.length;l++)if(s=n[l],c=s.name,!R(c)&&!F(c)&&o.J(e.Bi[c])){for(d=s.name;t[d]||d.length>255;)d=Ee(d,i.name);s.name=d,f.namedStyles.push(s),t[d]=1,c!==d&&(i.renamedStyles=i.renamedStyles||{},i.renamedStyles[c]=d)}}},e.prototype.Ci=function(){var t,r,o,i,n,a=this,l=a.Ne,s=l.namedStyles,c={},d={};a.Oh=0,t=e.Jh(l),s?s.forEach(function(e){var t,r,o,i;e&&(t=e.name,c[t]=e,t&&w.test(t)&&(r=19,o=t.indexOf(g),i=parseInt(t.substring(r,o),10),a.Oh=Math.max(i,a.Oh)))}):l.namedStyles=[];for(r in l.sheets)if(l.sheets.hasOwnProperty(r)){if(o=l.sheets[r],!o||!o.data||!o.data.dataTable)continue;if(i=o.tables,n=o.data.dataTable,!i||i.length<=0)continue;a.Nh(i,n,c,t,d)}},e.prototype.Qh=function(){var e,t,r,i,a,l,s,c,d,u,f,b,h,m,g=this,y=g.Ne,S={},C=[];for(S.Normal={},g.Ai(),g.Ci(),g.Di(y.namedStyles,S,C),t=0,r=g.th.length;t<r;t++)e=g.th[t],e&&e.parentName&&o.ga.da(g.th,e);for(i={},a=[],l={},t=0,r=C.length;t<r;t++)s=C[t],c=n.ConverterHelper.toStringStyle(s),i[c]===p?a.push(s):l[s.name]=C[i[c]].name,i[c]=t,s.Ei=c;for(d={},t=0,r=g.af.length;t<r;t++)e=g.af[t],u=n.ConverterHelper.cloneSpreadJSStyle(e),u.parentName=e.name,u.name=p,d[t]=g.lh[e.name]=g.af.length,g.af.push(u),f=n.ConverterHelper.toStringStyle(e),i[f]!==p&&(b=C[i[f]],b&&(g.lh[b.name]=g.lh[e.name],b.added=!0));for(Object.keys(g.vh).forEach(function(e){g.lh[e]===p&&(g.lh[e]=d[g.vh[e]])}),h=o.ga._(y.namedStyles,"Normal"),m=n.ConverterHelper.toStringStyle(h),t=0,r=a.length;t<r;t++)s=a[t],s.added||(s.Ei===m?g.lh[s.name]=0:(g.lh[s.name]=g.af.length,g.af.push(s)));Object.keys(l).forEach(function(e){g.lh[e]=g.lh[l[e]]})},e.prototype.isSameStyleInfo=function(e,t,r,o){if(!e&&!t)return!0;if(!e||!t)return!1;var i,a;return e.Fi||(e.Fi={Gi:n.ConverterHelper.toExtendedFormat(e,this)}),i=e.Fi.Gi,t.Fi||(t.Fi={Gi:n.ConverterHelper.toExtendedFormat(t,this)}),a=t.Fi.Gi,i.equals(a,r,o)},e.prototype.getEqualStyle=function(e,t){var r,o;for(r=0;r<t.length;r++)if(o=t[r],this.isSameStyleInfo(e,o,!0,!0))return o;return m},e.prototype.Di=function(t,r,o){var i,n,a,l,s,c;function d(e){var t,r,o="",i=Object.getOwnPropertyNames(e);for(t=0;t<i.length;t++)r=i[t],k(e[r])?o+=r+":"+JSON.stringify(e[r])+"_":"name"!==r&&(o+=r+":"+e[r]+"_");return o}if(t)for(i={},n=0,a=t.length;n<a;n++)l=t[n],s=l.name,r[s]||(r[s]={},R(s)||F(s)||(s.indexOf(g)>=0?o.push(l):(c=d(l),i.hasOwnProperty(c)?this.vh[l.name]=i[c]:(this.af.push(l),this.th.push(l),this.vh[l.name]=this.af.length-1,e.Bi[l.name]||(i[c]=this.af.length-1)))))},e.prototype.ji=function(e,t,r){var o=e.data,i=m;return o?(t<0&&r>=0?i=o.columnDataArray&&o.columnDataArray[r]?o.columnDataArray[r].style:m:t>=0&&r<0?i=o.rowDataArray&&o.rowDataArray[t]?o.rowDataArray[t].style:m:t>=0&&r>=0&&(i=o.dataTable&&o.dataTable[t]&&o.dataTable[t][r]?e.data.dataTable[t][r].style:m),i):m},e.prototype.Hi=function(){var e,t,r,i=this.Ne,n=m;for(e in i.sheets)if(i.sheets.hasOwnProperty(e)&&(t=i.sheets[e],t&&t.theme)){n=t.theme;break}return n?T(n)?n:(r=n.name,o.StringEx.O(r)?m:("OFFICE"===r.toUpperCase()&&(r="Office Theme"),new a.ExcelTheme(r,this.Ii(n),this.Ji(n)))):m},e.prototype.Ii=function(e){var t=[];return t.push(u(e.themeColor.background1)),t.push(u(e.themeColor.text1)),t.push(u(e.themeColor.background2)),t.push(u(e.themeColor.text2)),t.push(u(e.themeColor.accent1)),t.push(u(e.themeColor.accent2)),t.push(u(e.themeColor.accent3)),t.push(u(e.themeColor.accent4)),t.push(u(e.themeColor.accent5)),t.push(u(e.themeColor.accent6)),t.push(u(e.themeColor.hyperlink)),t.push(u(e.themeColor.followedHyperlink)),new a.ColorScheme(e.themeColor.name,t)},e.prototype.Ji=function(e){var t=Pe(e.headingFont),r=Pe(e.bodyFont),o=new a.ThemeFonts([new a.RunFormatting(0,t)],[]),i=new a.ThemeFonts([new a.RunFormatting(0,r)],[]);return new a.FontScheme(e.name,o,i)},e.prototype.Ki=function(e){return e=Math.min(e,i.ExcelConstants.vb-1),o.IndexHelper.T(e)},e.prototype.Li=function(e,t){var r,o=[],n=new i.DefaultContentType;return n.extension=i.XFileConstants.Eb,n.contentType=i.XFileConstants.Fb,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Gb,n.contentType=i.XFileConstants.Hb,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.nc,n.contentType=i.XFileConstants.pc,o.push(n),t&&(n=new i.DefaultContentType,n.extension=i.XFileConstants.oc,n.contentType=i.XFileConstants.kc,o.push(n)),n=new i.DefaultContentType,n.extension=i.XFileConstants.qc,n.contentType=i.XFileConstants.sc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.tc,n.contentType=i.XFileConstants.uc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.vc,n.contentType=i.XFileConstants.wc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.zc,n.contentType=i.XFileConstants.Ac,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Bc,n.contentType=i.XFileConstants.Cc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Dc,n.contentType=i.XFileConstants.Ec,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.xc,n.contentType=i.XFileConstants.yc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Fc,n.contentType=i.XFileConstants.Gc,o.push(n),n=new i.DefaultContentType,n.extension=i.XFileConstants.Hc,n.contentType=i.XFileConstants.Ic,o.push(n),r=this.Lh(o,e),r?o:m},e.prototype.Mi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.uh[r.index]},e.prototype.Ni=function(e){var t,r,i=this,n=[],l=i.Ne,s=l.sheets&&l.sheets[e],c=i.vi(s),d=Math.min(s.rowCount-1,c.length),u=i.Oi(s.rowOutlines);for(t=0;t<=d;t++)c[t]?(r=i.Pi(s,t,u),(r||r.collapsed||!o.J(r.outLineLevel)&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&(r.customHeight=!isNaN(r.height),n.push(r))):s.rowFilter&&i.Qi(s.rowFilter,t)&&(r=new a.ExcelRow(t),r.visible=!1,n.push(r));return n},e.prototype.Qi=function(e,t){var r,o,i,n=!1;if(e&&(r=e.filteredOutRows))for(o=0;o<r.length;o++)if(i=r[o],t===i){n=!0;break}return n},e.prototype.ii=function(e,t){var r=e.rows,o=e.rowOutlines;return(!r||!r[t]||r[t].visible!==!1)&&!l.isCollapsed(t,o)},e.prototype.Pi=function(e,t,r){var i,l,s=this,c=new a.ExcelRow(t),d=e.rowOutlines,u=e.rows&&e.rows[t];return c.height=n.UnitHelper.pixelToPoint(u&&void 0!==u.size?u.size:_(e)),r>=0&&(c.collapsed=this.Ri(t,d),i=this.Si(t,d),c.outLineLevel=i===-1?0:i),t<e.rowCount&&(c.visible=s.ii(e,t)),o.J(this.xh[e.index])||(l=this.xh[e.index][t],c.formatId=o.J(l)?-1:l),c},e.prototype.vi=function(e){var t,r,o,i,n,a,l,s,c,d,u,f,b,h,p=this.Bh[e.index];if(void 0!==p)return p;if(p=[],t=e.rows,r=e.data&&e.data.rowDataArray,o=e.data&&e.data.dataTable,i=e.defaultData,t)for(n=0,a=t.length;n<a;n++)t[n]&&(p[n]=!0);if(r)for(n=0,a=r.length;n<a;n++)r[n]&&(p[n]=!0);if(o)for(l in o)o[l]&&o.hasOwnProperty(l)&&(p[l]=!0);if(i)for(l in i)i[l]&&i.hasOwnProperty(l)&&(p[l]=!0);if(s=e.tables,s&&s.forEach(function(e){var t,r=e.row,o=e.row+e.rowCount;for(t=r;t<o;t++)p[t]=!0}),c=e.spans)for(a=c.length,d=0;d<a;d++)for(u=c[d],f=u.row;f<u.row+u.rowCount;f++)p[f]=!0;if(b=e.rowOutlines&&e.rowOutlines.itemsData)for(n=0,a=b.length;n<a;n++)for(h=b[n],l=h.index;l<h.index+h.count;l++)p[l]=!0;return this.Bh[e.index]=p,p},e.prototype.Ti=function(e){var t,r,o=[],i=this.Ne,n=i.sheets&&i.sheets[e],a=this.Oi(n.columnOutlines),l=n.columnCount;for(t=0;t<l;t++)r=this.Ui(n,t,a),r&&(Math.abs(r.width-this.Vi(e))>1e-4||r.collapsed||void 0!==r.outLineLevel&&r.outLineLevel!==m&&0!==r.outLineLevel||r.visible===!1||r.formatId>=0)&&o.push(r);return o},e.prototype.Si=function(e,t){var r,o,i,n;if(!t||!t.itemsData)return 0;for(r=t.itemsData,o=0,i=r.length;o<i;o++)if(n=r[o],e>=n.index&&e<n.index+n.count)return n.info?n.info.level+1:1;return 0},e.prototype.Ri=function(e,t){var r,o,i,n;if(!t||!t.itemsData)return!1;for(r=t.itemsData,o=0,i=r.length;o<i;o++)if(n=r[o],e>=n.index&&e<n.index+n.count)return!!n.info&&!!n.info.collapsed;return!1},e.prototype.Ui=function(e,t,r){var i,n,s=new a.ExcelColumn(t),c=e.columnOutlines,d=e.columns&&e.columns[t];return s.width=this.calcColumnWidth(d&&void 0!==d.size?d.size:N(e)),r>=0&&t<e.columnCount&&(s.collapsed=this.Ri(t,c),i=this.Si(t,c),s.outLineLevel=i===-1?0:i),t<e.columnCount&&(d&&d.visible===!1&&(s.visible=!1),l.isCollapsed(t,c)&&(s.visible=!1)),o.J(this.yh[e.index])||(n=this.yh[e.index][t],s.formatId=o.J(n)?-1:n),s},e.prototype.Oi=function(e){var t,r,o,i;if(!e||!e.itemsData)return-1;for(t=-1,r=0,o=e.itemsData.length;r<o;r++)i=e.itemsData[r],i.info&&i.info.level>t&&(t=i.info.level);return t},e.prototype.Wi=function(e){var t,r,o=this.Ne,i=o.sheets&&o.sheets[e],n=0,a=0,l=-1,s=i.rowOutlines;return s&&(l=this.Oi(s)),l!==-1&&(n=l+2),t=-1,r=i.columnOutlines,r&&(t=this.Oi(r)),t!==-1&&(a=t+2),{outlineLevelRow:n,outlineLevelColumn:a}},e.prototype.Xi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=n.UnitHelper.pixelToPoint(r.defaults?r.defaults.rowHeight:_(r)),i=!1,a=57;return i=Math.abs(a-o)>=2,{height:o,customHeight:i}},e.prototype.Vi=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return this.calcColumnWidth(r.defaults?r.defaults.colWidth:N(r))},e.prototype.Yi=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e];if(o.defaults&&o.defaults.colWidth&&o.defaults._isExcelDefaultColumnWidth!==!0)return t=o.defaults?o.defaults.colWidth:N(o),this.calcColumnWidth(t)},e.prototype.calcColumnWidth=function(t){var r,o,i;return 0===t?0:(r=e.Jh(this.Ne),o=Math.round(this.Zi(r.fontForColumnWidth?r.fontForColumnWidth:r.font)),i=Math.floor((t-5)/o*100+.5)/100,Math.floor((i*o+5)/o*256)/256)},e.prototype.Zi=function(e){return this.Rf===p&&(this.Rf=n.UnitHelper.getMaxiumDigitWidth(e)),this.Rf},e.prototype.$i=function(e,t,r,n){var a,l,s,c,d,u,f,b=this.Ne,h=b.sheets&&b.sheets[e];if(!h)return!1;if(a=h.frozenRowCount,l=h.frozenColCount,r.col=h.activeCol>=0?h.activeCol:0,r.row=h.activeRow>=0?h.activeRow:0,s=a>0,c=l>0,0===n){if(!s||!c)return!1}else if(1===n){if(!c)return!1;s&&(r.col=l,r.row=0)}else if(2===n){if(!s)return!1;c&&(r.col=0,r.row=a)}if(r.col=Math.min(i.ExcelConstants.vb,r.col),r.row=Math.min(i.ExcelConstants.wb,r.row),t)if(d=void 0,h.selections)for(u=0;u<h.selections.length;u++)f=h.selections[u],k(f)&&(d=new o.Range(f.row>0?f.row:0,f.col>0?f.col:0,f.rowCount>0?f.rowCount:i.ExcelConstants.wb,f.colCount>0?f.colCount:i.ExcelConstants.vb),t.push(d));else t.push(new o.Range(r.row,r.col,1,1));return!0},e.prototype.ti=function(e,t,r){o.J(this.uh[e][t])&&(this.uh[e][t]=[]),this.uh[e][t].push(r)},e.prototype._i=function(e,t){var r,o,i;if(T(e)&&"/OADate"===e.substring(0,7)&&t&&!t.formatter){if(t.autoFormatter)return void(t.formatter=t.autoFormatter.formatCached);r=e.indexOf("("),o=e.indexOf(")"),r!==-1&&o!==-1&&(i=parseInt(e.substring(r+1,o),10),i<1?t.formatter="h:mm:ss":i>1&&(t.formatter="M/d/yyyy"))}},e.prototype.dg=function(e,t,r,i,n){var a;o.StringEx.L(i)?r&&(a=e[t]):a=this.lh[i],void 0!==a?n.formatId=a:n.formatId=-1},e.prototype.ri=function(e,t,r){o.StringEx.O(e)||(r.formula=e,r.arrayFormulaRange=t)},e.prototype.ui=function(e,t,r,i,n){var a,l,s,c,d,u,f,b;if(t.data&&t.data.dataTable&&t.data.dataTable[r]&&(a=t.data.dataTable[r][i]&&t.data.dataTable[r][i].hyperlink)){if(l={},s=this.aj(t.name),c=!1,s)for(d=0;d<s.length;d++)if(u=s[d],u.row===r&&u.col===i){l.ref=o.IndexHelper.T(u.col)+(u.row+1)+":"+o.IndexHelper.T(u.col+u.colCount-1)+(u.row+u.rowCount),c=!0;break}c||(l.ref=o.IndexHelper.T(i)+(r+1)),f="sjs://",a.url&&(a.url.substring(0,f.length)===f?(l.location=o.Util.oa(a.url.replace(f,"")),b=t.data.dataTable[r][i].value,"string"==typeof b&&(l.display=o.Util.oa(b))):l.url=o.Util.oa(a.url)),a.tooltip&&(l.tooltip=o.Util.oa(a.tooltip)),l["xr:uid"]=o.Ha(),n[t.name]||(n[t.name]=[]),n[t.name].push(l)}},e.prototype.pi=function(e,t){var r=0;if(o.J(e))e=m;else{if(e._error||e._calcError)return r=7,{value:e._error||e._calcError,cellType:r};"number"==typeof e?(r=1,isNaN(e)&&(e=0)):"boolean"==typeof e?r=5:T(e)&&"/OADate"===e.substring(0,7)?r=6:t?r=9:T(e)?r=2:(r=2,e=""+e)}return{value:e,cellType:r}},e.prototype.wi=function(e,t){var r,o,i=this;return k(t)?n.ConverterHelper.cloneSpreadJSStyle(t):T(t)?C.test(t)?(r=t.indexOf(g),o=i.xi(e,t.substring(r)),n.ConverterHelper.cloneSpreadJSStyle(i.af[i.lh[o]])):{parentName:t}:void 0},e.prototype.bj=function(e){var t=this;return e&&t.af[t.lh[e]]},e.prototype.yi=function(e,t,r){var i,n=this;r&&(r=n.wi(e,r),o.ga.ca(t,r,!0),r&&r.parentName&&(r.parentName=n.xi(e,r.parentName),i=n.af[n.lh[r.parentName]],o.ga.ca(t,i)))},e.prototype.cj=function(e,t){o.J(t.linkColor)?(t.linkColor!==p||!e.foreColor&&e.foreColor!==m)&&(e.foreColor="hyperlink"):e.foreColor=t.linkColor,o.J(e.textDecoration)?e.textDecoration=1:1!==(1&e.textDecoration)&&(e.textDecoration+=1)},e.prototype.xi=function(e,t){return e.renamedStyles&&e.renamedStyles[t]&&(t=e.renamedStyles[t]),t},e.prototype.oi=function(e,t,r,i,n,a,l,s,c){var d,u,f=this,b=e.data,h=f.ji(e,t,r),g=m,y=m,S=b&&b.dataTable&&b.dataTable[t]&&b.dataTable[t][r]&&b.dataTable[t][r].hyperlink,C=S||T(c)&&"/OADate"===c.substring(0,7)||c!==m&&void 0!==c&&(n||a),w=p;return v(h)&&v(a)&&v(n)&&!C&&(w=""+h+"|"+n+"|"+a),w&&f.sh[w]?(i[s]=f.sh[w].styleIndex,f.sh[w]):(h?g=f.wi(e,h):C&&(g={}),g&&(g.parentName&&(g.parentName=f.xi(e,g.parentName),d=f.af[f.lh[g.parentName]]||f.af[f.vh[g.parentName]],o.ga.ca(g,d)),f.yi(e,g,a),f.yi(e,g,n),f.yi(e,g,l),S&&f.cj(g,S),f._i(c,g),o.ga.ba(g)?g=m:(u=i[s]=f.zi(g),g.parentName&&f.isSameStyleInfo(f.af[f.lh[g.parentName]],g,!0)&&(y=g.parentName),g.name&&f.isSameStyleInfo(f.af[f.lh[g.name]],g,!0)&&(y=g.name),w&&(f.sh[w]={styleIndex:u,styleName:y,styleInfo:g}))),{styleName:y,styleInfo:g})},e.prototype.zi=function(e){var t,r=this.af;if(!e)return 0;for(t=r.length-1;t>=0;t--)if((!r[t].name||r[t].name.indexOf(g)>=0)&&o.ga.fa(r[t],e))return t;return e.name=p,r.push(e),r.length-1},e.prototype.dj=function(e){var t,r;if(!e)return 0;t=0;for(r in e)e.hasOwnProperty(r)&&parseInt(r,10)>t&&(t=parseInt(r,10));return t},e.prototype.li=function(e,t,r){var o,i,n,a=0;if(e)for(o in e)if(e.hasOwnProperty(o))for(i in e[o])parseInt(i,10)>a&&(a=parseInt(i,10));if(r)for(o in r)if(r.hasOwnProperty(o))for(i in r[o])parseInt(i,10)>a&&(a=parseInt(i,10));return n=t.tables,n&&n.forEach(function(e){e.col+e.colCount>a&&(a=e.col+e.colCount)}),a},e.prototype.ej=function(e,t,r){for(r++;r>=0&&r<t&&!e[r];)r++;return r<t?r:-1},e.prototype.fj=function(e,t,r,o,i){var n=m;if(o>=0&&o<t&&(n=e[o]),!n)return-1;for(i++;i>=0&&i<r&&!n[i];)i++;return i<r?i:-1},e.prototype.mi=function(e,t){var r,o,i=[],n=e.columnCount;if(!e.data||!e.data.columnDataArray)return i;for(r=0;r<t;r++)r<n?(o=this.ji(e,-1,r),i.push(o)):i.push(m);return i},e.prototype.gj=function(){var e,t,r,o,i,a,l=this,s=[],c={count:0};for(e=0,t=l.af.length;e<t;e++)r=l.af[e],o=n.ConverterHelper.toExtendedFormat(r,l),r.name&&r.name.indexOf(g)<0?(c[r.name]||(c[r.name]=c.count,c.count++),o.isStyleFormat=!0):(i=0,void 0!==c[r.parentName]&&c[r.parentName]!==m&&(i=c[r.parentName],a=s[i],!o.applyNumberFormat&&a&&(a.numberFormat?o.numberFormat=a.numberFormat:void 0!==a.numberFormatIndex&&(o.numberFormatIndex=a.numberFormatIndex))),o.parentFormatID=i),s.push(o);return s},e.prototype.hj=function(){var t=n.ConverterHelper.cloneSpreadJSStyle(e.Jh(this.Ne)),r=n.ConverterHelper.toExtendedFormat(t,this);return r.parentFormatID=0,r},e.prototype.ij=function(){var t,r,o,i,a,l,s,c=this,d=[],u=m;for(t=0,r=c.th.length;t<r;t++)if(o=c.th[t],"Normal"===o.name){i=new n.ExcelStyle,i.name="Normal",i.format(n.ConverterHelper.toExtendedFormat(o,c)),i.format().isStyleFormat=!0,i.builtInStyle=0,u=i,c.Ke=o;break}for(u||(a=new n.ExcelStyle,a.name="Normal",a.format(n.ConverterHelper.toExtendedFormat(e.Jh(this.Ne),c)),a.format().font.fontSize=14.67,a.format().isStyleFormat=!0,a.builtInStyle=0,d.push(a)),t=0,r=c.th.length;t<r;t++)l=c.th[t],l.name&&(void 0!==e.Bi[l.name]?(i=new n.ExcelStyle,i.name=l.name,i.format(n.ConverterHelper.toExtendedFormat(l,c)),i.format().isStyleFormat=!0,i.builtInStyle=e.Bi[l.name],("RowLevel_"===l.name.substring(0,9)||"ColLevel_"===l.name.substring(0,9))&&l.name.length>9&&(i.outLineLevel=parseInt(l.name.substring(9),10)-1),d.push(i)):(s=new n.CustomExcelStyle,s.name=l.name,s.format(n.ConverterHelper.toExtendedFormat(l,c)),s.format().isStyleFormat=!0,d.push(s)));return d},e.prototype.jj=function(){var e,t,r=[],o=this.Ne.sheets;for(e in o)o.hasOwnProperty(e)&&(t=o[e],r[t.index]=e);return r},e.prototype.kj=function(e){return this.Ne.sheets[e]},e.prototype.lj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{colsSumRight:!(r.columnOutlines&&0===r.columnOutlines.direction),rowsSumBelow:!(r.rowOutlines&&0===r.rowOutlines.direction)}:{}},e.prototype.mj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?f(r.sheetTabColor):m},e.prototype.nj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?{rowCount:r.rowCount,columnCount:r.columnCount}:{}},e.prototype.oj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i={showGridLine:!0,showRowColHeaders:!0,gridlineColor:m,zoom:1};return o?(!o.gridline||o.gridline.showVerticalGridline!==!1&&o.gridline.showHorizontalGridline!==!1||(i.showGridLine=!1),o.rowHeaderVisible===!1&&o.colHeaderVisible===!1&&(i.showRowColHeaders=!1),o.gridline&&o.gridline.color&&(i.gridlineColor=n.ColorHelper.toExcelIndexedColor(f(o.gridline.color,4291876837))),void 0!==o.topCellIndex&&void 0!==o.leftCellIndex&&(t={row:o.topCellIndex,col:o.leftCellIndex},i.topLeftCell=t),i.zoom=o.zoomFactor,i):i},e.prototype.pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o={frozenRowCount:0,frozenColCount:0,frozenTopRow:0,frozenLeftCol:0};return r?(o.frozenRowCount=r.frozenRowCount||0,o.frozenColCount=r.frozenColCount||0,o.frozenTopRow=r.frozenTopRow||0,o.frozenLeftCol=r.frozenLeftCol||0,o):o},e.prototype.qj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!!r&&r.isProtected},e.prototype.rj=function(e,t){var r,o,i=this.Ne,n=i.sheets&&i.sheets[e],a=n.protectionOptions,s={};for(o in a)a.hasOwnProperty(o)&&(r=a[o],r&&"allowSelectLockedCells"===o||r&&"allowSelectUnlockedCells"===o||r&&"allowEditObjects"===o||(s[l.fromProtectionOptions[o]?l.fromProtectionOptions[o]:o]=a[o]));return t&&!a&&(s.objects=!1),s},e.prototype.aj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r?r.spans:[]},e.prototype.sj=function(){var e=this.Ne;return{showHorizontalScrollbar:e.showHorizontalScrollbar,showVerticalScrollbar:e.showVerticalScrollbar,tabStripVisible:e.tabStripVisible,tabStripRatio:e.tabStripRatio,startSheetIndex:e.startSheetIndex,activeSheetIndex:e.activeSheetIndex}},e.prototype.tj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||0===r.visible},e.prototype.uj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return!r||2===r.visible},e.prototype.vj=function(){var e,t,r,o,i,n=[];if(this.Ne.names)for(t=0;t<this.Ne.names.length;t++)e=this.Ne.names[t],n.push({name:e.name,localSheetId:-1,formula:e.formula,comment:e.comment});r=this.Ne.sheets;for(o in r)if(r.hasOwnProperty(o)&&(i=r[o],i.names))for(t=0;t<i.names.length;t++)e=i.names[t],n.push({name:e.name,localSheetId:i.index,formula:e.formula,comment:e.comment});return n},e.prototype.xg=function(e){var t=this,r=t.Ne.sheets&&t.Ne.sheets[e];return r.conditionalFormats},e.Jh=function(e){var t,r,i,n,a,l,s={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",textDecoration:0,hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){for(i=r.data.defaultDataNode.style,n=this.prototype.wi(r,i),a=n.parentName;a&&(l=be(a,e,r));)o.ga.ca(n,l),a=l.parentName;return o.ga.ca(n,s),n}return s},e.prototype.wj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.comments&&r.comments.map(function(e){return l.convertToExcelComment(r,e)})},e.prototype.xj=function(e){var t,r=[],o=this.Ne;if(e)return o.sheets[e].pivotTables;for(t in o.sheets)o.sheets[t].pivotTables&&(r=r.concat(o.sheets[t].pivotTables));return r},e.prototype.yj=function(e){return e.floatingObjects&&e.floatingObjects.filter(function(e){return"1"===e.typeName&&e.src&&e.src.indexOf(";base64,")!==-1}).map(function(t){return l.convertToExcelPicture(e,t)})},e.prototype.zj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e];return r.sparklineGroups},e.prototype.$h=function(e){var t,r,o,i=e.rowFilter,a=this;if(i)return t=[],r=i.filteredColumns,o=i.filterItemMap,o&&r&&r.length>0&&o.forEach(function(o){var l,s;r.indexOf(o.index)<0||(l=o.conditions[0],3===l.conType&&(s=0===l.compareType,t.push({autoFilterColumnId:o.index-O(e,i.range).col,colorFilter:{cellColor:s,dxfId:a.Yh({isColorFilter:!0,fill:n.ColorHelper.toExcelBackColor(l.expected,s)})}})))}),t},e.prototype.gi=function(e){var t,r,i=m;return e&&(t=e.sortInfo,!t||o.J(t.ascending)||o.J(t.index)||(i={range:new o.Range(e.range.row,t.index,e.range.rowCount,1),descending:!t.ascending},t.color!==p&&(r=t.isBackColor,i.isBackColor=r,"{"===t.color[0]&&(t.color=JSON.parse(t.color)),i.dxfid=this.Yh({isColorFilter:!0,fill:n.ColorHelper.toExcelBackColor(t.color,r)})))),i},e.prototype.Aj=function(e,t){var r=e.autoFilter,i={range:"A1",filterColumns:[]},n=r.filterItemMap;return n&&n.forEach(function(e){var r,n,a,l,s;e&&(r=e.conditions,n=r[0],a={autoFilterColumnId:0},l=se(n,t),o.J(l)||(s=l.filterType,1===s?a.top10=l:2===s?a.dynamicFilter=l:4===s?a.customFilters=l:3===s&&(a.filters=l),i.filterColumns.push(a)))}),i},e.prototype.Bj=function(e,t,r){var i,n,a,l,s,c,d,u,f,b,h,p,g,y,S,C,w,x,A,T,v,k,F=this,R=F.Ne,E=R.sheets&&R.sheets[e];if(o.J(t)||o.J(t.range))return m;if(i=t.range,n=t.adjustRangeForFrozen?E.frozenRowCount:0,a={range:O(E,i,n),filterColumns:[]},E.Zh&&E.Zh.length>0&&(a.filterColumns=E.Zh),l=t.filteredColumns,s=t.filterItemMap,s&&l&&l.length>0&&s.forEach(function(e){var t,r,n,s,c,d;if(!(e.index<i.col||e.index>=i.col+i.colCount||l.indexOf(e.index)<0)){for(t=e.conditions,r=t[0],n=1;n<t.length;n++)r={conType:0,compareType:0,item1:r,item2:t[n]};r&&(s={autoFilterColumnId:e.index-a.range.col},c=le(E,r,new o.Range(a.range.row+1,a.range.col,a.range.rowCount-1,1)),o.J(c)||(d=c.filterType,1===d?s.top10=c:2===d?s.dynamicFilter=c:3===d?s.filters=c:4===d&&(s.customFilters=c),a.filterColumns.push(s)))}}),c=F.aj(e),c&&c.length>0){for(d=i.row-1,u=i.col,f=i.colCount,b=a.filterColumns.length>0,h=[],p=0,g=c;p<g.length;p++)if(y=g[p],S=y.row,C=y.rowCount,w=y.col,x=y.colCount,w>=u&&w+x<=f&&(d===S||d===S+C-1))for(A=w;A<w+x-1;A++)T=A-u,b?(v=a.filterColumns[A],v&&v.autoFilterColumnId===T?v.showButton=0:(k={autoFilterColumnId:T,showButton:0},h.push(k))):(k={autoFilterColumnId:T,showButton:0},h.push(k));h.length>0&&(a.filterColumns=a.filterColumns.concat(h))}return a.sortInfo=r,a},e.prototype.Cj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=m;return r.rowFilter&&(o=r.rowFilter.autoFilterSortInfo),this.Bj(e,r.rowFilter,o)},e.prototype.fi=function(e){var t,r=[],o=this.Ne;if(e)return o.sheets[e].tables;for(t in o.sheets)o.sheets[t].tables&&(r=r.concat(o.sheets[t].tables));return r},e.prototype.Dj=function(e){var t,r,o,i=this.Ne.sheets[e];if(!i.slicers)return[];for(t=[],r=0;r<i.slicers.length;r++)o=i.slicers[r],o.type&&"table"!==o.type||t.push(l.convertToExcelSlicer(i,o));return t},e.prototype.Ej=function(e,t){var r,o,i,n=this.Ne.sheets[e];if(!n.slicers)return[];for(r=[],o=0;o<n.slicers.length;o++)i=n.slicers[o],i.type===t&&r.push(l.convertToExcelSlicer(n,i));return r},e.prototype.Fj=function(e){return e.charts&&e.charts.map(function(t){return l.convertToExcelChart(e,t)})},e.prototype.Gj=function(e){return e.shapes&&e.shapes.map(function(t){return l.convertToExcelShape(e,t)})},e.prototype.Hj=function(e){var t,r=function(e){var t=[],o=e&&e.sp||[];return o.forEach(function(e){e.control?t.push({sp:e}):3===e.shapeType&&t.push.apply(t,r(e))}),t},o=function(e){var t=[];return e.forEach(function(e){e.sp&&e.sp.control?t.push(e):e.grpSp&&t.push.apply(t,r(e.grpSp))}),t},i=o(this.Gj(e)||[]);return i.forEach(function(e){var t=e.sp.control,r=e.sp.nvSpPr.cNvPr;t.id=r.id,t.name=r.name,t.visible=!r.hidden,r.hidden=!0}),t=function(e){return e.sp.control.id},i.sort(function(e,r){return t(e)-t(r)}),i},e.prototype.Ij=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=this.Dj(e),i=this.Ej(e,"pivot"),n=this.Ej(e,"timeline"),a=o.concat(i).concat(n),l=this.yj(r),s=this.Fj(r),c=this.Gj(r),d=this.Hj(r),u=0;return[a,l,s,c].forEach(function(e){e&&(u+=e.length)}),{slicers:a,pictures:l,charts:s,shapes:c,controlShapes:d,withDrawingObjects:u>0}},e.prototype.Jj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i=[],n=o.validations;return n&&(t=this.jj(),he(n,i,e,t)),i},e.prototype.Kj=function(e){var t={top:75,bottom:75,left:70,right:70,header:30,footer:30},r=this.Ne,o=r.sheets&&r.sheets[e],i=o.printInfo,n=i&&i.margin;return n?{bottom:Te(n.bottom,t.bottom),top:Te(n.top,t.bottom),left:Te(n.left,t.bottom),right:Te(n.right,t.bottom),
28
+ header:Te(n.header,t.bottom),footer:Te(n.footer,t.bottom)}:m},e.prototype.Lj=function(e){var t,r=this.Ne,o=r.sheets&&r.sheets[e],i=o.printInfo;if(i)return t=i.centering,{horizontalCentered:1===t||3===t,verticalCentered:2===t||3===t,printGridLine:i.showGridLine,printRowColumnsHeaders:2===i.showRowHeader&&2===i.showColumnHeader}},e.prototype.Mj=function(e,t){var r,i,n,a,l,s,c,d,u,f,b,h,p,g,y,S,C;function w(e,t,r){return e=e||"",t=t||"",r=r||"","&L"+e+"&C"+t+"&R"+r}function x(e,t,r){if(e[t]&&e[t][r]){var o=e[t][r];return w(o.left,o.center,o.right)}}return r=this.Ne,i=r.sheets&&r.sheets[e],(n=i.printInfo)?(a={},l=n.fitPagesTall,s=n.fitPagesWide,o.J(l)||l===-1||(a.useSmartPrint=!0,a.smartPrintPagesHeight=Math.max(0,l)),o.J(s)||s===-1||(a.useSmartPrint=!0,a.smartPrintPagesWidth=Math.max(0,s)),t||(n.paperSize&&(c=n.paperSize.kind,0!==c&&(a.paperSizeIndex=c)),a.copies=1,o.J(n.firstPageNumber)||(a.useCustomStartingPage=!0,a.firstPageNumber=n.firstPageNumber),a.orientation=2===n.orientation?2:1,a.pageOrder=1===n.pageOrder?1:2,a.zoomFactor=parseFloat(n.zoomFactor),a.showColor=!n.blackAndWhite,a.advancedHeadFooterSetting={},d=a.advancedHeadFooterSetting,u=n.pageHeaderFooter,f=void 0,u?(d.headerFooterDifferentFirstPage=n.differentFirstPage,f=x(u,"first","header"),f&&(d.headerFirstPage=f),f=x(u,"first","footer"),f&&(d.footerFirstPage=f),b=n.differentOddAndEvenPages,d.headerFooterDifferentOddEvenPages=n.differentOddAndEvenPages,f=b?x(u,"odd","header"):x(u,"normal","header"),f&&(d.headerOddPage=f),f=b?x(u,"odd","footer"):x(u,"normal","footer"),f&&(d.footerOddPage=f),f=x(u,"even","header"),f&&(d.headerEvenPage=f),f=x(u,"even","footer"),f&&(d.footerEvenPage=f)):(h=w(n.headerLeft,n.headerCenter,n.headerRight),p=w(n.footerLeft,n.footerCenter,n.footerRight),a.advancedHeadFooterSetting={headerEvenPage:h,headerOddPage:h,footerOddPage:p,footerEvenPage:p}),g=i.rows,y=[],g&&g.length>0&&g.forEach(function(e,t){e&&e.pageBreak&&y.push(t)}),S=i.columns,C=[],S&&S.length>0&&S.forEach(function(e,t){e&&e.pageBreak&&C.push(t)}),y.length>0&&(a.rowBreakLines=y),C.length>0&&(a.columnBreakLines=C)),a):m},e.prototype.Nj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].printInfo},e.prototype.Oj=function(e){return this.Ne.sheets&&this.Ne.sheets[e].rowFilter},e.prototype.Pj=function(e){var t=this.Ne,r=t.sheets&&t.sheets[e],o=r.shapes,i=[];return o&&o.length>0&&this.Qj(o,i),i},e.prototype.Qj=function(e,t){var r=this;e.forEach(function(e,o){var i,n,a,l;1===e.shapeType?(i=void 0,e.shapeData&&e.shapeData.pic&&e.shapeData.pic.cameraTool?i=e.shapeData.pic:e.cameraTool===!0&&(i=e),i&&(n=o+1,a=De("Picture_x0020_"+n,i.src),a.style=i.vmlStyle,a.anchor=i.anchor,a.cellRange=i.cellRange,a.spid="_x0000_s10"+i.spid,t.push(a))):3===e.shapeType&&(l=e.shapeData&&e.shapeData.grpSp&&e.shapeData.grpSp.sp||e.sp,l&&r.Qj(l,t))})},e.prototype.Rj=function(e){var t,r,o,i,n,a,l,s=this.Ne,c=s.sheets&&s.sheets[e],d=c.printInfo,u=[];return d&&(t=d.pageHeaderFooter,t?(r=t.normal,o=t.odd,o?(i=o.header||{},i.leftImage&&u.push(De("LH",i.leftImage)),i.centerImage&&u.push(De("CH",i.centerImage)),i.rightImage&&u.push(De("RH",i.rightImage)),n=o.footer||{},n.leftImage&&u.push(De("LF",n.leftImage)),n.centerImage&&u.push(De("CF",n.centerImage)),n.rightImage&&u.push(De("RF",n.rightImage))):r&&(i=r.header||{},i.leftImage&&u.push(De("LH",i.leftImage)),i.centerImage&&u.push(De("CH",i.centerImage)),i.rightImage&&u.push(De("RH",i.rightImage)),n=r.footer||{},n.leftImage&&u.push(De("LF",n.leftImage)),n.centerImage&&u.push(De("CF",n.centerImage)),n.rightImage&&u.push(De("RF",n.rightImage))),a=t.even,a&&(i=a.header||{},i.leftImage&&u.push(De("LHEVEN",i.leftImage)),i.centerImage&&u.push(De("CHEVEN",i.centerImage)),i.rightImage&&u.push(De("RHEVEN",i.rightImage)),n=a.footer||{},n.leftImage&&u.push(De("LFEVEN",n.leftImage)),n.centerImage&&u.push(De("CFEVEN",n.centerImage)),n.rightImage&&u.push(De("RFEVEN",n.rightImage))),l=t.first,l&&(i=l.header||{},i.leftImage&&u.push(De("LHFIRST",i.leftImage)),i.centerImage&&u.push(De("CHFIRST",i.centerImage)),i.rightImage&&u.push(De("RHFIRST",i.rightImage)),n=l.footer||{},n.leftImage&&u.push(De("LFFIRST",n.leftImage)),n.centerImage&&u.push(De("CFFIRST",n.centerImage)),n.rightImage&&u.push(De("RFFIRST",n.rightImage)))):(d.headerLeftImage&&u.push(De("LH",d.headerLeftImage)),d.headerCenterImage&&u.push(De("CH",d.headerCenterImage)),d.headerRightImage&&u.push(De("RH",d.headerRightImage)),d.footerLeftImage&&u.push(De("LF",d.footerLeftImage)),d.footerCenterImage&&u.push(De("CF",d.footerCenterImage)),d.footerRightImage&&u.push(De("RF",d.footerRightImage)))),u},e.prototype.Sj=function(){return this.vh},e.Bi={"20% - Accent1":30,"20% - Accent2":34,"20% - Accent3":38,"20% - Accent4":42,"20% - Accent5":46,"20% - Accent6":50,"40% - Accent1":31,"40% - Accent2":35,"40% - Accent3":39,"40% - Accent4":43,"40% - Accent5":47,"40% - Accent6":51,"60% - Accent1":32,"60% - Accent2":36,"60% - Accent3":40,"60% - Accent4":44,"60% - Accent5":48,"60% - Accent6":52,Accent1:29,Accent2:33,Accent3:37,Accent4:41,Accent5:45,Accent6:49,Bad:27,Calculation:22,"Check Cell":23,Comma:3,"Comma [0]":6,Currency:4,"Currency [0]":7,"Explanatory Text":53,Good:26,"Heading 1":16,"Heading 2":17,"Heading 3":18,"Heading 4":19,Input:20,"Linked Cell":24,Neutral:28,Normal:0,Note:10,Output:21,Percent:5,Title:15,Total:25,"Warning Text":11,Hyperlink:8,FollowedHyperLink:9,RowLevel_1:1,RowLevel_2:1,RowLevel_3:1,RowLevel_4:1,RowLevel_5:1,RowLevel_6:1,RowLevel_7:1,ColLevel_1:2,ColLevel_2:2,ColLevel_3:2,ColLevel_4:2,ColLevel_5:2,ColLevel_6:2,ColLevel_7:2},e}(),t.WriterDataModel=A},"./src/datamodel/datetime-helper.ts":function(e,t,r){"use strict";var o,i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=null,n=void 0;function l(e){var t=e.getTimezoneOffset();return t===-485&&(t=-485-43/60),t===-321&&(t=-321-10/60),t===-507&&(t=-507-52/60),t===-402&&(t=-402-4/60),t}a=function(){function e(){}return e.jg=function(e){return"/OADate("+e+")/"},e.Tj=function(e){return"string"==typeof e&&"/OADate("===e.substr(0,8)?parseInt(e.substr(8,e.length-8-1-1),10):e},e.ig=function(e){return e===n||e===i?0:("number"!=typeof e&&"string"!=typeof e||(e=new Date(e)),e instanceof Date?(1440*e.getTime()+3181192704e6-864e5*l(e))/124416e6:0)},e.Je=function(e){var t,r=e-25569,o=new Date(864e5*r),i=r>=0?1:-1,n=l(o),a=(864e5*e*1440+i-3181192704e6+864e5*n)/1440,s=new Date(a),c=n>=0?1:-1,d=new Date(a+36e5*c),u=l(d);return Math.abs(n-u)>=60?new Date(a+60*(u-n)*1e3):(t=e+"",s=999===s.getMilliseconds()&&"33333333"===t.substr(t.length-8)?new Date(s.valueOf()+1):s)},e.vf=function(t){var r,o,n,a,l,s,c;if(!t||" "===t)return!1;if(0===t.length)return!1;if(t=t.toUpperCase(),t=t.replace(/(\[.*\])+/g," "),t=t.replace(/"[^"]*"/g," "),t=t.replace(/(\*.|_.|\\.)+/g," "),t.indexOf("GENERAL")!==-1)return!1;for(r=-1,o=0,n=!1,a=null,l=0;l<t.length;l++){if(s=t[l],"["===s)do s=t[l],l++;while(l<t.length&&"]"!==s);if("Y"===s||"D"===s||"M"===s||"H"===s||"S"===s||"A"===s)n?o++:(0===l||t.length>0&&"\\"!==t[l-1])&&(n=!0,r=l,o=1);else{if(n=!1," "===s&&a)return!0;0!==o&&(c=t.substring(r,r+o),r=l,o=0,a=a===i?e.Uj(c):a&&e.Uj(c))}}return 0!==o&&l===t.length&&(c=t.substring(r,r+o),a=a===i?e.Uj(c):a&&e.Uj(c)),!!a},e.Uj=function(e){var t,r,i,a,l,s,c,d,u;if(o.StringEx.O(e))return!1;for(t=[],r="",i=0,a=e.length;i<a;i++)l=e[i],r.indexOf(l)===-1&&(t.push({key:l,count:e.match(RegExp(l,"g")).length}),r+=l);for(s={Y:4,D:4,M:5,H:2,S:2,A:4},i=0,c=t.length;i<c;i++){if(d=t[i],u=s[d.key],u===n)return!1;if(d.count>u)return!1}return!0},e}(),t.DateTimeHelper=a},"./src/datamodel/excel-helper.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/datamodel/excel-style.ts"),n=r("./src/datamodel/chart-model.ts"),a=r("./src/common/excel-types.ts"),l=null;function h(e,t,r){var o,i=e.defaults.colWidth,n=e.columns,a=0,s=n?l:i;for(o=t;o<r;o++)a+=s||p(n,o,i,e.columnOutlines);return a}function p(e,t,r,o){var i=e[t];return i?o&&w(t,o)?0:i.visible===!1?0:i.size:r}function m(e,t,r){var o,i=e.defaults.rowHeight,n=e.rows,a=0,s=n?l:i;for(o=t;o<r;o++)a+=s||g(n,o,i,e.rowOutlines);return a}function g(e,t,r,o){var i=e[t];return i?o&&w(t,o)?0:i.visible===!1?0:i.size:r}function y(e,t){for(var r,o,i=e.defaults.colWidth,n=e.columns,s=0,c=0,d=n&&n.length||a.ExcelConstants.vb,u=n?l:i;s<t&&c<d;)r=u||p(n,c,i),s+=r,c++;return o=s-t,o>0?(c--,o=r-o):o=t-s,{col:c,colOffset:o}}function S(e,t){for(var r,o,i=e.defaults.rowHeight,n=e.rowsVisibleInfo||e.rows,s=0,c=0,d=n&&n.length||a.ExcelConstants.wb,u=n?l:i;s<t&&c<d;)r=u||g(n,c,i),s+=r,c++;return o=s-t,o>0?(c--,o=r-o):o=t-s,{row:c,rowOffset:o}}function C(e,t){var r=t.x,o=t.y,i={},n={},a=S(e,o);return A(a,i,["row","rowOffset"]),a=y(e,r),A(a,i,["col","colOffset"]),a=S(e,o+t.height),A(a,n,["row","rowOffset"]),a=y(e,r+t.width),A(a,n,["col","colOffset"]),{startPoint:i,endPoint:n}}function w(e,t){if(!t)return!1;if(t.items)return t.items[e]&&t.items[e].viewCollapsed;if(!t.itemsData)return!1;t.collapseIndexMap||x(t);var r=t.collapseIndexMap;return!!r[e]}t.isCollapsed=w;function x(e){var t,r,o,i,n,a,l,s=e.itemsData,c=e.collapseIndexMap={},d=!1;if(0===e.direction){for(t=s.length-1;t>=0;t--)if(o=s[t],o&&1===o.count&&o.info&&o.info.collapsed){for(i=o.index+o.count,n=t+1;n<s.length;n++)a=s[n],a&&a.info&&a.info.level>o.info.level&&a.index===i&&(i=a.index+a.count);for(l=o.index+1;l<i;l++)c[l]=!0}}else for(r=s.length,t=0;t<r;t++)if(o=s[t],o&&1===o.count&&o.info&&o.info.collapsed){if(i=o.index-1,i<0&&o.info.level===-1)break;for(n=t-1;n>=0;n--)a=s[n],a&&a.info&&a.info.level>o.info.level&&a.index+a.count-1===i&&(i=a.index-1);for(l=i+1;l<o.index;l++)c[l]=!0}}s=7;function A(e,t,r){r.forEach(function(r){void 0!==e[r]&&(t[r]=e[r])})}function T(e,t){var r,n,a,c,d,u,f,b,p,g,y,S,C,w,x,T,v={};return A(t,v,["fontSize","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode"]),r=e.forzenRowCount||0,n=e.forzenColumnCount||0,a=t.row,c=t.col,d=t.anchor,u=h(e,n,c+1),f=m(e,r,a),v.rowIndex=a-r,v.colIndex=c-n,d?(b=h(e,n,d[0])+d[1]-s,p=m(e,r,d[2])+d[3]-s,g=h(e,n,d[4])+d[5]+s,y=m(e,r,d[6])+d[7]+s,v.location={x:b-u,y:p-f},v.width=g-b,v.height=y-p,V(e,d)):(v.location={x:i.UnitHelper.pointToPixel(t.marginLeft)-u-s,y:i.UnitHelper.pointToPixel(t.marginTop)-f-s},v.width=k(t.width)+2*s,v.height=k(t.height)+2*s,V(e,l,{x:v.location.x+u,y:v.location.y+f,width:v.width,height:v.height})),S=t.foreColor,S&&S!==i.ExcelColor.EmptyColor&&(v.foreColor=i.ColorHelper.toRGBColor(S)),S=t.backColor,S&&(v.backColor=S.split(" ")[0]),S=t.borderColor,S&&(v.borderColor=S.split(" ")[0]),C=t.borderWidth,C&&(v.borderWidth=k(C)),v.borderStyle=R(t.dashStyle,t.lineStyle),w=t.zIndex,o.J(w)||(v.zIndex=w),w=t.opacity,o.J(w)||(v.opacity=w),t.autoSize&&(v.autoSize=!0),v.locked=t.locked!==!1,v.lockText=t.lockText!==!1,v.dynamicSize=t.dynamicSize!==!1,v.dynamicMove=t.dynamicMove!==!1,w=t.inset,w&&(x=[0,0,0,0],w.trim().split(",").forEach(function(e,t){var r=e||["0.1in","0.05in"][t%2];x[t]=F(r)}),v.padding={left:x[0],top:x[1],right:x[2],bottom:x[3]}),T=["left","center","right"].indexOf(t.hAlign),T!==-1&&(v.horizontalAlign=T),v}t.convertFromExcelComment=T;function v(e,t){var r,n,a,l,c,d,u=t.rowIndex,f=t.colIndex,b=t.location||{x:9,y:-18},p={row:u,col:f};return o.J(t.width)&&(t.width=160),o.J(t.height)&&(t.height=100),t.fontFamily=t.fontFamily||"Arial",t.borderColor=t.borderColor||"black",t.backColor=t.backColor||"#FFFFE1",A(t,p,["zIndex","opacity","fontStyle","fontFamily","fontWeight","textDecoration","text","autoSize","dynamicMove","dynamicSize","locked","lockText","displayMode","backColor","borderColor"]),r=h(e,0,f+1),n=m(e,0,u),p.marginLeft=i.UnitHelper.pixelToPoint(r+b.x+s),p.marginTop=i.UnitHelper.pixelToPoint(n+b.y+s),p.width=i.UnitHelper.pixelToPoint(t.width-2*s)+"pt",p.height=i.UnitHelper.pixelToPoint(t.height-2*s)+"pt",a=t.fontSize||"9pt",a.indexOf("px")!==-1?p.fontSize=i.UnitHelper.pixelToPoint(parseFloat(a)):p.fontSize=a.replace("pt",""),l=t.foreColor,p.foreColor=l&&i.ColorHelper.toExcelColor(l),p.borderWidth=i.UnitHelper.pixelToPoint(t.borderWidth||1)+"pt",c=E(t.borderStyle),p.dashStyle=c.dashStyle,p.lineStyle=c.lineStyle,d=t.padding,d&&(p.inset=[i.UnitHelper.pixelToPoint(d.left)+"pt",i.UnitHelper.pixelToPoint(d.top)+"pt",i.UnitHelper.pixelToPoint(d.right)+"pt",i.UnitHelper.pixelToPoint(d.bottom)+"pt"].join(",")),p.hAlign=["Left","Center","Right"][t.horizontalAlign||0]||"Left",p.visibility=1===t.displayMode?"visible":"hidden",p}t.convertToExcelComment=v;function k(e){return e?i.UnitHelper.pointToPixel(parseFloat(e.replace("pt",""))):0}function F(e){var t=0;return e.indexOf("in")!==-1?t=72*parseFloat(e.replace("in","").trim()):e.indexOf("cm")!==-1?t=72*parseFloat(e.replace("cm","").trim())/2.54:e.indexOf("mm")!==-1?t=72*parseFloat(e.replace("mm","").trim())/25.4:e.indexOf("pt")!==-1&&(t=parseFloat(e.replace("pt","").trim())),i.UnitHelper.pointToPixel(t)}function R(e,t){if(!o.StringEx.L(t))return"double";if(e)switch(e.toLowerCase()){case"solid":return"solid";case"1 1":return"dotted";case"dash":case"dashdot":case"longdash":case"longdashdot":case"longdashdotdot":return"dashed"}return"solid"}function E(e){var t,r;if(e)switch(e.toLowerCase()){case"solid":t="solid";break;case"dotted":t="1 1";break;case"dashed":t="dash";break;case"double":r="thinThin"}return{dashStyle:t,lineStyle:r}}function I(e,t){if(e){var r=e.startPoint,o=e.endPoint;t.startRow=r.row,t.startRowOffset=r.rowOffset,t.startRowOffsetEmu=r.rowOffsetEmu,t.startColumn=r.col,t.startColumnOffset=r.colOffset,t.startColumnOffsetEmu=r.colOffsetEmu,t.endRow=o.row,t.endRowOffset=o.rowOffset,t.endRowOffsetEmu=o.rowOffsetEmu,t.endColumn=o.col,t.endColumnOffset=o.colOffset,t.endColumnOffsetEmu=o.colOffsetEmu}}c=1e5;function L(e){return{l:e.l/c,t:e.t/c,r:e.r/c,b:e.b/c}}function D(e){return{l:parseInt((e.l||0)*c,10),t:parseInt((e.t||0)*c,10),r:parseInt((e.r||0)*c,10),b:parseInt((e.b||0)*c,10)}}function B(e,t,r){var o,i=G(r,t.name,"picture"),n={name:i,alt:t.descr};return A(t,n,["src","isVisible","locked","rot"]),de(t.anchor,e,n,t.xfrm),U(t.pictureFormat,n),o=t.srcRect,o&&(n.srcRect=L(o)),n}t.convertFromExcelPicture=B;function P(e,t){return t.twoCellAnchor=Z(e,t),t}t.convertToExcelSlicer=P;function W(e,t){switch(e){case"solid":return"dbl"===t?"double":"solid";case"dot":case"sysDot":return"dotted"}return"dashed"}function _(e){return!e||"hidden"===e}function N(e){switch(e){case"dotted":return"dot";case"dashed":return"dash";case"double":return"dbl"}return"solid"}function M(e,t){var r,o={},n=t.src;return O(n,o),A(t,o,["name","locked","rot"]),o.descr=t.alt,o.twoCellAnchor=Z(e,t,!0),o.hidden=t.isVisible===!1,o.fillColor=i.ColorHelper.toExcelColor(t.backColor),o.lineBorder={width:_(t.borderStyle)?0:t.borderWidth,color:i.ColorHelper.toExcelColor(t.borderColor),style:N(t.borderStyle),noFill:t.noFill},r=t.srcRect,r&&(o.srcRect=D(r)),o}t.convertToExcelPicture=M,d=";base64,";function O(e,t){var r,o=e.indexOf(d);o>0&&(t.base64Image=e.substr(o+d.length),r=e.substr(0,o).split("/").pop(),"x-icon"===r&&(r="png"),t.imageType=r)}t.getPictureInfo=O;function H(e){if(!e)return!1;var t={};return O(e,t),"svg+xml"===t.imageType}t.isSVGPicture=H;function G(e,t,r){function o(e){return e.name===this.name}function i(t){var r=o.bind({name:t});return void 0!==e.filter(r)[0]}t=t||r;for(var n=t,a=1;i(n);)n=t+"_"+a,a++;return n}function U(e,t){var r,o,n,a,l;return e?(r=e.fillFormat,r&&1===r.fillFormatType&&(t.backColor=i.ColorHelper.toRGBColor(r.color)),o=e.lineFormat,void(o&&(t.borderWidth=o.width,n=o.fillFormat,n&&1===n.fillFormatType?t.borderColor=i.ColorHelper.toRGBColor(n.color):n&&0===n.fillFormatType&&(t.noFill=!0),a=o.lineDashType,a&&(l=o.compoundLineType,t.borderStyle=W(a,l))))):null}u=2;function J(e,t,r){e.rowCount<t&&(e.rowCount=t),e.columnCount<r&&(e.columnCount=r)}function z(e,t){var r=0,o=0,i=t.endPoint;i&&(r=i.row,o=i.col),r+=u,o+=u,J(e,r,o)}t.inflateWorksheetByAnchor=z;function V(e,t,r){var o,i,n;t?(o=t[6]+1,i=t[4]+1):(n=C(e,r),o=n.endPoint.row+u,i=n.endPoint.col+u),J(e,o,i)}function j(e,t,r){var o,i,n,a;return o=h(e,0,t.col)+t.colOffset,i=m(e,0,t.row)+t.rowOffset,n=h(e,0,r.col)+r.colOffset,a=m(e,0,r.row)+r.rowOffset,{x:o,y:i,width:n-o,height:a-i}}t.getBounds=j;function X(e,t){return j(e,t.startPoint,t.endPoint)}function K(e,t){var r=t.startPoint,o=h(e,0,r.col)+r.colOffset,i=m(e,0,r.row)+r.rowOffset;return{x:o,y:i,width:t.width,height:t.height}}function q(e){return{x:e.x,y:e.y,width:e.width,height:e.height}}function Y(e,t,r){var o=e.startPoint,i=e.endPoint,n=o.x*t,a=o.y*r,l=i.x*t,s=i.y*r;return{x:n,y:a,width:l-n,height:s-a}}function Q(e,t,r){var o=e.startPoint;return{x:o.x*t,y:o.y*r,width:e.width,height:e.height}}function Z(e,t,r){var i,n,a;return o.J(t.startRow)?C(e,{x:t.x||0,y:t.y||0,width:t.width||0,height:t.height||0}):(r&&(t=$(e,t)),i={row:t.startRow,rowOffset:t.startRowOffset||0,col:t.startColumn,colOffset:t.startColumnOffset||0},n={row:t.endRow,rowOffset:t.endRowOffset||0,col:t.endColumn,colOffset:t.endColumnOffset||0},a=ne(t.dynamicMove,t.dynamicSize),{startPoint:i,endPoint:n,editAs:a})}function $(e,t){var r=t.pictureStretch;return 0===r?t:1===r?ee(e,t):2===r?te(e,t):3===r?re(e,t):t}function ee(e,t){var r,o,i,n,a,l,s,c,d,u,f=e.rowCount,b=e.columnCount,p=t.width,g=t.height,y=t.startRow,S=t.startRowOffset||0,C=t.startColumn,w=t.startColumnOffset||0,x=t.endRow,A=t.endRowOffset||0,T=t.endColumn,v=t.endColumnOffset||0,k=t.originalWidth,F=t.originalHeight,R=Math.min(p,k),E=Math.min(g,F),I=F>g?S:S+(g-F)/2,L=k>p?w:w+(p-k)/2;for(p=R,g=E,r=0,o=y,i=I,n=!1;o<f;)if(a=m(e,o,o+1),o++,r+=a,!n&&(i-=a),i<0&&!n&&(y=o-1<0?0:o-1,S=a+i,n=!0),r>g+I){x=o-1<0?0:o-1,A=a-(r-g-I);break}for(l=0,s=C,c=L,d=!1;s<b;)if(u=h(e,s,s+1),s++,l+=u,!d&&(c-=u),c<0&&!d&&(C=s-1<0?0:s-1,w=u+c,d=!0),l>p+L){T=s-1<0?0:s-1,v=u-(l-p-L);break}return t.width=p,t.height=g,t.startRow=y,t.startRowOffset=S,t.endRow=x,t.endRowOffset=A,t.startColumn=C,t.startColumnOffset=w,t.endColumn=T,t.endColumnOffset=v,t}function te(e,t){var r,o,i,n,a,l,s,c,d=e.rowCount,u=e.columnCount,f=t.width,b=t.height,p=t.startRow,g=t.startRowOffset||0,y=t.startColumn,S=t.startColumnOffset||0,C=t.endRow,w=t.endRowOffset||0,x=t.endColumn,A=t.endColumnOffset||0,T=t.originalWidth,v=t.originalHeight,k=f/b,F=T/v,R=0,E=0,I=f,L=b;if(b>0&&v>0&&k>F)I=F*b,R=S+f/2-I/2,f=I,b=1/F*f;else{if(!(f>0&&T>0&&1/k>1/F))return t;L=1/F*f,E=g+b/2-L/2,b=L,f=F*b}if(R>0){for(;y<u;)if(r=h(e,y,y+1),y++,R-=r,R<0){y--,S=R+r;break}for(o=0,i=y;i<u;)if(n=h(e,i,i+1),i++,o+=n,o>I+S){A=n-(o-I-S),x=i-1<0?0:i-1;break}}else if(E>0){for(;p<d;)if(a=m(e,p,p+1),p++,E-=a,E<0){p--,g=E+a;break}for(l=0,s=p;s<d;)if(c=m(e,s,s+1),s++,l+=c,l>L+g){w=c-(l-L-g),C=s-1<0?0:s-1;break}}return t.width=f,t.height=b,t.startRow=p,t.startRowOffset=g,t.endRow=C,t.endRowOffset=w,t.startColumn=y,t.startColumnOffset=S,t.endColumn=x,t.endColumnOffset=A,t}function re(e,t){var r,o,i,n,a,l,s=e.rowCount,c=e.columnCount,d=t.width,u=t.height,f=t.startRow,b=t.startRowOffset||0,p=t.startColumn,g=t.startColumnOffset||0,y=t.endRow,S=t.endRowOffset||0,C=t.endColumn,w=t.endColumnOffset||0,x=t.originalWidth,A=t.originalHeight;for(d=Math.min(d,x),u=Math.min(u,A),r=0,o=f;o<s;)if(i=m(e,o,o+1),o++,r+=i,r>u+b){y=o-1<0?0:o-1,S=i-(r-u-b);break}for(n=0,a=p;a<c;)if(l=h(e,a,a+1),a++,n+=l,n>d+g){C=a-1<0?0:a-1,w=l-(n-d-g);break}return t.width=d,t.height=u,t.startRow=f,t.startRowOffset=b,t.endRow=y,t.endRowOffset=S,t.startColumn=p,t.startColumnOffset=g,t.endColumn=C,t.endColumnOffset=w,t}function oe(e,t,r,o){var i=t.anchorType;return 0===i?X(e,t):1===i?K(e,t):2===i?q(t):3===i?Y(t,r,o):4===i?Q(t,r,o):null}function ie(e){var t=e.anchorType||e.editAs||0,r=!0,o=!0;return 2===t?(r=!1,o=!1):1===t&&(o=!1),{dynamicMove:r,dynamicSize:o}}function ne(e,t){var r;return e===!1&&t===!1?r=2:t===!1&&(r=1),r}function ae(e,t,r){var o={x:e.x||0,y:e.y||0,width:e.width||0,height:e.height||0};return{startPoint:{x:(o.x/t).toFixed(5),y:(o.y/r).toFixed(5)},endPoint:{x:((o.x+o.width)/t).toFixed(5),y:((o.y+o.height)/r).toFixed(5)}}}function le(e){var t,r,o;return e?(t=i.ColorHelper.toExcelColor(e),r=t.colorType(),2===r?(o=i.ColorHelper.getRGBAColorData(t),{srgbClr:{val:o.rgb}}):3===r?{schemeClr:{val:t.value()}}:null):null}function se(e,t,r){return{x:e.x*r-e.y*t,y:e.x*t+e.y*r}}f=Math.PI/180/6e4;function ce(e){var t,r,i,n,a,l,s,c,d,u,b,h,p,m,g,y,S,C,w,x;if(e&&!o.J(e.rot))return t=e.rot,r=e.off,i=e.ext,n=r.x,a=r.y,l=i.cx,s=i.cy,c=l/2,d=s/2,u=t*f,b=Math.sin(u),h=Math.cos(u),p=n+c,m=a+d,g=[],y=[],[{x:-c,y:-d},{x:c,y:-d},{x:-c,y:d},{x:c,y:d}].forEach(function(e){var t=se(e,b,h);g.push(t.x+p),y.push(t.y+m)}),S=Math.min.apply(null,g),C=Math.max.apply(null,g),w=Math.min.apply(null,y),x=Math.max.apply(null,y),{x:S,y:w,width:C-S,height:x-w}}function de(e,t,r,o){var i,n,a=ce(o)||oe(t,e),l=ie(e);r.dynamicMove=l.dynamicMove,r.dynamicSize=l.dynamicSize,A(a,r,["x","y","width","height"]),0===e.anchorType?(i=o?C(t,a):e,I(i,r)):i=C(t,a),z(t,i),n=e.clientData,n&&(r.isLocked=n.fLocksWithSheet,r.canPrint=n.fPrintsWithSheet)}function ue(e,t){var r,i,n,a,l,s,c,d,u,f,b;return z(e,t),n=o.Util.za(t),a=n&&n.layoutId,l=o.Util.Aa(a),r=l?t.AlternateContent&&t.AlternateContent.Choice&&t.AlternateContent.Choice.GraphicalObjectFrame&&t.AlternateContent.Choice.GraphicalObjectFrame.nvGraphicFramePr:2===t.shapeType?t.nvGraphicFramePr:t.graphicFrame&&t.graphicFrame.nvGraphicFramePr,i=r&&r.cNvPr,s=G(e.charts,i.name,"chart"),c=t.chartSpace,d={name:s,chartSpace:c,isVisible:!i.hidden,alt:i.descr,AlternateContent:t.AlternateContent},de(t,e,d,t.xfrm),u=d.width,f=d.height,b=c.userShapes,b&&(c.userShapes=b.map(function(t){return t.pic?me(e,t,u,f):t.graphicFrame?he(e,t,u,f):void 0})),d}t.convertFromExcelChart=ue;function fe(e,t){var r,o=t.shapeData;return o.editAs=ne(t.dynamicMove,t.dynamicSize),o.clientData={fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},r=t.alt,r&&(o.sp?o.sp.nvSpPr.cNvPr.descr=r:o.cxnSp?o.cxnSp.nvCxnSpPr.cNvPr.descr=r:o.grpSp?o.grpSp.nvGrpSpPr.cNvPr.descr=r:o.pic&&(o.pic.nvPicPr.cNvPr.descr=r)),o}t.convertToExcelShape=fe;function be(e,t){var r,i=Z(e,t),n=t.isVisible,a=t.chartSpace,l={anchorType:0,startPoint:i.startPoint,endPoint:i.endPoint,editAs:i.editAs,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:t.name,descr:t.alt||"",hidden:!o.J(n)&&!n}}},clientData:{fLocksWithSheet:t.isLocked,fPrintsWithSheet:t.canPrint},chartSpace:a,AlternateContent:t.AlternateContent},s=1,c=a.userShapes;return c&&c.length>0&&(r=c.map(function(e){var r;return"1"===e.typeName?(r=ge(e,s,t.width,t.height),s++):"2"===e.typeName&&(r=pe(e,s,t.width,t.height),s++),r}).filter(function(e){return!!e}),r.length>0?a.userShapes={relSizeAnchor:r}:delete a.userShapes),l}t.convertToExcelChart=be;function he(e,t,r,o){var i=t.graphicFrame&&t.graphicFrame.nvGraphicFramePr&&t.graphicFrame.nvGraphicFramePr.cNvPr&&t.graphicFrame.nvGraphicFramePr.cNvPr,n=G(e.charts,i.name,"chart"),a=oe(e,t,r,o),l={name:n,chartSpace:t.chartSpace,isVisible:!i.hidden,alt:i.descr};return A(a,l,["x","y","width","height"]),l}function pe(e,t,r,i){var n=ae(e,r,i),a=e.isVisible;return{typeName:e.typeName,anchorType:3,startPoint:n.startPoint,endPoint:n.endPoint,graphicFrame:{nvGraphicFramePr:{cNvPr:{name:e.name,descr:e.alt||"",hidden:!o.J(a)&&!a}}},chartSpace:e.chartSpace}}function me(e,t,r,o){var i,n,a,l,s,c=t.pic&&t.pic.nvPicPr&&t.pic.nvPicPr.cNvPr,d=c.name,u=e.floatingObjects;return u&&(d=G(u,d,"picture")),i=t.pic&&t.pic.blipFill,n=i&&i.blip&&i.blip.blipBlob,a=n&&n.blob,l={name:d,alt:c.descr,src:a,isVisible:!c.hidden},s=oe(e,t,r,o),A(s,l,["x","y","width","height"]),U(t.pictureFormat,l),l}function ge(e,t,r,o){var i,a,l=ae(e,r,o),s={typeName:e.typeName,anchorType:3,startPoint:l.startPoint,endPoint:l.endPoint,pic:{nvPicPr:{cNvPr:{name:e.name,descr:e.alt||""},cNvPicPr:{picLocks:{}}},spPr:{ln:{w:_(e.borderStyle)?0:e.borderWidth},prstGeom:{prst:1,avLst:{}}}},src:e.src},c=s.pic.spPr,d=c.ln,u=le(e.backColor);return u&&(c.solidFill=u),i=le(e.borderColor),i&&(d.solidFill=i),a=N(e.borderStyle),"dbl"===a?d.cmpd=n.Charts.ST_CompoundLine[a]:d.prstDash=n.Charts.ST_PresetLineDashVal[a],s}function ye(e,t){return!(!e||!t||e.color!==t.color||e.type!==t.type)||!e&&!t}t.isBorderEqual=ye,b={backColor:2,foreColor:0,borderBottom:1,borderLeft:1,borderRight:1,borderTop:1,font:0,textDecoration:0};function Se(e,t){var r,i={};for(r in e)e.hasOwnProperty(r)&&(0===b[r]?e[r]!==t[r]&&(i[r]=e[r]):1===b[r]?ye(e[r],t[r])||(i[r]=e[r]):2===b[r]?o.Util.Da(e[r],t[r])||(i[r]=e[r]):i[r]=e[r]);return i}t.processTableCellStyle=Se;function Ce(e,t){var r,o={};for(r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);for(r in b)void 0===e[r]&&void 0!==t[r]&&(o[r]=t[r]);return o}t.resetTableCellStyle=Ce;function we(e,t){var r,o="png",i=e.lastIndexOf(".");return i!==-1&&(o=e.substr(i+1)),"svg"===o&&(o="svg+xml"),r=t(e,!0),r?"data:image/"+o+";base64,"+r:l}t.getImageContent=we;function xe(e){return JSON.parse(JSON.stringify(e))}function Ae(e){var t=e.sp||e.cxnSp||e.grpSp;return t&&(t.spPr&&t.spPr.xfrm||t.grpSpPr&&t.grpSpPr.xfrm)}t.getXFrm=Ae;function Te(e,t){if(e&&5===e.shapeType){var r=t[e.nvSpPr.cNvPr.id];r&&(e.shapeType=7,e.control=r)}}function ve(e,t){var r=e&&e.sp||[];r.forEach(function(e){5===e.shapeType?Te(e,t):3===e.shapeType&&ve(e,t)})}function ke(e,t){var r,o,i={},n=e.controls||{};return de(t,e,i),t.sp?(Te(t.sp,n),i.shapeType=t.sp.shapeType,i.name=t.sp.nvSpPr.cNvPr.name,i.alt=t.sp.nvSpPr.cNvPr.descr,i.shapeData=xe(t)):t.cxnSp?(i.shapeType=t.cxnSp.shapeType,i.name=t.cxnSp.nvCxnSpPr.cNvPr.name,i.alt=t.cxnSp.nvCxnSpPr.cNvPr.descr,i.shapeData=xe(t)):t.grpSp?(ve(t.grpSp,n),i.shapeType=t.grpSp.shapeType,i.name=t.grpSp.nvGrpSpPr.cNvPr.name,i.alt=t.grpSp.nvGrpSpPr.cNvPr.descr,i.shapeData=xe(t)):t.pic&&(r=t.pic,i.shapeType=r.shapeType,i.name=r.nvPicPr.cNvPr.name,i.alt=r.nvPicPr.cNvPr.descr,i.shapeData=xe(t)),o=i.shapeData,o&&o.hidden&&(o.isVisible=!1,i.isVisible=!1,delete o.hidden),i}t.convertFromExcelShape=ke,t.toProtectionOptions={selectLockedCells:"allowSelectLockedCells",selectUnlockedCells:"allowSelectUnlockedCells",autoFilter:"allowFilter",sort:"allowSort",insertColumns:"allowInsertColumns",insertRows:"allowInsertRows",deleteColumns:"allowDeleteColumns",deleteRows:"allowDeleteRows",objects:"allowEditObjects"},t.fromProtectionOptions={allowSelectLockedCells:"selectLockedCells",allowSelectUnlockedCells:"selectUnlockedCells",allowFilter:"autoFilter",allowSort:"sort",allowInsertColumns:"insertColumns",allowInsertRows:"insertRows",allowDeleteColumns:"deleteColumns",allowDeleteRows:"deleteRows",allowEditObjects:"objects"},t.excelSupportProtectionOptions={formatCells:!0,formatColumns:!0,formatRows:!0,insertColumns:!0,insertRows:!0,insertHyperlinks:!0,deleteColumns:!0,deleteRows:!0,sort:!0,autoFilter:!0,pivotTables:!0};function Fe(e){return Ee(e)?(e>4294934530&&e<4294967296&&(e-=4294967296),e):e}t.convertFirstPageNumber=Fe;function Re(e){return Ee(e)?(e<0&&(e+=4294967296),e):e}t.convertFirstPageNumberToExcel=Re;function Ee(e){return"string"==typeof e&&(e=+e),!(isNaN(e)||!isFinite(e))}},"./src/datamodel/excel-style.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L,D,B,P,W,_,N,M,O,H,G;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/common/builtIn-resource.ts"),n=r("./src/common/excel-types.ts"),a=r("./src/xml-io/xml-reader.ts"),l=r("./src/xlsx-io/reader/style-reader.ts"),s=null,c=void 0,d="Headings",u="Body",f="Calibri",b="bold",h="italic",function(e){e[e.none=0]="none",e[e.major=1]="major",e[e.minor=2]="minor",e[e.ninched=255]="ninched"}(p=t.FontSchemeCategory||(t.FontSchemeCategory={})),function(e){e[e.top=0]="top",e[e.center=1]="center",e[e.bottom=2]="bottom",e[e.justify=3]="justify",e[e.distributed=4]="distributed"}(m=t.ExcelVerticalAlignment||(t.ExcelVerticalAlignment={})),function(e){e[e.general=0]="general",e[e.left=1]="left",e[e.center=2]="center",e[e.right=3]="right",e[e.fill=4]="fill",e[e.justify=5]="justify",e[e.centerContinuous=6]="centerContinuous",e[e.distributed=7]="distributed"}(g=t.ExcelHorizontalAlignment||(t.ExcelHorizontalAlignment={})),function(e){e[e.accordingToContext=0]="accordingToContext",e[e.leftToRight=1]="leftToRight",e[e.rightToLeft=2]="rightToLeft"}(y=t.TextDirection||(t.TextDirection={})),function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.double=2]="double",e[e.singleaccounting=3]="singleaccounting",e[e.doubleaccounting=4]="doubleaccounting"}(S=t.UnderLineStyle||(t.UnderLineStyle={})),function(e){e[e.baseLine=0]="baseLine",e[e.superscript=1]="superscript",e[e.subscript=2]="subscript"}(C=t.VertAlign||(t.VertAlign={})),function(e){e[e.none=0]="none",e[e.thin=1]="thin",e[e.medium=2]="medium",e[e.dashed=3]="dashed",e[e.dotted=4]="dotted",e[e.thick=5]="thick",e[e.double=6]="double",e[e.hair=7]="hair",e[e.mediumDashed=8]="mediumDashed",e[e.dashDot=9]="dashDot",e[e.mediumDashDot=10]="mediumDashDot",e[e.dashDotDot=11]="dashDotDot",e[e.mediumDashDotDot=12]="mediumDashDotDot",e[e.slantDashDot=13]="slantDashDot"}(w=t.ExcelBorderStyle||(t.ExcelBorderStyle={})),function(e){e[e.none=0]="none",e[e.solid=1]="solid",e[e.darkGray=2]="darkGray",e[e.mediumGray=3]="mediumGray",e[e.lightGray=4]="lightGray",e[e.gray125=5]="gray125",e[e.gray0625=6]="gray0625",e[e.darkHorizontal=7]="darkHorizontal",e[e.darkVertical=8]="darkVertical",e[e.darkDown=9]="darkDown",e[e.darkUp=10]="darkUp",e[e.darkGrid=11]="darkGrid",e[e.darkTrellis=12]="darkTrellis",e[e.lightHorizontal=13]="lightHorizontal",e[e.lightVertical=14]="lightVertical",e[e.lightDown=15]="lightDown",e[e.lightUp=16]="lightUp",e[e.lightGrid=17]="lightGrid",e[e.lightTrellis=18]="lightTrellis"}(x=t.FillPatternType||(t.FillPatternType={})),A=function(){function e(e,t,r){var o=this;if(3===e&&t>11&&241!==t&&242!==t&&243!==t&&244!==t&&255!==t)throw Error("themeColorIndexError");if(r>1||r<-1)throw Error("colorTintError");1===e&&32767===t&&(o.Vj=!0),o.Wj=e||2,o.Xj=t||0,o.Yj=r||0}return e.prototype.colorType=function(){return this.Wj},e.prototype.value=function(){return this.Xj},e.prototype.tint=function(){return this.Yj},e.prototype.isAutoColor=function(e){var t=this;return 0===arguments.length?t.Vj:void("boolean"==typeof e&&e!==t.Vj&&(t.Vj=e))},e.prototype.isIndexedColor=function(){return 1===this.Wj},e.prototype.isRGBColor=function(){return 2===this.Wj},e.prototype.isThemeColor=function(){return 3===this.Wj},e.prototype.equals=function(e){return this===e||!!e&&(this.Wj===e.colorType()&&this.value()===e.value()&&this.tint()===e.tint()&&this.isAutoColor()===e.isAutoColor())},e.EmptyColor=new e,e}(),t.ExcelColor=A,T=function(){function e(e,t){this.color=e||null,this.lineStyle=t||0}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.color?t.color.equals(e.color)&&t.lineStyle===e.lineStyle:!e.color&&t.lineStyle===e.lineStyle)},e.prototype.isDefault=function(){return null===this.color&&0===this.lineStyle},e}(),t.ExcelBorderSide=T,v=function(){function e(){var e=this;e.left=new T,e.top=new T,e.right=new T,e.bottom=new T,e.diagonalUp=new T,e.diagonalDown=new T}return e.prototype.clone=function(){var t=this,r=new e;return r.left=t.left?new T(t.left.color,t.left.lineStyle):t.left,r.right=t.right?new T(t.right.color,t.right.lineStyle):t.right,r.top=t.top?new T(t.top.color,t.top.lineStyle):t.top,r.bottom=t.bottom?new T(t.bottom.color,t.bottom.lineStyle):t.bottom,r.diagonalUp=t.diagonalUp?new T(t.diagonalUp.color,t.diagonalUp.lineStyle):t.diagonalUp,r.diagonalDown=t.diagonalDown?new T(t.diagonalDown.color,t.diagonalDown.lineStyle):t.diagonalDown,r},e.prototype.compose=function(e){var t=this;t.left&&t.left.isDefault()&&(t.left=e.left),t.right&&t.right.isDefault()&&(t.right=e.right),t.top&&t.top.isDefault()&&(t.top=e.top),t.bottom&&t.bottom.isDefault()&&(t.bottom=e.bottom),t.diagonalUp&&t.diagonalUp.isDefault()&&(t.diagonalUp=e.diagonalUp),t.diagonalDown&&t.diagonalDown.isDefault()&&(t.diagonalDown=e.diagonalDown)},e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.left.equals(e.left)&&t.right.equals(e.right)&&t.top.equals(e.top)&&t.bottom.equals(e.bottom)&&t.diagonalUp.equals(e.diagonalUp)&&t.diagonalDown.equals(e.diagonalDown));
29
+ },e}(),t.ExcelBorder=v,k=function(){function e(){}return e.prototype.clone=function(){var t=this,r=new e;return r.bgColor=t.bgColor,r.fgColor=t.fgColor,r.patternType=t.patternType,r.stops=t.stops,r.type=t.type,r.degree=t.degree,r.left=t.left,r.right=t.right,r.top=t.top,r.bottom=t.bottom,r},e.prototype.compose=function(e){var t=this;t.bgColor===c&&(t.bgColor=e.bgColor),t.fgColor===c&&(t.fgColor=e.fgColor),t.patternType===c&&(t.patternType=e.patternType),t.stops===c&&(t.stops=e.stops),t.type===c&&(t.type=e.type),t.degree===c&&(t.degree=e.degree),t.left===c&&(t.left=e.left),t.right===c&&(t.right=e.right),t.top===c&&(t.top=e.top),t.bottom===c&&(t.bottom=e.bottom)},e.prototype.equals=function(e){var t=this;return t===e||!!e&&JSON.stringify(t)===JSON.stringify(e)},e.Default=function(){return e.Zj||(e.Zj=new e,e.Zj.bgColor=c,e.Zj.fgColor=c,e.Zj.patternType=0),e.Zj},e}(),t.ExcelFill=k,F=function(){function e(e,t,r){var o=this;void 0!==t?o.fontColor=t:o.fontColor=null,void 0!==e?o.fontName=e:o.fontName=null,void 0!==r?o.fontFamily=r:o.fontFamily=0,o.isAutoColor=!1,o.isBold=!1,o.isItalic=!1,o.isOutlineStyle=!1,o.isShadowStyle=!1,o.isStrikeOut=!1,o.fontScheme=0,o.fontSize=11,o.charSetIndex=0,o.underLineStyle=0,o.vertAlign=0,o.Zj=null}return e.prototype.equals=function(e){var t,r=this;return r===e||!!e&&(t=r.isBold===e.isBold&&r.isItalic===e.isItalic&&this.isOutlineStyle===e.isOutlineStyle&&this.isShadowStyle===e.isShadowStyle&&this.isStrikeOut===e.isStrikeOut&&this.fontName===e.fontName&&this.fontFamily===e.fontFamily&&this.fontSize===e.fontSize&&this.charSetIndex===e.charSetIndex&&this.underLineStyle===e.underLineStyle&&this.vertAlign===e.vertAlign&&this.fontScheme===e.fontScheme,!!t&&(!r.fontColor&&!e.fontColor||!(!r.fontColor&&e.fontColor)&&(!(r.fontColor&&!e.fontColor)&&r.fontColor.equals(e.fontColor))))},e.prototype.clone=function(){var t=this,r=new e(t.fontName,t.fontColor,t.fontFamily);return r.isAutoColor=t.isAutoColor,r.isBold=t.isBold,r.isItalic=t.isItalic,r.isOutlineStyle=t.isOutlineStyle,r.isShadowStyle=t.isShadowStyle,r.isStrikeOut=t.isStrikeOut,r.fontScheme=t.fontScheme,r.fontSize=t.fontSize,r.charSetIndex=t.charSetIndex,r.underLineStyle=t.underLineStyle,r.vertAlign=t.vertAlign,r.fontColor=t.fontColor,r},e.prototype.Default=function(){var t=this;return t.Zj||(t.Zj=new e,t.Zj.fontSize=11,t.Zj.fontFamily=2,t.Zj.fontColor=new A(1,0,0),t.Zj.fontName="Calibri",t.Zj.charSetIndex=0),t.Zj},e.prototype.compose=function(e){var t=this;null===t.fontColor&&(t.fontColor=e.fontColor),null===t.fontName&&(t.fontName=e.fontName),0===t.fontFamily&&(t.fontFamily=e.fontFamily),t.isAutoColor===!1&&(t.isAutoColor=e.isAutoColor),t.isBold===!1&&(t.isBold=e.isBold),t.isItalic===!1&&(t.isItalic=e.isItalic),t.isOutlineStyle===!1&&(t.isOutlineStyle=e.isOutlineStyle),t.isShadowStyle===!1&&(t.isShadowStyle=e.isShadowStyle),t.isStrikeOut===!1&&(t.isStrikeOut=e.isStrikeOut),0===t.fontScheme&&(t.fontScheme=e.fontScheme),11===t.fontSize&&(t.fontSize=e.fontSize),0===t.charSetIndex&&(t.charSetIndex=e.charSetIndex),0===t.underLineStyle&&(t.underLineStyle=e.underLineStyle),0===t.vertAlign&&(t.vertAlign=e.vertAlign),null===t.Zj&&(t.Zj=e.Zj)},e}(),t.ExcelFont=F,R=function(){function e(e,t){this.numberFormatId=e,this.numberFormatCode=t}return e.prototype.equals=function(e){var t=this;return t===e||!!e&&(t.numberFormatId===e.numberFormatId&&t.numberFormatCode===e.numberFormatCode)},e.prototype.compose=function(e){var t=this;t.numberFormatId===c&&(t.numberFormatId=e.numberFormatId),t.numberFormatCode===c&&(t.numberFormatCode=e.numberFormatCode)},e.prototype.clone=function(){var t=this;return new e(t.numberFormatId,t.numberFormatCode)},e}(),t.ExcelNumerFormat=R,E=function(){function e(){var e=this;e.font=(new F).Default(),e.border=new v,e.applyAlignment=c,e.applyBorder=c,e.applyFill=c,e.applyFont=c,e.applyNumberFormat=c,e.applyProtection=c,e.quotePrefix=c,e.fill=k.Default(),e.numberFormatIndex=0,e.numberFormat=c,e.isStyleFormat=!1,e.parentFormatID=c,e.parentName=c,e.horizontalAlign=0,e.verticalAlign=0,e.isLocked=!1,e.rotation=0,e.isWordWrap=!1,e.isJustfyLastLine=!1,e.isShrinkToFit=!1,e.isFirstSymbolApostrophe=!1,e.readingOrder=0,e.isHidden=!1,e.indent=0,e.isVerticalText=!1}return e.Default=function(){var t=new e;return t.numberFormatIndex=0,t.isLocked=!0,t.verticalAlign=2,t.horizontalAlign=0,t},e.prototype.copyFrom=function(e){var t=this;t.applyAlignment=e.applyAlignment,t.applyBorder=e.applyBorder,t.applyFill=e.applyFill,t.applyFont=e.applyFont,t.applyNumberFormat=e.applyNumberFormat,t.applyProtection=e.applyProtection,t.fill=null!==e.fill?e.fill.clone():null,t.border=null!==e.border?e.border.clone():null,t.font=null!==e.font?e.font.clone():null,t.numberFormatIndex=e.numberFormatIndex,t.numberFormat=e.numberFormat,t.isStyleFormat=e.isStyleFormat,t.parentFormatID=e.parentFormatID,t.horizontalAlign=e.horizontalAlign,t.verticalAlign=e.verticalAlign,t.isLocked=e.isLocked,t.rotation=e.rotation,t.isWordWrap=e.isWordWrap,t.isJustfyLastLine=e.isJustfyLastLine,t.isShrinkToFit=e.isShrinkToFit,t.isFirstSymbolApostrophe=e.isFirstSymbolApostrophe,t.readingOrder=e.readingOrder,t.isHidden=e.isHidden,t.indent=e.indent,t.quotePrefix=e.quotePrefix},e.prototype.clone=function(){var t=new e;return t.copyFrom(this),t},e.prototype.equals=function(e,t,r){var o,i=this;if(i===e)return!0;if(!e)return!1;if(!i.numberFormat&&e.numberFormat)return!1;if(o=i.numberFormatIndex===e.numberFormatIndex&&i.horizontalAlign===e.horizontalAlign&&i.verticalAlign===e.verticalAlign&&i.isLocked===e.isLocked&&i.rotation===e.rotation&&i.isWordWrap===e.isWordWrap&&i.isJustfyLastLine===e.isJustfyLastLine&&i.isShrinkToFit===e.isShrinkToFit&&i.isFirstSymbolApostrophe===e.isFirstSymbolApostrophe&&i.readingOrder===e.readingOrder&&i.isHidden===e.isHidden&&i.indent===e.indent&&i.parentFormatID===e.parentFormatID&&i.quotePrefix===e.quotePrefix&&i.border.equals(e.border)&&i.isVerticalText===e.isVerticalText,t||(o=o&&i.parentName===e.parentName),r||(o=o&&i.applyAlignment===e.applyAlignment&&i.applyBorder===e.applyBorder&&i.applyFill===e.applyFill&&i.applyFont===e.applyFont&&i.applyNumberFormat===e.applyNumberFormat&&i.applyProtection===e.applyProtection),i.font)o=o&&i.font.equals(e.font);else if(e.font)return!1;if(i.numberFormat&&(o=o&&i.numberFormat.equals(e.numberFormat)),i.fill)o=o&&i.fill.equals(e.fill);else if(e.fill)return!1;return o},e}(),t.ExtendedFormat=E,I=function(){function e(){this.$j=null,this.builtInStyle=0,this.category=0,this.isCustomBuiltin=!1,this.name=null,this.outLineLevel=0}return e.prototype.format=function(e){var t=this;return 0===arguments.length?(null===t.$j&&(t.$j=new E),t.$j):void(t.$j=e)},e.prototype.copy=function(){var t=this,r=new e;return r.builtInStyle=t.builtInStyle,r.outLineLevel=t.outLineLevel,r.isCustomBuiltin=t.isCustomBuiltin,r.category=t.category,r.name=t.name,r.format(t.format().clone()),r},e.prototype.isBuiltInStyle=function(){return!0},e.prototype.getBuiltInStyleCategory=function(){var e=this;if(!e.isBuiltInStyle())return 0;switch(e.builtInStyle){case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 2:case 1:return 4;case 24:return 1;case 19:return 2;case 20:return 2;case 3:case 6:case 4:case 7:return 5;case 49:return 2;case 23:return 1;case 13:case 14:case 15:case 16:return 3;case 17:return 2;case 21:return 2;case 25:return 1;case 0:return 1;case 10:case 18:return 2;case 5:return 5;case 12:case 22:return 3;case 11:return 2;default:return 0}},e}(),t.ExcelStyle=I,L=function(){function e(){this.$j=null,this.name=null}return e.prototype.format=function(e){var t=this;return 0===arguments.length?(null===t.$j&&(t.$j=new E),t.$j):(t.$j=e,this)},e.prototype.copy=function(){var t=new e;return t.name=this.name,t.format(this.format().clone()),t},e.prototype.isBuiltInStyle=function(){return!1},e}(),t.CustomExcelStyle=L,D=function(){function e(){}return e.initBuiltInExcelStyleCollections=function(){var t,r,o,n,s,c,d,u;if(e.builtInStyles.length=0,t=i.BuiltInStylesResource)for(r=new a.XmlReader,r.reset(),r.setXml(t),o=[],n=[],s=[],c=[],d={};r.read();)if(1===r.depth&&2!==r.elementType)switch(r.name()){case"numFmts":l.readNumberFormats(r,d);break;case"fonts":l.readFonts(r,o);break;case"fills":l.readFills(r,n);break;case"borders":l.readBorders(r,s);break;case"cellStyleXfs":l.readXFs(r,c,o,s,d,n,!0);break;case"cellStyles":for(u=r.depth;r.read();){if(r.depth<=u)return;1===r.nodeType()&&"cellStyle"===r.name()&&U(r,c,d)}}},e.getBuiltInStyles=function(){var t,r,o=e.builtInStyles.length;for(47!==o&&e.initBuiltInExcelStyleCollections(),t=[],o=e.builtInStyles.length,r=0;r<o;r++)t.push(e.builtInStyles[r].copy());return t},e.getNormalStyle=function(){var e,t=new E;return t.font=new F,t.font.fontColor=new A(3,1),t.font.fontSize=11,t.font.fontName="Calibri",e=new I,e.format(t),e.name="Normal",e.builtInStyle=0,e},e.builtInStyles=[],e}(),t.BuiltInExcelStyles=D;function U(e,t,r){for(var o,i,n=c,a=0,l=0;e.moveToNextAttribute();)switch(e.readAttributeNameAsString()){case"name":n=e.readContentAsString();break;case"xfId":a=e.readContentAsInt(0);break;case"builtinId":l=e.readContentAsInt(0)}o=t[a],o.isStyleFormat=!0,i=new I,i.name=n,i.format(o.clone()),!i.format().numberFormat&&r[i.format().numberFormatIndex]&&(i.format().numberFormat=r[i.format().numberFormatIndex],i.format().numberFormatIndex=0),i.isCustomBuiltin=!1,i.builtInStyle=l,i.category=i.getBuiltInStyleCategory(),D.builtInStyles.push(i)}B=function(){function e(){}return e.builtInNumberFomrat=function(){return e._j||(e._j={count:0}),0===e._j.count&&e.initBuintNumberFormat(),e._j},e.languageIndepedentNumberFormat=function(){return e.ak||(e.ak={count:0}),0===e.ak.count&&e.initLanguageIndepedentNumberFormat(),e.ak},e.formatCodeTable=function(){return e.ck||(e.ck=[]),e.ck},e.customNumberFormat=function(){return e.dk||(e.dk={count:0}),e.dk},e.getCultureInfo=function(){var e=o.K(),t=e&&e.GC&&e.GC.Spread&&e.GC.Spread.Common&&o.K().GC.Spread.Common.CultureManager.getCultureInfo();return t||o.Ga()},e.initBuintNumberFormat=function(){var t,r,i,n,a,l,s,c=e._j;if(c[0]="General",c[1]="0",c[2]="0.00",c[3]="#,##0",c[4]="#,##0.00",c[9]="0%",c[10]="0.00%",c[11]="0.00E+00",c[12]="# ?/?",c[13]="# ??/??",c[14]="m/d/yyyy",c[15]="d-mmm-yy",c[16]="d-mmm",c[17]="mmm-yy",c[18]="h:mm AM/PM",c[19]="h:mm:ss AM/PM",c[20]="h:mm",c[21]="h:mm:ss",c[22]="m/d/yyyy h:mm",c[37]="#,##0_);(#,##0)",c[38]="#,##0_);[Red](#,##0)",c[39]="#,##0.00_);(#,##0.00)",c[40]="#,##0.00_);[Red](#,##0.00)",c[45]="mm:ss",c[46]="[h]:mm:ss",c[47]="mm:ss.0",c[48]="##0.0E+0",c[49]="@",c.count=49,o.Fa())if(t=o.Fa(),"zh-cn"===t)c[14]="yyyy/m/d",c[17]="mmm-yy",c[22]="yyyy/m/d h:mm",c[27]='yyyy"\u5e74"m"\u6708"',c[28]='m"\u6708"d"\u65e5"',c[29]='m"\u6708"d"\u65e5"',c[30]="m-d-yy",c[31]='yyyy"\u5e74"m"\u6708"d"\u65e5"',c[32]='h"\u65f6"mm"\u5206"',c[33]='h"\u65f6"mm"\u5206"ss"\u79d2"',c[34]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"',c[35]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2"',c[36]='yyyy"\u5e74"m"\u6708"',c[39]="#,##0.00;-#,##0.00",c[40]="#,##0.00;[Red]-#,##0.00",c[50]='yyyy"\u5e74"m"\u6708"',c[51]='m"\u6708"d"\u65e5"',c[52]='yyyy"\u5e74"m"\u6708"',c[53]='m"\u6708"d"\u65e5"',c[54]='m"\u6708"d"\u65e5"',c[55]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"',c[56]='\u4e0a\u5348/\u4e0b\u5348h"\u65f6"mm"\u5206"ss"\u79d2"',c[57]='yyyy"\u5e74"m"\u6708"',c[58]='m"\u6708"d"\u65e5"',c.count=58;else if("ja-jp"===t)c[14]="yyyy/m/d",c[15]="dd-mmm-yy",c[16]="dd-mmm",c[17]="mmm-yy",c[22]="yyyy/mm/dd h:mm",c[27]="[$-411]ge.m.d",c[28]='[$-411]ggge"\u5e74"m"\u6708"d"',c[29]='[$-411]ggge"\u5e74"m"\u6708"d"',c[30]="m/d/yy",c[31]='yyyy"\u5e74"m"\u6708"d"\u65e5"',c[32]='h"\u6642"mm"\u5206"',c[33]='h"\u6642"mm"\u5206"ss"\u79d2"',c[34]='yyyy"\u5e74"m"\u6708"',c[35]='m"\u6708"d"\u65e5"',c[36]="[$-411]ge.m.d",c[38]="#,##0;[Red]-#,##0",c[39]="#,##0.00;-#,##0.00",c[40]="#,##0.00;[Red]-#,##0.00",c[50]="[$-411]ge.m.d",c[51]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c[52]='yyyy"\u5e74"m"\u6708"',c[53]='m"\u6708"d"\u65e5"',c[54]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c[55]='yyyy"\u5e74"m"\u6708"',c[56]='m"\u6708"d"\u65e5"',c[57]="[$-411]ge.m.d",c[58]='[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',c.count=58;else{if(r=e.getCultureInfo(),i=r&&r.LocalNumberFormat,o.isNullOrUndefined(i)||Array.isArray(i)||"object"!=typeof i)return;for(n in i)isNaN(+n)||(a=i[n],o.Util.Ca(a)&&(c[n]=i[n]));l=0;for(n in c)isNaN(+n)||(s=+n,s>l&&(l=s));c.count=l}},e.initLanguageIndepedentNumberFormat=function(){var t=e.ak;t[27]="m/d/yyyy",t[28]="m/d/yyyy",t[29]="m/d/yyyy",t[30]="m/d/yyyy",t[31]="m/d/yyyy",t[32]="h:mm:ss",t[33]="h:mm:ss",t[34]="m/d/yyyy",t[35]="m/d/yyyy",t[36]="m/d/yyyy",t[50]="m/d/yyyy",t[51]="m/d/yyyy",t[52]="m/d/yyyy",t[53]="m/d/yyyy",t[54]="m/d/yyyy",t[55]="m/d/yyyy",t[56]="m/d/yyyy",t[57]="m/d/yyyy",t[58]="m/d/yyyy"},e.getFormatCode=function(t){var r,o,i,n=e.builtInNumberFomrat(),a=e.customNumberFormat(),l=e.languageIndepedentNumberFormat(),s=t.numberFormatIndex;return t.numberFormat?(r=t.numberFormat,o=r.numberFormatId,i=r.numberFormatCode,n[o]&&n[o]!==i?(n[o]=i,i):(a[i]||(a[i]=o,a.count++),i)):n[s]?n[s]:l[s]?l[s]:"General"},e.getFormatId=function(t){var r,o,i,n,a,l,s,c=e.ek();if(c[t])return c[t];if(o=e.builtInNumberFomrat())for(i in o)if(o[i]===t)return r={isBuiltIn:!0,id:parseInt(i,10)},c[t]=r,r;if(n=e.customNumberFormat(),n&&n[t])return r={isBuiltIn:!1,id:n[t]},c[t]=r,r;if(a=0,n.count>0){l=0;for(s in n)n[s]>l&&(l=n[s]);a=l}return a=Math.max(e.fk,a)+1,e.fk++,n[t]=a,r={isBuiltIn:!1,id:a}},e.ek=function(){return e.gk||(e.gk={}),e.gk},e.ck=null,e.gk=null,e._j={count:0},e.ak={count:0},e.dk={count:0},e.fk=170,e}(),t.ExtendedNumberFormatHelper=B;function J(e,t){var r=Math.pow(10,t);return Math.round(e*r)/r}P=function(){function e(){}return e.pointToPixel=function(e,t){return void 0===t&&(t=2),J(96*e/72,t)},e.pixelToPoint=function(e){return 72*e/96},e.emuToPixles=function(e,t){return J(96*e/914400,t||2)},e.pixelToEMU=function(e){return Math.round(914400*e/96)},e.getMaxiumDigitWidth=function(t){var r,o,i,a,l,s,c=0,d=e.hk();if(d[t])return d[t];try{if(e.ik||(e.ik=document.createElement("span")),r=e.ik,r.style.font=t,o=r.style.fontSize,o.indexOf("px")!==-1?o=Math.round(e.pixelToPoint(parseFloat(o))):o.indexOf("pt")!==-1&&(o=Math.round(parseFloat(o))),!isNaN(o)&&o||(o=Math.round(e.pixelToPoint(parseFloat(t.match(/(\d|\.)+/))))),i=r.style.fontFamily,i||t.split(" ").forEach(function(e){"normal"!==e&&"italic"!==e&&"bold"!==e&&e.indexOf("px")===-1&&e.indexOf("pt")===-1&&isNaN(e)&&(i=e)}),n.unknownFontMaxDigitWidthMap[o]&&n.unknownFontMaxDigitWidthMap[o][i]?c=n.unknownFontMaxDigitWidthMap[o][i]:n.MaxDigitWidthMap[o]&&n.MaxDigitWidthMap[o][i]&&(c=n.MaxDigitWidthMap[o][i]),c>0)return c=Math.round(c),d[t]=c,c}catch(e){}for(a="0123456789",l=0,s=0;s<a.length;s++)l=e.measureText(a.charAt(s),t),l>c&&(c=l);return c>0?(c=Math.round(c),d[t]=c,c):(d[t]=7,d[t])},e.truncate=function(e){return Math.floor(e)},e.hk=function(){return e.jk||(e.jk={}),e.jk},e.measureText=function(t,r){var o,i;function n(){return e.kk||(e.kk=document.createElement("canvas")),e.kk}try{return o=n(),i=o.getContext("2d"),i.font=r,i.measureText(t).width}catch(e){return 8}},e.ik=null,e.jk=null,e.kk=null,e}(),t.UnitHelper=P,W=function(){function e(e,t,r,o){var i=this;i.a=e,i.r=t,i.g=r,i.b=o}return e.prototype.toString=function(){var e=this;return 255===e.a?"#"+e.getColorUnitString(e.r)+e.getColorUnitString(e.g)+e.getColorUnitString(e.b):"rgba("+e.r+","+e.g+","+e.b+","+e.a+")"},e.prototype.getColorUnitString=function(e){var t=e.toString(16);return 1===t.length&&(t="0"+t),t},e.hueToRGB=function(e,t,r){return r<0&&(r+=240),r>240&&(r-=240),r<40?e+((t-e)*r+20)/40:r<120?t:r<160?e+((t-e)*(160-r)+20)/40:e},e.fromHLS=function(t,r,o){var i,n,a,l,s;return 0===o?i=n=a=parseInt(255*r/240,10):(l=void 0,s=void 0,s=r<=120?(r*(240+o)+120)/240:r+o-(r*o+120)/240,l=2*r-s,i=parseInt((255*e.hueToRGB(l,s,t+80)+120)/240,10),n=parseInt((255*e.hueToRGB(l,s,t)+120)/240,10),a=parseInt((255*e.hueToRGB(l,s,t-80)+120)/240,10)),new e(255,i,n,a)},e}(),t.lk=W,_=function(){function e(e){var t,r,o,i,n=this,a=e.r,l=e.g,s=e.b,c=Math.max(Math.max(a,l),s),d=Math.min(Math.min(a,l),s),u=c+d;n.luminosity=parseInt(""+(240*u+255)/510,10),t=c-d,0===t?(n.saturation=0,n.hue=160):(n.luminosity<=120?n.saturation=parseInt(""+(240*t+u/2)/u,10):n.saturation=parseInt(""+(240*t+(510-u)/2)/(510-u),10),r=(40*(c-a)+t/2)/t,o=(40*(c-l)+t/2)/t,i=(40*(c-s)+t/2)/t,a===c?n.hue=parseInt(""+(i-o),10):l===c?n.hue=parseInt(""+(80+r-i),10):n.hue=parseInt(""+(160+o-r),10),n.hue<0&&(n.hue+=240),n.hue>240&&(n.hue-=240))}return e.prototype.toColor=function(){return W.fromHLS(this.hue,this.luminosity,this.saturation)},e}(),N=function(){function e(){}return e.getThemeColorName=function(e){if(!e||3!==e.colorType())return null;var t=Math.round(100*e.tint());return 0===e.value()||243===e.value()?"Background 1 "+t:1===e.value()||241===e.value()?"Text 1 "+t:2===e.value()||244===e.value()?"Background 2 "+t:3===e.value()||242===e.value()?"Text 2 "+t:4===e.value()?"Accent 1 "+t:5===e.value()?"Accent 2 "+t:6===e.value()?"Accent 3 "+t:7===e.value()?"Accent 4 "+t:8===e.value()?"Accent 5 "+t:9===e.value()?"Accent 6 "+t:10===e.value()?"hyperlink":11===e.value()?"followedHyperlink":null},e.getThemeColorIndex=function(e,t){return"Background 1"===e.substring(0,12)?t?243:0:"Text 1"===e.substring(0,6)?t?241:1:"Background 2"===e.substring(0,12)?t?244:2:"Text 2"===e.substring(0,6)?t?242:3:"Accent 1"===e.substring(0,8)?4:"Accent 2"===e.substring(0,8)?5:"Accent 3"===e.substring(0,8)?6:"Accent 4"===e.substring(0,8)?7:"Accent 5"===e.substring(0,8)?8:"Accent 6"===e.substring(0,8)?9:"hyperlink"===e?10:"followedHyperlink"===e?11:void 0},e.mk=function(){return e.nk||(e.nk={}),e.nk},e.getExcelThemeColor=function(t){var r,i,n,a;return o.StringEx.L(t)?A.EmptyColor:(r=e.mk(),r[t]?r[t]:(i=0,n=t.split(" "),n.length>=3&&(i=parseFloat(n[2]),isNaN(i)||(i/=100)),a=new A(3,e.getThemeColorIndex(t),i),r[t]=a,a))},e.toRGBColor=function(t){return t?""+e.getRGBColor(t):null},e.colorFromIndex=function(t,r){var o,i,n,a;return 32767===t?new W(0,0,0,0):t<0||t>=e.palette.length?new W(255,0,0,0):e.useCustomPalette?e.customPalette[t]!==c?e.customPalette[t]:64===t?new W(255,0,0,0):65===t?new W(255,255,255,255):new W(0,255,255,255):(o=e.palette[t],i=o>>16&255,n=o>>8&255,a=255&o,new W(r,i,n,a))},e.updateTint=function(e,t){var r,o,i;return 0===t?e:(r=new _(e),t>0?(o=240-r.luminosity,i=o*t,W.fromHLS(r.hue,r.luminosity+i,r.saturation)):(i=r.luminosity*-t,W.fromHLS(r.hue,r.luminosity-i,r.saturation)))},e.getRGBColor=function(t){var r,o;return null===t||t===c?new W(0,255,255,255):t.isAutoColor()?new W(255,0,0,0):t.isIndexedColor()?(r=e.colorFromIndex(0|t.value(),255),e.updateTint(r,t.tint())):t.isRGBColor()?(o=(16777215&t.value())+4278190080,r=e.fromArgb(o),e.updateTint(r,t.tint())):t.isThemeColor()?e.getThemeColorName(t):new W(0,255,255,255)},e.fromArgb=function(e){return new W(e>>24&255,e>>16&255,e>>8&255,255&e)},e.getRGBAColorData=function(t){var r=e.fromArgb(t.value());return{rgb:r.getColorUnitString(r.r)+r.getColorUnitString(r.g)+r.getColorUnitString(r.b),alpha:r.a}},e.pk=function(){return e.qk||(e.qk={}),e.qk},e.fromHtmlColor=function(t){var r,o,i,n,a,l;if(t)return"string"!=typeof t?t:(r=e.pk(),r[t]?r[t]:(o=t.toLowerCase(),"#"===o.substring(0,1)?(7===o.length?o="#ff"+o.substring(1):4===o.length&&(o="#ff"+o[1]+o[1]+o[2]+o[2]+o[3]+o[3]),i=parseInt(o.substring(1,o.length),16)):"rgb("===o.substring(0,4)?(n=o.indexOf("("),a=o.indexOf(")"),l=o.substring(n+1,a).split(","),i=255*Math.pow(16,6)+parseInt(l[0],10)*Math.pow(16,4)+parseInt(l[1],10)*Math.pow(16,2)+parseInt(l[2],10)):"rgba("===o.substring(0,5)?(n=o.indexOf("("),a=o.indexOf(")"),l=o.substring(n+1,a).split(","),i=parseInt(255*parseFloat(l[3]),10)*Math.pow(16,6)+parseInt(l[0],10)*Math.pow(16,4)+parseInt(l[1],10)*Math.pow(16,2)+parseInt(l[2],10)):i=e.rk[o]?e.rk[o]:parseInt(o,10),r[t]=i,i))},e.isThemeColor=function(e){if(!e||"string"!=typeof e)return!1;e=e.toLowerCase();var t=e[0];switch(t){case"b":return 0===e.indexOf("background ");case"t":return 0===e.indexOf("text ");case"a":return 0===e.indexOf("accent ");case"h":return 0===e.indexOf("hyperlink");case"f":return 0===e.indexOf("followedhyperlink");default:return!1}},e.mixTranslucentColor=function(t,r){var o,i,n,a;return 255===r.a?r:0===r.a?t:(o=Math.round((255-t.a)*r.a/255),i=e.getMaxInt(t.a,r.a,t.r,r.r,o+t.a),n=e.getMaxInt(t.a,r.a,t.g,r.g,o+t.a),a=e.getMaxInt(t.a,r.a,t.b,r.b,o+t.a),new W(Math.round(o+t.a),i,n,a))},e.getMaxInt=function(e,t,r,o,i){return 0===i?0:(t*o+(255-t)*e*r/255)/i},e.toExcelColor=function(t,r){if(t instanceof A)return t;if(r===c&&(r=16777215),!t)return null;if(e.isThemeColor(t))return e.getExcelThemeColor(t);var o=e.fromHtmlColor(t);return o!==r?e.fromColorToExcelColor(e.fromArgb(o)):null},e.toExcelBackColor=function(t,r){var o,i;if(t!==s&&"object"==typeof t)if(t.stops)for(o=t,i=0;i<o.stops.length;i++)o.stops[i].color=e.toExcelColor(o.stops[i].color);else o={patternType:t.type,fgColor:e.toExcelColor(t.patternColor||"#000000"),bgColor:e.toExcelColor(t.backgroundColor||"#FFFFFF")};else o=t?{patternType:1,fgColor:e.toExcelColor(t),bgColor:e.toExcelColor(r?"#000000":"#FFFFFF")}:{patternType:0,fgColor:new A(1,64,0),bgColor:new A(1,65,0)};return o},e.toExcelIndexedColor=function(t){if(t){var r=e.getPaletteColorIndex(t,63);return new A(1,r)}return null},e.fromColorToExcelColor=function(t){var r,o,i,n,a;return t=e.mixTranslucentColor(e.fromArgb(16777215),t),255!==t.a&&(r=e.sk,o=Math.round(r.r-t.a+t.a/255*t.r),i=Math.round(r.g-t.a+t.a/255*t.g),n=Math.round(r.b-t.a+t.a/255*t.b),t=new W(255,o,i,n)),a=t.a*Math.pow(16,6)+t.r*Math.pow(16,4)+t.g*Math.pow(16,2)+t.b,new A(2,a,0)},e.getClosestColorIndex=function(t,r){var o,i,n,a,l,s,d,u;for(r===c&&(r=64),o=-1,i=Number.MAX_VALUE,n=Math.min(e.palette.length-1,r);n>=0;n--)a=e.palette[n],l=(16711680&a)>>16,s=(65280&a)>>8,d=255&a,u=Math.abs(.3*(l-t.r))+Math.abs(.59*(s-t.g))+Math.abs(.11*(d-t.b)),u<i&&(i=u,o=n);return o},e.getPaletteColorIndex=function(t,r){return r===c&&(r=64),t.isThemeColor()?e.getClosestColorIndex(e.getRGBColor(new A(3,t.value(),0))):e.getClosestColorIndex(e.getRGBColor(t),r)},e.toColorSchemeIndex=function(e){return"ACCENT1"===e?4:"ACCENT2"===e?5:"ACCENT3"===e?6:"ACCENT4"===e?7:"ACCENT5"===e?8:"ACCENT6"===e?9:"DK1"===e?1:"DK2"===e?3:"LT1"===e?0:"LT2"===e?2:"HLIK"===e?10:"FOLHLINK"===e?11:"PHCLR"===e?240:"BG1"===e?243:"BG2"===e?244:"TX1"===e?241:"TX2"===e?242:255},e.scRgbTosRgb=function(e){return e<=0?0:e<=.0031308?255*e*12.92+.5:e<1?255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5:255},e.convertHLSToRGB=function(t,r,o){var i,n,a=0,l=0,s=0;return 0===o?(a=255*r/255|0,l=a,s=a):(i=void 0,i=r<=127?(r*(255+o)+127)/255:r+o-(r*o+127)/255,n=2*r-i,a=parseInt(""+(255*e.hueToRGB(n,i,t+85)+127)/255,10),l=parseInt(""+(255*e.hueToRGB(n,i,t)+127)/255,10),s=parseInt(""+(255*e.hueToRGB(n,i,t-85)+127)/255,10)),a=a>0?a:0,l=l>0?l:0,s=s>0?s:0,a=a<255?a:255,l=l<255?l:255,s=s>255?s:255,new W(0,a,l,s)},e.hueToRGB=function(e,t,r){return r<0&&(r+=255),r>255&&(r-=255),r<42?e+((t-e)*r+21)/42:r<127?t:r<170?e+((t-e)*(170-r)+21)/42:e},e.fromPresetColorVal=function(t){var r=e.rk[t];return r!==c?e.fromArgb(r):null},e.nk=null,e.qk=null,e.useCustomPalette=!1,e.customPalette=null,e.palette=[4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4286578688,4278222848,4278190208,4286611456,4286578816,4278222976,4290822336,4286611584,4288256511,4288230246,4294967244,4291624959,4284874854,4294934656,4278216396,4291611903,4278190208,4294902015,4294967040,4278255615,4286578816,4286578688,4278222976,4278190335,4278242559,4291624959,4291624908,4294967193,4288269567,4294941132,4291598847,4294954137,4281558783,4281584844,4288269312,4294953984,4294940928,4294927872,4284901017,4288059030,4278203238,4281571686,4278203136,4281545472,4288230144,4288230246,4281545625,4281545523,4278190080],e.sk=new W(255,255,255,255),e.rk={aliceblue:4293982463,antiquewhite:4294634455,aqua:4278255615,aquamarine:4286578644,azure:4293984255,beige:4294309340,bisque:4294960324,black:4278190080,blanchedalmond:4294962125,blue:4278190335,blueviolet:4287245282,brown:4289014314,burlywood:4292786311,cadetblue:4284456608,chartreuse:4286578432,chocolate:4291979550,coral:4294934352,cornflowerblue:4284782061,cornsilk:4294965468,crimson:4292613180,cyan:4278255615,darkblue:4278190219,darkcyan:4278225803,darkgoldenrod:4290283019,darkgray:4289309097,darkgreen:4278215680,darkkhaki:4290623339,darkmagenta:4287299723,darkolivegreen:4283788079,darkorange:4294937600,darkorchid:4288230092,darkred:4287299584,darksalmon:4293498490,darkseagreen:4287609999,darkslateblue:4282924427,darkslategray:4281290575,darkturquoise:4278243025,darkviolet:4287889619,deeppink:4294907027,deepskyblue:4278239231,dimgray:4285098345,dodgerblue:4280193279,feldspar:4291924597,firebrick:4289864226,floralwhite:4294966e3,forestgreen:4280453922,fuchsia:4294902015,gainsboro:4292664540,ghostwhite:4294506751,gold:4294956800,goldenrod:4292519200,gray:4286611584,green:4278222848,greenyellow:4289593135,honeydew:4293984240,hotpink:4294928820,"indianred ":4291648604,"indigo ":4283105410,ivory:4294967280,khaki:4293977740,lavender:4293322490,lavenderblush:4294963445,lawngreen:4286381056,lemonchiffon:4294965965,lightblue:4289583334,lightcoral:4293951616,lightcyan:4292935679,lightgoldenrodyellow:4294638290,lightgrey:4292072403,lightgreen:4287688336,lightpink:4294948545,lightsalmon:4294942842,lightseagreen:4280332970,lightskyblue:4287090426,lightslateblue:4286869759,lightslategray:4286023833,lightsteelblue:4289774814,lightyellow:4294967264,lime:4278255360,limegreen:4281519410,linen:4294635750,magenta:4294902015,maroon:4286578688,mediumaquamarine:4284927402,mediumblue:4278190285,mediumorchid:4290401747,mediumpurple:4287852760,mediumseagreen:4282168177,mediumslateblue:4286277870,mediumspringgreen:4278254234,mediumturquoise:4282962380,mediumvioletred:4291237253,midnightblue:4279834992,mintcream:4294311930,mistyrose:4294960353,moccasin:4294960309,navajowhite:4294958765,navy:4278190208,oldlace:4294833638,olive:4286611456,olivedrab:4285238819,orange:4294944e3,orangered:4294919424,orchid:4292505814,palegoldenrod:4293847210,palegreen:4288215960,paleturquoise:4289720046,palevioletred:4292374675,papayawhip:4294963157,peachpuff:4294957753,peru:4291659071,pink:4294951115,plum:4292714717,powderblue:4289781990,purple:4286578816,red:4294901760,rosybrown:4290547599,royalblue:4282477025,saddlebrown:4287317267,salmon:4294606962,sandybrown:4294222944,seagreen:4281240407,seashell:4294964718,sienna:4288696877,silver:4290822336,skyblue:4287090411,slateblue:4285160141,slategray:4285563024,snow:4294966010,springgreen:4278255487,steelblue:4282811060,tan:4291998860,teal:4278222976,thistle:4292394968,tomato:4294927175,turquoise:4282441936,violet:4293821166,violetred:4291829904,wheat:4294303411,white:4294967295,whitesmoke:4294309365,yellow:4294967040,yellowgreen:4288335154,transparent:16777215},e}(),t.ColorHelper=N;function z(e){return e===!1}function V(e){return e&&"NORMAL"!==e.toUpperCase()&&e.indexOf("__builtInStyle")<0}M=function(){function e(){}return e.getFontName=function(e){var t,r,o;if(!e)return null;if(t=e,r=",",t.indexOf(r)!==-1&&(t=t.split(r)[0]),t){for(o=t.length-1;o>=0&&"/"!==t[o];)o--;o>=0&&(t=t.substring(o)),t&&"/#"===t.substring(0,2)&&(t=t.substring(2)),'"'===t[0]&&'"'===t[t.length-1]&&(t=t.substring(1,t.length-1))}return t},e.setStyleInfoFont=function(e,t,r,o){var i,n,a,l,s,b,h=e.fontName;h||(h=f),n="",e.fontSize>0&&(n=P.pointToPixel(e.fontSize,4)+"px"),a="",a=e.isItalic?"italic":"normal",l="",l=e.isBold?"bold":"normal",s="",s=e.fontColor?e.fontColor.isThemeColor()?N.getThemeColorName(e.fontColor):N.toRGBColor(e.fontColor):e.fontColor,t.foreColor=s,e.isStrikeOut&&(t.textDecoration=2),e.underLineStyle!==c&&(b=1,2===e.underLineStyle?b=8:0===e.underLineStyle&&(b=0),t.textDecoration===c?t.textDecoration=b:t.textDecoration=t.textDecoration|b),1===e.fontScheme?(t.themeFont=d,r&&(h=r)):2===e.fontScheme&&(t.themeFont=u,o&&(h=o)),i=a+" "+l+" "+n+" "+h,i&&(t.font=i)},e.tk=function(){return e.uk||(e.uk={}),e.uk},e.fromHtmlFont=function(t){var r,i,n,a,l,s,c,d,u,f,p,m,g,y;if(!o.StringEx.L(t)){if(r={},i=e.tk(),i[t])return i[t];if(n=e.splitFontString(t),0!==n.length){for(a=0,l=!1,s=!1,c=!1;a<n.length;){if(d=n[a].toLowerCase(),"normal"===d);else if(l||"italic"!==d&&"oblique"!==d&&"inherit"!==d)if(s||"small-caps"!==d)if(c||"bold"!==d&&"bolder"!==d&&"lighter"!==d&&"100"!==d&&"200"!==d&&"300"!==d&&"400"!==d&&"500"!==d&&"600"!==d&&"700"!==d&&"800"!==d&&"900"!==d&&"inherit"!==d){if("/"===d.substring(0,1)){a++;break}if("xx-small"===d||"x-small"===d||"small"===d||"medium"===d||"large"===d||"x-large"===d||"xx-large"===d||d.indexOf("px")!==-1||d.indexOf("pt")!==-1)break}else c=!0,"bolder"===d||parseInt(d,10)>=700?r.fontWeight=b:"lighter"===d?r.fontWeight="ExtraLight":r.fontWeight=d;else s=!0,r.fontVariant=d;else l=!0,"oblique"===d&&(d=h),r.fontStyle=d;if(a++,l&&s&&c)break}if(a<n.length&&(u=n[a].toLowerCase(),"xx-small"===u||"x-small"===u||"small"===u||"medium"===u||"large"===u||"x-large"===u||"xx-large"===u?(f=10,"xx-small"===u||"x-small"===u?f=6:"small"===u?f=8:"large"===u?f=14:"x-large"===u?f=18:"xx-large"===u&&(f=22),r.fontSize=f):(p=void 0,u.indexOf("px")!==-1?p=parseFloat(u):u.indexOf("pt")!==-1&&(m=parseFloat(u),isNaN(m)||(p=P.pointToPixel(m,4))),isNaN(p)||(r.fontSize=p)),a++),a<n.length&&(g=n[a].toLowerCase(),"/"===g.substring(0,1)&&a++),a<n.length){for(y=n[a],a++;a<n.length;a++)y=y+" "+n[a];r.fontFamily=y}return i[t]=r,r}}},e.composeFontWeightAndFontStyleToDestFont=function(t,r){var o=e.fromHtmlFont(t),i=e.fromHtmlFont(r);return o.fontWeight&&(i.fontWeight=o.fontWeight),o.fontStyle&&(i.fontStyle=o.fontStyle),(i.fontWeight?i.fontWeight:"normal")+" "+(i.fontStyle?i.fontStyle:"normal")+" "+i.fontSize+"px "+i.fontFamily+" "+(i.fontVariant?i.fontVariant:"")},e.splitFontString=function(e){var t,r,i,n,a;if(o.StringEx.L(e))return[];for(e=e.trim(),t=[],r="",i=0,n=e.length;i<n;i++)if(a=e[i]," "===a||"/"===a)t.push(r),r="","/"===a&&(r+="/");else if("'"===a||'"'===a)for(i++;e[i]!==a&&i<n;)r+=e[i],i++;else r+=a;return r.length>0&&t.push(r),t},e.toVerticalAlignment=function(e){return 0===e||1===e||2===e?e:2},e.toExcelVerticalAlignment=function(e){return 0===e||1===e||2===e?e:0},e.toHorizontalAlignment=function(e){switch(e){case 0:return 3;case 1:return 0;case 6:return 4;case 2:return 1;case 3:return 2;case 4:case 5:case 7:return 3;default:return 3}},e.toExcelHorizontalAlignment=function(e){switch(e){case 1:return 2;case 0:return 1;case 2:return 3;case 3:return 0;case 4:return 6;default:return 0}},e.toBorderLine=function(e){if(e){var t=null;return 0===e.lineStyle?null:(e.color||(e.color=new A(1,0,0)),t=e.color.isThemeColor()?{color:N.getThemeColorName(e.color),style:e.lineStyle}:{color:""+N.getRGBColor(e.color),style:e.lineStyle})}},e.toExcelBorderSide=function(e){var t,r,o=new T;return e?(t=e.color,N.isThemeColor(t)?o.color=N.getExcelThemeColor(t):(r=e.color,o.color=new A(2,N.fromHtmlColor(r),0)),o.lineStyle=e.style,o):o},e.setStyleInfoBorders=function(t,r){r.borderLeft=e.toBorderLine(t.left),r.borderRight=e.toBorderLine(t.right),r.borderTop=e.toBorderLine(t.top),r.borderBottom=e.toBorderLine(t.bottom),r.borderVertical=e.toBorderLine(t.vertical),r.borderHorizontal=e.toBorderLine(t.horizontal),r.diagonalUp=e.toBorderLine(t.diagonalUp),r.diagonalDown=e.toBorderLine(t.diagonalDown)},e.toCellStyle=function(t,r,i){var n,a,l,d,u,f,b,h,p,m,g,y={};return t?(n=t.isStyleFormat,a=t.applyFont,l=t.applyFill,d=t.applyBorder,u=t.applyAlignment,f=t.applyProtection,b=t.applyNumberFormat,n&&(z(a)&&(y.applyFont=a),z(l)&&(y.applyFill=l),z(d)&&(y.applyBorder=d),z(u)&&(y.applyAlignment=u),z(f)&&(y.applyProtection=f),z(b)&&(y.applyNumberFormat=b)),(!n&&t.applyFont!==!1||n)&&t.font&&e.setStyleInfoFont(t.font,y,r,i),y.locked=t.isLocked,t.indent!==c&&(y.textIndent=t.indent,
30
+ y.textIndent>0&&(h=y.textIndent,p=Math.floor(h),h-p===.5&&0===(1&p)?y.textIndent=p:y.textIndent=Math.round(h))),y.wordWrap=t.isWordWrap,y.vAlign=e.toVerticalAlignment(t.verticalAlign),y.hAlign=e.toHorizontalAlignment(t.horizontalAlign),o.J(t.rotation)||(255===t.rotation?y.isVerticalText=!0:y.textOrientation=t.rotation>90?90-t.rotation:t.rotation),t.border&&(m=t.border,m&&e.setStyleInfoBorders(m,y)),t.fill&&0!==t.fill.patternType?e.Ie(t.fill,y):y.backColor=s,t.isShrinkToFit?y.shrinkToFit=!0:y.shrinkToFit=!1,g=B.getFormatCode(t),n&&"General"===g||(y.formatter=g),o.J(t.quotePrefix)||(y.quotePrefix=t.quotePrefix),y):null},e.toRichTextStyle=function(t,r,o){var i={};return e.setStyleInfoFont(t,i,r,o),i.charSetIndex=t.charSetIndex,i.isCondense=t.isCondense,i.isExtend=t.isExtend,i.fontFamily=t.fontFamily,i.isOutlineStyle=t.isOutlineStyle,i.isShadowStyle=t.isShadowStyle,i.vertAlign=t.vertAlign,i},e.fromRichTextStyle=function(t){var r,i,n,a,l;if(!o.J(t))return r=f,i={},t.font&&(n=e.fromHtmlFont(t.font),n.fontFamily&&(r=e.getFontName(n.fontFamily)),o.StringEx.L(r)&&(r=f),i.fontFamily=r,n.fontSize&&(i.fontSize=Math.round(P.pixelToPoint(n.fontSize))),n.fontStyle===h&&(i.isItalic=!0),n.fontWeight===b&&(i.isBold=!0)),t.foreColor&&(N.isThemeColor(t.foreColor)?i.foreColor=N.getExcelThemeColor(t.foreColor):(a=N.fromHtmlColor(t.foreColor),l=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(a)),a=l.a*Math.pow(16,6)+l.r*Math.pow(16,4)+l.g*Math.pow(16,2)+l.b,i.foreColor=new A(2,a,0))),t.themeFont&&(t.themeFont.toUpperCase()==="Headings".toUpperCase()?i.fontScheme=1:t.themeFont.toUpperCase()==="Body".toUpperCase()&&(i.fontScheme=2)),1===(1&t.textDecoration)&&(i.underLineStyle=1),8===(8&t.textDecoration)&&(i.underLineStyle=2),i.isStrikeOut=2===(2&t.textDecoration),i.charSetIndex=t.charSetIndex,i.isCondense=t.isCondense,i.isExtend=t.isExtend,i.fontFamilySet=t.fontFamily,i.isOutlineStyle=t.isOutlineStyle,i.isShadowStyle=t.isShadowStyle,i.vertAlign=t.vertAlign,i},e.toSchemeClrValue=function(e){switch(e){case 255:return"";case 1:return"dk1";case 0:return"lt1";case 3:return"dk2";case 2:return"lt2";case 4:return"accent1";case 5:return"accent2";case 6:return"accent3";case 7:return"accent4";case 8:return"accent5";case 9:return"accent6";case 10:return"hlink";case 11:return"folHlink";case 240:return"phClr";case 241:return"tx1";case 242:return"tx2";case 243:return"bg1";case 244:return"bg2";default:return""}},e.Ie=function(t,r){1===t.patternType?e.vk(t.fgColor,r):t.patternType?e.wk(t.patternType,t.fgColor,t.bgColor,r):t.stops&&e.xk(t,r)},e.vk=function(e,t){if(o.J(e))t.backColor="#000000";else{var r=e.isRGBColor()&&0===e.value();if(e.isRGBColor()&&0===e.value()||e.isIndexedColor()&&64===e.value()||e.isIndexedColor()&&65===e.value())return void(r&&(t.backColor=null));e.isThemeColor()?t.backColor=N.getThemeColorName(e):t.backColor=N.toRGBColor(e)}},e.wk=function(e,t,r,o){o.backColor={type:e,patternColor:null,backgroundColor:null},t&&(t.isThemeColor()?o.backColor.patternColor=N.getThemeColorName(t):o.backColor.patternColor=N.toRGBColor(t)),r&&!r.isAutoColor()&&(r.isThemeColor()?o.backColor.backgroundColor=N.getThemeColorName(r):o.backColor.backgroundColor=N.toRGBColor(r))},e.xk=function(e,t){var r,o;for(t.backColor=e,r=0;r<e.stops.length;r++)o=e.stops[r].color,"string"!=typeof o&&(o.isThemeColor()?e.stops[r].color=N.getThemeColorName(o):e.stops[r].color=N.toRGBColor(o))},e.getStyleFormatter=function(e){var t,r,i=s,n=e.formatter;return"string"==typeof n&&("="===n.charAt(0)||n.indexOf("{{")>=0&&n.indexOf("}}")>=0)?i:("string"==typeof n&&" "!==n?i=n:e.autoFormatter?(t=e.autoFormatter.formatCached,t&&!o.StringEx.O(t)&&(i=t)):n&&(r=n.formatCached,r&&!o.StringEx.O(r)&&(i=r)),i)},e.toExtendedFormat=function(t,r){var i,n,a,l,d,u,p,m,g,y,S,C,w,x,T,I,L,D,P;if(t){if(i=t.parentName,n=t.name,a=V(n),l=new E,d=e.getStyleFormatter(t),d?(u=B.getFormatId(d),p=u.id,m=u.isBuiltIn,m?l.numberFormatIndex=p:l.numberFormat=new R(p,d),g=r.bj(i),y=g&&e.getStyleFormatter(g),!a&&(0!==p||y&&0!==B.getFormatId(y).id)&&(l.applyNumberFormat=!0)):l.numberFormatIndex=0,t.backColor&&0!==t.backColor.type){if(a||(l.applyFill=!0),S=new k,"string"==typeof t.backColor)S.patternType=1,S.fgColor=t.backColor;else if(o.J(t.backColor.type)||"path"===t.backColor.type)for(C in t.backColor)S[C]=t.backColor[C];else S.patternType=t.backColor.type,S.fgColor=t.backColor.patternColor,S.bgColor=t.backColor.backgroundColor;for(o.J(S.fgColor)||(S.fgColor=N.toExcelColor(S.fgColor)),o.J(S.bgColor)||(S.bgColor=N.toExcelColor(S.bgColor)),w=S.stops&&S.stops.length,x=0;x<w;x++)S.stops[x].color=N.toExcelColor(S.stops[x].color);l.fill=S}return(t.borderLeft||t.borderRight||t.borderTop||t.borderBottom||t.diagonalUp||t.diagonalDown)&&(l.border=new v,t.borderLeft&&(l.border.left=e.toExcelBorderSide(t.borderLeft)),t.borderRight&&(l.border.right=e.toExcelBorderSide(t.borderRight)),t.borderTop&&(l.border.top=e.toExcelBorderSide(t.borderTop)),t.borderBottom&&(l.border.bottom=e.toExcelBorderSide(t.borderBottom)),t.diagonalDown&&(l.border.diagonalDown=e.toExcelBorderSide(t.diagonalDown)),t.diagonalUp&&(l.border.diagonalUp=e.toExcelBorderSide(t.diagonalUp)),a||(l.applyBorder=!0)),(t.font||t.fontForColumnWidth||t.foreColor||t.themeFont||t.textDecoration!==c&&null!==t.textDecoration)&&(a||(l.applyFont=!0),T=f,I=t.fontForColumnWidth?t.fontForColumnWidth:t.font,I&&(L=e.fromHtmlFont(I),L.fontFamily&&(T=e.getFontName(L.fontFamily)),o.StringEx.L(T)&&(T=f),l.font=new F(T.trim(),null,0),L.fontSize&&(l.font.fontSize=e.getExcelFontSize(L.fontSize)),L.fontStyle===h&&(l.font.isItalic=!0),L.fontWeight===b&&(l.font.isBold=!0)),1===(1&t.textDecoration)&&(l.font.underLineStyle=1),8===(8&t.textDecoration)&&(l.font.underLineStyle=2),t.foreColor&&(N.isThemeColor(t.foreColor)?l.font.fontColor=N.getExcelThemeColor(t.foreColor):(D=N.fromHtmlColor(t.foreColor),P=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(D)),D=P.a*Math.pow(16,6)+P.r*Math.pow(16,4)+P.g*Math.pow(16,2)+P.b,l.font.fontColor=new A(2,D,0))),l.font.isStrikeOut=2===(2&t.textDecoration)),t.themeFont&&(t.themeFont.toUpperCase()==="Headings".toUpperCase()?l.font.fontScheme=1:t.themeFont.toUpperCase()==="Body".toUpperCase()&&(l.font.fontScheme=2)),t.shrinkToFit&&(l.isShrinkToFit=!0),t.textOrientation&&(l.rotation=t.textOrientation<0?90-t.textOrientation:t.textOrientation),t.locked!==c?l.isLocked=t.locked:l.isLocked=!0,t.wordWrap!==s&&t.wordWrap!==c&&(l.isWordWrap=t.wordWrap),t.textIndent!==s&&t.textIndent!==c&&(l.indent=Math.ceil(t.textIndent)),l.verticalAlign=e.toExcelVerticalAlignment(t.vAlign),l.horizontalAlign=e.toExcelHorizontalAlignment(t.hAlign),t.isVerticalText===!0&&(l.isVerticalText=t.isVerticalText),o.J(t.quotePrefix)||(l.quotePrefix=t.quotePrefix),o.J(i)||(l.parentName=i),a&&(l.applyFont=t.applyFont,l.applyFill=t.applyFill,l.applyAlignment=t.applyAlignment,l.applyBorder=t.applyBorder,l.applyNumberFormat=t.applyNumberFormat,l.applyProtection=t.applyProtection),l}},e.getExcelFontSize=function(e){var t=P.pixelToPoint(e),r=.05,o=Math.round(1e3*t)/1e3,i=Math.round(o%r*1e3)/1e3;return i<r/2?Math.floor(o/r)*r:Math.ceil(o/r)*r},e.toDifferentialFormatting=function(t,r){var i,n,a,l,s,d,u,b,h,p,m,g,y={};return!o.isNullOrUndefined(t.parentName)&&r&&(i=o.ga._(r.th,t.parentName),t=i?i:t),n=t.isSlicerHeader,a=t.isFormatStyle,l=t.formatter,"string"==typeof l&&" "!==l&&(s=B.getFormatId(l),d=s.id,u=s.isBuiltIn,u?(y.numberFormatIndex=d,y.numberFormatCode=l):y.numberFormat=new R(d,l)),t.backColor!==c&&(b=t.backColor,b!==c?y.fill=N.toExcelBackColor(b,!0):y.fill=b),(a||t.borderLeft||t.borderRight||t.borderTop||t.borderBottom||t.borderVertical||t.borderHorizontal)&&(y.border=new v,t.borderLeft?y.border.left=e.toExcelBorderSide(t.borderLeft):(n||t.borderLeft===c&&a)&&(y.border.left=c),t.borderRight?y.border.right=e.toExcelBorderSide(t.borderRight):(n||t.borderRight===c&&a)&&(y.border.right=c),t.borderTop?y.border.top=e.toExcelBorderSide(t.borderTop):(n||t.borderTop===c&&a)&&(y.border.top=c),t.borderBottom?y.border.bottom=e.toExcelBorderSide(t.borderBottom):(n||t.borderBottom===c&&a)&&(y.border.bottom=c),t.borderVertical&&(y.border.vertical=e.toExcelBorderSide(t.borderVertical)),t.borderHorizontal&&(y.border.horizontal=e.toExcelBorderSide(t.borderHorizontal))),(t.font||t.foreColor!==c||t.themeFont||t.textDecoration!==c&&null!==t.textDecoration)&&(h=f,p=void 0,t.font&&(m=e.fromHtmlFont(t.font),m.fontFamily&&(h=e.getFontName(m.fontFamily)),o.StringEx.L(h)&&(h=f),y.font=new F(h.trim(),null,0),m.fontSize&&(y.font.fontSize=Math.round(P.pixelToPoint(m.fontSize))),"italic"===m.fontStyle&&(y.font.isItalic=!0),"bold"===m.fontWeight&&(y.font.isBold=!0)),y.font||(y.font=new F(h.trim(),null,0)),1===(1&t.textDecoration)&&(y.font.underLineStyle=1),8===(8&t.textDecoration)&&(y.font.underLineStyle=2),t.foreColor&&(N.isThemeColor(t.foreColor)?y.font.fontColor=N.getExcelThemeColor(t.foreColor):(p=N.fromHtmlColor(t.foreColor),g=N.mixTranslucentColor(N.fromArgb(16777215),N.fromArgb(p)),p=g.a*Math.pow(16,6)+g.r*Math.pow(16,4)+g.g*Math.pow(16,2)+g.b,y.font.fontColor=new A(2,p,0))),null===t.foreColor&&(y.font.fontColor=null),y.font.isStrikeOut=2===(2&t.textDecoration)),y.isPartFontStyle=t.isPartFontStyle,y.isSlicerHeader=n,y},e.toStringStyle=function(e){if(o.isNullOrUndefined(e))return"";var t="";return o.isNullOrUndefined(e.backColor)||(t+="object"==typeof e.backColor?"backColor:"+JSON.stringify(e.backColor)+",":"backColor:"+e.backColor+","),e.foreColor!==c&&(t+="foreColor:"+e.foreColor+","),e.hAlign!==c&&(t+="hAlign:"+e.hAlign+","),e.vAlign!==c&&(t+="vAlign:"+e.vAlign+","),e.font!==c&&(t+="font:"+e.font+","),e.themeFont!==c&&(t+="themeFont:"+e.themeFont+","),e.formatter!==c&&(t+="formatter:"+e.formatter+","),o.isNullOrUndefined(e.borderLeft)||(t+="borderLeft:"+JSON.stringify(e.borderLeft)+","),o.isNullOrUndefined(e.borderTop)||(t+="borderTop:"+JSON.stringify(e.borderTop)+","),o.isNullOrUndefined(e.borderRight)||(t+="borderRight:"+JSON.stringify(e.borderRight)+","),o.isNullOrUndefined(e.borderBottom)||(t+="borderBottom:"+JSON.stringify(e.borderBottom)+","),o.isNullOrUndefined(e.diagonalDown)||(t+="diagonalDown:"+JSON.stringify(e.diagonalDown)+","),o.isNullOrUndefined(e.diagonalUp)||(t+="diagonalUp:"+JSON.stringify(e.diagonalUp)+","),e.locked!==c&&(t+="locked:"+e.locked+","),e.textIndent!==c&&(t+="textIndent:"+e.textIndent+","),e.wordWrap!==c&&(t+="wordWrap:"+e.wordWrap+","),e.shrinkToFit!==c&&(t+="shrinkToFit:"+e.shrinkToFit+","),e.textDecoration!==c&&(t+="textDecoration:"+e.textDecoration+","),e.textOrientation!==c&&(t+="textOrientation:"+e.textOrientation+","),e.isVerticalText!==c&&(t+="isVerticalText:"+e.isVerticalText+","),e.quotePrefix!==c&&(t+="quotePrefix:"+e.quotePrefix+","),e.autoFormatter!==c&&(t+="autoFormatter:"+e.autoFormatter+","),o.isNullOrUndefined(e.name)||e.name.indexOf("__builtInStyle")!==-1||(t+="name:"+e.name+","),e.parentName!==c&&(t+="parentName:"+e.parentName+","),e.fontForColumnWidth!==c&&(t+="fontForColumnWidth:"+e.fontForColumnWidth+","),V(e.name)&&(e.applyFont!==c&&(t+="applyFont:"+e.applyFont+","),e.applyFill!==c&&(t+="applyFill:"+e.applyFill+","),e.applyAlignment!==c&&(t+="applyAlignment:"+e.applyAlignment+","),e.applyBorder!==c&&(t+="applyBorder:"+e.applyBorder+","),e.applyProtection!==c&&(t+="applyProtection:"+e.applyProtection+","),e.applyNumberFormat!==c&&(t+="applyNumberFormat:"+e.applyNumberFormat+",")),t},e.cloneSpreadJSStyle=function(e){if(!o.isNullOrUndefined(e)){var t={};return t.backColor=e.backColor,t.foreColor=e.foreColor,t.hAlign=e.hAlign,t.vAlign=e.vAlign,t.font=e.font,t.themeFont=e.themeFont,t.formatter=e.formatter,t.borderLeft=e.borderLeft,t.borderTop=e.borderTop,t.borderRight=e.borderRight,t.borderBottom=e.borderBottom,t.diagonalDown=e.diagonalDown,t.diagonalUp=e.diagonalUp,t.locked=e.locked,t.textIndent=e.textIndent,t.wordWrap=e.wordWrap,t.shrinkToFit=e.shrinkToFit,t.textDecoration=e.textDecoration,t.textOrientation=e.textOrientation,t.isVerticalText=e.isVerticalText,t.quotePrefix=e.quotePrefix,t.autoFormatter=e.autoFormatter,t.name=e.name,t.parentName=e.parentName,t.fontForColumnWidth=e.fontForColumnWidth,V(e.name)&&(t.applyFont=e.applyFont,t.applyFill=e.applyFill,t.applyAlignment=e.applyAlignment,t.applyBorder=e.applyBorder,t.applyProtection=e.applyProtection,t.applyNumberFormat=e.applyNumberFormat),t}},e.convertDxfToStyle=function(t,r,i,n){var a,l={};return t.font&&e.setStyleInfoFont(t.font,l,r,i),t.fill&&(o.isNullOrUndefined(t.fill.patternType)&&t.fill.bgColor&&(t.fill.patternType=1),1===t.fill.patternType&&(t.fill.fgColor=t.fill.bgColor),0!==t.fill.patternType?e.Ie(t.fill,l):l.backColor=s),t.border&&e.setStyleInfoBorders(t.border,l),t.numberFormat&&(a=B.getFormatCode(t),"General"!==a&&(l.formatter=a)),n&&t.alignment&&(t.alignment.horizontalAlign!==c&&(l.hAlign=t.alignment.horizontalAlign),t.alignment.verticalAlign!==c&&(l.vAlign=t.alignment.verticalAlign),t.alignment.isWordWrap!==c&&(l.wordWrap=t.alignment.isWordWrap),t.alignment.isShrinkToFit!==c&&(l.shrinkToFit=t.alignment.isShrinkToFit),t.alignment.indent!==c&&(l.textIndent=t.alignment.indent),t.alignment.rotation!==c&&(l.textOrientation=t.alignment.rotation)),n&&t.protection&&t.alignment.isLocked!==c&&(l.locked=t.alignment.isLocked),l},e.uk=null,e}(),t.ConverterHelper=M,O=function(){function e(){}return e.Jh=function(e){var t,r,i,n,a={foreColor:"black",font:"normal normal normal 11pt/normal Calibri",locked:!0,name:"Normal",hAlign:3,vAlign:0};for(t in e.sheets)if(e.sheets.hasOwnProperty(t)&&(r=e.sheets[t],r.data&&r.data.defaultDataNode&&r.data.defaultDataNode.style)){i=r.data.defaultDataNode.style;for(n in i)i.hasOwnProperty(n)&&!o.J(i[n])&&(a[n]=i[n]);break}return a},e}(),t.DefaultStyle=O,H=function(){function e(){}return e.getSystemColor=function(t){return N.fromArgb(e.yk[t])},e.yk=[4290032820,4288263377,4278190080,4289440683,4293980400,4288716960,4285098345,4293125091,4294967295,4278190080,4278190080,4290367978,4292338930,4285361517,4281571839,4294967295,4278216396,4294244348,4290760155,4282601044,4294967265,4278190080,4293980400,4293980400,4281571839,4278190080,4291348680,4294967295,4284769380,4278190080,4288716960,4293125091,4293980400,4294967295,4288716960,4278190080],e}(),G=function(){function e(){}return e.getSystemColor=function(t){return e.systemColors[t.toUpperCase()]},e.systemColors={length:0,"3DDKSHADOW":H.getSystemColor(30),"3DLIGHT":H.getSystemColor(31),ACTIVEBORDER:H.getSystemColor(0),ACTIVECAPTION:H.getSystemColor(1),APPWORKSPACE:H.getSystemColor(3),BACKGROUND:H.getSystemColor(10),BTNFACE:H.getSystemColor(32),BTNHIGHLIGHT:H.getSystemColor(33),BTNSHADOW:H.getSystemColor(34),BTNTEXT:H.getSystemColor(35),CAPTIONTEXT:H.getSystemColor(2),GRAYTEXT:H.getSystemColor(13),HIGHLIGHT:H.getSystemColor(14),HIGHLIGHTTEXT:H.getSystemColor(15),INACTIVEBORDER:H.getSystemColor(17),INACTIVECAPTION:H.getSystemColor(18),INACTIVECAPTIONTEXT:H.getSystemColor(19),INFOBK:H.getSystemColor(20),INFOTEXT:H.getSystemColor(21),MENU:H.getSystemColor(22),GRADIENTACTIVECAPTION:H.getSystemColor(11),HOTLIGHT:H.getSystemColor(16),GRADIENTINACTIVECAPTION:H.getSystemColor(12),MENUBAR:H.getSystemColor(23),MENUHIGHLIGHT:H.getSystemColor(24),MENUTEXT:H.getSystemColor(25),SCROLLBAR:H.getSystemColor(26),WINDOW:H.getSystemColor(27),WINDOWFRAME:H.getSystemColor(28),WINDOWTEXT:H.getSystemColor(29)},e}(),t.ExcelSystemColor=G;function j(){P.jk=c,B.gk=c,B.dk={count:0},B._j={count:0},M.uk=c,N.nk=c,N.qk=c,N.useCustomPalette=!1,N.customPalette=s}t.clearCache=j},"./src/excel-io.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xlsx-io/common/file-loader.ts"),i=r("./src/xlsx-io/reader/xlsx-reader.ts"),n=r("./src/xlsx-io/writer/xlsx-writer.ts"),a=r("./src/xlsx-io/password/xlsxEncryptionHelper.ts"),l=r("./src/xlsx-io/common/errorcode.ts"),s=r("./src/xlsx-io/common/errorMessage.ts"),c=r("./src/common/common.ts"),d=r("./src/common/excel-types.ts"),t.ErrorCode=l.errorCode,u=r("./src/lc/releaseLc.js"),u&&(u.zk&&u.zk(t),f=u.Ak,1===f&&u.Bk()),b=function(){function e(){this.Ck=new o.FileLoader}return e.prototype.open=function(e,t,r,o){var n=this;t||(t=function(){}),r||(r=function(){}),n.Ck.onFileLoad=function(e){try{var n=new i.XlsxReader;n.Dk(e,o,function(e){t(e)})}catch(e){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}},n.Ck.onError=r,n.Ck.loadFile(e,o)},e.prototype.save=function(e,t,r,o){t||(t=function(){}),r||(r=function(){});var i,d;"object"==typeof e&&(i=JSON.parse(JSON.stringify(e))),"string"==typeof e&&(i=JSON.parse(e)),new n.XlsxWriter(i,function(){try{var e=this;e.onZip=function(e){if(o&&o.password)try{e=a.XlsxEncryptionHelper.Ek(e,o.password),d||(e=a.XlsxEncryptionHelper.Fk(e))}catch(e){return void r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}t(e)},e.onError=function(){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})},c.J(o)&&(o={}),c.J(o.xlsxStrictMode)&&(o.xlsxStrictMode=!0),o&&o.password&&(d=o.useArrayBuffer,o.useArrayBuffer=!0),e.Bg=o,e.Gk()}catch(e){r({errorCode:l.errorCode.fileFormatError,errorMessage:s.sR().EXP_FILE_FORMAT})}})},e.registerMaxDigitWidth=function(e,t,r){!e||c.J(t)||c.J(r)||(d.unknownFontMaxDigitWidthMap[t]||(d.unknownFontMaxDigitWidthMap[t]={}),d.unknownFontMaxDigitWidthMap[t][e]=r)},e.tableThemes=c.buildInTableThemes,e.pivotTableThemes=c.buildInPivotTableThemes,e.slicerStyles=c.buildInSlicerStyles,e.timelineStyles=c.buildInTimelineStyles,e}(),t.IO=b},"./src/lc/common.js":function(e,t,r){!function(){"use strict";var t,o,i,n,a={zk:function(e){t=e}},l=r("./src/xlsx-io/reader/xlsx-reader.ts").XlsxReader,s=r("./src/datamodel/datamodel-writer.ts").WriterDataModel,c=r("./src/common/common.ts").K,d=r("./src/lc/ipaddr.js"),u=r("./src/lc/lcValidator.js"),f=u.Hk,b=u.Ik,h="object"==typeof global&&global&&global.Object===Object&&global,p="object"==typeof self&&self&&self.Object===Object&&self,m=h||p||Function("return this")(),g=/^[0-9.]+$/,y="m",S="n",C="b",w="d",x="e",A="adr",T=b("XRsZ"),v=b("HUkJ"),k=b("T&g"),F=b("Q&w"),R=b("GRz1"),E=b("XSzB"),I=b("XRwh"),L=b("WQs5");function D(e,t){var r,o,i,n,a="",l=0;for(r=0;r<e.length;r++)l=Math.max(l,e[r].length);for(r=0;r<l;r++){for(t&&(o=""),n=0;n<e.length;n++)t?o+=r>=e[n].length?"00":e[n].charAt(r)+e[n].charAt(r+1):r<e[n].length&&(a+=e[n].charAt(r));t&&(i=parseInt(o,16),a+=String.fromCharCode(i),r++)}return a}function B(e){var r=c(),o=r&&r[D(["G","C"])],i=o&&o[D(["Sra","ped"])],n=i&&i[D(["Set","hes"])];return n&&n[e]||t&&t[e]}function P(){var e=c(),t=e&&e[D(["G","C"])],r=t&&t[D(["Sra","ped"])];return r&&r[D(["Cmo","omn"])]}o=function(e){var t,r=D(["Lcnee","iesKy"]),o=B(r),i="QKAU";return f(o,{pK:"l6/zrbWoSbcLFwEetFh38rH3ErBZE9H+Cqix3R+wTlfA1wD5B+lUcCQn+EJ60I4RGrm0x1sFjkiLWwB0jAn6BWZv0W4WbqAKriOdeoivxDp1Wmjs3qkEDhvbsjPtfvwx2BHil6o+/tDrdMJQSGs18WZm2PoQLQuL+9VhZ4FNRHUQU3Jtioke/OZEGHJOdYVwvCGalzBad6QFOiVbDBQPePpS3++GJzOxN8SN/7lyS5/IdKiy3WJRaVGkB370+HbN6hKraDfUgReLX26yxRaKC/5aWnGAJ2NnWLoGyAGRcwT9dVjo4bcAZNrrA0U9JVKQxaSskhdv2p49XzJkltXx5w==",aC:"B1"},function(r){t=W(r,i),t.hl=!!o,M(t,o),e(t)},function(){t=W(),t.hl=!!o,M(t,o),e(t)}),t};function W(e,t){var r,o,i,n,a={isVd:function(e){var t=this,r=B("Workbook");return e=r&&1===r.lm||e,t.s&&!t.e&&(!t.adr||!!t.adr.dsr==!!e)}},l=V(),s=function(){var a,s,c,d,u,f,b;if(!e)return!1;if(a=e[v],!a||!a.length)return!1;for(d=0,u=a.length;d<u;d++)if(s=a[d],c=s&&s[F]===t){r=s[k];break}if(!c)return!1;if(e[L]&&(n=e[L]),e[I]){if(f=new Date,b=_(e[I]),i=Math.ceil((b-f)/864e5),o=i<=0)return!1}else i=void 0;return!!(l||!e[R]&&!e[E]||J(e[R],e[E])||z(e[R],e[E]))};return a[C]=l,a.s=s(),a[y]=e?e[T]?-1:1:0,a[S]=r,a[x]=o,o||(a[w]=i),a[A]=n,a}function _(e){return new Date(N(e.substr(0,4))||0,N(e.substr(4,2))-1||0,N(e.substr(6,2))||0)}function N(e){return parseInt(e,10)}function M(e,t){e.m=t?e.m:-1}function O(e,t){var r,o,i,n,a;if(!e||0!==e.indexOf("//"))return!1;if(r=e.slice(2).split("/"),r.length<1)return!1;for(o=r[0],i=0,n=t.length;i<n;i++)if(a=t[i],a===o)return!0;return!1}function H(e,t){var r,o,i,n,a;for(r=0,o=t.length;r<o;r++){if(i=t[r],n=!1,i&&0===i.lastIndexOf("*.",0)&&(n=!0),i=n?i.slice(2):i,i===e)return!0;if(n&&(a=e.indexOf("."+i),a>0&&a===e.length-i.length-1))return!0}return!1}function G(e,t){var r,o,i,n;if(0===e.indexOf("[")&&e.lastIndexOf("]")===e.length-1&&(e=e.substring(1,e.length-1)),e.indexOf("%")>-1&&(e=e.split("%")[0]),a(e))for(r=d.parse(e),o=0;o<t.length;o++){if(i=t[o],a(i)&&s(i,e))return!0;if(n=l(i),n&&c(r,n))return!0}return!1;function a(e){return d.IPv4.isValidFourPartDecimal(e)||d.IPv6.isValid(e)}function l(e){var t,r;if(e.indexOf("/")===-1)return!1;t=e.split("/"),(t[1].indexOf(":")>-1||t[1].indexOf(".")>-1)&&(r=d.parse(t[1]).prefixLengthFromSubnetMask(),e=[t[0],r].join("/"));try{return d.parseCIDR(e)}catch(e){return!1}}function s(e,t){var r=""+d.parse(e),o=""+d.parse(t);return r===o}function c(e,t){try{return e.match(t)}catch(e){return!1}}}function U(e,t){var r,o,i,n;if(e&&4===e.split(".").length)for(r=0,o=t.length;r<o;r++)if(i=t[r],i&&(n=i.length-2,n>0&&(i===e||".*"===i.substr(n)&&e.substr(0,n)===i.substr(0,n)&&g.test(e))))return!0;return!1}function J(e,t){var r,o,i,n;return!!q()&&(r=b("JYx3Gb#8Pb5R"),o=b("1agFGc#UHbw5"),i=m[r]&&m[r][o],!!i&&(i=i.toLowerCase(),n=e.split(","),!(!e||!O(i,n))))}function z(e,t){var r,o=b("JYx3Gb#8Pb5R"),i=b("Zdg3Ga#UHbw5"),n=m[o]&&m[o][i];return!n||(n=n.toLowerCase(),r=e.split(","),!(!e||!H(n,r))||(!(!e||!U(n,r))||!(!e||!G(n,r))))}function V(){var e=b("JYx3Gb#8Pb5R");return j(m[e])}function j(e){var t=b("VdgJHc#wJb59"),r=b("Zdg3Ga#UHbw5");return e&&(X(e[t])||K(e[t])||Y(e[r]))}function X(e){var t=b("MlSZto#Z");return e&&e===t}function K(e){var t=b("yXbog&w");return e&&e===t}function q(){var e=b("JYx3Gb#8Pb5R"),t=b("VdgJHc#wJb59"),r=b("Udg36Y#oUddV"),o=m[e];return o&&o[t]===r}function Y(e){var t=b("4LJITMx8UMcA"),r=b("Zo9Wv2#M"),o=b("JYw3Gb4NOb6x");return e&&(e===t||e===r||e===o)}function Q(e){var t=B(D(["S","R"])),r=P()&&t&&P().ResourceManager;return r&&new r(t).getResource()[e]}i=function(e,t,r){var o,i,n,a=Q(D([e,"s"])),l=B(D(["Wrbo","okok"])),s=Q(l&&1===l.lm?D(["ld","se"]):D(["lr","su"])),c=Z(a,t);for(s=Z(s,t),c=c.replace("{0}",r.d),c=c.replace("{1}",s).replace("{1}",s),o=[],i=0,n=0;n<c.length;n++)"\r"!==c[n]&&"\n"!==c[n]||(o.push(c.substring(i,n)),"\r"===c[n]&&n<c.length-1&&"\n"===c[n+1]&&n++,i=n+1);return i<c.length&&o.push(c.substring(i,c.length)),o};function Z(e,t){var r,o,i,n=!0,a="";if(e)if("string"==typeof e)e=e.trim(),e&&(r=[e]);else if(Array.isArray(e)){for(o=!0,r=[],i=0;i<e.length;i++)a=e[i].trim(),r.push(a),o&&a&&(o=!1);o&&(r=null)}return r||(n=!1,r=t),D(r,n)}function $(e,t,r){var o,n={name:D(["Eauto eso","vlainVrin"]),index:0,allowCellOverflow:!0,defaults:{colHeaderRowHeight:20,rowHeaderColWidth:40,rowHeight:30,colWidth:60},isSelected:!1,rowCount:20,columnCount:20,data:{dataTable:{}}},a=i(e,t,r),l=n.data.dataTable;for(o=1;o<a.length+1;o++)l[o]={},l[o][1]={value:a[o-1]};return n}function ee(e,t,r){var i=this;o(function(o){var n,a,l,s,c,d,u,f,b,h,p,m,g=["IvldEclI ies e.","nai xe Olcneky"];if(o.hl)if(o.isVd(!1)){if(o.m!==-1)return t.apply(i),void(i.onCompleted&&i.onCompleted());o.d?(n="l2",g=["Pwrdb pedSet.\rYu eprr elyetkyeprsi 0 as","oee ySra.hes \nortmoaydpomn e xie n{}dy."]):(n="l6",g=["Pwrdb pedSet vlainVrin\no iesdfrDsrbto.","oee ySra.hesEauto eso\rNtLcne o itiuin"])}else o.adr&&o.adr.dsr?n=Q(D(["l8","s"]))?"l8":"l4":o.e?(n="l5",g=["Pwrdb pedSet.\rYu eprr elyetkyhseprd","oee ySra.hes \nortmoaydpomn e a xie."]):n=Q(D(["l8","s"]))?"l8":"l4";else o.b?(n="l1",g=["Pwrdb pedSet.\no a nydpo hsEAUTO eso oal.\rTmoaydpomn esaeaalbefrtsig ","oee ySra.hes\rYucnol elyti VLAINvrinlcly \neprr elyetky r vial o etn."]):(n=Q(D(["l7","s"]))?"l7":"l3",g=["EclI ies o on\rYune ai ies e ornSraJ xe O eprr esaeaalbefreauto.I o ucae ies,yu e si orprhs ofraineal ","xe OLcneNtFud\no edavldlcnekyt u pedSEclI.Tmoayky r vial o vlain fyuprhsdalcne orkyi nyu ucaecnimto mi."]);if(a=$(n,g,o),!o.hl&&o.b||o.isVd(!1)){if(r&&t.apply(i),l=e.sheets,s=l[a.name])a.index=s.index;else{for(c in l)l.hasOwnProperty(c)&&(d=l[c],d.index++);if(u=e.slicerCaches)for(f=0;f<u.length;f++)if(b=u[f],h=b.pivotTables,h&&h.length>0)for(p=0;p<h.length;p++)m=h[p],m.tabId+=1;e.sheetCount++,e.activeSheetIndex=e.activeSheetIndex?++e.activeSheetIndex:1}l[a.name]=a,r||t.apply(i)}else e.sheetCount=1,e.sheets={},e.sheets[a.name]=a,r||t.apply(i);i.onCompleted&&i.onCompleted()})}n=function(){var e,t=l.prototype.Jk;l.prototype.Jk=function(){var e=arguments,r=this;ee.call(r,r.Kk.Ne,function(){t.apply(r,e)},!0)},l.prototype.Xh=function(){},e=s.prototype.Ph,s.prototype.Ph=function(){var t=arguments,r=this;ee.call(r,r.Ne,function(){e.apply(r,t)},!1)},s.prototype.Xh=function(){}},a.Bk=n,e.exports=a}()},"./src/lc/ipaddr.js":function(e,t,r){"use strict";!function(t){var r,o="(0?\\d+|0x[a-f0-9]+)",i={fourOctet:RegExp("^".concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"$"),"i"),threeOctet:RegExp("^".concat(o,"\\.").concat(o,"\\.").concat(o,"$"),"i"),twoOctet:RegExp("^".concat(o,"\\.").concat(o,"$"),"i"),longValue:RegExp("^".concat(o,"$"),"i")},n=RegExp("^0[0-7]+$","i"),a=RegExp("^0x[a-f0-9]+$","i"),l="%[0-9a-z]{1,}",s="(?:[0-9a-f]+::?)+",c={zoneIndex:RegExp(l,"i"),native:RegExp("^(::)?(".concat(s,")?([0-9a-f]+)?(::)?(").concat(l,")?$"),"i"),deprecatedTransitional:RegExp("^(?:::)(".concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"(").concat(l,")?)$"),"i"),transitional:RegExp("^((?:".concat(s,")|(?:::)(?:").concat(s,")?)").concat(o,"\\.").concat(o,"\\.").concat(o,"\\.").concat(o,"(").concat(l,")?$"),"i")};function d(e,t){var r,o,i,n,a;if(e.indexOf("::")!==e.lastIndexOf("::"))return null;for(r=0,o=-1,i=(e.match(c.zoneIndex)||[])[0],i&&(i=i.substring(1),e=e.replace(/%.+$/,""));(o=e.indexOf(":",o+1))>=0;)r++;if("::"===e.substr(0,2)&&r--,"::"===e.substr(-2,2)&&r--,r>t)return null;for(a=t-r,n=":";a--;)n+="0:";return e=e.replace("::",n),":"===e[0]&&(e=e.slice(1)),":"===e[e.length-1]&&(e=e.slice(0,-1)),t=function(){var t,r=e.split(":"),o=[];for(t=0;t<r.length;t++)o.push(parseInt(r[t],16));return o}(),{parts:t,zoneId:i}}function u(e,t,r,o){var i,n;if(e.length!==t.length)throw Error("ipaddr: cannot match CIDR for objects with different lengths");for(i=0;o>0;){if(n=r-o,n<0&&(n=0),e[i]>>n!==t[i]>>n)return!1;o-=r,i+=1}return!0}function f(e){if(a.test(e))return parseInt(e,16);if("0"===e[0]&&!isNaN(parseInt(e[1],10))){if(n.test(e))return parseInt(e,8);throw Error("ipaddr: cannot parse ".concat(e," as octal"))}return parseInt(e,10)}function b(e,t){for(;e.length<t;)e="0".concat(e);return e}r={},r.IPv4=function(){function e(e){if(4!==e.length)throw Error("ipaddr: ipv4 octet count should be 4");var t,r;for(t=0;t<e.length;t++)if(r=e[t],!(0<=r&&r<=255))throw Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}return e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.kind=function(){return"ipv4"},e.prototype.match=function(e,t){var r;if(void 0===t&&(r=e,e=r[0],t=r[1]),"ipv4"!==e.kind())throw Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return u(this.octets,e.octets,8,t)},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,o=0,i=!1,n={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(e=3;e>=0;e-=1){if(t=this.octets[e],!(t in n))return null;if(r=n[t],i&&0!==r)return null;8!==r&&(i=!0),o+=r}return 32-o},e.prototype.range=function(){return r.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.toIPv4MappedAddress=function(){return r.IPv6.parse("::ffff:".concat(""+this))},e.prototype.toNormalizedString=function(){return""+this},e.prototype.toString=function(){return this.octets.join(".")},e}(),r.IPv4.broadcastAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),o=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)|255^parseInt(o[n],10)),n++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv4 CIDR format")}},r.IPv4.isIPv4=function(e){return null!==this.parser(e)},r.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch(e){return!1}},r.IPv4.isValidFourPartDecimal=function(e){return!(!r.IPv4.isValid(e)||!e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},r.IPv4.networkAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),o=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],r=0;r<4;)i.push(parseInt(o[r],10)&parseInt(n[r],10)),r++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv4 CIDR format")}},r.IPv4.parse=function(e){var t=this.parser(e);if(null===t)throw Error("ipaddr: string is not formatted like an IPv4 Address");return new this(t)},r.IPv4.parseCIDR=function(e){var t,r,o;if((t=e.match(/^(.+)\/(\d+)$/))&&(r=parseInt(t[2]),r>=0&&r<=32))return o=[this.parse(t[1]),r],Object.defineProperty(o,"toString",{value:function e(){return this.join("/")}}),o;throw Error("ipaddr: string is not formatted like an IPv4 CIDR range")},r.IPv4.parser=function(e){var t,r,o;if(t=e.match(i.fourOctet))return function(){var e,o=t.slice(1,6),i=[];for(e=0;e<o.length;e++)r=o[e],i.push(f(r));return i}();if(t=e.match(i.longValue)){if(o=f(t[1]),o>4294967295||o<0)throw Error("ipaddr: address outside defined range");return function(){var e,t=[];for(e=0;e<=24;e+=8)t.push(o>>e&255);return t}().reverse()}return(t=e.match(i.twoOctet))?function(){var e=t.slice(1,4),r=[];if(o=f(e[1]),o>16777215||o<0)throw Error("ipaddr: address outside defined range");return r.push(f(e[0])),r.push(o>>16&255),r.push(o>>8&255),r.push(255&o),r}():(t=e.match(i.threeOctet))?function(){var e=t.slice(1,5),r=[];if(o=f(e[2]),o>65535||o<0)throw Error("ipaddr: address outside defined range");return r.push(f(e[0])),r.push(f(e[1])),r.push(o>>8&255),r.push(255&o),r}():null},r.IPv4.subnetMaskFromPrefixLength=function(e){var t,r,o;if(e=parseInt(e),e<0||e>32)throw Error("ipaddr: invalid IPv4 prefix length");for(t=[0,0,0,0],r=0,o=Math.floor(e/8);r<o;)t[r]=255,r++;return o<4&&(t[o]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},r.IPv6=function(){function e(e,t){var r,o;if(16===e.length)for(this.parts=[],r=0;r<=14;r+=2)this.parts.push(e[r]<<8|e[r+1]);else{if(8!==e.length)throw Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(r=0;r<this.parts.length;r++)if(o=this.parts[r],!(0<=o&&o<=65535))throw Error("ipaddr: ipv6 part should fit in 16 bits");t&&(this.zoneId=t)}return e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},e.prototype.kind=function(){return"ipv6"},e.prototype.match=function(e,t){var r;if(void 0===t&&(r=e,e=r[0],t=r[1]),"ipv6"!==e.kind())throw Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return u(this.parts,e.parts,16,t)},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,o=0,i=!1,n={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};for(r=7;r>=0;r-=1){if(e=this.parts[r],!(e in n))return null;if(t=n[e],i&&0!==t)return null;16!==t&&(i=!0),o+=t}return 128-o},e.prototype.range=function(){return r.subnetMatch(this,this.SpecialRanges);
31
+ },e.prototype.toByteArray=function(){var e,t,r=[],o=this.parts;for(t=0;t<o.length;t++)e=o[t],r.push(e>>8),r.push(255&e);return r},e.prototype.toFixedLengthString=function(){var e=function(){var e,t=[];for(e=0;e<this.parts.length;e++)t.push(b(this.parts[e].toString(16),4));return t}.call(this).join(":"),t="";return this.zoneId&&(t="%".concat(this.zoneId)),e+t},e.prototype.toIPv4Address=function(){var e,t,o;if(!this.isIPv4MappedAddress())throw Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return e=this.parts.slice(-2),t=e[0],o=e[1],new r.IPv4([t>>8,255&t,o>>8,255&o])},e.prototype.toNormalizedString=function(){var e=function(){var e,t=[];for(e=0;e<this.parts.length;e++)t.push(this.parts[e].toString(16));return t}.call(this).join(":"),t="";return this.zoneId&&(t="%".concat(this.zoneId)),e+t},e.prototype.toRFC5952String=function(){for(var e,t=/((^|:)(0(:|$)){2,})/g,r=this.toNormalizedString(),o=0,i=-1;e=t.exec(r);)e[0].length>i&&(o=e.index,i=e[0].length);return i<0?r:"".concat(r.substring(0,o),"::").concat(r.substring(o+i))},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},e}(),r.IPv6.broadcastAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),o=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<16;)i.push(parseInt(r[n],10)|255^parseInt(o[n],10)),n++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}},r.IPv6.isIPv6=function(e){return null!==this.parser(e)},r.IPv6.isValid=function(e){if("string"==typeof e&&e.indexOf(":")===-1)return!1;try{var t=this.parser(e);return new this(t.parts,t.zoneId),!0}catch(e){return!1}},r.IPv6.networkAddressFromCIDR=function(e){var t,r,o,i,n;try{for(t=this.parseCIDR(e),o=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],r=0;r<16;)i.push(parseInt(o[r],10)&parseInt(n[r],10)),r++;return new this(i)}catch(e){throw Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}},r.IPv6.parse=function(e){var t=this.parser(e);if(null===t.parts)throw Error("ipaddr: string is not formatted like an IPv6 Address");return new this(t.parts,t.zoneId)},r.IPv6.parseCIDR=function(e){var t,r,o;if((r=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(r[2]),t>=0&&t<=128))return o=[this.parse(r[1]),t],Object.defineProperty(o,"toString",{value:function e(){return this.join("/")}}),o;throw Error("ipaddr: string is not formatted like an IPv6 CIDR range")},r.IPv6.parser=function(e){var t,r,o,i,n,a;if(o=e.match(c.deprecatedTransitional))return this.parser("::ffff:".concat(o[1]));if(c.native.test(e))return d(e,8);if((o=e.match(c.transitional))&&(a=o[6]||"",t=d(o[1].slice(0,-1)+a,6),t.parts)){for(n=[parseInt(o[2]),parseInt(o[3]),parseInt(o[4]),parseInt(o[5])],r=0;r<n.length;r++)if(i=n[r],!(0<=i&&i<=255))return null;return t.parts.push(n[0]<<8|n[1]),t.parts.push(n[2]<<8|n[3]),{parts:t.parts,zoneId:t.zoneId}}return null},r.IPv6.subnetMaskFromPrefixLength=function(e){var t,r,o;if(e=parseInt(e),e<0||e>128)throw Error("ipaddr: invalid IPv6 prefix length");for(t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0,o=Math.floor(e/8);r<o;)t[r]=255,r++;return o<16&&(t[o]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},r.fromByteArray=function(e){var t=e.length;if(4===t)return new r.IPv4(e);if(16===t)return new r.IPv6(e);throw Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},r.isValid=function(e){return r.IPv6.isValid(e)||r.IPv4.isValid(e)},r.parse=function(e){if(r.IPv6.isValid(e))return r.IPv6.parse(e);if(r.IPv4.isValid(e))return r.IPv4.parse(e);throw Error("ipaddr: the address has neither IPv6 nor IPv4 format")},r.parseCIDR=function(e){try{return r.IPv6.parseCIDR(e)}catch(t){try{return r.IPv4.parseCIDR(e)}catch(e){throw Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},r.process=function(e){var t=this.parse(e);return"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t},r.subnetMatch=function(e,t,r){var o,i,n,a;void 0!==r&&null!==r||(r="unicast");for(i in t)if(Object.prototype.hasOwnProperty.call(t,i))for(n=t[i],!n[0]||n[0]instanceof Array||(n=[n]),o=0;o<n.length;o++)if(a=n[o],e.kind()===a[0].kind()&&e.match.apply(e,a))return i;return r},e.exports?e.exports=r:t.ipaddr=r}(void 0)},"./src/lc/lcValidator.js":function(e,t){var r=function(e){var t={};function r(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=e,r.c=t,r.p="dist",r(0)}([function(e,t){(function(e){"use strict";var r,o,i,n,a,l,s,c,d,u;Object.defineProperty(t,"__esModule",{value:!0}),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="undefined"!=typeof window,i=String.fromCharCode,n=o&&window.Uint8Array||f,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="object"==(void 0===e?"undefined":r(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,c=l||s;function f(e){var t,o;if("number"==typeof e)for(t=Array(e),o=0;o<e;++o)t[o]=0;else t=e.slice(0);return t.buffer=t,t.byteLength=t.length,"object"===(void 0===e?"undefined":r(e))&&e.buffer&&(t.buffer=e.buffer),t}function b(e,t,r,o){return 1==e.length?e:(e.splice(r,1,o(e.splice(t,1,o(e[r]))[0])),e)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=e.charCodeAt(0);return r>=65&&r<=90?e.toLowerCase():r>=97&&r<=122?e.toUpperCase():r>=48&&r<=57?i(48+(r-48+10+t)%10):e}function p(e){var t,r=e.split(""),o=function e(t){return h(t,-1)};for(t=r.length-5;t>=0;t--)b(r,t+1,t+3,o),b(r,t,t+2,o);return r.join("")}function m(e){return e.split("").reverse().join("")}function g(e){var t,r,o,i,n,l,s,c,d,u=[],f="",b=a,h=e,p=h.length%3;if(p>0)for(;p++<3;)f+="=",h+="\0";for(p=0;p<h.length;p+=3)t=h.charCodeAt(p),r=h.charCodeAt(p+1),o=h.charCodeAt(p+2),i=t<<16|r<<8|o,n=i>>18&63,l=i>>12&63,s=i>>6&63,c=63&i,u[p/3]=b.charAt(n)+b.charAt(l)+b.charAt(s)+b.charAt(c);return d=u.join(""),d=d.slice(0,d.length-f.length)+f}function y(e){var t,r,o,n,l,s,c,d,u,f,b=[],h=a,p=e;for(f=0;f<p.length;f+=4)n=h.indexOf(p.charAt(f)),l=h.indexOf(p.charAt(f+1)),s=h.indexOf(p.charAt(f+2)),c=h.indexOf(p.charAt(f+3)),d=n<<18|l<<12|s<<6|c,t=d>>>16&255,r=d>>>8&255,o=255&d,b[f/4]=i(t,r,o),64==c&&(b[f/4]=i(t,r)),64==s&&(b[f/4]=i(t));return u=b.join("")}function S(e){return(o&&window.atob||y)(e)}function C(e){return(o&&window.btoa||g)(e)}function w(e){return decodeURIComponent(Array.prototype.map.call(S(e),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function x(e){return C(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return i(parseInt(t,16))}))}function A(e){var t,r;return e?(t=p(e),t=m(t),r=Math.ceil(t.length/2),t=t.substr(r)+t.substr(0,r),t=t.replace("#","="),t=t.replace("&","=="),w(t)):""}d=t.iDe=A;function T(e){var t,r=S(e),o=r.length,i=new n(o);for(t=0;t<o;t++)i[t]=r.charCodeAt(t);return i.buffer}function v(e){var t,r,o=new ArrayBuffer(e.length),i=new n(o);for(t=0,r=e.length;t<r;t++)i[t]=e.charCodeAt(t);return o}function k(e){return i.apply(null,new n(e))}function F(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"")}function R(e){var t,r,o,i=0,n=5381,a=0;for(t=e.length-1;t>=0;t--)r=e.charCodeAt(t),i=r+(i<<6)+(i<<16)-i,n=r+((n<<5)+n),a=r+((a<<5)-a),a&=a;return o=i^n^a,o<0&&(o=~o),o.toString(16).toUpperCase()}function E(e){return e&&JSON.parse(e)||void 0}function I(e,t){try{t="#"+t;var r=e.indexOf(t);if(r>-1)return{prefix:e.substring(0,r),licData:JSON.parse(A(e.substr(r+t.length)))}}catch(e){}return!1}function L(e){return"oncomplete"in e&&(e.then=function(t,r){e.resolve=t,e.reject=r},e.oncomplete=function(t){e.resolve(e.result)},e.onerror=function(){e.reject()}),e}u=t.attorn=function e(t,r,i,n){var a,l,s,d,u,f,b,h=o?window.msCrypto?window.msCrypto:window.crypto:void 0,p=I(t,r.aC);if(!p)return n();a=p.licData,l=p.prefix+"#"+r.aC,s=k(T(x(l+JSON.stringify(a.D))));function m(){return R(l+JSON.stringify(a.D))===a.H?i(a.D):n()}return d=A("JYx3Gb#8Pb5R"),u=A("VdgJHc#wJb59"),c[d]&&c[d][u]&&!location.protocol.match(/^https/i)?m():h&&h.subtle?(f={alg:"PS256",e:"AQAB",kty:"RSA",n:F(r.pK)},f=window.msCrypto?v(JSON.stringify(f)):f,b={name:"RSA-PSS",saltLength:32,hash:{name:"SHA-256"}},L(h.subtle.importKey("jwk",f,b,!1,["verify"])).then(function(e){L(h.subtle.verify(b,e,T(a.S),v(s))).then(function(e){return e?i(a.D):n()})},function(){return m()}),void 0):m()}}).call(t,function(){return this}())}]);e.exports={Hk:r.attorn,Ik:r.iDe}},"./src/lc/releaseLc.js":function(e,t,r){var o=r("./src/lc/common.js");e.exports={Ak:1,Bk:o.Bk,zk:o.zk}},"./src/lib/jszip.min.js":function(e,t,r){(function(t,r){var o;!function(t){e.exports=t()}(function(){return function e(t,r,i){function n(l,s){var c,d,u;if(!r[l]){if(!t[l]){if(c="function"==typeof o&&o,!s&&c)return o(l,!0);if(a)return a(l,!0);throw d=Error("Cannot find module '"+l+"'"),d.code="MODULE_NOT_FOUND",d}u=r[l]={exports:{}},t[l][0].call(u.exports,function(e){var r=t[l][1][e];return n(r||e)},u,u.exports,e,t,r,i)}return r[l].exports}for(var a="function"==typeof o&&o,l=0;l<i.length;l++)n(i[l]);return n}({1:[function(e,t,r){"use strict";var o=e("./utils"),i=e("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,a,l,s,c,d=[],u=0,f=e.length,b=f,h="string"!==o.getTypeOf(e);u<e.length;)b=f-u,i=h?(t=e[u++],r=u<f?e[u++]:0,u<f?e[u++]:0):(t=e.charCodeAt(u++),r=u<f?e.charCodeAt(u++):0,u<f?e.charCodeAt(u++):0),a=t>>2,l=(3&t)<<4|r>>4,s=1<b?(15&r)<<2|i>>6:64,c=2<b?63&i:64,d.push(n.charAt(a)+n.charAt(l)+n.charAt(s)+n.charAt(c));return d.join("")},r.decode=function(e){var t,r,o,a,l,s,c,d,u=0,f=0,b="data:";if(e.substr(0,b.length)===b)throw Error("Invalid base64 input, it looks like a data url.");if(d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4,e.charAt(e.length-1)===n.charAt(64)&&d--,e.charAt(e.length-2)===n.charAt(64)&&d--,d%1!=0)throw Error("Invalid base64 input, bad content length.");for(c=i.uint8array?new Uint8Array(0|d):Array(0|d);u<e.length;)t=n.indexOf(e.charAt(u++))<<2|(a=n.indexOf(e.charAt(u++)))>>4,r=(15&a)<<4|(l=n.indexOf(e.charAt(u++)))>>2,o=(3&l)<<6|(s=n.indexOf(e.charAt(u++))),c[f++]=t,64!==l&&(c[f++]=r),64!==s&&(c[f++]=o);return c}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var o=e("./external"),i=e("./stream/DataWorker"),n=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function l(e,t,r,o,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=o,this.compressedContent=i}l.prototype={getContentWorker:function(){var e=new i(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(e,t,r){return e.pipe(new n).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var o=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var o=e("./utils"),i=function(){var e,t,r,o;for(t=[],r=0;r<256;r++){for(e=r,o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==o.getTypeOf(e)?function(e,t,r,o){var n,a=i,l=o+r;for(e^=-1,n=o;n<l;n++)e=e>>>8^a[255&(e^t[n])];return-1^e}(0|t,e,e.length,0):function(e,t,r,o){var n,a=i,l=o+r;for(e^=-1,n=o;n<l;n++)e=e>>>8^a[255&(e^t.charCodeAt(n))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var o=null;o="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:o}},{lie:37}],7:[function(e,t,r){"use strict";var o="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),n=e("./utils"),a=e("./stream/GenericWorker"),l=o?"uint8array":"array";function s(e,t){a.call(this,"FlateWorker/"+e),this.Lk=null,this.Mk=e,this.Ok=t,this.meta={}}r.magic="\b\0",n.inherits(s,a),s.prototype.processChunk=function(e){this.meta=e.meta,null===this.Lk&&this.Pk(),this.Lk.push(n.transformTo(l,e.data),!1)},s.prototype.flush=function(){a.prototype.flush.call(this),null===this.Lk&&this.Pk(),this.Lk.push([],!0)},s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.Lk=null},s.prototype.Pk=function(){this.Lk=new i[this.Mk]({raw:!0,level:this.Ok.level||-1});var e=this;this.Lk.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new s("Deflate",e)},r.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function o(e,t){var r,o="";for(r=0;r<t;r++)o+=String.fromCharCode(255&e),e>>>=8;return o}function i(e,t,r,i,a,d){var u,f,b,h,p,m,g=e.file,y=e.compression,S=d!==l.utf8encode,C=n.transformTo("string",d(g.name)),w=n.transformTo("string",l.utf8encode(g.name)),x=g.comment,A=n.transformTo("string",d(x)),T=n.transformTo("string",l.utf8encode(x)),v=w.length!==g.name.length,k=T.length!==x.length,F="",R="",E="",I=g.dir,L=g.date,D={crc32:0,compressedSize:0,uncompressedSize:0};return t&&!r||(D.crc32=e.crc32,D.compressedSize=e.compressedSize,D.uncompressedSize=e.uncompressedSize),b=0,t&&(b|=8),S||!v&&!k||(b|=2048),h=0,p=0,I&&(h|=16),"UNIX"===a?(p=798,h|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(g.unixPermissions,I)):(p=20,h|=function(e){return 63&(e||0)}(g.dosPermissions)),u=L.getUTCHours(),u<<=6,u|=L.getUTCMinutes(),u<<=5,u|=L.getUTCSeconds()/2,f=L.getUTCFullYear()-1980,f<<=4,f|=L.getUTCMonth()+1,f<<=5,f|=L.getUTCDate(),v&&(R=o(1,1)+o(s(C),4)+w,F+="up"+o(R.length,2)+R),k&&(E=o(1,1)+o(s(A),4)+T,F+="uc"+o(E.length,2)+E),m="",m+="\n\0",m+=o(b,2),m+=y.magic,m+=o(u,2),m+=o(f,2),m+=o(D.crc32,4),m+=o(D.compressedSize,4),m+=o(D.uncompressedSize,4),m+=o(C.length,2),m+=o(F.length,2),{fileRecord:c.LOCAL_FILE_HEADER+m+C+F,dirRecord:c.CENTRAL_FILE_HEADER+o(p,2)+m+o(A.length,2)+"\0\0\0\0"+o(h,4)+o(i,4)+C+F+A}}var n=e("../utils"),a=e("../stream/GenericWorker"),l=e("../utf8"),s=e("../crc32"),c=e("../signature");function d(e,t,r,o){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=o,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this.Qk=[]}n.inherits(d,a),d.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,o=this.Qk.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-o-1))/r:100}}))},d.prototype.openedSource=function(e){var t,r;this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name,t=this.streamFiles&&!e.file.dir,t?(r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:r.fileRecord,meta:{percent:0}})):this.accumulate=!0},d.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+o(e.crc32,4)+o(e.compressedSize,4)+o(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){var e,t,r,i;for(e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});r=this.bytesWritten-e,i=function(e,t,r,i,a){var l=n.transformTo("string",a(i));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(e,2)+o(e,2)+o(t,4)+o(r,4)+o(l.length,2)+l}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName),this.push({data:i,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this.Qk.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(e){this.Qk.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t.Qk.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},d.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this.Qk.length?(this.prepareNextSource(),!0):this.previous||this.Qk.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(e){var t,r=this.Qk;if(!a.prototype.error.call(this,e))return!1;for(t=0;t<r.length;t++)try{r[t].error(e)}catch(e){}return!0},d.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this.Qk,t=0;t<e.length;t++)e[t].lock()},t.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){"use strict";var o=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var n=new i(t.streamFiles,r,t.platform,t.encodeFileName),a=0;try{e.forEach(function(e,r){a++;var i=function(e,t){var r=e||t,i=o[r];if(!i)throw Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),l=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,c=r.date;r.Rk(i,l).withStreamInfo("file",{name:e,dir:s,date:c,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=a}catch(e){n.error(e)}return n}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){"use strict";function o(){if(!(this instanceof o))return new o;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e,t=new o;for(e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(o.prototype=e("./object")).loadAsync=e("./load"),o.support=e("./support"),o.defaults=e("./defaults"),o.version="3.10.1",o.loadAsync=function(e,t){return(new o).loadAsync(e,t)},o.external=e("./external"),t.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){"use strict";var o=e("./utils"),i=e("./external"),n=e("./utf8"),a=e("./zipEntries"),l=e("./stream/Crc32Probe"),s=e("./nodejsUtils");function c(e){return new i.Promise(function(t,r){var o=e.decompressed.getContentWorker().pipe(new l);o.on("error",function(e){r(e)}).on("end",function(){o.streamInfo.crc32!==e.decompressed.crc32?r(Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}t.exports=function(e,t){var r=this;return t=o.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),s.isNode&&s.isStream(e)?i.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new a(t);return r.load(e),r}).then(function(e){var r,o=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(r=0;r<n.length;r++)o.push(c(n[r]));return i.Promise.all(o)}).then(function(e){var i,n,a,l,s,c;for(i=e.shift(),n=i.files,a=0;a<n.length;a++)l=n[a],s=l.fileNameStr,c=o.resolve(l.fileNameStr),r.file(c,l.decompressed,{binary:!0,optimizedBinaryString:!0,date:l.date,dir:l.dir,comment:l.fileCommentStr.length?l.fileCommentStr:null,unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions,createFolders:t.createFolders}),l.dir||(r.file(c).unsafeOriginalName=s);return i.zipComment.length&&(r.comment=i.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){"use strict";var o=e("../utils"),i=e("../stream/GenericWorker");function n(e,t){i.call(this,"Nodejs stream input adapter for "+e),this.Sk=!1,this.Tk(t)}o.inherits(n,i),n.prototype.Tk=function(e){var t=this;(this.Uk=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t.Sk=!0:t.end()})},n.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this.Uk.pause(),!0)},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this.Sk?this.end():this.Uk.resume(),!0)},t.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){"use strict";var o=e("readable-stream").Readable;function i(e,t,r){o.call(this,t),this.Vk=e;var i=this;e.on("data",function(e,t){i.push(e)||i.Vk.pause(),r&&r(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,o),i.prototype.Wk=function(){this.Vk.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){"use strict";t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m;function g(e,t,r){var o,a,d,m,g=i.getTypeOf(t),y=i.extend(r||{},l);y.date=y.date||new Date,null!==y.compression&&(y.compression=y.compression.toUpperCase()),"string"==typeof y.unixPermissions&&(y.unixPermissions=parseInt(y.unixPermissions,8)),y.unixPermissions&&16384&y.unixPermissions&&(y.dir=!0),y.dosPermissions&&16&y.dosPermissions&&(y.dir=!0),y.dir&&(e=h(e)),y.createFolders&&(o=b(e))&&p.call(this,o,!0),a="string"===g&&!1===y.binary&&!1===y.base64,r&&void 0!==r.binary||(y.binary=!a),(t instanceof s&&0===t.uncompressedSize||y.dir||!t||0===t.length)&&(y.base64=!1,y.binary=!0,t="",y.compression="STORE",g="string"),d=null,d=t instanceof s||t instanceof n?t:u.isNode&&u.isStream(t)?new f(e,t):i.prepareContent(e,t,y.binary,y.optimizedBinaryString,y.base64),m=new c(e,d,y),this.files[e]=m}o=e("./utf8"),i=e("./utils"),n=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),l=e("./defaults"),s=e("./compressedObject"),c=e("./zipObject"),d=e("./generate"),u=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),b=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},h=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},p=function(e,t){return t=void 0!==t?t:l.createFolders,e=h(e),this.files[e]||g.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}m={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,o;for(t in this.files)o=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,o)},filter:function(e){var t=[];return this.forEach(function(r,o){e(r,o)&&t.push(o)}),t},file:function(e,t,r){var o,i;return 1!==arguments.length?(e=this.root+e,g.call(this,e,t,r),this):y(e)?(o=e,this.filter(function(e,t){return!t.dir&&o.test(e)})):(i=this.files[this.root+e],i&&!i.dir?i:null)},folder:function(e){if(!e)return this;if(y(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=this.root+e,r=p.call(this,t),o=this.clone();return o.root=r.name,o},remove:function(e){var t,r,o;if(e=this.root+e,t=this.files[e],t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),o=0;o<r.length;o++)delete this.files[r[o].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r,l={};try{if((l=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=l.type.toLowerCase(),l.compression=l.compression.toUpperCase(),"binarystring"===l.type&&(l.type="string"),!l.type)throw Error("No output type specified.");i.checkSupport(l.type),"darwin"!==l.platform&&"freebsd"!==l.platform&&"linux"!==l.platform&&"sunos"!==l.platform||(l.platform="UNIX"),"win32"===l.platform&&(l.platform="DOS"),r=l.comment||this.comment||"",t=d.generateWorker(this,l,r)}catch(e){(t=new n("error")).error(e)}return new a(t,l.type||"string",l.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},t.exports=m},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){"use strict";var o=e("./DataReader");function i(e){o.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,o),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2),i=e.charCodeAt(3),n=this.length-4;0<=n;--n)if(this.data[n]===t&&this.data[n+1]===r&&this.data[n+2]===o&&this.data[n+3]===i)return n-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2),i=e.charCodeAt(3),n=this.readData(4);return t===n[0]&&r===n[1]&&o===n[2]&&i===n[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){"use strict";var o=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return o.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){"use strict";var o=e("./Uint8ArrayReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var o=e("./DataReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var o=e("./ArrayReader");function i(e){o.call(this,e)}e("../utils").inherits(i,o),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var o=e("../utils"),i=e("../support"),n=e("./ArrayReader"),a=e("./StringReader"),l=e("./NodeBufferReader"),s=e("./Uint8ArrayReader");t.exports=function(e){var t=o.getTypeOf(e);return o.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new l(e):i.uint8array?new s(o.transformTo("uint8array",e)):new n(o.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,r){"use strict";var o=e("./GenericWorker"),i=e("../utils");function n(e){o.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(n,o),n.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var o=e("./GenericWorker"),i=e("../crc32");function n(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(n,o),n.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./GenericWorker");function n(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}o.inherits(n,i),n.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./GenericWorker");function n(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this.Xk=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=o.getTypeOf(e),t.isPaused||t.Yk()},function(e){t.error(e)})}o.inherits(n,i),n.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.Xk&&this.dataIsReady&&(this.Xk=!0,o.delay(this.Yk,[],this)),!0)},n.prototype.Yk=function(){this.Xk=!1,this.isPaused||this.isFinished||(this.Zk(),this.isFinished||(o.delay(this.Yk,[],this),this.Xk=!0))},n.prototype.Zk=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":
32
+ e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function o(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this.$k={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this.$k[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this.$k=[]},emit:function(e,t){if(this.$k[e])for(var r=0;r<this.$k[e].length;r++)this.$k[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=o},{}],29:[function(e,t,r){"use strict";var o=e("../utils"),i=e("./ConvertWorker"),n=e("./GenericWorker"),a=e("../base64"),l=e("../support"),s=e("../external"),c=null;if(l.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t){return new s.Promise(function(r,i){var n=[],l=e._k,s=e.al,c=e.cl;e.on("data",function(e,r){n.push(e),t&&t(r)}).on("error",function(e){n=[],i(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return o.newBlob(o.transformTo("arraybuffer",t),r);case"base64":return a.encode(t);default:return o.transformTo(e,t)}}(s,function(e,t){var r,o=0,i=null,n=0;for(r=0;r<t.length;r++)n+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(n),r=0;r<t.length;r++)i.set(t[r],o),o+=t[r].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}(l,n),c);r(e)}catch(e){i(e)}n=[]}).resume()})}function u(e,t,r){var a=t;switch(t){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._k=a,this.al=t,this.cl=r,o.checkSupport(a),this.dl=e.pipe(new i(a)),e.lock()}catch(e){this.dl=new n("error"),this.dl.error(e)}}u.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var r=this;return"data"===e?this.dl.on(e,function(e){t.call(r,e.data,e.meta)}):this.dl.on(e,function(){o.delay(t,arguments,r)}),this},resume:function(){return o.delay(this.dl.resume,[],this.dl),this},pause:function(){return this.dl.pause(),this},toNodejsStream:function(e){if(o.checkSupport("nodestream"),"nodebuffer"!==this.al)throw Error(this.al+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this.al},e)}},t.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){"use strict";var o,i;if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof Buffer,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{o=new ArrayBuffer(0);try{r.blob=0===new Blob([o],{type:"application/zip"}).size}catch(e){try{i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder),i.append(o),r.blob=0===i.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){"use strict";for(var o=e("./utils"),i=e("./support"),n=e("./nodejsUtils"),a=e("./stream/GenericWorker"),l=Array(256),s=0;s<256;s++)l[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;l[254]=l[254]=1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function d(){a.call(this,"utf-8 encode")}r.utf8encode=function(e){return i.nodebuffer?n.newBufferFrom(e,"utf-8"):function(e){var t,r,o,n,a,l=e.length,s=0;for(n=0;n<l;n++)55296==(64512&(r=e.charCodeAt(n)))&&n+1<l&&56320==(64512&(o=e.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(o-56320),n++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(s):Array(s),n=a=0;a<s;n++)55296==(64512&(r=e.charCodeAt(n)))&&n+1<l&&56320==(64512&(o=e.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(o-56320),n++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?o.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,n,a=e.length,s=Array(2*a);for(t=r=0;t<a;)if((i=e[t++])<128)s[r++]=i;else if(4<(n=l[i]))s[r++]=65533,t+=n-1;else{for(i&=2===n?31:3===n?15:7;1<n&&t<a;)i=i<<6|63&e[t++],n--;1<n?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return s.length!==r&&(s.subarray?s=s.subarray(0,r):s.length=r),o.applyFromCharCode(s)}(e=o.transformTo(i.uint8array?"uint8array":"array",e))},o.inherits(c,a),c.prototype.processChunk=function(e){var t,n,a,s=o.transformTo(i.uint8array?"uint8array":"array",e.data);this.leftOver&&this.leftOver.length&&(i.uint8array?(t=s,(s=new Uint8Array(t.length+this.leftOver.length)).set(this.leftOver,0),s.set(t,this.leftOver.length)):s=this.leftOver.concat(s),this.leftOver=null),n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+l[e[r]]>t?r:t}(s),a=s,n!==s.length&&(i.uint8array?(a=s.subarray(0,n),this.leftOver=s.subarray(n,s.length)):(a=s.slice(0,n),this.leftOver=s.slice(n,s.length))),this.push({data:r.utf8decode(a),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=c,o.inherits(d,a),d.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,r,o){"use strict";var i,n,a=e("./support"),l=e("./base64"),s=e("./nodejsUtils"),c=e("./external");function d(e){return e}function u(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),o.newBlob=function(e,t){o.checkSupport("blob");try{return new Blob([e],{type:t})}catch(o){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch(e){throw Error("Bug : can't construct the Blob.")}}},i={stringifyByChunk:function(e,t,r){var o=[],i=0,n=e.length;if(n<=r)return String.fromCharCode.apply(null,e);for(;i<n;)"array"===t||"nodebuffer"===t?o.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,n)))):o.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,n)))),i+=r;return o.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(e){return!1}}()}};function f(e){var t=65536,r=o.getTypeOf(e),n=!0;if("uint8array"===r?n=i.applyCanBeUsed.uint8array:"nodebuffer"===r&&(n=i.applyCanBeUsed.nodebuffer),n)for(;1<t;)try{return i.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return i.stringifyByChar(e)}function b(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}o.applyFromCharCode=f,n={},n.string={string:d,array:function(e){return u(e,Array(e.length))},arraybuffer:function(e){return n.string.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:function(e){return u(e,s.allocBuffer(e.length))}},n.array={string:f,array:d,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(e)}},n.arraybuffer={string:function(e){return f(new Uint8Array(e))},array:function(e){return b(new Uint8Array(e),Array(e.byteLength))},arraybuffer:d,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(new Uint8Array(e))}},n.uint8array={string:f,array:function(e){return b(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:d,nodebuffer:function(e){return s.newBufferFrom(e)}},n.nodebuffer={string:f,array:function(e){return b(e,Array(e.length))},arraybuffer:function(e){return n.nodebuffer.uint8array(e).buffer},uint8array:function(e){return b(e,new Uint8Array(e.length))},nodebuffer:d},o.transformTo=function(e,t){if(t=t||"",!e)return t;o.checkSupport(e);var r=o.getTypeOf(t);return n[r][e](t)},o.resolve=function(e){var t,r,o,i;for(t=e.split("/"),r=[],o=0;o<t.length;o++)i=t[o],"."===i||""===i&&0!==o&&o!==t.length-1||(".."===i?r.pop():r.push(i));return r.join("/")},o.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":a.nodebuffer&&s.isBuffer(e)?"nodebuffer":a.uint8array&&e instanceof Uint8Array?"uint8array":a.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},o.checkSupport=function(e){if(!a[e.toLowerCase()])throw Error(e+" is not supported by this platform")},o.MAX_VALUE_16BITS=65535,o.MAX_VALUE_32BITS=-1,o.pretty=function(e){var t,r,o="";for(r=0;r<(e||"").length;r++)o+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return o},o.delay=function(e,r,o){t(function(){e.apply(o||null,r||[])})},o.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},o.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},o.prepareContent=function(e,t,r,i,n){return c.Promise.resolve(t).then(function(e){return a.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new c.Promise(function(t,r){var o=new FileReader;o.onload=function(e){t(e.target.result)},o.onerror=function(e){r(e.target.error)},o.readAsArrayBuffer(e)}):e}).then(function(t){var s=o.getTypeOf(t);return s?("arraybuffer"===s?t=o.transformTo("uint8array",t):"string"===s&&(n?t=l.decode(t):r&&!0!==i&&(t=function(e){return u(e,a.uint8array?new Uint8Array(e.length):Array(e.length))}(t))),t):c.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){"use strict";var o=e("./reader/readerFor"),i=e("./utils"),n=e("./signature"),a=e("./zipEntry"),l=e("./support");function s(e){this.files=[],this.loadOptions=e}s.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r,o=this.reader.index;return this.reader.setIndex(e),r=this.reader.readString(4)===t,this.reader.setIndex(o),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=l.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,o=this.zip64EndOfCentralSize-44;0<o;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e,t,r,o=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(o<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?Error("Corrupted zip: can't find end of central directory"):Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");if(this.reader.setIndex(o),e=o,this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(o=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(o),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}if(t=this.centralDirOffset+this.centralDirSize,this.zip64&&(t+=20,t+=12+this.zip64EndOfCentralSize),r=e-t,0<r)this.isSignature(e,n.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=o(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){"use strict";var o=e("./reader/readerFor"),i=e("./utils"),n=e("./compressedObject"),a=e("./crc32"),l=e("./utf8"),s=e("./compressions"),c=e("./support");function d(e,t){this.options=e,this.loadOptions=t}d.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in s)if(Object.prototype.hasOwnProperty.call(s,t)&&s[t].magic===e)return s[t];return null}(this.compressionMethod)))throw Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=o(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,o,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),o=e.readData(r),this.extraFields[t]={id:t,length:r,value:o};e.setIndex(i)},handleUTF8:function(){var e,t,r,o,n=c.uint8array?"uint8array":"array";this.useUTF8()?(this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment)):(e=this.findExtraFieldUnicodePath(),null!==e?this.fileNameStr=e:(t=i.transformTo(n,this.fileName),this.fileNameStr=this.loadOptions.decodeFileName(t)),r=this.findExtraFieldUnicodeComment(),null!==r?this.fileCommentStr=r:(o=i.transformTo(n,this.fileComment),this.fileCommentStr=this.loadOptions.decodeFileName(o)))},findExtraFieldUnicodePath:function(){var e,t=this.extraFields[28789];return t?(e=o(t.value),1!==e.readInt(1)?null:a(this.fileName)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))):null},findExtraFieldUnicodeComment:function(){var e,t=this.extraFields[25461];return t?(e=o(t.value),1!==e.readInt(1)?null:a(this.fileComment)!==e.readInt(4)?null:l.utf8decode(e.readData(t.length-5))):null}},t.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){"use strict";var o,i,n,a,l,s,c,d;function u(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this.el=t,this.fl=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}for(o=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),n=e("./utf8"),a=e("./compressedObject"),l=e("./stream/GenericWorker"),u.prototype={internalStream:function(e){var t,r,i=null,a="string";try{if(!e)throw Error("No output type specified.");t="string"===(a=e.toLowerCase())||"text"===a,"binarystring"!==a&&"text"!==a||(a="string"),i=this.gl(),r=!this.fl,r&&!t&&(i=i.pipe(new n.Utf8EncodeWorker)),!r&&t&&(i=i.pipe(new n.Utf8DecodeWorker))}catch(e){(i=new l("error")).error(e)}return new o(i,a,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},Rk:function(e,t){if(this.el instanceof a&&this.el.compression.magic===e.magic)return this.el.getCompressedWorker();var r=this.gl();return this.fl||(r=r.pipe(new n.Utf8EncodeWorker)),a.createWorkerFrom(r,e,t)},gl:function(){return this.el instanceof a?this.el.getContentWorker():this.el instanceof l?this.el:new i(this.el)}},s=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<s.length;d++)u.prototype[s[d]]=c;t.exports=u},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var r,o,i,n,a,l,s,c=e.MutationObserver||e.WebKitMutationObserver;c?(i=0,n=new c(d),a=e.document.createTextNode(""),n.observe(a,{characterData:!0}),r=function(){a.data=i=++i%2}):e.setImmediate||void 0===e.MessageChannel?r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){d(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(d,0)}:(l=new e.MessageChannel,l.port1.onmessage=d,r=function(){l.port2.postMessage(0)}),s=[];function d(){var e,t,r;for(o=!0,r=s.length;r;){for(t=s,s=[],e=-1;++e<r;)t[e]();r=s.length}o=!1}t.exports=function(e){1!==s.push(e)||o||r()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){"use strict";var o,i,n,a,l=e("immediate");function s(){}o={},i=["REJECTED"],n=["FULFILLED"],a=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=a,this.queue=[],this.outcome=void 0,e!==s&&b(this,e)}function d(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function u(e,t,r){l(function(){var i;try{i=t(r)}catch(t){return o.reject(e,t)}i===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,i)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function b(e,t){var r,i=!1;function n(t){i||(i=!0,o.reject(e,t))}function a(t){i||(i=!0,o.resolve(e,t))}r=h(function(){t(a,n)}),"error"===r.status&&n(r.value)}function h(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===n||"function"!=typeof t&&this.state===i)return this;var r=new this.constructor(s);return this.state!==a?u(r,this.state===n?e:t,this.outcome):this.queue.push(new d(r,e,t)),r},d.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},d.prototype.otherCallFulfilled=function(e){u(this.promise,this.onFulfilled,e)},d.prototype.callRejected=function(e){o.reject(this.promise,e)},d.prototype.otherCallRejected=function(e){u(this.promise,this.onRejected,e)},o.resolve=function(e,t){var r,i,a,l=h(f,t);if("error"===l.status)return o.reject(e,l.value);if(r=l.value)b(e,r);else for(e.state=n,e.outcome=t,i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t);return e},o.reject=function(e,t){e.state=i,e.outcome=t;for(var r=-1,o=e.queue.length;++r<o;)e.queue[r].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(s),e)},c.reject=function(e){var t=new this(s);return o.reject(t,e)},c.all=function(e){var t,r,i,n,a,l,c=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));if(t=e.length,r=!1,!t)return this.resolve([]);for(i=Array(t),n=0,a=-1,l=new this(s);++a<t;)d(e[a],a);return l;function d(e,a){c.resolve(e).then(function(e){i[a]=e,++n!==t||r||(r=!0,o.resolve(l,i))},function(e){r||(r=!0,o.reject(l,e))})}},c.race=function(e){var t,r,i,n,a,l=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));if(t=e.length,r=!1,!t)return this.resolve([]);for(i=-1,n=new this(s);++i<t;)a=e[i],l.resolve(a).then(function(e){r||(r=!0,o.resolve(n,e))},function(e){r||(r=!0,o.reject(n,e))});return n}},{immediate:36}],38:[function(e,t,r){"use strict";var o={};(0,e("./lib/utils/common").assign)(o,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){"use strict";var o=e("./zlib/deflate"),i=e("./utils/common"),n=e("./utils/strings"),a=e("./zlib/messages"),l=e("./zlib/zstream"),s=Object.prototype.toString,c=0,d=-1,u=0,f=8;function b(e){var t,r,h;if(!(this instanceof b))return new b(e);if(this.options=i.assign({level:d,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:u,to:""},e||{}),t=this.options,t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0,r=o.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy),r!==c)throw Error(a[r]);if(t.header&&o.deflateSetHeader(this.strm,t.header),t.dictionary){if(h="string"==typeof t.dictionary?n.string2buf(t.dictionary):"[object ArrayBuffer]"===s.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=o.deflateSetDictionary(this.strm,h))!==c)throw Error(a[r]);this.il=!0}}function h(e,t){var r=new b(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}b.prototype.push=function(e,t){var r,a,l=this.strm,d=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?l.input=n.string2buf(e):"[object ArrayBuffer]"===s.call(e)?l.input=new Uint8Array(e):l.input=e,l.next_in=0,l.avail_in=l.input.length;do{if(0===l.avail_out&&(l.output=new i.Buf8(d),l.next_out=0,l.avail_out=d),1!==(r=o.deflate(l,a))&&r!==c)return this.onEnd(r),!(this.ended=!0);0!==l.avail_out&&(0!==l.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(n.buf2binstring(i.shrinkBuf(l.output,l.next_out))):this.onData(i.shrinkBuf(l.output,l.next_out)))}while((0<l.avail_in||0===l.avail_out)&&1!==r);return 4===a?(r=o.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==a||(this.onEnd(c),!(l.avail_out=0))},b.prototype.onData=function(e){this.chunks.push(e)},b.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=b,r.deflate=h,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,h(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){"use strict";var o=e("./zlib/inflate"),i=e("./utils/common"),n=e("./utils/strings"),a=e("./zlib/constants"),l=e("./zlib/messages"),s=e("./zlib/zstream"),c=e("./zlib/gzheader"),d=Object.prototype.toString;function u(e){var t,r;if(!(this instanceof u))return new u(e);if(this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{}),t=this.options,t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0,r=o.inflateInit2(this.strm,t.windowBits),r!==a.Z_OK)throw Error(l[r]);this.header=new c,o.inflateGetHeader(this.strm,this.header)}function f(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||l[r.err];return r.result}u.prototype.push=function(e,t){var r,l,s,c,u,f,b=this.strm,h=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;l=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?b.input=n.binstring2buf(e):"[object ArrayBuffer]"===d.call(e)?b.input=new Uint8Array(e):b.input=e,b.next_in=0,b.avail_in=b.input.length;do{if(0===b.avail_out&&(b.output=new i.Buf8(h),b.next_out=0,b.avail_out=h),(r=o.inflate(b,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(f="string"==typeof p?n.string2buf(p):"[object ArrayBuffer]"===d.call(p)?new Uint8Array(p):p,r=o.inflateSetDictionary(this.strm,f)),r===a.Z_BUF_ERROR&&!0===m&&(r=a.Z_OK,m=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),!(this.ended=!0);b.next_out&&(0!==b.avail_out&&r!==a.Z_STREAM_END&&(0!==b.avail_in||l!==a.Z_FINISH&&l!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(s=n.utf8border(b.output,b.next_out),c=b.next_out-s,u=n.buf2string(b.output,s),b.next_out=c,b.avail_out=h-c,c&&i.arraySet(b.output,b.output,s,c,0),this.onData(u)):this.onData(i.shrinkBuf(b.output,b.next_out)))),0===b.avail_in&&0===b.avail_out&&(m=!0)}while((0<b.avail_in||0===b.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(l=a.Z_FINISH),l===a.Z_FINISH?(r=o.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):l!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(b.avail_out=0))},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=u,r.inflate=f,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},r.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){"use strict";var o,i,n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){var t,r,o;for(t=Array.prototype.slice.call(arguments,1);t.length;)if(r=t.shift()){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)},o={arraySet:function(e,t,r,o,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+o),i);else for(var n=0;n<o;n++)e[i+n]=t[r+n]},flattenChunks:function(e){
33
+ var t,r,o,i,n,a;for(t=o=0,r=e.length;t<r;t++)o+=e[t].length;for(a=new Uint8Array(o),t=i=0,r=e.length;t<r;t++)n=e[t],a.set(n,i),i+=n.length;return a}},i={arraySet:function(e,t,r,o,i){for(var n=0;n<o;n++)e[i+n]=t[r+n]},flattenChunks:function(e){return[].concat.apply([],e)}},r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,o)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,i))},r.setTyped(n)},{}],42:[function(e,t,r){"use strict";var o,i,n=e("./common"),a=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){l=!1}for(o=new n.Buf8(256),i=0;i<256;i++)o[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;function s(e,t){if(t<65537&&(e.subarray&&l||!e.subarray&&a))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,r.string2buf=function(e){var t,r,o,i,a,l=e.length,s=0;for(i=0;i<l;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<l&&56320==(64512&(o=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(o-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(s),i=a=0;a<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<l&&56320==(64512&(o=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(o-56320),i++),r<128?t[a++]=r:(r<2048?t[a++]=192|r>>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t},r.buf2binstring=function(e){return s(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,o=t.length;r<o;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,i,n,a,l=t||e.length,c=Array(2*l);for(r=i=0;r<l;)if((n=e[r++])<128)c[i++]=n;else if(4<(a=o[n]))c[i++]=65533,r+=a-1;else{for(n&=2===a?31:3===a?15:7;1<a&&r<l;)n=n<<6|63&e[r++],a--;1<a?c[i++]=65533:n<65536?c[i++]=n:(n-=65536,c[i++]=55296|n>>10&1023,c[i++]=56320|1023&n)}return s(c,i)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+o[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,o){for(var i=65535&e|0,n=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3<r?2e3:r;n=n+(i=i+t[o++]|0)|0,--a;);i%=65521,n%=65521}return i|n<<16|0}},{}],44:[function(e,t,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){"use strict";var o=function(){var e,t,r,o;for(t=[],r=0;r<256;r++){for(e=r,o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var n,a=o,l=i+r;for(e^=-1,n=i;n<l;n++)e=e>>>8^a[255&(e^t[n])];return-1^e}},{}],46:[function(e,t,r){"use strict";var o,i=e("../utils/common"),n=e("./trees"),a=e("./adler32"),l=e("./crc32"),s=e("./messages"),c=0,d=4,u=0,f=-2,b=-1,h=4,p=2,m=8,g=9,y=286,S=30,C=19,w=2*y+1,x=15,A=3,T=258,v=T+A+1,k=42,F=113,R=1,E=2,I=3,L=4;function D(e,t){return e.msg=s[t],t}function B(e){return(e<<1)-(4<e?9:0)}function P(e){for(var t=e.length;0<=--t;)e[t]=0}function W(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function _(e,t){n.jl(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,W(e.strm)}function N(e,t){e.pending_buf[e.pending++]=t}function M(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function O(e,t){var r,o,i=e.max_chain_length,n=e.strstart,a=e.prev_length,l=e.nice_match,s=e.strstart>e.w_size-v?e.strstart-(e.w_size-v):0,c=e.window,d=e.w_mask,u=e.prev,f=e.strstart+T,b=c[n+a-1],h=c[n+a];e.prev_length>=e.good_match&&(i>>=2),l>e.lookahead&&(l=e.lookahead);do if(c[(r=t)+a]===h&&c[r+a-1]===b&&c[r]===c[n]&&c[++r]===c[n+1]){n+=2,r++;do;while(c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&c[++n]===c[++r]&&n<f);if(o=T-(f-n),n=f-T,a<o){if(e.match_start=t,l<=(a=o))break;b=c[n+a-1],h=c[n+a]}}while((t=u[t&d])>s&&0!=--i);return a<=e.lookahead?a:e.lookahead}function H(e){var t,r,o,n,s,c,d,u,f,b,h=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-v)){for(i.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=r=e.hash_size;o=e.head[--t],e.head[t]=h<=o?o-h:0,--r;);for(t=r=h;o=e.prev[--t],e.prev[t]=h<=o?o-h:0,--r;);n+=h}if(0===e.strm.avail_in)break;if(c=e.strm,d=e.window,u=e.strstart+e.lookahead,f=n,b=void 0,b=c.avail_in,f<b&&(b=f),r=0===b?0:(c.avail_in-=b,i.arraySet(d,c.input,c.next_in,b,u),1===c.state.wrap?c.adler=a(c.adler,d,b,u):2===c.state.wrap&&(c.adler=l(c.adler,d,b,u)),c.next_in+=b,c.total_in+=b,b),e.lookahead+=r,e.lookahead+e.insert>=A)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+A-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<A)););}while(e.lookahead<v&&0!==e.strm.avail_in)}function G(e,t){for(var r,o;;){if(e.lookahead<v){if(H(e),e.lookahead<v&&t===c)return R;if(0===e.lookahead)break}if(r=0,e.lookahead>=A&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-v&&(e.match_length=O(e,r)),e.match_length>=A)if(o=n.kl(e,e.strstart-e.match_start,e.match_length-A),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=A){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else o=n.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(o&&(_(e,!1),0===e.strm.avail_out))return R}return e.insert=e.strstart<A-1?e.strstart:A-1,t===d?(_(e,!0),0===e.strm.avail_out?I:L):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?R:E}function U(e,t){for(var r,o,i;;){if(e.lookahead<v){if(H(e),e.lookahead<v&&t===c)return R;if(0===e.lookahead)break}if(r=0,e.lookahead>=A&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=A-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-v&&(e.match_length=O(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===A&&4096<e.strstart-e.match_start)&&(e.match_length=A-1)),e.prev_length>=A&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-A,o=n.kl(e,e.strstart-1-e.prev_match,e.prev_length-A),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=A-1,e.strstart++,o&&(_(e,!1),0===e.strm.avail_out))return R}else if(e.match_available){if((o=n.kl(e,0,e.window[e.strstart-1]))&&_(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return R}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(o=n.kl(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<A-1?e.strstart:A-1,t===d?(_(e,!0),0===e.strm.avail_out?I:L):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?R:E}function J(e,t,r,o,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=o,this.func=i}function z(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=m,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*w),this.dyn_dtree=new i.Buf16(2*(2*S+1)),this.bl_tree=new i.Buf16(2*(2*C+1)),P(this.dyn_ltree),P(this.dyn_dtree),P(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(x+1),this.heap=new i.Buf16(2*y+1),P(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*y+1),P(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function V(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=p,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?k:F,e.adler=2===t.wrap?0:1,t.last_flush=c,n.ll(t),u):D(e,f)}function j(e){var t=V(e);return t===u&&function(e){e.window_size=2*e.w_size,P(e.head),e.max_lazy_match=o[e.level].max_lazy,e.good_match=o[e.level].good_length,e.nice_match=o[e.level].nice_length,e.max_chain_length=o[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=A-1,e.match_available=0,e.ins_h=0}(e.state),t}function X(e,t,r,o,n,a){var l,s;return e?(l=1,t===b&&(t=6),o<0?(l=0,o=-o):15<o&&(l=2,o-=16),n<1||g<n||r!==m||o<8||15<o||t<0||9<t||a<0||h<a?D(e,f):(8===o&&(o=9),s=new z,(e.state=s).strm=e,s.wrap=l,s.gzhead=null,s.w_bits=o,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=n+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+A-1)/A),s.window=new i.Buf8(2*s.w_size),s.head=new i.Buf16(s.hash_size),s.prev=new i.Buf16(s.w_size),s.lit_bufsize=1<<n+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new i.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,j(e))):f}o=[new J(0,0,0,0,function(e,t){var r,o=65535;for(o>e.pending_buf_size-5&&(o=e.pending_buf_size-5);;){if(e.lookahead<=1){if(H(e),0===e.lookahead&&t===c)return R;if(0===e.lookahead)break}if(e.strstart+=e.lookahead,e.lookahead=0,r=e.block_start+o,(0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,_(e,!1),0===e.strm.avail_out))return R;if(e.strstart-e.block_start>=e.w_size-v&&(_(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===d?(_(e,!0),0===e.strm.avail_out?I:L):(e.strstart>e.block_start&&(_(e,!1),e.strm.avail_out),R)}),new J(4,4,8,4,G),new J(4,5,16,8,G),new J(4,6,32,32,G),new J(4,4,16,16,U),new J(8,16,32,32,U),new J(8,16,128,128,U),new J(8,32,128,256,U),new J(32,128,258,1024,U),new J(32,258,258,4096,U)],r.deflateInit=function(e,t){return X(e,t,m,15,8,0)},r.deflateInit2=X,r.deflateReset=j,r.deflateResetKeep=V,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?f:(e.state.gzhead=t,u):f},r.deflate=function(e,t){var r,i,a,s,b,h;if(!e||!e.state||5<t||t<0)return e?D(e,f):f;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==d)return D(e,0===e.avail_out?-5:f);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===k&&(2===i.wrap?(e.adler=0,N(i,31),N(i,139),N(i,8),i.gzhead?(N(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),N(i,255&i.gzhead.time),N(i,i.gzhead.time>>8&255),N(i,i.gzhead.time>>16&255),N(i,i.gzhead.time>>24&255),N(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),N(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(N(i,255&i.gzhead.extra.length),N(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=l(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(N(i,0),N(i,0),N(i,0),N(i,0),N(i,0),N(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),N(i,3),i.status=F)):(b=m+(i.w_bits-8<<4)<<8,b|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(b|=32),b+=31-b%31,i.status=F,M(i,b),0!==i.strstart&&(M(i,e.adler>>>16),M(i,65535&e.adler)),e.adler=1)),69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),W(e),a=i.pending,i.pending!==i.pending_buf_size));)N(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),W(e),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,N(i,s)}while(0!==s);i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),0===s&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),W(e),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,N(i,s)}while(0!==s);i.gzhead.hcrc&&i.pending>a&&(e.adler=l(e.adler,i.pending_buf,i.pending-a,a)),0===s&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&W(e),i.pending+2<=i.pending_buf_size&&(N(i,255&e.adler),N(i,e.adler>>8&255),e.adler=0,i.status=F)):i.status=F),0!==i.pending){if(W(e),0===e.avail_out)return i.last_flush=-1,u}else if(0===e.avail_in&&B(t)<=B(r)&&t!==d)return D(e,-5);if(666===i.status&&0!==e.avail_in)return D(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==c&&666!==i.status){if(h=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(H(e),0===e.lookahead)){if(t===c)return R;break}if(e.match_length=0,r=n.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(_(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===d?(_(e,!0),0===e.strm.avail_out?I:L):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?R:E}(i,t):3===i.strategy?function(e,t){for(var r,o,i,a,l=e.window;;){if(e.lookahead<=T){if(H(e),e.lookahead<=T&&t===c)return R;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=A&&0<e.strstart&&(o=l[i=e.strstart-1])===l[++i]&&o===l[++i]&&o===l[++i]){a=e.strstart+T;do;while(o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&o===l[++i]&&i<a);e.match_length=T-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=A?(r=n.kl(e,1,e.match_length-A),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=n.kl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(_(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===d?(_(e,!0),0===e.strm.avail_out?I:L):e.last_lit&&(_(e,!1),0===e.strm.avail_out)?R:E}(i,t):o[i.level].func(i,t),h!==I&&h!==L||(i.status=666),h===R||h===I)return 0===e.avail_out&&(i.last_flush=-1),u;if(h===E&&(1===t?n.ml(i):5!==t&&(n.nl(i,0,0,!1),3===t&&(P(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),W(e),0===e.avail_out))return i.last_flush=-1,u}return t!==d?u:i.wrap<=0?1:(2===i.wrap?(N(i,255&e.adler),N(i,e.adler>>8&255),N(i,e.adler>>16&255),N(i,e.adler>>24&255),N(i,255&e.total_in),N(i,e.total_in>>8&255),N(i,e.total_in>>16&255),N(i,e.total_in>>24&255)):(M(i,e.adler>>>16),M(i,65535&e.adler)),W(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?u:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==k&&69!==t&&73!==t&&91!==t&&103!==t&&t!==F&&666!==t?D(e,f):(e.state=null,t===F?D(e,-3):u):f},r.deflateSetDictionary=function(e,t){var r,o,n,l,s,c,d,b,h=t.length;if(!e||!e.state)return f;if(2===(l=(r=e.state).wrap)||1===l&&r.status!==k||r.lookahead)return f;for(1===l&&(e.adler=a(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===l&&(P(r.head),r.strstart=0,r.block_start=0,r.insert=0),b=new i.Buf8(r.w_size),i.arraySet(b,t,h-r.w_size,r.w_size,0),t=b,h=r.w_size),s=e.avail_in,c=e.next_in,d=e.input,e.avail_in=h,e.next_in=0,e.input=t,H(r);r.lookahead>=A;){for(o=r.strstart,n=r.lookahead-(A-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[o+A-1])&r.hash_mask,r.prev[o&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=o,o++,--n;);r.strstart=o,r.lookahead=A-1,H(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=A-1,r.match_available=0,e.next_in=c,e.input=d,e.avail_in=s,r.wrap=l,u},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){"use strict";t.exports=function(e,t){var r,o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k;r=e.state,o=e.next_in,v=e.input,i=o+(e.avail_in-5),n=e.next_out,k=e.output,a=n-(t-e.avail_out),l=n+(e.avail_out-257),s=r.dmax,c=r.wsize,d=r.whave,u=r.wnext,f=r.window,b=r.hold,h=r.bits,p=r.lencode,m=r.distcode,g=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{h<15&&(b+=v[o++]<<h,h+=8,b+=v[o++]<<h,h+=8),S=p[b&g];t:for(;;){if(b>>>=C=S>>>24,h-=C,0===(C=S>>>16&255))k[n++]=65535&S;else{if(!(16&C)){if(0==(64&C)){S=p[(65535&S)+(b&(1<<C)-1)];continue t}if(32&C){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&S,(C&=15)&&(h<C&&(b+=v[o++]<<h,h+=8),w+=b&(1<<C)-1,b>>>=C,h-=C),h<15&&(b+=v[o++]<<h,h+=8,b+=v[o++]<<h,h+=8),S=m[b&y];r:for(;;){if(b>>>=C=S>>>24,h-=C,!(16&(C=S>>>16&255))){if(0==(64&C)){S=m[(65535&S)+(b&(1<<C)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&S,h<(C&=15)&&(b+=v[o++]<<h,(h+=8)<C&&(b+=v[o++]<<h,h+=8)),s<(x+=b&(1<<C)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(b>>>=C,h-=C,(C=n-a)<x){if(d<(C=x-C)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(T=f,(A=0)===u){if(A+=c-C,C<w){for(w-=C;k[n++]=f[A++],--C;);A=n-x,T=k}}else if(u<C){if(A+=c+u-C,(C-=u)<w){for(w-=C;k[n++]=f[A++],--C;);if(A=0,u<w){for(w-=C=u;k[n++]=f[A++],--C;);A=n-x,T=k}}}else if(A+=u-C,C<w){for(w-=C;k[n++]=f[A++],--C;);A=n-x,T=k}for(;2<w;)k[n++]=T[A++],k[n++]=T[A++],k[n++]=T[A++],w-=3;w&&(k[n++]=T[A++],1<w&&(k[n++]=T[A++]))}else{for(A=n-x;k[n++]=k[A++],k[n++]=k[A++],k[n++]=k[A++],2<(w-=3););w&&(k[n++]=k[A++],1<w&&(k[n++]=k[A++]))}break}}break}}while(o<i&&n<l);o-=w=h>>3,b&=(1<<(h-=w<<3))-1,e.next_in=o,e.next_out=n,e.avail_in=o<i?i-o+5:5-(o-i),e.avail_out=n<l?l-n+257:257-(n-l),r.hold=b,r.bits=h}},{}],49:[function(e,t,r){"use strict";var o,i,n,a=e("../utils/common"),l=e("./adler32"),s=e("./crc32"),c=e("./inffast"),d=e("./inftrees"),u=1,f=2,b=0,h=-2,p=1,m=852,g=592;function y(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function S(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function C(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=p,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new a.Buf32(m),t.distcode=t.distdyn=new a.Buf32(g),t.sane=1,t.back=-1,b):h}function w(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,C(e)):h}function x(e,t){var r,o;return e&&e.state?(o=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?h:(null!==o.window&&o.wbits!==t&&(o.window=null),o.wrap=r,o.wbits=t,w(e))):h}function A(e,t){var r,o;return e?(o=new S,(e.state=o).window=null,(r=x(e,t))!==b&&(e.state=null),r):h}n=!0;function T(e){if(n){var t;for(o=new a.Buf32(512),i=new a.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(d(u,e.lens,0,288,o,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;d(f,e.lens,0,32,i,0,e.work,{bits:5}),n=!1}e.lencode=o,e.lenbits=9,e.distcode=i,e.distbits=5}function v(e,t,r,o){var i,n=e.state;return null===n.window&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new a.Buf8(n.wsize)),o>=n.wsize?(a.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(o<(i=n.wsize-n.wnext)&&(i=o),a.arraySet(n.window,t,r-o,i,n.wnext),(o-=i)?(a.arraySet(n.window,t,r-o,o,0),n.wnext=o,n.whave=n.wsize):(n.wnext+=i,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=i))),0}r.inflateReset=w,r.inflateReset2=x,r.inflateResetKeep=C,r.inflateInit=function(e){return A(e,15)},r.inflateInit2=A,r.inflate=function(e,t){var r,o,i,n,m,g,S,C,w,x,A,k,F,R,E,I,L,D,B,P,W,_,N,M,O=0,H=new a.Buf8(4),G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return h;12===(r=e.state).mode&&(r.mode=13),m=e.next_out,i=e.output,S=e.avail_out,n=e.next_in,o=e.input,g=e.avail_in,C=r.hold,w=r.bits,x=g,A=S,_=b;e:for(;;)switch(r.mode){case p:if(0===r.wrap){r.mode=13;break}for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(2&r.wrap&&35615===C){H[r.check=0]=255&C,H[1]=C>>>8&255,r.check=s(r.check,H,2,0),w=C=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&C)<<8)+(C>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&C)){e.msg="unknown compression method",r.mode=30;break}if(w-=4,W=8+(15&(C>>>=4)),0===r.wbits)r.wbits=W;else if(W>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<W,e.adler=r.check=1,r.mode=512&C?10:12,w=C=0;break;case 2:for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(r.flags=C,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=C>>8&1),512&r.flags&&(H[0]=255&C,H[1]=C>>>8&255,r.check=s(r.check,H,2,0)),w=C=0,r.mode=3;case 3:for(;w<32;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.head&&(r.head.time=C),512&r.flags&&(H[0]=255&C,H[1]=C>>>8&255,H[2]=C>>>16&255,H[3]=C>>>24&255,r.check=s(r.check,H,4,0)),w=C=0,r.mode=4;case 4:for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.head&&(r.head.xflags=255&C,r.head.os=C>>8),512&r.flags&&(H[0]=255&C,H[1]=C>>>8&255,r.check=s(r.check,H,2,0)),w=C=0,r.mode=5;case 5:if(1024&r.flags){for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.length=C,r.head&&(r.head.extra_len=C),512&r.flags&&(H[0]=255&C,H[1]=C>>>8&255,r.check=s(r.check,H,2,0)),w=C=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(g<(k=r.length)&&(k=g),k&&(r.head&&(W=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),a.arraySet(r.head.extra,o,n,k,W)),512&r.flags&&(r.check=s(r.check,o,k,n)),g-=k,n+=k,r.length-=k),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===g)break e;for(k=0;W=o[n+k++],r.head&&W&&r.length<65536&&(r.head.name+=String.fromCharCode(W)),W&&k<g;);if(512&r.flags&&(r.check=s(r.check,o,k,n)),g-=k,n+=k,W)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===g)break e;for(k=0;W=o[n+k++],r.head&&W&&r.length<65536&&(r.head.comment+=String.fromCharCode(W)),W&&k<g;);if(512&r.flags&&(r.check=s(r.check,o,k,n)),g-=k,n+=k,W)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;w<16;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(C!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}w=C=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;w<32;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}e.adler=r.check=y(C),w=C=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=m,e.avail_out=S,e.next_in=n,e.avail_in=g,r.hold=C,r.bits=w,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){C>>>=7&w,w-=7&w,r.mode=27;break}for(;w<3;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}switch(r.last=1&C,w-=1,3&(C>>>=1)){case 0:r.mode=14;break;case 1:if(T(r),r.mode=20,6!==t)break;C>>>=2,w-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}C>>>=2,w-=2;break;case 14:for(C>>>=7&w,w-=7&w;w<32;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if((65535&C)!=(C>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&C,w=C=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(k=r.length){if(g<k&&(k=g),S<k&&(k=S),0===k)break e;a.arraySet(i,o,n,k,m),g-=k,n+=k,S-=k,m+=k,r.length-=k;break}r.mode=12;break;case 17:for(;w<14;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(r.nlen=257+(31&C),C>>>=5,w-=5,r.ndist=1+(31&C),C>>>=5,w-=5,r.ncode=4+(15&C),C>>>=4,w-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;w<3;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.lens[G[r.have++]]=7&C,C>>>=3,w-=3}for(;r.have<19;)r.lens[G[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,N={bits:r.lenbits},_=d(0,r.lens,0,19,r.lencode,0,r.work,N),r.lenbits=N.bits,_){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;I=(O=r.lencode[C&(1<<r.lenbits)-1])>>>16&255,L=65535&O,!((E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(L<16)C>>>=E,w-=E,r.lens[r.have++]=L;else{if(16===L){for(M=E+2;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(C>>>=E,w-=E,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}W=r.lens[r.have-1],k=3+(3&C),C>>>=2,w-=2}else if(17===L){for(M=E+3;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}w-=E,W=0,k=3+(7&(C>>>=E)),C>>>=3,w-=3}else{for(M=E+7;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}w-=E,W=0,k=11+(127&(C>>>=E)),C>>>=7,w-=7}if(r.have+k>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;k--;)r.lens[r.have++]=W}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,N={bits:r.lenbits},_=d(u,r.lens,0,r.nlen,r.lencode,0,r.work,N),r.lenbits=N.bits,_){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,N={bits:r.distbits},_=d(f,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,N),r.distbits=N.bits,_){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=g&&258<=S){e.next_out=m,e.avail_out=S,e.next_in=n,e.avail_in=g,r.hold=C,r.bits=w,c(e,A),m=e.next_out,i=e.output,S=e.avail_out,n=e.next_in,o=e.input,g=e.avail_in,C=r.hold,w=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;I=(O=r.lencode[C&(1<<r.lenbits)-1])>>>16&255,L=65535&O,!((E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(I&&0==(240&I)){for(D=E,B=I,P=L;I=(O=r.lencode[P+((C&(1<<D+B)-1)>>D)])>>>16&255,L=65535&O,!(D+(E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}C>>>=D,w-=D,r.back+=D}if(C>>>=E,w-=E,r.back+=E,r.length=L,0===I){r.mode=26;break}if(32&I){r.back=-1,r.mode=12;break}if(64&I){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&I,r.mode=22;case 22:if(r.extra){for(M=r.extra;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.length+=C&(1<<r.extra)-1,C>>>=r.extra,w-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;I=(O=r.distcode[C&(1<<r.distbits)-1])>>>16&255,L=65535&O,!((E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(0==(240&I)){for(D=E,B=I,P=L;I=(O=r.distcode[P+((C&(1<<D+B)-1)>>D)])>>>16&255,L=65535&O,!(D+(E=O>>>24)<=w);){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}C>>>=D,w-=D,r.back+=D}if(C>>>=E,w-=E,r.back+=E,64&I){e.msg="invalid distance code",r.mode=30;break}r.offset=L,r.extra=15&I,r.mode=24;case 24:if(r.extra){for(M=r.extra;w<M;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}r.offset+=C&(1<<r.extra)-1,C>>>=r.extra,w-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===S)break e;if(k=A-S,r.offset>k){if((k=r.offset-k)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}F=k>r.wnext?(k-=r.wnext,r.wsize-k):r.wnext-k,k>r.length&&(k=r.length),R=r.window}else R=i,F=m-r.offset,k=r.length;for(S<k&&(k=S),S-=k,r.length-=k;i[m++]=R[F++],--k;);0===r.length&&(r.mode=21);break;case 26:if(0===S)break e;i[m++]=r.length,S--,r.mode=21;break;case 27:if(r.wrap){for(;w<32;){if(0===g)break e;g--,C|=o[n++]<<w,w+=8}if(A-=S,e.total_out+=A,r.total+=A,A&&(e.adler=r.check=r.flags?s(r.check,i,A,m-A):l(r.check,i,A,m-A)),A=S,(r.flags?C:y(C))!==r.check){e.msg="incorrect data check",r.mode=30;break}w=C=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;w<32;){if(0===g)break e;g--,C+=o[n++]<<w,w+=8}if(C!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}w=C=0}r.mode=29;case 29:_=1;break e;case 30:_=-3;break e;case 31:return-4;case 32:default:return h}return e.next_out=m,e.avail_out=S,e.next_in=n,e.avail_in=g,r.hold=C,r.bits=w,(r.wsize||A!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&v(e,e.output,e.next_out,A-e.avail_out)?(r.mode=31,-4):(x-=e.avail_in,A-=e.avail_out,e.total_in+=x,e.total_out+=A,r.total+=A,r.wrap&&A&&(e.adler=r.check=r.flags?s(r.check,i,A,e.next_out-A):l(r.check,i,A,e.next_out-A)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==x&&0===A||4===t)&&_===b&&(_=-5),_)},r.inflateEnd=function(e){if(!e||!e.state)return h;var t=e.state;return t.window&&(t.window=null),e.state=null,b},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?h:((r.head=t).done=!1,b):h},r.inflateSetDictionary=function(e,t){var r,o=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?h:11===r.mode&&l(1,t,o,0)!==r.check?-3:v(e,t,o,o)?(r.mode=31,-4):(r.havedict=1,b):h},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){"use strict";var o=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[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],a=[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],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,s,c,d,u,f){var b,h,p,m,g,y,S,C,w,x=f.bits,A=0,T=0,v=0,k=0,F=0,R=0,E=0,I=0,L=0,D=0,B=null,P=0,W=new o.Buf16(16),_=new o.Buf16(16),N=null,M=0;for(A=0;A<=15;A++)W[A]=0;for(T=0;T<s;T++)W[t[r+T]]++;for(F=x,k=15;1<=k&&0===W[k];k--);if(k<F&&(F=k),0===k)return c[d++]=20971520,c[d++]=20971520,f.bits=1,0;for(v=1;v<k&&0===W[v];v++);for(F<v&&(F=v),A=I=1;A<=15;A++)if(I<<=1,(I-=W[A])<0)return-1;if(0<I&&(0===e||1!==k))return-1;for(_[1]=0,A=1;A<15;A++)_[A+1]=_[A]+W[A];for(T=0;T<s;T++)0!==t[r+T]&&(u[_[t[r+T]]++]=T);if(y=0===e?(B=N=u,19):1===e?(B=i,P-=257,N=n,M-=257,256):(B=a,N=l,-1),A=v,g=d,E=T=D=0,p=-1,m=(L=1<<(R=F))-1,1===e&&852<L||2===e&&592<L)return 1;for(;;){for(S=A-E,w=u[T]<y?(C=0,u[T]):u[T]>y?(C=N[M+u[T]],B[P+u[T]]):(C=96,0),b=1<<A-E,v=h=1<<R;c[g+(D>>E)+(h-=b)]=S<<24|C<<16|w|0,0!==h;);for(b=1<<A-1;D&b;)b>>=1;if(0!==b?(D&=b-1,D+=b):D=0,T++,0==--W[A]){if(A===k)break;A=t[r+u[T]]}if(F<A&&(D&m)!==p){for(0===E&&(E=F),g+=v,I=1<<(R=A-E);R+E<k&&!((I-=W[R+E])<=0);)R++,I<<=1;if(L+=1<<R,1===e&&852<L||2===e&&592<L)return 1;c[p=D&m]=F<<24|R<<16|g-d|0}}return 0!==D&&(c[g+D]=A-E<<24|64<<16|0),f.bits=F,0}},{"../utils/common":41}],51:[function(e,t,r){
34
+ "use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L=e("../utils/common"),D=0,B=1;function P(e){for(var t=e.length;0<=--t;)e[t]=0}o=0,i=29,n=256,a=n+1+i,l=30,s=19,c=2*a+1,d=15,u=16,f=7,b=256,h=16,p=17,m=18,g=[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],y=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],w=Array(2*(a+2)),P(w),x=Array(2*l),P(x),A=Array(512),P(A),T=Array(256),P(T),v=Array(i),P(v),E=Array(l);function W(e,t,r,o,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=o,this.max_length=i,this.has_stree=e&&e.length}function _(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function N(e){return e<256?A[e]:A[256+(e>>>7)]}function M(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function O(e,t,r){e.bi_valid>u-r?(e.bi_buf|=t<<e.bi_valid&65535,M(e,e.bi_buf),e.bi_buf=t>>u-e.bi_valid,e.bi_valid+=r-u):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function H(e,t,r){O(e,r[2*t],r[2*t+1])}function G(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function U(e,t,r){var o,i,n,a=Array(d+1),l=0;for(o=1;o<=d;o++)a[o]=l=l+r[o-1]<<1;for(i=0;i<=t;i++)n=e[2*i+1],0!==n&&(e[2*i]=G(a[n]++,n))}function J(e){var t;for(t=0;t<a;t++)e.dyn_ltree[2*t]=0;for(t=0;t<l;t++)e.dyn_dtree[2*t]=0;for(t=0;t<s;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function z(e){8<e.bi_valid?M(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function V(e,t,r,o){var i=2*t,n=2*r;return e[i]<e[n]||e[i]===e[n]&&o[t]<=o[r]}function j(e,t,r){for(var o=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&V(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!V(t,o,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=o}function X(e,t,r){var o,i,a,l,s=0;if(0!==e.last_lit)for(;o=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===o?H(e,i,t):(H(e,(a=T[i])+n+1,t),0!==(l=g[a])&&O(e,i-=v[a],l),H(e,a=N(--o),r),0!==(l=y[a])&&O(e,o-=E[a],l)),s<e.last_lit;);H(e,b,t)}function K(e,t){var r,o,i,n=t.dyn_tree,a=t.stat_desc.static_tree,l=t.stat_desc.has_stree,s=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=c,r=0;r<s;r++)0!==n[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):n[2*r+1]=0;for(;e.heap_len<2;)n[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,l&&(e.static_len-=a[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;1<=r;r--)j(e,n,r);for(i=s;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],j(e,n,1),o=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=o,n[2*i]=n[2*r]+n[2*o],e.depth[i]=(e.depth[r]>=e.depth[o]?e.depth[r]:e.depth[o])+1,n[2*r+1]=n[2*o+1]=i,e.heap[1]=i++,j(e,n,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,o,i,n,a,l,s=t.dyn_tree,u=t.max_code,f=t.stat_desc.static_tree,b=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(n=0;n<=d;n++)e.bl_count[n]=0;for(s[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<c;r++)m<(n=s[2*s[2*(o=e.heap[r])+1]+1]+1)&&(n=m,g++),s[2*o+1]=n,u<o||(e.bl_count[n]++,a=0,p<=o&&(a=h[o-p]),l=s[2*o],e.opt_len+=l*(n+a),b&&(e.static_len+=l*(f[2*o+1]+a)));if(0!==g){do{for(n=m-1;0===e.bl_count[n];)n--;e.bl_count[n]--,e.bl_count[n+1]+=2,e.bl_count[m]--,g-=2}while(0<g);for(n=m;0!==n;n--)for(o=e.bl_count[n];0!==o;)u<(i=e.heap[--r])||(s[2*i+1]!==n&&(e.opt_len+=(n-s[2*i+1])*s[2*i],s[2*i+1]=n),o--)}}(e,t),U(n,u,e.bl_count)}function q(e,t,r){var o,i,n=-1,a=t[1],l=0,s=7,c=4;for(0===a&&(s=138,c=3),t[2*(r+1)+1]=65535,o=0;o<=r;o++)i=a,a=t[2*(o+1)+1],++l<s&&i===a||(l<c?e.bl_tree[2*i]+=l:0!==i?(i!==n&&e.bl_tree[2*i]++,e.bl_tree[2*h]++):l<=10?e.bl_tree[2*p]++:e.bl_tree[2*m]++,n=i,c=(l=0)===a?(s=138,3):i===a?(s=6,3):(s=7,4))}function Y(e,t,r){var o,i,n=-1,a=t[1],l=0,s=7,c=4;for(0===a&&(s=138,c=3),o=0;o<=r;o++)if(i=a,a=t[2*(o+1)+1],!(++l<s&&i===a)){if(l<c)for(;H(e,i,e.bl_tree),0!=--l;);else 0!==i?(i!==n&&(H(e,i,e.bl_tree),l--),H(e,h,e.bl_tree),O(e,l-3,2)):l<=10?(H(e,p,e.bl_tree),O(e,l-3,3)):(H(e,m,e.bl_tree),O(e,l-11,7));n=i,c=(l=0)===a?(s=138,3):i===a?(s=6,3):(s=7,4)}}P(E),I=!1;function Q(e,t,r,i){O(e,(o<<1)+(i?1:0),3),function(e,t,r,o){z(e),o&&(M(e,r),M(e,~r)),L.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}r.ll=function(e){I||(function(){var e,t,r,o,c,u=Array(d+1);for(o=r=0;o<i-1;o++)for(v[o]=r,e=0;e<1<<g[o];e++)T[r++]=o;for(T[r-1]=o,o=c=0;o<16;o++)for(E[o]=c,e=0;e<1<<y[o];e++)A[c++]=o;for(c>>=7;o<l;o++)for(E[o]=c<<7,e=0;e<1<<y[o]-7;e++)A[256+c++]=o;for(t=0;t<=d;t++)u[t]=0;for(e=0;e<=143;)w[2*e+1]=8,e++,u[8]++;for(;e<=255;)w[2*e+1]=9,e++,u[9]++;for(;e<=279;)w[2*e+1]=7,e++,u[7]++;for(;e<=287;)w[2*e+1]=8,e++,u[8]++;for(U(w,a+1,u),e=0;e<l;e++)x[2*e+1]=5,x[2*e]=G(e,5);k=new W(w,g,n+1,a,d),F=new W(x,y,0,l,d),R=new W(Array(0),S,0,s,f)}(),I=!0),e.l_desc=new _(e.dyn_ltree,k),e.d_desc=new _(e.dyn_dtree,F),e.bl_desc=new _(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,J(e)},r.nl=Q,r.jl=function(e,t,r,o){var i,a,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return D;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return B;for(t=32;t<n;t++)if(0!==e.dyn_ltree[2*t])return B;return D}(e)),K(e,e.l_desc),K(e,e.d_desc),l=function(e){var t;for(q(e,e.dyn_ltree,e.l_desc.max_code),q(e,e.dyn_dtree,e.d_desc.max_code),K(e,e.bl_desc),t=s-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?Q(e,t,r,o):4===e.strategy||a===i?(O(e,2+(o?1:0),3),X(e,w,x)):(O(e,4+(o?1:0),3),function(e,t,r,o){var i;for(O(e,t-257,5),O(e,r-1,5),O(e,o-4,4),i=0;i<o;i++)O(e,e.bl_tree[2*C[i]+1],3);Y(e,e.dyn_ltree,t-1),Y(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),X(e,e.dyn_ltree,e.dyn_dtree)),J(e),o&&z(e)},r.kl=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(T[r]+n+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},r.ml=function(e){O(e,2,3),H(e,b,w),function(e){16===e.bi_valid?(M(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,o){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var o,i,n,a,l=1,s={},c=!1,d=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,o="[object process]"==={}.toString.call(e.process)?function(e){r.nextTick(function(){b(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",h,!1):e.attachEvent("onmessage",h),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){b(e.data)},function(e){n.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,function(e){var t=d.createElement("script");t.onreadystatechange=function(){b(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(b,0,e)},u.setImmediate=function(e){var t,r,i;for("function"!=typeof e&&(e=Function(""+e)),t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];return i={callback:e,args:t},s[l]=i,o(l),l++},u.clearImmediate=f}function f(e){delete s[e]}function b(e){if(c)setTimeout(b,0,e);else{var r=s[e];if(r){c=!0;try{!function(e){var r=e.callback,o=e.args;switch(o.length){case 0:r();break;case 1:r(o[0]);break;case 2:r(o[0],o[1]);break;case 3:r(o[0],o[1],o[2]);break;default:r.apply(t,o)}}(r)}finally{f(e),c=!1}}}}function h(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&b(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)})}).call(this,r("./node_modules/timers-browserify/main.js").setImmediate,r("./node_modules/process/browser.js"))},"./src/xlsx-io/common/chart-helper.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/datamodel/chart-model.ts"),i=o.Charts.ST_SystemColorVal,n=o.Charts.ST_SchemeColorVal,a=o.Charts.ST_SplitType,l=o.Charts.ST_MarkerStyle,s=o.Charts.ST_SeriesLayout;function d(e,t,r){return e===t&&(e=r),e}c=function(){function e(){}return e.ToKnownColor=function(e){var t=null;switch(e){case i.scrollBar:t=23;break;case i.activeCaption:t=2;break;case i.inactiveCaption:t=17;break;case i.menu:t=21;break;case i.window:t=24;break;case i.windowFrame:t=25;break;case i.menuText:t=22;break;case i.windowText:t=26;break;case i.activeBorder:t=1;break;case i.inactiveBorder:t=16;break;case i.appWorkspace:t=4;break;case i.highlight:t=13;break;case i.highlightText:t=14;break;case i.btnFace:t=168;break;case i.btnShadow:t=170;break;case i.grayText:t=12;break;case i.inactiveCaptionText:t=18;break;case i.btnHighlight:t=169;break;case i.infoText:t=20;break;case i.infoBk:t=19;break;case i.gradientActiveCaption:t=171;break;case i.gradientInactiveCaption:t=172;break;case i.menuHighlight:t=174;break;case i.menuBar:t=173}return t},e.ToST_SystemColorVal=function(e){var t=null;switch(e){case 1:t=i.activeBorder;break;case 2:t=i.activeCaption;break;case 168:t=i.btnFace;break;case 169:t=i.btnHighlight;break;case 170:t=i.btnShadow;break;case 171:t=i.gradientActiveCaption;break;case 172:t=i.gradientInactiveCaption;break;case 12:t=i.grayText;break;case 13:t=i.highlight;break;case 14:t=i.highlightText;break;case 16:t=i.inactiveBorder;break;case 17:t=i.inactiveCaption;break;case 18:t=i.inactiveCaptionText;break;case 20:t=i.infoText;break;case 21:t=i.menu;break;case 173:t=i.menuBar;break;case 174:t=i.menuHighlight;break;case 22:t=i.menuText;break;case 24:t=i.window;break;case 25:t=i.windowFrame;break;case 26:t=i.windowText}return t},e.ToST_SchemeColorVal=function(e){var t=n.accent1;switch(e){case 4:t=n.accent1;break;case 5:t=n.accent2;break;case 6:t=n.accent3;break;case 7:t=n.accent4;break;case 8:t=n.accent5;break;case 9:t=n.accent6;break;case 0:t=n.bg1;break;case 2:t=n.bg2;break;case 11:t=n.folHlink;break;case 10:t=n.hlink;break;case 12:t=n.phClr;break;case 13:t=n.dk1;break;case 14:t=n.lt1;break;case 15:t=n.dk2;break;case 16:t=n.lt2;break;case 1:t=n.tx1;break;case 3:t=n.tx2}return t},e.ToColorSchemeIndex=function(e){var t=4;switch(e){case n.bg1:t=0;break;case n.tx1:t=1;break;case n.bg2:t=2;break;case n.tx2:t=3;break;case n.accent2:t=5;break;case n.accent3:t=6;break;case n.accent4:t=7;break;case n.accent5:t=8;break;case n.accent6:t=9;break;case n.hlink:t=10;break;case n.folHlink:t=11;break;case n.phClr:t=12;break;case n.dk1:t=13;break;case n.lt1:t=14;break;case n.dk2:t=15;break;case n.lt2:t=16}return t},e.ToST_PresetLineDashVal=function(e){return d(e,11,1)},e.ToPatternType=function(e){var t,r=0;return"number"==typeof e&&(t={0:1,1:2,2:3,3:4,4:5,5:6,6:7,7:8,8:9,9:10,10:11,11:12,16:13,17:14,27:15,28:16,34:17,52:18,14:19,15:20,25:21,26:22,36:23,45:24,29:25,30:26,32:27,31:28,19:29,18:30,21:31,20:32,40:33,37:34,41:35,35:36,39:37,53:38,43:39,42:40,44:41,46:42,47:43,48:44,38:45,49:46,50:47,51:48,12:49,13:50,22:51,23:52,24:53,33:54},"number"==typeof t[e]&&(r=t[e])),r},e.ToST_PresetPatternVal=function(e){var t,r=0;return"number"==typeof e&&(t={1:0,2:1,3:2,4:3,5:4,6:5,7:6,8:7,9:8,10:9,11:10,12:11,13:16,14:17,15:27,16:28,17:34,18:52,19:14,20:15,21:25,22:26,23:36,24:45,25:29,26:30,27:32,28:31,29:19,30:18,31:21,32:20,33:40,34:37,35:41,36:35,37:39,38:53,39:43,40:42,41:44,42:46,43:47,44:48,45:38,46:49,47:50,48:51,49:12,50:13,51:22,52:23,53:24,54:33},"number"==typeof t[e]&&(r=t[e])),r},e.ToST_PresetShadowVal=function(e){return e>19?0:e},e.ToST_SplitType=function(e){var t=a.pos;switch(e){case 0:t=a.pos;break;case 1:t=a.val;break;case 2:t=a.percent;break;case 3:t=a.cust}return t},e.ToChartSplitType=function(e){var t=0;switch(e){case a.cust:t=3;break;case a.percent:t=2;break;case a.val:t=1}return t},e.ToST_LightRigDirection=function(e){var t=1;switch(e){case 1:t=4;break;case 2:t=6;break;case 5:t=6;break;case 7:t=3;break;case 8:t=6}return t},e.ToST_MarkerStyle=function(e){return 11===e&&(e=l.circle),e},e.ToST_LegendPos=function(e){var t=0;switch(e){case 0:break;case 1:t=4;break;case 2:t=3;break;case 3:t=2;break;case 5:t=1}return t},e.ToLegendPosition=function(e){var t=4;switch(e){case 1:t=5;break;case 2:t=3;break;case 3:t=2;break;case 4:t=1}return t},e.ToST_PresetCameraType=function(e){return d(e,62,0)},e.ToST_BuiltInUnit=function(e){return e>8&&(e=0),e},e.ToST_Crosses=function(e){var t=0;switch(e){case 2:t=1;break;case 3:t=2}return t},e.ToAxisCrosses=function(e){var t=1;switch(e){case 1:t=2;break;case 2:t=3}return t},e.ToCT_ChartType=function(e){var t=16;switch(e){case s.funnel:t=17;break;case s.paretoLine:t=18;break;case s.regionMap:t=19;break;case s.sunburst:t=20;break;case s.treemap:t=21;break;case s.waterfall:t=22;break;case s.clusteredColumn:t=23}return t},e.ToST_SeriesLayout=function(e){var t=0;switch(e){case 16:t=s.boxWhisker;break;case 17:t=s.funnel;break;case 18:t=s.paretoLine;break;case 19:t=s.regionMap;break;case 20:t=s.sunburst;break;case 21:t=s.treemap;break;case 22:t=s.waterfall;break;case 23:t=s.clusteredColumn}return t},e}(),t.ChartHelper=c},"./src/xlsx-io/common/color-reader.ts":function(e,t,r){"use strict";var o,i,n;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/datamodel/excel-style.ts"),i=r("./src/common/common.ts"),n=r("./src/xml-io/xml-reader.ts");function a(e){var t,r,a=o.ExcelColor.EmptyColor,l=!1,s=-1,c=0,d="",u=-1;if(e&&e instanceof n.XmlReader)for(t=e;t.moveToNextAttribute();)switch(t.readAttributeNameAsString()){case"auto":l=t.readContentAsBoolean(!1);break;case"theme":s=t.readContentAsInt(-1);break;case"tint":c=t.readContentAsDouble(0);break;case"rgb":d=t.readContentAsString();break;case"indexed":u=t.readContentAsInt(-1)}else e&&(l=!!e._attr.auto,e._attr.theme&&(s=parseInt(e._attr.theme,10)),e._attr.tint&&(c=parseFloat(e._attr.tint)),d=e._attr.rgb||"",e._attr.indexed&&(u=parseInt(e._attr.indexed,10)));return l?(a.isAutoColor(!0),a):s!==-1?a=new o.ExcelColor(3,s,c):i.StringEx.L(d)?u>=0?a=new o.ExcelColor(1,u,0):a:(r=parseInt(d,16),a=new o.ExcelColor(2,r,c))}t.readColor=a},"./src/xlsx-io/common/color-writer.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("./src/datamodel/excel-style.ts");function i(e,t,r){void 0!==r&&e.writeLeafElement(t,function(){if(null===r||r.isAutoColor())return void e.writeAttributeString("auto","1");if(r.isIndexedColor())e.writeAttributeString("indexed",""+r.value());else if(r.isThemeColor())e.writeAttributeString("theme",""+r.value()),0!==r.tint()&&e.writeAttributeString("tint",""+r.tint());else if(r.isRGBColor()){var t=r.value().toString(16);e.writeAttributeString("rgb",t.toUpperCase()),0!==r.tint()&&e.writeAttributeString("tint",""+r.tint())}})}t.writeColor=i;function n(e,t,r){r&&e.writeElement(t,void 0,function(){if("a:dk1"===t)4278190080===r.value()?e.writeLeafElement("a:sysClr",function(){e.writeAttributeString("val","windowText"),e.writeAttributeString("lastClr","000000")}):e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if("a:lt1"===t)4294967295===r.value()?e.writeLeafElement("a:sysClr",function(){e.writeAttributeString("val","window"),e.writeAttributeString("lastClr","FFFFFF")}):e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if(2===r.colorType())e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",r.value().toString(16).substring(2))});else if(3===r.colorType())e.writeLeafElement("a:schemeClr",function(){e.writeAttributeString("val",o.ConverterHelper.toSchemeClrValue(r.value()))});else if(1===r.colorType()){var i=o.ColorHelper.toExcelIndexedColor(r);e.writeLeafElement("a:srgbClr",function(){e.writeAttributeString("val",i&&i.value?i.value().toString(16):"0")})}})}t.writeColorScheme=n},"./src/xlsx-io/common/errorMessage.ts":function(e,t,r){"use strict";var o,i;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i={en:{EXP_IO:"File read and write exception.",EXP_FILE_FORMAT:"Incorrect file format.",EXP_NO_PASSWORD:"The Excel file cannot be opened because the workbook/worksheet is password protected.",EXP_INVALID_PASSWORD:"The specified password is incorrect."},ja:{EXP_IO:"\u30d5\u30a1\u30a4\u30ebIO\u306b\u95a2\u3059\u308b\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002",EXP_FILE_FORMAT:"\u30d5\u30a1\u30a4\u30eb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u8aa4\u308a\u304c\u3042\u308a\u307e\u3059\u3002",EXP_NO_PASSWORD:"\u30ef\u30fc\u30af\u30d6\u30c3\u30af/\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u4fdd\u8b77\u3055\u308c\u3066\u3044\u307e\u3059\u3002Excel\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002",EXP_INVALID_PASSWORD:"\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u4e0d\u6b63\u3067\u3059\u3002"},zh:{EXP_IO:"\u6587\u4ef6\u8bfb\u5199\u5f02\u5e38",EXP_FILE_FORMAT:"\u6587\u4ef6\u683c\u5f0f\u9519\u8bef",EXP_NO_PASSWORD:"Excel\u6587\u4ef6\u53d7\u5bc6\u7801\u4fdd\u62a4\uff0c\u65e0\u6cd5\u88ab\u6253\u5f00",EXP_INVALID_PASSWORD:"\u5bc6\u7801\u9519\u8bef"}};function n(){var e=o.Fa()||"en",t=i[e.split("-")[0]];return t?t:i.en}t.sR=n},"./src/xlsx-io/common/errorcode.ts":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorCode={fileIOError:0,fileFormatError:1,noPassword:2,invalidPassword:3}},"./src/xlsx-io/common/file-loader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xlsx-io/password/compoundFile.ts"),i=r("./src/xlsx-io/password/xlsxEncryptionHelper.ts"),n=r("./src/xlsx-io/common/errorcode.ts"),a=r("./src/xlsx-io/common/errorMessage.ts"),l=r("./src/lib/jszip.min.js"),s=void 0,c="undefined",d=function(){function e(e){var t=this;if(e===s?t.loadType=1:t.loadType=e,typeof FileReader===c)throw Error("The browser doesn't support FileReader!");t.fileReader=new FileReader,t.passwordFileReader=new FileReader,t.compoundFile=new o.CompoundFile}return e.prototype.loadFile=function(e,t){var r=this,o=r.fileReader;return e instanceof ArrayBuffer?void r.fileLoad(e,t):void(e&&o&&(o.onload=function(e){r.fileLoad(e.target.result,t)},o.onerror=function(){r.ol()},1===r.loadType?o.readAsArrayBuffer?o.readAsArrayBuffer(e):r.loadType=0:o.readAsDataURL&&o.readAsDataURL(e)))},e.prototype.ol=function(){this.onError({errorCode:n.errorCode.fileIOError,errorMessage:a.sR().EXP_IO})},e.prototype.pl=function(){this.onError({errorCode:n.errorCode.fileFormatError,errorMessage:a.sR().EXP_FILE_FORMAT})},e.prototype.ql=function(){this.onError({errorCode:n.errorCode.noPassword,errorMessage:a.sR().EXP_NO_PASSWORD})},e.prototype.rl=function(){this.onError({errorCode:n.errorCode.invalidPassword,errorMessage:a.sR().EXP_INVALID_PASSWORD})},e.prototype.fileLoad=function(e,t){var r,o,n,a,c=this;if(t&&t.password)try{if(e=i.XlsxEncryptionHelper.sl(e,t.password),!e)return void c.rl()}catch(e){return void c.rl()}else if(i.XlsxEncryptionHelper.ul(e))return void c.ql();switch(r=new l,c.loadType){case 1:r.loadAsync(e).then(d).catch(function(){c.pl()});break;case 0:default:o="base64,",n=e.indexOf(o),n!==-1&&(a=e.substring(n+o.length),r.loadAsync(a,{base64:!0}).then(d).catch(function(){c.pl()}))}function d(){var e,t,o,i=r.files,n={};for(e in i)i[e]&&(t=void 0,o=e.substring(e.lastIndexOf(".")),t=".xml"===o||".rels"===o?"text":e.indexOf("/media/")===-1?"binarystring":"base64",i[e].async(t).then(function(e){return function(t){n[e.toLowerCase()]=t;for(var r in i)if(n[r.toLowerCase()]===s)return;c.onFileLoad(n)}}(e)).catch(function(){c.pl()}))}},e}(),t.FileLoader=d},"./src/xlsx-io/password/aes.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k;Object.defineProperty(t,"__esModule",{value:!0}),o=null,i=null,n="AES must be instanitated with `new`",a=function(e){var t,r=[];if("number"==typeof e){for(t=0;t<e;t++)r.push(0);return r}for(t=0;t<e.length;t++)if(e[t]<0||e[t]>=256||"number"!=typeof e[t])throw Error("invalid byte ("+e[t]+":"+t+")");if(e.slice)return e.slice(0);for(t=0;t<e.length;t++)r.push(e[t]);return r},o=a,i=function(e,t,r,o,i){null===r&&(r=0),null===o&&(o=0),null===i&&(i=e.length);for(var n=o;n<i;n++)t[r]=e[n],r++},l={16:10,24:12,32:14},s=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],c=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],u=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],f=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],b=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],h=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],
35
35
  p=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],m=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],g=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],y=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],S=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],C=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],w=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],x=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function F(e){var t,r=[];for(t=0;t<e.length;t+=4)r.push(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]);return r}A=function(e){if(!(this instanceof A))throw Error(n);this.key=o(e),this.vl()},A.prototype.vl=function(){var e,t,r,o,i,n,a,d,u,f,b=l[this.key.length];if(null===b)throw Error("invalid key size (must be 16, 24 or 32 bytes)");for(this.wl=[],this.xl=[],e=0;e<=b;e++)this.wl.push([0,0,0,0]),this.xl.push([0,0,0,0]);for(t=4*(b+1),r=this.key.length/4,o=F(this.key),e=0;e<r;e++)i=e>>2,this.wl[i][e%4]=o[e],this.xl[b-i][e%4]=o[e];for(n=0,a=r;a<t;){if(d=o[r-1],o[0]^=c[d>>16&255]<<24^c[d>>8&255]<<16^c[255&d]<<8^c[d>>24&255]^s[n]<<24,n+=1,8!==r)for(e=1;e<r;e++)o[e]^=o[e-1];else{for(e=1;e<r/2;e++)o[e]^=o[e-1];for(d=o[r/2-1],o[r/2]^=c[255&d]^c[d>>8&255]<<8^c[d>>16&255]<<16^c[d>>24&255]<<24,e=r/2+1;e<r;e++)o[e]^=o[e-1]}for(e=0,u=void 0,f=void 0;e<r&&a<t;)u=a>>2,f=a%4,this.wl[u][f]=o[e],this.xl[b-u][f]=o[e],e++,a++}for(u=1;u<b;u++)for(f=0;f<4;f++)d=this.xl[u][f],this.xl[u][f]=S[d>>24&255]^C[d>>16&255]^w[d>>8&255]^x[255&d]},A.prototype.encrypt=function(e){var t,r,i,n,a,l,s;if(16!==e.length)throw Error("invalid plaintext size (must be 16 bytes)");for(t=this.wl.length-1,r=[0,0,0,0],i=F(e),n=0;n<4;n++)i[n]^=this.wl[0][n];for(a=1;a<t;a++){for(n=0;n<4;n++)r[n]=u[i[n]>>24&255]^f[i[(n+1)%4]>>16&255]^b[i[(n+2)%4]>>8&255]^h[255&i[(n+3)%4]]^this.wl[a][n];i=r.slice(0)}for(l=o(16),n=0;n<4;n++)s=this.wl[t][n],l[4*n]=255&(c[i[n]>>24&255]^s>>24),l[4*n+1]=255&(c[i[(n+1)%4]>>16&255]^s>>16),l[4*n+2]=255&(c[i[(n+2)%4]>>8&255]^s>>8),l[4*n+3]=255&(c[255&i[(n+3)%4]]^s);return l},A.prototype.decrypt=function(e){var t,r,i,n,a,l,s;if(16!==e.length)throw Error("invalid ciphertext size (must be 16 bytes)");for(t=this.xl.length-1,r=[0,0,0,0],i=F(e),n=0;n<4;n++)i[n]^=this.xl[0][n];for(a=1;a<t;a++){for(n=0;n<4;n++)r[n]=p[i[n]>>24&255]^m[i[(n+3)%4]>>16&255]^g[i[(n+2)%4]>>8&255]^y[255&i[(n+1)%4]]^this.xl[a][n];i=r.slice(0)}for(l=o(16),n=0;n<4;n++)s=this.xl[t][n],l[4*n]=255&(d[i[n]>>24&255]^s>>24),l[4*n+1]=255&(d[i[(n+3)%4]>>16&255]^s>>16),l[4*n+2]=255&(d[i[(n+2)%4]>>8&255]^s>>8),l[4*n+3]=255&(d[255&i[(n+1)%4]]^s);return l},T=function(e){if(!(this instanceof T))throw Error(n);this.description="Electronic Code Block",this.name="ecb",this.yl=new A(e)},T.prototype.encrypt=function(e){var t,r,n;if(e.length%16!==0)throw Error("invalid plaintext size (must be multiple of 16 bytes)");for(t=o(e.length),r=o(16),n=0;n<e.length;n+=16)i(e,r,0,n,n+16),r=this.yl.encrypt(r),i(r,t,n,0,16);return t},T.prototype.decrypt=function(e){var t,r,n;if(e.length%16!==0)throw Error("invalid ciphertext size (must be multiple of 16 bytes)");for(t=o(e.length),r=o(16),n=0;n<e.length;n+=16)i(e,r,0,n,n+16),r=this.yl.decrypt(r),i(r,t,n,0,16);return t},v=function(e,t){if(!(this instanceof v))throw Error(n);if(this.description="Cipher Block Chaining",this.name="cbc",t){if(16!==t.length)throw Error("invalid initialation vector size (must be 16 bytes)")}else t=o([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);this.zl=o(t),this.yl=new A(e)},v.prototype.encrypt=function(e){var t,r,n,a;if(e.length%16!==0)throw Error("invalid plaintext size (must be multiple of 16 bytes)");for(t=o(e.length),r=o(16),n=0;n<e.length;n+=16){for(i(e,r,0,n,n+16),a=0;a<16;a++)r[a]^=this.zl[a];this.zl=this.yl.encrypt(r),i(this.zl,t,n,0,16)}return t},v.prototype.decrypt=function(e){var t,r,n,a;if(e.length%16!==0)throw Error("invalid ciphertext size (must be multiple of 16 bytes)");for(t=o(e.length),r=o(16),n=0;n<e.length;n+=16){for(i(e,r,0,n,n+16),r=this.yl.decrypt(r),a=0;a<16;a++)t[n+a]=r[a]^this.zl[a];i(e,this.zl,0,n,n+16)}return t},k={ecb:T,cbc:v},t.aesJS={AES:A,ModeOfOperation:k,util:{Al:a}}},"./src/xlsx-io/password/aesEngine.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/xlsx-io/password/aes.ts"),a=r("./src/xml-io/node-helper.ts"),l=r("./src/xlsx-io/password/sha512.js"),s=r("./src/xlsx-io/password/sha1.js"),c=a.XmlNodeHelper.He,d={Begin:0,Current:1,End:2};function b(e){var t,r=o.K(),i=r&&r.atob&&r.atob(e),n=i?i.length:0,a=new Uint8Array(n);for(t=0;t<n;t++)a[t]=i.charCodeAt(t);return a}function h(e,t,r,o,i){var n,a=o;for(n=t;n<t+i;n++)r[a]=e[n],a++}function p(e){var t,r,o=[];for(t=0;t<e.length;++t)r=e.charCodeAt(t),o=o.concat([255&r,parseInt(r/256,10)>>>0]);return o}function m(e,t){var r=[];do e--,r[e]=255&t,t>>=8;while(e);return r.reverse()}function g(e){var t,r,o=[];for(r=0;r<e.length;++r)t=e.charCodeAt(r),o.push(255&t),o.push((65280&t)>>8);return o}function y(e,t,r){var o,i,n=l;for("SHA1"===r&&(n=s),o=[],i=0;i<e.length;i++)o.push(e[i]);return n.hash(o.concat(t))}function S(e,t,r){r===d.Begin?e.Bl=t:r===d.Current?e.Bl+=t:r===d.End&&(e.Bl=e.length+t)}function C(e){var t=function(t){var r=0;return o.BufferHelper.ia(e,e.Bl,e.Bl+t).reverse().forEach(function(e){r=256*r+e}),e.Bl+=t,r},r=function(t){var r=0;return o.BufferHelper.ia(e,e.Bl,e.Bl+t).reverse().forEach(function(e){r=(r<<8)+e}),e.Bl+=t,r},i=function(t){var r=o.BufferHelper.ia(e,e.Bl,e.Bl+t);return e.Bl+=t,r};return{readUInt64:function(){return t(8)},readInt64:function(){return r(8)},readInt32:function(){return r(4)},readUInt32:function(){return t(4)},readInt16:function(){return r(2)},readUInt16:function(){return r(2)},readByte:function(){return i(1)},readBytes:function(e){return i(e)},readChars:function(e){var t=i(e),r=[];return t.forEach(function(e){r.push(String.fromCharCode(e))}),r},seek:function(t,r){S(e,t,r)}}}function w(e){var t=function(t,r){var o,i=m(t,r),n=e.Bl;for(o=0;o<i.length;o++)e[o+n]=i[o];e.Bl=n+t};return{writeBytes:function(t){var r,o=e.Bl;for(r=0;r<t.length;r++)e[r+o]=t[r];e.Bl=o+t.length},writeByte:function(e){this.writeBytes([e])},writeUshort:function(e){t(2,e)},writeShort:function(e){t(2,e)},writeInt:function(e){t(4,e)},writeUint:function(e){t(4,e)},writeLong:function(e){t(8,e)},seek:function(t,r){S(e,t,r)},getView:function(){return e}}}function x(e,t,r){var o,i,n=[];for(o=0;o<e;o++)for(n[o]=n[o]||[],i=0;i<t;i++)r?n[o][i]=r:n[o][i]=0;return n}function A(){return[[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118],[202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192],[183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21],[4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117],[9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132],[83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207],[208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168],[81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210],[205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115],[96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219],[224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121],[231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8],[186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138],[112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158],[225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223],[140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]]}function T(){return[[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251],[124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203],[84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78],[8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37],[114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146],[108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132],[144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6],[208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107],[58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115],[150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110],[71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27],[252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244],[31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95],[96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239],[160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97],[23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]]}function v(){return[[0,0,0,0],[1,0,0,0],[2,0,0,0],[4,0,0,0],[8,0,0,0],[16,0,0,0],[32,0,0,0],[64,0,0,0],[128,0,0,0],[27,0,0,0],[54,0,0,0]]}function k(e,t,r,o,i,n){var a,l,s,c=x(e*(t+1),4,0);for(a=0;a<r;++a)c[a][0]=o[4*a],c[a][1]=o[4*a+1],c[a][2]=o[4*a+2],c[a][3]=o[4*a+3];for(l=[],a=r;a<e*(t+1);++a)l[0]=c[a-1][0],l[1]=c[a-1][1],l[2]=c[a-1][2],l[3]=c[a-1][3],a%r===0?(l=F(R(l),n),s=i[parseInt(a/r,10)],l[0]=(l[0]^s[0])%256,l[1]=(l[1]^s[1])%256,l[2]=(l[2]^s[2])%256,l[3]=(l[3]^s[3])%256):r>6&&a%r===4&&(l=F(l)),c[a][0]=(c[a-r][0]^l[0])%256,c[a][1]=(c[a-r][1]^l[1])%256,c[a][2]=(c[a-r][2]^l[2])%256,c[a][3]=(c[a-r][3]^l[3])%256;return c}function F(e,t){var r=[];return r[0]=t[e[0]>>4][15&e[0]],r[1]=t[e[1]>>4][15&e[1]],r[2]=t[e[2]>>4][15&e[2]],r[3]=t[e[3]>>4][15&e[3]],r}function R(e){var t=[];return t[0]=e[1],t[1]=e[2],t[2]=e[3],t[3]=e[0],t}function E(e){return e}function I(e){return e<128?(e<<1)%256:(e<<1^27)%256}function L(e){return(I(e)^e)%256}function D(e){return(I(I(I(e)))^e)%256}function B(e){return(I(I(I(e)))^I(e)^e)%256}function P(e){return(I(I(I(e)))^I(I(e))^e)%256}function W(e){return(I(I(I(e)))^I(I(e))^I(e))%256}function _(e){var t,r,o=[];for(t=0;t<128;t++)o[t]=0;return o.Bl=0,r=w(o),r.writeBytes(p("Root Entry")),r.seek(64,d.Begin),r.writeShort(22),r.writeByte(5),r.writeByte(0),r.writeInt(-1),r.writeInt(-1),r.writeInt(1),r.seek(100,d.Begin),r.writeInt(0),r.writeInt(0),r.writeInt(0),r.writeInt(0),r.writeInt(e),r.writeInt(832),r.getView()}function N(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeBytes(p("EncryptionInfo")),t.seek(64,d.Begin),t.writeShort(30),t.writeByte(2),t.writeByte(1),t.writeInt(3),t.writeInt(2),t.writeInt(-1),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(248),t.getView()}function M(e,t){var r,o,i=[];for(r=0;r<128;r++)i[r]=0;return i.Bl=0,o=w(i),o.writeBytes(p("EncryptedPackage")),o.seek(64,d.Begin),o.writeShort(34),o.writeByte(2),o.writeByte(0),o.writeInt(-1),o.writeInt(-1),o.writeInt(-1),o.seek(100,d.Begin),o.writeInt(0),o.writeInt(0),
36
36
  o.writeInt(0),o.writeInt(0),o.writeInt(e),o.writeInt(t),o.getView()}function O(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeShort(6),t.writeBytes(p("DataSpaces")),t.seek(64,d.Begin),t.writeShort(24),t.writeByte(1),t.writeByte(0),t.writeInt(-1),t.writeInt(-1),t.writeInt(5),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.getView()}function H(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeBytes(p("Version")),t.seek(64,d.Begin),t.writeShort(16),t.writeByte(2),t.writeByte(1),t.writeInt(-1),t.writeInt(-1),t.writeInt(-1),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(4),t.writeInt(76),t.getView()}function G(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeBytes(p("DataSpaceMap")),t.seek(64,d.Begin),t.writeShort(26),t.writeByte(2),t.writeByte(1),t.writeInt(4),t.writeInt(6),t.writeInt(-1),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(6),t.writeInt(112),t.getView()}function U(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeBytes(p("DataSpaceInfo")),t.seek(64,d.Begin),t.writeShort(28),t.writeByte(1),t.writeByte(1),t.writeInt(-1),t.writeInt(8),t.writeInt(7),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.getView()}function J(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeBytes(p("StrongEncryptionDataSpace")),t.seek(64,d.Begin),t.writeShort(52),t.writeByte(2),t.writeByte(1),t.writeInt(-1),t.writeInt(-1),t.writeInt(-1),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(8),t.writeInt(64),t.getView()}function z(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeBytes(p("TransformInfo")),t.seek(64,d.Begin),t.writeShort(28),t.writeByte(1),t.writeByte(0),t.writeInt(-1),t.writeInt(-1),t.writeInt(9),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.getView()}function V(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeBytes(p("StrongEncryptionTransform")),t.seek(64,d.Begin),t.writeShort(52),t.writeByte(1),t.writeByte(1),t.writeInt(-1),t.writeInt(-1),t.writeInt(10),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.getView()}function j(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.writeShort(6),t.writeBytes(p("Primary")),t.seek(64,d.Begin),t.writeShort(18),t.writeByte(2),t.writeByte(1),t.writeInt(-1),t.writeInt(-1),t.writeInt(-1),t.seek(100,d.Begin),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(0),t.writeInt(9),t.writeInt(208),t.getView()}function X(){var e,t,r=[];for(e=0;e<128;e++)r[e]=0;return r.Bl=0,t=w(r),t.seek(64,d.Begin),t.writeShort(0),t.writeShort(0),t.writeInt(-1),t.writeInt(-1),t.writeInt(-1),t.getView()}function K(e,t,r){var o,i,n,a,l,s,c,d,u,f,b,h,p,m=[];return m.Bl=0,o=w(m),r<0&&(r=0),i=_(t),o.writeBytes(i),n=N(),o.writeBytes(n),a=M(e,r),o.writeBytes(a),l=O(),o.writeBytes(l),s=H(),o.writeBytes(s),c=G(),o.writeBytes(c),d=U(),o.writeBytes(d),u=J(),o.writeBytes(u),f=z(),o.writeBytes(f),b=V(),o.writeBytes(b),h=j(),o.writeBytes(h),p=X(),o.writeBytes(p),o.getView()}function q(){var e,t=[];return t.Bl=0,e=w(t),e.writeInt(60),e.writeBytes(p("Microsoft.Container.DataSpaces")),e.writeInt(1),e.writeInt(1),e.writeInt(1),e.getView()}function Y(){var e,t=[];return t.Bl=0,e=w(t),e.writeUint(8),e.writeUint(1),e.writeUint(104),e.writeUint(1),e.writeUint(0),e.writeUint(32),e.writeBytes(p("EncryptedPackage")),e.writeUint(50),e.writeBytes(p("StrongEncryptionDataSpace")),e.writeShort(0),e.getView()}function Q(){var e,t=[];return t.Bl=0,e=w(t),e.writeUint(8),e.writeUint(1),e.writeUint(50),e.writeBytes(p("StrongEncryptionTransform")),e.writeShort(0),e.getView()}function Z(){var e,t=[];return t.Bl=0,e=w(t),e.writeUint(108),e.writeUint(1),e.writeInt(76),e.writeBytes(p("{FF9A3F03-56EF-4613-BDD5-5A41C1D07246}")),e.writeInt(78),e.writeBytes(p("Microsoft.Container.EncryptionTransform")),e.writeShort(0),e.writeInt(1),e.writeInt(1),e.writeInt(1),e.writeInt(7),e.writeBytes(p("AES128")),e.writeByte(0),e.writeInt(16),e.writeInt(0),e.writeInt(4),e.getView()}function $(e,t){var r,o,i,n,a,l,s,c,u,f,b,p,m,g,y,S,C=[];for(C.Bl=0,r=w(C),o=0,i=Array(256),null!==e&&h(e,0,i,0,e.length),r.writeBytes(i),n=parseInt(i.length/64,10),i.length%64>0&&n++,a=1;a<n;a++)t.push(a);for(t.push(-2),o+=n,l=Array(128),s=q(),h(s,0,l,0,s.length),r.writeBytes(l),c=parseInt(l.length/64,10),l.length%64>0&&c++,a=1;a<c;a++)t.push(a+o);for(t.push(-2),o+=c,u=Array(128),f=Y(),h(f,0,u,0,f.length),r.writeBytes(u),b=parseInt(u.length/64,10),u.length%64>0&&b++,a=1;a<b;a++)t.push(a+o);for(t.push(-2),o+=b,p=Q(),r.writeBytes(p),m=parseInt(p.length/64,10),p.length%64>0&&m++,a=1;a<m;a++)t.push(a+o);for(t.push(-2),o+=m,g=Array(448),y=Z(),h(y,0,g,0,y.length),r.writeBytes(g),S=parseInt(y.length/64,10),y.length%64>0&&S++,a=1;a<S;a++)t.push(a+o);if(t.push(-2),t.length<128)for(a=t.length;a<128;a++)t.push(-1);return r.seek(0,d.Begin),r.getView()}function ee(e,t,r){var o,i;for(o=0;o<4;++o)for(i=0;i<4;++i)t[o][i]=(t[o][i]^r[4*e+i][o])%256;return t}function te(e,t){var r,o,i=x(4,4,0);for(r=0;r<4;++r)for(o=0;o<4;++o)i[r][o]=e[r][o];for(r=1;r<4;++r)for(o=0;o<4;++o)e[r][o]=i[r][(o+r)%t];return e}function re(e){var t,r,o=x(4,4,0);for(t=0;t<4;++t)for(r=0;r<4;++r)o[t][r]=e[t][r];for(r=0;r<4;++r)e[0][r]=(I(o[0][r])^L(o[1][r])^E(o[2][r])^E(o[3][r]))%256,e[1][r]=(E(o[0][r])^I(o[1][r])^L(o[2][r])^E(o[3][r]))%256,e[2][r]=(E(o[0][r])^E(o[1][r])^I(o[2][r])^L(o[3][r]))%256,e[3][r]=(L(o[0][r])^E(o[1][r])^E(o[2][r])^I(o[3][r]))%256;return e}function oe(e,t){var r,o;for(r=0;r<4;++r)for(o=0;o<4;++o)e[r][o]=t[e[r][o]>>4][15&e[r][o]];return e}u={Bits128:"Bits128",Bits192:"Bits192",Bits256:"Bits256"},f=function(){function e(){this.salt=Array(16),this.pwdVerifier=Array(16),this.pwdVerifierHash=Array(32),this.blockLen=16,this.Cl=!1,this.hashAlgorithm="SHA1",this.cipherChaining="ChainingModeCBC",this.cipherAlgorithm="AES",this.iterator=1e5,this.blockSize=16,this.keyBits=128,this.saltSize=16,this.hashSize=20,this.encryptedKeyValueBlockKey=[20,110,11,231,171,172,208,214],this.encryptedVerifierHashInputBlockKey=[254,167,210,118,59,75,158,121],this.encryptedVerifierHashValueBlockKey=[215,170,15,109,48,97,52,78]}return e.prototype.Dl=function(e){var t,r,o,n,a,l,s,f,h,p,m,g,y,S,w,x,A,T,v,k;return e.Bl=0,t=C(e),r=t.readInt16(),o=t.readInt16(),3!==r&&4!==r||2!==o?4===r&&4===o&&(s=t.readUInt32(),64===s&&(f=t.readBytes(e.length-8),null!==f))&&(h=i.parseXmlToObject(String.fromCharCode.apply(null,f)),p={},m=h.encryption,g=[],y=m.keyData,S={},S.SaltSize=y._attr.saltSize?y._attr.saltSize:16,S.BlockSize=y._attr.blockSize?y._attr.blockSize:16,S.KeyBits=y._attr.keyBits?y._attr.keyBits:128,S.HashSize=y._attr.hashSize?y._attr.hashSize:20,S.CipherAlgorithm=y._attr.cipherAlgorithm?y._attr.cipherAlgorithm:"AES",S.CipherChaining=y._attr.cipherChaining?y._attr.cipherChaining:"ChainingModeCBC",S.HashAlgorithm=y._attr.hashAlgorithm?y._attr.hashAlgorithm:"SHA1",S.SaltValue=b(y._attr.saltValue),p.KeyData=S,w=m.dataIntegrity,x={},x.EncryptedHmacKey=w._attr.encryptedHmacKey,x.EncryptedHmacValue=w._attr.encryptedHmacValue,p.DataIntegrity=x,A=m.keyEncryptors,T={},T.Uri=A._attr.uri?A._attr.uri:"http://schemas.microsoft.com/office/2006/keyEncryptor/password",T.Any={},v=c(A.keyEncryptor),v&&v.length&&v.forEach(function(e){var t=e["p:encryptedKey"];T.Any.SpinCount=t._attr.spinCount?t._attr.spinCount:1e5,T.Any.SaltSize=t._attr.saltSize?t._attr.saltSize:16,T.Any.BlockSize=t._attr.blockSize?t._attr.blockSize:16,T.Any.KeyBits=t._attr.keyBits?t._attr.keyBits:128,T.Any.HashSize=t._attr.hashSize?t._attr.hashSize:20,T.Any.CipherAlgorithm=t._attr.cipherAlgorithm?t._attr.cipherAlgorithm:"AES",T.Any.CipherChaining=t._attr.cipherChaining?t._attr.cipherChaining:"ChainingModeCBC",T.Any.HashAlgorithm=t._attr.hashAlgorithm?t._attr.hashAlgorithm:"SHA1",T.Any.SaltValue=b(t._attr.saltValue),T.Any.EncryptedVerifierHashInput=b(t._attr.encryptedVerifierHashInput),T.Any.EncryptedVerifierHashValue=b(t._attr.encryptedVerifierHashValue),T.Any.EncryptedKeyValue=b(t._attr.encryptedKeyValue),g.push(T),p.KeyEncryptors=g}),k=p.KeyEncryptors[0].Any,this.iterator=parseInt(k.SpinCount,10),this.blockSize=k.BlockSize,this.saltSize=k.SaltSize,this.hashSize=k.HashSize,this.keyBits=k.KeyBits,this.hashAlgorithm=k.HashAlgorithm,this.cipherAlgorithm=k.CipherAlgorithm,this.cipherChaining=k.CipherChaining,this.encryptedKeyValue=k.EncryptedKeyValue,this.encryptedVerifierHashInput=k.EncryptedVerifierHashInput,this.encryptedVerifierHashValue=k.EncryptedVerifierHashValue,this.salt=k.SaltValue,this.saltForIV=p.KeyData.SaltValue,this.Cl=!0,"AES"===this.cipherAlgorithm):(t.seek(8,d.Begin),n=t.readUInt32()+12,t.seek(28,d.Begin),a=t.readInt32(),128===a?this.keySize=u.Bits128:192===a?this.keySize=u.Bits192:256===a&&(this.keySize=u.Bits256),t.seek(n,d.Begin),l=t.readInt32(),n+=4,t.seek(n,d.Begin),this.salt=t.readBytes(l),n+=l,t.seek(n,d.Begin),this.pwdVerifier=t.readBytes(l),n+=l,t.seek(n,d.Begin),t.readInt32(),n+=4,t.seek(n,d.Begin),this.pwdVerifierHash=t.readBytes(2*l),!0)},e.prototype.El=function(e){var t,r,o,i,n,a,c;for(this.userPassWord=e,t=this.Fl(this.salt,null,this.blockSize),r=this.Gl(e,this.encryptedVerifierHashInputBlockKey,this.salt),o=this.Hl(this.saltSize,r,this.encryptedVerifierHashInput,t),o="SHA1"===this.hashAlgorithm?s.hash(o):l.hash(o),i=Array(this.saltSize),h(o,0,i,0,this.saltSize),r=this.Gl(e,this.encryptedVerifierHashValueBlockKey,this.salt),n=this.Il(i,r,t),a=this.encryptedVerifierHashValue.length,a>n.length&&(a=n.length),c=0;c<a;c++)if(n[c]!==this.encryptedVerifierHashValue[c])return!1;return!0},e.prototype.Il=function(e,t,r){var o=new n.aesJS.ModeOfOperation.cbc(t,r);return o.encrypt(e)},e.prototype.Hl=function(e,t,r,i){var a,l,s,c,d,u=null,f=[],b=0,p=4096,g=parseInt(r.length/p,10);for(s=0;s<g;s++)l=i?i:this.Fl(this.saltForIV,m(4,s),this.blockSize),c=new n.aesJS.ModeOfOperation.cbc(t,l),a=c.decrypt(o.BufferHelper.ia(r,b,b+p)),h(a,0,f,b,p),b+=p;return d=r.length%p,d>0&&(l=i?i:this.Fl(this.saltForIV,m(4,g),this.blockSize),c=new n.aesJS.ModeOfOperation.cbc(t,l),a=c.decrypt(o.BufferHelper.ia(r,b,b+d)),h(a,0,f,b,d)),u=Array(e),h(f,0,u,0,e),u},e.prototype.Fl=function(e,t,r){var o,i,n,a=e;for(null!==t&&(a=y(a,t,this.hashAlgorithm)),r=+r,o=new Uint8Array(r),i=a.length,h(a,0,o,0,Math.min(r,i)),n=i;n<r;n++)o[n]=54;return o},e.prototype.Gl=function(e,t,r){var o,i,n,a,l,s,c,d=g(e),u=y(r,d,this.hashAlgorithm);for(o=0;o<this.iterator;o++)i=m(4,o),u=y(i,u,this.hashAlgorithm);for(u=y(u,t,this.hashAlgorithm),n=this.keyBits/8,a=[],l=u.length,s=Math.min(l,n),c=0;c<s;c++)a[c]=u[c];for(o=l;o<n;o++)a[o]=54;return a},e.prototype.Jl=function(e){var t,r,o,i,n={success:!1};return null===e?n:(e.Bl=0,t=C(e),r=t.readUInt64(),o=t.readBytes(e.length-8),this.Kl(this.userPassWord),i=this.Hl(r,this.key,o,null),null!==i&&(n.data=i,n.success=!0),n)},e.prototype.Kl=function(e){var t=this.Gl(e,this.encryptedKeyValueBlockKey,this.salt),r=this.Fl(this.salt,null,this.blockSize),o=this.keyBits/8;this.key=this.Hl(o,t,this.encryptedKeyValue,r)},e.prototype.Ll=function(e){var t,r,o,i,a,l,s;return!!e&&(e.Bl=0,t=C(e),r=t.readInt64(),o=t.readBytes(e.length-8),i=null,a=new n.aesJS.ModeOfOperation.ecb(this.key),l=a.decrypt(o),s=Array(r),l?h(l,0,s,0,s.length):h(i,0,s,0,s.length),{success:!0,data:s})},e.prototype.Ml=function(e,t,r){var o,i,n,a,l=p(e),c=y(t,l,r);for(o=0;o<5e4;o++)i=m(4,o),c=y(i,c,r);for(c=y(c,m(4,0),r),n=[],o=0;o<64;o++)n[o]=54;for(o=0;o<c.length;o++)n[o]^=c[o];return c=s.hash(n),a=[],h(c,0,a,0,16),a},e.prototype.Nl=function(e){var t,r,o;if(e&&!(e.length>256))return t=[],t.Bl=0,r=w(t),r.writeUshort(3),r.writeUshort(2),r.writeInt(36),r.writeUint(164),r.writeInt(36),r.writeInt(0),r.writeInt(26126),r.writeInt(32772),r.writeUint(128),r.writeInt(24),r.writeLong(0),o="Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)",r.writeBytes(p(o)),r.writeShort(0),r.writeInt(16),this.Ol(e),this.Pl()&&(r.writeBytes(this.salt),r.writeBytes(this.pwdVerifier),r.writeUint(20),r.writeBytes(this.pwdVerifierHash)),r.seek(0,d.Begin),r.getView()},e.prototype.Ol=function(e){var t,r,o=[],i=[];for(t=0;t<this.blockLen;t++)o[t]=parseInt(255*Math.random(),10),i[t]=parseInt(255*Math.random(),10);return this.salt=o,this.key=this.Ml(e,this.salt,this.hashAlgorithm),this.Ql(u.Bits128,this.key),r=s.hash(i),this.pwdVerifier=this.Rl(i),this.pwdVerifierHash=this.Rl(r),!0},e.prototype.Ql=function(e,t){this.Nb=4,e===u.Bits128?(this.Nk=4,this.Nr=10):e===u.Bits192?(this.Nk=6,this.Nr=12):e===u.Bits256&&(this.Nk=8,this.Nr=14),this.key=[].concat(t),this.Sbox=A(),this.iSbox=T(),this.Rcon=v(),this.w=k(this.Nb,this.Nr,this.Nk,this.key,this.Rcon,this.Sbox)},e.prototype.Rl=function(e){var t,r,o,i,n=e.length,a=e.length%this.blockLen;for(0!==a&&(n+=this.blockLen-a),t=[],h(e,0,t,0,e.length),r=[],o=[],i=0;i<n;i+=this.blockLen)h(t,i,r,0,this.blockLen),this.Sl(r,o),h(o,0,t,i,this.blockLen);return t},e.prototype.Sl=function(e,t){var r,o;for(this.State=x(4,this.Nb),r=0;r<4*this.Nb;++r)this.State[r%4][parseInt(r/4,10)]=e[r];for(this.State=ee(0,this.State,this.w),o=1;o<=this.Nr-1;++o)this.State=oe(this.State,this.Sbox),this.State=te(this.State,this.Nb),this.State=re(this.State),this.State=ee(o,this.State,this.w);for(this.State=oe(this.State,this.Sbox),this.State=te(this.State,this.Nb),this.State=ee(this.Nr,this.State,this.w),r=0;r<4*this.Nb;++r)t[r]=this.State[r%4][parseInt(r/4,10)]},e.prototype.Pl=function(){var e,t=s,r=this.Tl(this.pwdVerifier),o=this.Tl(this.pwdVerifierHash);for(r=t.hash(r),e=0;e<r.length;e++)if(r[e]!==o[e])return!1;return!0},e.prototype.Tl=function(e){var t,r,o,i,n,a;if(null===e)return null;if(t=e.length,e.length%this.blockLen===0&&!(t>e.length)){for(r=[],o=[],i=[],n=0;n<e.length;n+=this.blockLen)h(e,n,o,0,this.blockLen),this.Ul(o,i),a=n+this.blockLen-t,h(i,0,r,n,a>0?this.blockLen-a:this.blockLen);return r}},e.prototype.Ul=function(e,t){var r,o;for(this.State=x(4,this.Nb),r=0;r<4*this.Nb;++r)this.State[r%4][parseInt(r/4,10)]=e[r];for(this.State=ee(this.Nr,this.State,this.w),o=this.Nr-1;o>=1;--o)this.Vl(),this.Wl(),this.State=ee(o,this.State,this.w),this.Xl();for(this.Vl(),this.Wl(),this.State=ee(0,this.State,this.w),r=0;r<4*this.Nb;++r)t[r]=this.State[r%4][parseInt(r/4,10)]},e.prototype.Vl=function(){var e,t,r=x(4,4);for(e=0;e<4;++e)for(t=0;t<4;++t)r[e][t]=this.State[e][t];for(e=1;e<4;++e)for(t=0;t<4;++t)this.State[e][(t+e)%this.Nb]=r[e][t]},e.prototype.Wl=function(){var e,t;for(e=0;e<4;++e)for(t=0;t<4;++t)this.State[e][t]=this.iSbox[this.State[e][t]>>4][15&this.State[e][t]]},e.prototype.Xl=function(){var e,t,r=x(4,4);for(e=0;e<4;++e)for(t=0;t<4;++t)r[e][t]=this.State[e][t];for(t=0;t<4;++t)this.State[0][t]=(W(r[0][t])^B(r[1][t])^P(r[2][t])^D(r[3][t]))%256,this.State[1][t]=(D(r[0][t])^W(r[1][t])^B(r[2][t])^P(r[3][t]))%256,this.State[2][t]=(P(r[0][t])^D(r[1][t])^W(r[2][t])^B(r[3][t]))%256,this.State[3][t]=(B(r[0][t])^P(r[1][t])^D(r[2][t])^W(r[3][t]))%256},e.prototype.Yl=function(e){var t,r,o,i,n,a=new Uint8Array(e);return a.Bl=0,t=C(a),r=a.length,o=t.readBytes(r),i=this.Rl(o),n=[],h(m(8,r),0,n,0,8),h(i,0,n,8,i.length),t.seek(0,d.Begin),n},e.prototype.Zl=function(e,t){var r,o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,x,A,T,v,k,F,R,E=[];for(E.Bl=0,r=w(E),o=0,i=3,n=2,a=1,l=[],s=[],c=[],d=Math.max(t.length,4096),u=parseInt(t.length/512,10),t.length%512>0&&u++,f=i+n+a,b=4*(u+f),h=parseInt(b/512,10),b%512>0&&h++,p=0,m=!0;m;)g=0,y=0,m=!1,b=4*(u+f+h+p),g=parseInt(b/512,10),b%512>0&&g++,g>h?(h=g,m=!0):h>109&&(S=4*(h-109),y=parseInt(S/512,10),C=S%512,C>0&&y++,C+4*y>512&&y++,y>p&&(p=y,m=!0));if(p>0)for(x=128*p+109,A=0;o<x;o++)o<h?(T=o-109,T>0&&T%128===0&&(A++,l.push(A)),l.push(o+p)):l.push(-1);else for(;o<109;o++)o<h?l.push(o):l.push(-1);if(v=0,h>0){for(o=1;o<=p;o++)s.push(-4);for(v=p,o=1;o<=h;o++)s.push(-3);for(v+=h,o=1;o<a;o++)s.push(o);for(s.push(-2),v+=a,o=1;o<i;o++)s.push(o+v);for(s.push(-2),v+=i,o=1;o<n;o++)s.push(o+v);for(s.push(-2),v+=n,o=1;o<u;o++)s.push(o+v);s.push(-2)}for(r.writeInt(3759263696),r.writeInt(3776623009),r.writeLong(0),r.writeLong(0),r.writeShort(62),r.writeShort(3),r.writeShort(-2),r.writeShort(9),r.writeInt(6),r.writeInt(0),r.writeInt(0),r.writeInt(h),r.writeInt(p+h+a),r.writeInt(0),r.writeInt(4096),r.writeInt(h+p),r.writeInt(a),p>0?(r.writeInt(0),r.writeInt(p)):(r.writeInt(-2),r.writeInt(0)),l.forEach(function(e){r.writeInt(e)}),k=0;k<128*h;k++)k<s.length?r.writeInt(s[k]):r.writeInt(-1);return F=$(e,c),c.forEach(function(e){r.writeInt(e)}),R=K(v,v-n,d),r.writeBytes(R),r.writeBytes(F),r.writeBytes(t),{success:!0,data:r.getView()}},e}(),t.AesEngine=f},"./src/xlsx-io/password/compoundFile.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i={Unknown:0,Storage:1,Stream:2,RootStorage:5},n={Red:0,Black:1},a=0xe11ab1a1e011d000,l=-2,s=128,c=-6,d=-1,u="Root Entry",f=-1,b=512,h=109,p=512,m=64;function x(e){var t,r,o,i={StartSectorIndex:0,SectorCount:0},n=[];for(t=0;t<e.length;t++)r=0===i.SectorCount,r?(i.StartSectorIndex=e[t],i.SectorCount=1):(o=e[t]===i.SectorCount+i.StartSectorIndex,o?i.SectorCount+=1:(n.push(i),i.SectorCount=0,t--));return n.push(i),n}g=function(){this.$l=Array(32),this._l=0,this.am=5,this.bm=f,this.cm=f,this.dm=f,this.em=d,this.fm=0,this.gm=[]},g.prototype={getName:function(){var e="";for(this.$l.forEach(function(t){var r=t.indexOf("\0");e+=r!==-1?t.substring(0,r):t});e.length>0&&0===e[e.length-1];)e=e.substring(0,e.length-2);return e},setName:function(e){for(var t=0;t<this.$l.length&&t<e.length;t++)this.$l[t]=e[t];this._l=Math.min(2*this.$l.length,2*(e.length+1))},read:function(e){switch(this.$l=e.readChars(this.$l.length),this._l=e.readInt16(),this.getName()){case"R":this.setName(u);break;case"Book":this.setName("Workbook")}this.am=e.readByte()[0],e.readByte(),this.bm=e.readInt32(),this.cm=e.readInt32(),this.dm=e.readInt32(),e.readInt32(),e.readInt32(),e.readInt32(),e.readInt32(),e.readInt32(),e.readInt64(),e.readInt64(),this.em=e.readInt32(),this.fm=e.readInt32(),e.readInt32()}},y=function(){function e(){this.hm=a,this.im=62,this.jm=3,this.km=65534,this.mm=9,this.nm=6,this.om=0,this.pm=0,this.qm=0,this.rm=0,this.tm=0,this.um=0,this.vm=4096,this.wm=l,this.xm=0,this.ym=l,this.zm=0,this.Am=[]}return e.prototype.sectorSize=function(){return Math.pow(2,this.mm)},e.prototype.minisectorSize=function(){return Math.pow(2,this.nm)},e.prototype.read=function(e){var t,r;if(this.hm=e.readUInt64(),e.readInt32(),e.readInt32(),e.readInt32(),e.readInt32(),this.im=e.readUInt16(),this.jm=e.readUInt16(),this.jm>3)return!1;for(this.km=e.readUInt16(),this.mm=e.readInt16(),this.nm=e.readInt32(),this.om=e.readInt32(),this.pm=e.readInt16(),this.qm=e.readInt16(),this.rm=e.readInt32(),this.tm=e.readInt32(),this.um=e.readInt32(),this.vm=e.readInt32(),this.wm=e.readInt32(),this.xm=e.readInt32(),this.ym=e.readInt32(),this.zm=e.readInt32(),t=Math.min(this.rm,h),this.Am=[],r=0;r<t;r++)this.Am[r]=e.readInt32()},e}(),S=function(){function e(){this.Bm=[]}return e.prototype.length=function(){return this.Bm.length},e.prototype.getList=function(){return this.Bm},e.prototype.getSectorList=function(e){for(var t=[],r=e;r<=c||r>d;)t.push(r),r=this.Bm[r];return t},e.prototype.addRange=function(e){var t=this;e&&e.length&&e.forEach(function(e){t.Bm.push(e)})},e.prototype.read=function(e,t){for(var r=0;r<t;r++)this.Bm.push(e.readInt32())},e}(),C=function(){function e(){this.Cm=[]}return e.prototype.add=function(e){e.getName()===u?this.Cm.splice(0,0,e):this.Cm.push(e)},e.prototype.clear=function(){this.Cm=[]},e.prototype.length=function(){return this.Cm.length},e.prototype.entries=function(){return this.Cm},e.prototype.read=function(e,t){var r,o;for(r=0;r<t;r++)o=new g,o.read(e),this.Cm.push(o)},e}(),w=function(){function e(e){this.Bl=0,this.Dm=new y,this.Cm=new C,this.Em=new S,this.Fm=new S,this.Gm=new S;var t=new g;t.setName(u),t.am=i.Stream,t.Hm=n.Black,t.dm=f,e||(t.Im=(new Date).getTime(),t.Jm=(new Date).getTime()),t.bm=f,t.cm=f,t.dm=f,t.am=i.RootStorage,t.em=l,t.fm=0,t.Bytes=null,this.Cm.add(t)}return e.prototype.Km=function(e,t){var r,o,n,a;for(1===arguments.length&&(t=u),r=-1,o=0;o<this.Cm.length();o++)if(n=this.Cm.entries()[o],n.getName()===t&&(n.am===i.Storage||n.am===i.RootStorage)){r=o;break}if(r===-1)return null;if(this.Cm.entries()[r].dm===f)return null;for(a=[],a.push(this.Cm.entries()[r].dm),this.Lm(this.Cm.entries()[r].dm,a),o=0;o<a.length;o++)if(n=this.Cm.entries()[a[o]],n.getName()===e&&n.am===i.Stream)return n.gm;return null},e.prototype.Lm=function(e,t){this.Cm.entries()[e].bm!==f&&(t.push(this.Cm.entries()[e].bm),this.Lm(this.Cm.entries()[e].bm,t)),this.Cm.entries()[e].cm!==f&&(t.push(this.Cm.entries()[e].cm),this.Lm(this.Cm.entries()[e].cm,t))},e.prototype.Wk=function(e){this.view=e;var t=this.Mm();this.Nm(t),this.Om(t),this.Pm(t)},e.prototype.Nm=function(e){this.Dm.read(e),p=this.Dm.sectorSize(),m=this.Dm.minisectorSize()},e.prototype.Om=function(e){var t,r,o,i,n;for(this.Em.addRange(this.Dm.Am),t=this.Dm.rm-(this.Dm.Am?this.Dm.Am.length:0),r=this.Dm.ym,o=(p-4)/4;t>0;)this.Qm(r),this.Em.read(e,Math.min(o,t)),t-=Math.min(o,t),t>0&&(r=e.readInt32());for(i=0;i<this.Em.length();i++)this.Qm(this.Em.getList()[i]),this.Fm.read(e,p/4);for(n=this.Fm.getSectorList(this.Dm.wm),i=0;i<n.length;i++)this.Qm(n[i]),this.Gm.read(e,p/4)},e.prototype.Pm=function(e){var t,r,o,n,a;for(this.Cm.clear(),t=this.Dm.tm,r=this.Fm.getSectorList(t),o=0;o<r.length;o++)this.Qm(r[o]),this.Cm.read(e,p/s);if(n=this.Cm.entries()[0],n.getName()===u.replace(" ","")&&n.setName(u),n.getName()===u)for(o=1;o<this.Cm.length();o++)a=this.Cm.entries()[o],a.am===i.Stream&&(a.gm=this.Rm(a,e))},e.prototype.Rm=function(e,t){return null===e?null:e.fm<this.Dm.vm?this.Sm(e.em,e.fm,t):this.Tm(e.em,e.fm,t)},e.prototype.Sm=function(e,t,r){var o,i,n,a,l=[],s=this.Gm.getSectorList(e);for(o=0;o<s.length;o++)for(this.Um(s[o]),i=m,o===s.length-1&&t%m!==0&&(i=t%m),n=r.readBytes(i),a=0;a<n.length;a++)l.push(n[a]);return l},e.prototype.Qm=function(e){this.Bl=b+this.Dm.sectorSize()*e},e.prototype.Um=function(e){var t=p/m,r=Math.floor(e/t),o=this.Fm.getSectorList(this.Cm.entries()[0].em);this.Qm(o[r]),this.Bl+=e%t*m},e.prototype.Tm=function(e,t,r){var o,i,n,a,l=this.Fm.getSectorList(e),s=x(l),c=[];for(o=0;o<s.length;o++)for(this.Qm(s[o].StartSectorIndex),i=p*s[o].SectorCount,o===s.length-1&&t%p!==0&&(i-=p-t%p),i=Math.min(i,this.view.length-this.Bl),n=r.readBytes(i),a=0;a<n.length;a++)c.push(n[a]);return c},e.prototype.Mm=function(){var e=this,t=function(e){var t,r=[];for(t=0;t<e.length;t++)r[t]=e[e.length-t-1];return r},r=function(r){var i=0;return t(o.BufferHelper.ia(e.view,e.Bl,e.Bl+r)).forEach(function(e){i=256*i+e}),e.Bl+=r,i},i=function(r){var i=0;return t(o.BufferHelper.ia(e.view,e.Bl,e.Bl+r)).forEach(function(e){i=(i<<8)+e}),e.Bl+=r,i},n=function(t){var r=o.BufferHelper.ia(e.view,e.Bl,e.Bl+t);return e.Bl+=t,r};return{readUInt64:function(){return r(8)},readInt64:function(){return i(8)},readInt32:function(){return i(4)},readUInt32:function(){return r(4)},readInt16:function(){return i(2)},readUInt16:function(){return i(2)},readByte:function(){return n(1)},readBytes:function(e){return n(e)},readChars:function(e){var t,r,o=[];for(t=0;t<e;t++)r=n(2),o.push(String.fromCharCode.apply(null,r));return o}}},e}(),t.CompoundFile=w},"./src/xlsx-io/password/sha1.js":function(e,t){!function(t){"use strict";var r={},o=[-2147483648,8388608,32768,128],i=[24,16,8,0],n=[],a=function(e){var t,r,a,l,s,c,d,u,f,b=0,h=!1,p=0,m=0,g=0,y=e.length,S=1732584193,C=4023233417,w=2562383102,x=271733878,A=3285377520;do{for(n[0]=b,n[16]=n[1]=n[2]=n[3]=n[4]=n[5]=n[6]=n[7]=n[8]=n[9]=n[10]=n[11]=n[12]=n[13]=n[14]=n[15]=0,a=m;p<y&&a<64;++p)n[a>>2]|=e[p]<<i[3&a++];for(g+=a-m,m=a-64,p===y&&(n[a>>2]|=o[3&a],++p),b=n[16],p>y&&a<56&&(n[15]=g<<3,h=!0),l=16;l<80;++l)t=n[l-3]^n[l-8]^n[l-14]^n[l-16],n[l]=t<<1|t>>>31;for(s=S,c=C,d=w,u=x,f=A,l=0;l<20;l+=5)r=c&d|~c&u,t=s<<5|s>>>27,f=t+r+f+1518500249+n[l]<<0,c=c<<30|c>>>2,r=s&c|~s&d,t=f<<5|f>>>27,u=t+r+u+1518500249+n[l+1]<<0,s=s<<30|s>>>2,r=f&s|~f&c,t=u<<5|u>>>27,d=t+r+d+1518500249+n[l+2]<<0,f=f<<30|f>>>2,r=u&f|~u&s,t=d<<5|d>>>27,c=t+r+c+1518500249+n[l+3]<<0,u=u<<30|u>>>2,r=d&u|~d&f,t=c<<5|c>>>27,s=t+r+s+1518500249+n[l+4]<<0,d=d<<30|d>>>2;for(;l<40;l+=5)r=c^d^u,t=s<<5|s>>>27,f=t+r+f+1859775393+n[l]<<0,c=c<<30|c>>>2,r=s^c^d,t=f<<5|f>>>27,u=t+r+u+1859775393+n[l+1]<<0,s=s<<30|s>>>2,r=f^s^c,t=u<<5|u>>>27,d=t+r+d+1859775393+n[l+2]<<0,f=f<<30|f>>>2,r=u^f^s,t=d<<5|d>>>27,c=t+r+c+1859775393+n[l+3]<<0,u=u<<30|u>>>2,r=d^u^f,t=c<<5|c>>>27,s=t+r+s+1859775393+n[l+4]<<0,d=d<<30|d>>>2;for(;l<60;l+=5)r=c&d|c&u|d&u,t=s<<5|s>>>27,f=t+r+f-1894007588+n[l]<<0,c=c<<30|c>>>2,r=s&c|s&d|c&d,t=f<<5|f>>>27,u=t+r+u-1894007588+n[l+1]<<0,s=s<<30|s>>>2,r=f&s|f&c|s&c,t=u<<5|u>>>27,d=t+r+d-1894007588+n[l+2]<<0,f=f<<30|f>>>2,r=u&f|u&s|f&s,t=d<<5|d>>>27,c=t+r+c-1894007588+n[l+3]<<0,u=u<<30|u>>>2,r=d&u|d&f|u&f,t=c<<5|c>>>27,s=t+r+s-1894007588+n[l+4]<<0,d=d<<30|d>>>2;for(;l<80;l+=5)r=c^d^u,t=s<<5|s>>>27,f=t+r+f-899497514+n[l]<<0,c=c<<30|c>>>2,r=s^c^d,t=f<<5|f>>>27,u=t+r+u-899497514+n[l+1]<<0,s=s<<30|s>>>2,r=f^s^c,t=u<<5|u>>>27,d=t+r+d-899497514+n[l+2]<<0,f=f<<30|f>>>2,r=u^f^s,t=d<<5|d>>>27,c=t+r+c-899497514+n[l+3]<<0,u=u<<30|u>>>2,r=d^u^f,t=c<<5|c>>>27,s=t+r+s-899497514+n[l+4]<<0,d=d<<30|d>>>2;S=S+s<<0,C=C+c<<0,w=w+d<<0,x=x+u<<0,A=A+f<<0}while(!h);return[16*(S>>28&15)+(S>>24&15),16*(S>>20&15)+(S>>16&15),16*(S>>12&15)+(S>>8&15),16*(S>>4&15)+(15&S),16*(C>>28&15)+(C>>24&15),16*(C>>20&15)+(C>>16&15),16*(C>>12&15)+(C>>8&15),16*(C>>4&15)+(15&C),16*(w>>28&15)+(w>>24&15),16*(w>>20&15)+(w>>16&15),16*(w>>12&15)+(w>>8&15),16*(w>>4&15)+(15&w),16*(x>>28&15)+(x>>24&15),16*(x>>20&15)+(x>>16&15),16*(x>>12&15)+(x>>8&15),16*(x>>4&15)+(15&x),16*(A>>28&15)+(A>>24&15),16*(A>>20&15)+(A>>16&15),16*(A>>12&15)+(A>>8&15),16*(A>>4&15)+(15&A)]};t.sha1=a,r.hash=a,e.exports=r}(this)},"./src/xlsx-io/password/sha512.js":function(e,t){!function(t){"use strict";var r={},o=[-2147483648,8388608,32768,128],i=[24,16,8,0],n=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=[],l=function(e){var t,r,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L,D,B,P,W,_,N,M,O,H,G,U,J,z,V,j,X=!1,K=0,q=0,Y=0,Q=e.length,Z=1779033703,$=4089235720,ee=3144134277,te=2227873595,re=1013904242,oe=4271175723,ie=2773480762,ne=1595750129,ae=1359893119,le=2917565137,se=2600822924,ce=725511199,de=528734635,ue=4215389547,fe=1541459225,be=327033209,he=0;do{for(a[0]=he,a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=a[16]=a[17]=a[18]=a[19]=a[20]=a[21]=a[22]=a[23]=a[24]=a[25]=a[26]=a[27]=a[28]=a[29]=a[30]=a[31]=a[32]=0,t=q;K<Q&&t<128;++K)a[t>>2]|=e[K]<<i[3&t++];for(Y+=t-q,q=t-128,K===Q&&(a[t>>2]|=o[3&t],++K),he=a[32],K>Q&&t<112&&(a[31]=Y<<3,X=!0),r=32;r<160;r+=2)v=a[r-30],k=a[r-29],l=(v>>>1|k<<31)^(v>>>8|k<<24)^v>>>7,s=(k>>>1|v<<31)^(k>>>8|v<<24)^(k>>>7|v<<25),v=a[r-4],k=a[r-3],c=(v>>>19|k<<13)^(k>>>29|v<<3)^v>>>6,d=(k>>>19|v<<13)^(v>>>29|k<<3)^(k>>>6|v<<26),v=a[r-32],k=a[r-31],F=a[r-14],R=a[r-13],u=(65535&R)+(65535&k)+(65535&s)+(65535&d),f=(R>>>16)+(k>>>16)+(s>>>16)+(d>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(65535&l)+(65535&c)+(f>>>16),h=(F>>>16)+(v>>>16)+(l>>>16)+(c>>>16)+(b>>>16),a[r]=h<<16|65535&b,a[r+1]=f<<16|65535&u;for(L=Z,D=$,B=ee,P=te,W=re,_=oe,N=ie,M=ne,O=ae,H=le,G=se,U=ce,J=de,z=ue,V=fe,j=be,w=B&W,x=P&_,r=0;r<160;r+=8)l=(L>>>28|D<<4)^(D>>>2|L<<30)^(D>>>7|L<<25),s=(D>>>28|L<<4)^(L>>>2|D<<30)^(L>>>7|D<<25),c=(O>>>14|H<<18)^(O>>>18|H<<14)^(H>>>9|O<<23),d=(H>>>14|O<<18)^(H>>>18|O<<14)^(O>>>9|H<<23),p=L&B,m=D&P,A=p^L&W^w,T=m^D&_^x,E=O&G^~O&J,I=H&U^~H&z,v=a[r],k=a[r+1],F=n[r],R=n[r+1],u=(65535&R)+(65535&k)+(65535&I)+(65535&d)+(65535&j),f=(R>>>16)+(k>>>16)+(I>>>16)+(d>>>16)+(j>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(65535&E)+(65535&c)+(65535&V)+(f>>>16),h=(F>>>16)+(v>>>16)+(E>>>16)+(c>>>16)+(V>>>16)+(b>>>16),v=h<<16|65535&b,k=f<<16|65535&u,u=(65535&T)+(65535&s),f=(T>>>16)+(s>>>16)+(u>>>16),b=(65535&A)+(65535&l)+(f>>>16),h=(A>>>16)+(l>>>16)+(b>>>16),F=h<<16|65535&b,R=f<<16|65535&u,u=(65535&M)+(65535&k),f=(M>>>16)+(k>>>16)+(u>>>16),b=(65535&N)+(65535&v)+(f>>>16),h=(N>>>16)+(v>>>16)+(b>>>16),V=h<<16|65535&b,j=f<<16|65535&u,u=(65535&R)+(65535&k),f=(R>>>16)+(k>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(f>>>16),h=(F>>>16)+(v>>>16)+(b>>>16),N=h<<16|65535&b,M=f<<16|65535&u,l=(N>>>28|M<<4)^(M>>>2|N<<30)^(M>>>7|N<<25),s=(M>>>28|N<<4)^(N>>>2|M<<30)^(N>>>7|M<<25),c=(V>>>14|j<<18)^(V>>>18|j<<14)^(j>>>9|V<<23),d=(j>>>14|V<<18)^(j>>>18|V<<14)^(V>>>9|j<<23),g=N&L,y=M&D,A=g^N&B^p,T=y^M&P^m,E=V&O^~V&G,I=j&H^~j&U,v=a[r+2],k=a[r+3],F=n[r+2],R=n[r+3],u=(65535&R)+(65535&k)+(65535&I)+(65535&d)+(65535&z),f=(R>>>16)+(k>>>16)+(I>>>16)+(d>>>16)+(z>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(65535&E)+(65535&c)+(65535&J)+(f>>>16),h=(F>>>16)+(v>>>16)+(E>>>16)+(c>>>16)+(J>>>16)+(b>>>16),v=h<<16|65535&b,k=f<<16|65535&u,u=(65535&T)+(65535&s),f=(T>>>16)+(s>>>16)+(u>>>16),b=(65535&A)+(65535&l)+(f>>>16),h=(A>>>16)+(l>>>16)+(b>>>16),F=h<<16|65535&b,R=f<<16|65535&u,u=(65535&_)+(65535&k),f=(_>>>16)+(k>>>16)+(u>>>16),b=(65535&W)+(65535&v)+(f>>>16),h=(W>>>16)+(v>>>16)+(b>>>16),J=h<<16|65535&b,z=f<<16|65535&u,u=(65535&R)+(65535&k),f=(R>>>16)+(k>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(f>>>16),h=(F>>>16)+(v>>>16)+(b>>>16),W=h<<16|65535&b,_=f<<16|65535&u,l=(W>>>28|_<<4)^(_>>>2|W<<30)^(_>>>7|W<<25),s=(_>>>28|W<<4)^(W>>>2|_<<30)^(W>>>7|_<<25),c=(J>>>14|z<<18)^(J>>>18|z<<14)^(z>>>9|J<<23),d=(z>>>14|J<<18)^(z>>>18|J<<14)^(J>>>9|z<<23),S=W&N,C=_&M,A=S^W&L^g,T=C^_&D^y,E=J&V^~J&O,I=z&j^~z&H,v=a[r+4],k=a[r+5],F=n[r+4],R=n[r+5],u=(65535&R)+(65535&k)+(65535&I)+(65535&d)+(65535&U),f=(R>>>16)+(k>>>16)+(I>>>16)+(d>>>16)+(U>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(65535&E)+(65535&c)+(65535&G)+(f>>>16),h=(F>>>16)+(v>>>16)+(E>>>16)+(c>>>16)+(G>>>16)+(b>>>16),v=h<<16|65535&b,k=f<<16|65535&u,u=(65535&T)+(65535&s),f=(T>>>16)+(s>>>16)+(u>>>16),b=(65535&A)+(65535&l)+(f>>>16),h=(A>>>16)+(l>>>16)+(b>>>16),F=h<<16|65535&b,R=f<<16|65535&u,u=(65535&P)+(65535&k),f=(P>>>16)+(k>>>16)+(u>>>16),b=(65535&B)+(65535&v)+(f>>>16),h=(B>>>16)+(v>>>16)+(b>>>16),G=h<<16|65535&b,U=f<<16|65535&u,u=(65535&R)+(65535&k),f=(R>>>16)+(k>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(f>>>16),h=(F>>>16)+(v>>>16)+(b>>>16),B=h<<16|65535&b,P=f<<16|65535&u,
37
37
  l=(B>>>28|P<<4)^(P>>>2|B<<30)^(P>>>7|B<<25),s=(P>>>28|B<<4)^(B>>>2|P<<30)^(B>>>7|P<<25),c=(G>>>14|U<<18)^(G>>>18|U<<14)^(U>>>9|G<<23),d=(U>>>14|G<<18)^(U>>>18|G<<14)^(G>>>9|U<<23),w=B&W,x=P&_,A=w^B&N^S,T=x^P&M^C,E=G&J^~G&V,I=U&z^~U&j,v=a[r+6],k=a[r+7],F=n[r+6],R=n[r+7],u=(65535&R)+(65535&k)+(65535&I)+(65535&d)+(65535&H),f=(R>>>16)+(k>>>16)+(I>>>16)+(d>>>16)+(H>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(65535&E)+(65535&c)+(65535&O)+(f>>>16),h=(F>>>16)+(v>>>16)+(E>>>16)+(c>>>16)+(O>>>16)+(b>>>16),v=h<<16|65535&b,k=f<<16|65535&u,u=(65535&T)+(65535&s),f=(T>>>16)+(s>>>16)+(u>>>16),b=(65535&A)+(65535&l)+(f>>>16),h=(A>>>16)+(l>>>16)+(b>>>16),F=h<<16|65535&b,R=f<<16|65535&u,u=(65535&D)+(65535&k),f=(D>>>16)+(k>>>16)+(u>>>16),b=(65535&L)+(65535&v)+(f>>>16),h=(L>>>16)+(v>>>16)+(b>>>16),O=h<<16|65535&b,H=f<<16|65535&u,u=(65535&R)+(65535&k),f=(R>>>16)+(k>>>16)+(u>>>16),b=(65535&F)+(65535&v)+(f>>>16),h=(F>>>16)+(v>>>16)+(b>>>16),L=h<<16|65535&b,D=f<<16|65535&u;u=(65535&$)+(65535&D),f=($>>>16)+(D>>>16)+(u>>>16),b=(65535&Z)+(65535&L)+(f>>>16),h=(Z>>>16)+(L>>>16)+(b>>>16),Z=h<<16|65535&b,$=f<<16|65535&u,u=(65535&te)+(65535&P),f=(te>>>16)+(P>>>16)+(u>>>16),b=(65535&ee)+(65535&B)+(f>>>16),h=(ee>>>16)+(B>>>16)+(b>>>16),ee=h<<16|65535&b,te=f<<16|65535&u,u=(65535&oe)+(65535&_),f=(oe>>>16)+(_>>>16)+(u>>>16),b=(65535&re)+(65535&W)+(f>>>16),h=(re>>>16)+(W>>>16)+(b>>>16),re=h<<16|65535&b,oe=f<<16|65535&u,u=(65535&ne)+(65535&M),f=(ne>>>16)+(M>>>16)+(u>>>16),b=(65535&ie)+(65535&N)+(f>>>16),h=(ie>>>16)+(N>>>16)+(b>>>16),ie=h<<16|65535&b,ne=f<<16|65535&u,u=(65535&le)+(65535&H),f=(le>>>16)+(H>>>16)+(u>>>16),b=(65535&ae)+(65535&O)+(f>>>16),h=(ae>>>16)+(O>>>16)+(b>>>16),ae=h<<16|65535&b,le=f<<16|65535&u,u=(65535&ce)+(65535&U),f=(ce>>>16)+(U>>>16)+(u>>>16),b=(65535&se)+(65535&G)+(f>>>16),h=(se>>>16)+(G>>>16)+(b>>>16),se=h<<16|65535&b,ce=f<<16|65535&u,u=(65535&ue)+(65535&z),f=(ue>>>16)+(z>>>16)+(u>>>16),b=(65535&de)+(65535&J)+(f>>>16),h=(de>>>16)+(J>>>16)+(b>>>16),de=h<<16|65535&b,ue=f<<16|65535&u,u=(65535&be)+(65535&j),f=(be>>>16)+(j>>>16)+(u>>>16),b=(65535&fe)+(65535&V)+(f>>>16),h=(fe>>>16)+(V>>>16)+(b>>>16),fe=h<<16|65535&b,be=f<<16|65535&u}while(!X);return[16*(Z>>28&15)+(Z>>24&15),16*(Z>>20&15)+(Z>>16&15),16*(Z>>12&15)+(Z>>8&15),16*(Z>>4&15)+(15&Z),16*($>>28&15)+($>>24&15),16*($>>20&15)+($>>16&15),16*($>>12&15)+($>>8&15),16*($>>4&15)+(15&$),16*(ee>>28&15)+(ee>>24&15),16*(ee>>20&15)+(ee>>16&15),16*(ee>>12&15)+(ee>>8&15),16*(ee>>4&15)+(15&ee),16*(te>>28&15)+(te>>24&15),16*(te>>20&15)+(te>>16&15),16*(te>>12&15)+(te>>8&15),16*(te>>4&15)+(15&te),16*(re>>28&15)+(re>>24&15),16*(re>>20&15)+(re>>16&15),16*(re>>12&15)+(re>>8&15),16*(re>>4&15)+(15&re),16*(oe>>28&15)+(oe>>24&15),16*(oe>>20&15)+(oe>>16&15),16*(oe>>12&15)+(oe>>8&15),16*(oe>>4&15)+(15&oe),16*(ie>>28&15)+(ie>>24&15),16*(ie>>20&15)+(ie>>16&15),16*(ie>>12&15)+(ie>>8&15),16*(ie>>4&15)+(15&ie),16*(ne>>28&15)+(ne>>24&15),16*(ne>>20&15)+(ne>>16&15),16*(ne>>12&15)+(ne>>8&15),16*(ne>>4&15)+(15&ne),16*(ae>>28&15)+(ae>>24&15),16*(ae>>20&15)+(ae>>16&15),16*(ae>>12&15)+(ae>>8&15),16*(ae>>4&15)+(15&ae),16*(le>>28&15)+(le>>24&15),16*(le>>20&15)+(le>>16&15),16*(le>>12&15)+(le>>8&15),16*(le>>4&15)+(15&le),16*(se>>28&15)+(se>>24&15),16*(se>>20&15)+(se>>16&15),16*(se>>12&15)+(se>>8&15),16*(se>>4&15)+(15&se),16*(ce>>28&15)+(ce>>24&15),16*(ce>>20&15)+(ce>>16&15),16*(ce>>12&15)+(ce>>8&15),16*(ce>>4&15)+(15&ce),16*(de>>28&15)+(de>>24&15),16*(de>>20&15)+(de>>16&15),16*(de>>12&15)+(de>>8&15),16*(de>>4&15)+(15&de),16*(ue>>28&15)+(ue>>24&15),16*(ue>>20&15)+(ue>>16&15),16*(ue>>12&15)+(ue>>8&15),16*(ue>>4&15)+(15&ue),16*(fe>>28&15)+(fe>>24&15),16*(fe>>20&15)+(fe>>16&15),16*(fe>>12&15)+(fe>>8&15),16*(fe>>4&15)+(15&fe),16*(be>>28&15)+(be>>24&15),16*(be>>20&15)+(be>>16&15),16*(be>>12&15)+(be>>8&15),16*(be>>4&15)+(15&be)]};t.sha512=l,r.hash=l,e.exports=r}(this)},"./src/xlsx-io/password/xlsxEncryptionHelper.ts":function(e,t,r){"use strict";var o,i,n,a;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/xlsx-io/password/compoundFile.ts"),i=r("./src/xlsx-io/password/aesEngine.ts"),n=r("./src/common/common.ts");function l(e){var t,r,i={success:!1,encryptionInfoStream:null,encryptPagStream:null},n=new o.CompoundFile,a=new Uint8Array(e);return n.Wk(a),t=n.Km("EncryptionInfo"),r=n.Km("EncryptedPackage"),null===t||null===r?i:(i.success=!0,i.encryptionInfoStream=t,i.encryptPagStream=r,i)}function s(e,t){var r,o,n,a={success:!1},s=l(e);return s.success?(r=s.encryptionInfoStream,o=s.encryptPagStream,null!==r&&null!==o&&(n=new i.AesEngine,n.Dl(r)&&(n.Cl?n.El(t)&&(a=n.Jl(o)):(n.key=n.Ml(t,n.salt,n.hashAlgorithm),n.Ql(n.keySize,n.key),n.Pl()&&(a=n.Ll(o))))),a):a}function c(e,t){var r,o,i,n,a,l,s=1024,c=atob(e),d=c.length,u=Math.ceil(d/s),f=Array(u);for(r=0;r<u;++r){for(o=r*s,i=Math.min(o+s,d),n=Array(i-o),a=o,l=0;a<i;++l,++a)n[l]=c[a].charCodeAt(0);f[r]=new Uint8Array(n)}return new Blob(f,{type:t})}a=function(){function e(){}return e.sl=function(t,r){var o,i=e.ul(t);return i?(o=s(t,r),o&&o.success?o.data:null):t},e.Ek=function(e,t){var r,o=new i.AesEngine,n=o.Nl(t),a=o.Yl(e);if(null!==n&&null!==a&&(r=o.Zl(n,a),r.success))return r.data},e.Fk=function(e){var t,r=[];for(t=0;t<e.length;t++)r[t]=String.fromCharCode(e[t]);return c(btoa(r.join("")),"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")},e.ul=function(e){var t,r=0,o=0,i=function(e){var t,r=[];for(t=0;t<e.length;t++)r[t]=e[e.length-t-1];return r};if(i(new Uint8Array(n.BufferHelper.ia(e,0,4))).forEach(function(e){r=256*r+e}),i(new Uint8Array(n.BufferHelper.ia(e,4,8))).forEach(function(e){o=256*o+e}),"E011CFD0"===r.toString(16).toUpperCase()&&"E11AB1A1"===o.toString(16).toUpperCase())try{return t=l(e),t.success&&t.encryptionInfoStream&&t.encryptPagStream}catch(e){return!1}return!1},e}(),t.XlsxEncryptionHelper=a},"./src/xlsx-io/reader/autofilter-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/common/common.ts"),i=r("./src/xml-io/xml-parser.ts"),n=r("./src/common/range-parser.ts"),a=r("./src/xml-io/node-helper.ts"),l=o.Util.pa,s=a.XmlNodeHelper.Vm,c=a.XmlNodeHelper.Wm,d=a.XmlNodeHelper.Xm,u=a.XmlNodeHelper.He,f=o.StringEx.O,b={null:-1,aboveAverage:100,belowAverage:101,tomorrow:2,today:0,yesterday:1,nextWeek:9,thisWeek:7,lastWeek:8,nextMonth:6,thisMonth:4,lastMonth:5,nextQuarter:10,thisQuarter:11,lastQuarter:12,nextYear:13,thisYear:14,lastYear:15,yearToDate:16,Q1:17,Q2:18,Q3:19,Q4:20,M1:21,M2:22,M3:23,M4:24,M5:25,M6:26,M7:27,M8:28,M9:29,M10:30,M11:31,M12:32};function h(e){var t={};return t.cellColor=s(e._attr.cellColor,!0),t.dxfId=a.XmlNodeHelper.Xm(e._attr.dxfId,0),t}function p(e){var t,r,o={};return o.filter=[],o.blank=e._attr.blank,t=u(e.filter),t.forEach(function(e){var t=l(e._attr.val);o.filter.push(t)}),o.dateGroupItem=[],r=u(e.dateGroupItem),r.forEach(function(e){var t={},r=e._attr;t.day=d(r.day,1),t.hour=d(r.hour,0),t.minute=d(r.minute,0),t.month=d(r.month,0),t.second=d(r.second,0),t.year=d(r.year,0),o.dateGroupItem.push(t)}),o}function m(e){var t,r,o,i={},n=e._attr.and;return f(n)||(i.and="1"===n),t=u(e.customFilter),t.length>0&&(r=i.filter1={},r.operator=t[0]._attr.operator,r.value=t[0]._attr.val),t.length>1&&(o=i.filter2={},o.operator=t[1]._attr.operator,o.value=t[1]._attr.val),i}function g(e){var t,r,o={};return o.type=b[e._attr.type],t=e._attr.val,r=e._attr.maxVal,f(t)||(o.value=t),f(r)||(o.maxValue=r),o}function y(e){var t={};return t.value=c(e._attr.val,NaN),t.percent=s(e._attr.percent,!1),t.top=s(e._attr.top,!0),t}function S(e){var t={},r=e.sortCondition._attr;return r&&(t.ascending=!r.descending,t.index=n.getRangesFromString(r.ref)[0].col,"fontColor"!==r.sortBy&&"cellColor"!==r.sortBy||(t.isBackColor="cellColor"===r.sortBy,t.dxfId=d(r.dxfId,0))),t}t.readSortInfo=S;function C(e){var t,r,o={},i=e._attr.ref.toUpperCase();return i&&"#REF!"!==i?(t=n.getRangesFromString(i),t[0]&&(o.range=t[0]),o.filterColumns=[],r=u(e.filterColumn),r.forEach(function(e){var t={},r=e._attr.colId;t.hiddenButton=a.XmlNodeHelper.Vm(e._attr.hiddenButton,!1),f(r)||(t.autoFilterColumnId=parseInt(r,10)),e.colorFilter&&(t.colorFilter=h(e.colorFilter)),e.filters&&(t.filters=p(e.filters)),e.customFilters&&(t.customFilters=m(e.customFilters)),e.dynamicFilter&&(t.dynamicFilter=g(e.dynamicFilter)),e.top10&&(t.top10Filter=y(e.top10)),o.filterColumns.push(t)}),o):null}t.readAutoFilter=C;function w(e,t,r){var o=i.parseXmlToObject(e.readFullElement()).autoFilter,n=C(o);o.sortState&&(n.sortInfo=S(o.sortState)),r.Og(t,n)}t.readAutoFilterForSheet=w},"./src/xlsx-io/reader/chart-reader.ts":function(e,t,r){"use strict";var o,i,n,a,l,s,c,d,u,f,b,h,p,m,g,y,S,C,w,x,A,T,v,k,F,R,E,I,L,D,B,P,W,_,N,M,O,H,G,U,J,z,V,j,X,K,q,Y,Q,Z,$,ee,te,re,oe,ie,ne,ae,le,se,ce,de,ue,fe,be,he,pe,me,ge,ye,Se,Ce,we,xe,Ae,Te,ve,ke,Fe,Re,Ee,Ie;Object.defineProperty(t,"__esModule",{value:!0}),o=r("./src/datamodel/chart-model.ts"),i=r("./src/datamodel/excel-style.ts"),n=r("./src/xlsx-io/common/chart-helper.ts"),a=r("./src/common/common.ts"),l=r("./src/xml-io/node-helper.ts"),s=r("./src/datamodel/excel-helper.ts"),c=i.UnitHelper.emuToPixles,d=a.Util.pa,u=l.XmlNodeHelper.Vm,f=l.XmlNodeHelper.Wm,b=l.XmlNodeHelper.Xm,h=null,p="val",m="name",g="type",y="prst",S="extLst",C="cNvPr",w="macro",x="effectLst",A="effectDag",T="fPublished",v="graphicFrame",k="dumy",F="ext",R="scrgbClr",E="srgbClr",I="hslClr",L="sysClr",D="schemeClr",B="prstClr",P="styleClr",W="noFill",_="solidFill",N="gradFill",M="blipFill",O="pattFill",H="grpFill",G="delete",U="idx",J="scene3d",z="spPr",V="txPr",j="sqref",X="invertIfNegative",K="bubble3D",q="marker",Y="grpSp",Q="cxnSp",Z="clrScheme",$="fontScheme",ee="fmtScheme",te="layout",re="pictureOptions",oe="order",ie="gapWidth",ne="dLbls",ae="trendline",le="errBars",se="ser",ce="dropLines",de="axId",ue="grouping",fe="varyColors",be="scaling",he="axPos",pe="majorGridlines",me="minorGridlines",ge="title",ye="numFmt",Se="majorTickMark",Ce="minorTickMark",we="tickLblPos",xe="crossAx",Ae="crosses",Te="crossesAt",ve="style",ke="rotWithShape",Fe="Requires";function Le(e,t){return a.J(e)?t:e}function De(e){var t=e.readAttributeNameAsString().split(":");return t.length>1?t[1]:t[0]}function Be(e){var t=e.name().split(":");return t.length>1?t[1]:t[0]}function Pe(e,t,r){for(var o,i;e.moveToNextAttribute();)if(o=De(e),o===t)return i=e.readContentAsString(),r&&(i=r(i)),i}function We(e,t,r,o){var i,n,a,l,s=o||{};if(3===e.elementType)return s;for(i=e.depth;e.read()&&(n=e.depth,a=e.elementType,n!==i||2!==a);)n>i+1||2===a||(l=Be(e),l===t&&(s[t]=r(e)));return s}function _e(e,t){for(var r,o,i,n,a=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==a||2!==o);)if(!(r>a+1||2===o)){switch(i=Be(e),n={},i){case R:n.scrgbClr=It(e);break;case E:n.srgbClr=Dt(e);break;case I:n.hslClr=Bt(e);break;case L:n.sysClr=Pt(e);break;case D:n.schemeClr=Wt(e);break;case B:n.prstClr=_t(e)}t.push(n)}return t}function Ne(e,t){for(var r,o,i,n=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==n||2!==o);)if(!(r>n+1||2===o))switch(i=Be(e)){case R:t.scrgbClr=It(e);break;case E:t.srgbClr=Dt(e);break;case I:t.hslClr=Bt(e);break;case L:t.sysClr=Pt(e);break;case D:t.schemeClr=Wt(e);break;case B:t.prstClr=_t(e)}return t}function Me(e,t){for(var r,o,i,n=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==n||2!==o);)if(!(r>n+1||2===o))switch(i=Be(e)){case W:t.noFill=ra();break;case _:t.solidFill=oa(e);break;case N:t.gradFill=sa(e);break;case M:t.blipFill=ba(e);break;case O:t.pattFill=ha(e);break;case H:t.grpFill=pa()}return t}t.DrawingReader={};function Oe(e,r){for(var o,i,n,a=e.depth;e.read()&&(o=e.depth,i=e.elementType,o!==a||2!==i);)if(!(o>a+1||2===i))switch(n=Be(e)){case W:r.items.push(t.DrawingReader.ReadCT_NoFillProperties(e));break;case _:r.items.push(t.DrawingReader.ReadCT_SolidColorFillProperties(e));break;case N:r.items.push(t.DrawingReader.ReadCT_GradientFillProperties(e));break;case M:r.items.push(t.DrawingReader.ReadCT_BlipFillProperties(e));break;case O:r.items.push(t.DrawingReader.ReadCT_PatternFillProperties(e));break;case H:r.items.push(t.DrawingReader.ReadCT_GroupFillProperties(e))}return r}function He(e,t){for(var r,o,i,n=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==n||2!==o);)if(!(r>n+1||2===o))switch(i=Be(e)){case"tint":t.tint=[yt(e)];break;case"shade":t.shade=[yt(e)];break;case"comp":t.comp=[Tt()];break;case"inv":t.inv=[vt()];break;case"gray":t.gray=[kt()];break;case"alpha":t.alpha=[yt(e)];break;case"alphaMod":t.alphaMod=[mt(e)];break;case"alphaOff":t.alphaOff=[gt(e)];break;case"hue":t.hue=[ht(e)];break;case"hueMod":t.hueMod=[mt(e)];break;case"hueOff":t.hueOff=[ut(e)];break;case"sat":t.sat=[pt(e)];break;case"satMod":t.satMod=[pt(e)];break;case"satOff":t.satOff=[pt(e)];break;case"lum":t.lum=[pt(e)];break;case"lumMod":t.lumMod=[pt(e)];break;case"lumOff":t.lumOff=[pt(e)];break;case"red":t.red=[pt(e)];break;case"redMod":t.redMod=[pt(e)];break;case"redOff":t.redOff=[pt(e)];break;case"green":t.green=[pt(e)];break;case"greenMod":t.greenMod=[pt(e)];break;case"greenOff":t.greenOff=[pt(e)];break;case"blue":t.blue=[pt(e)];break;case"blueMod":t.blueMod=[pt(e)];break;case"blueOff":t.blueOff=[pt(e)];break;case"gamma":t.gamma=[Ft()];break;case"invGamma":t.invGamma=[Rt()]}return t}function Ge(e,t){for(var r,o,i,n=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==n||2!==o);)if(!(r>n+1||2===o))switch(i=Be(e)){case"wireframe":t.wireframe=$t(e);break;case se:t.ser.push(go(e));break;case"bandFmts":t.bandFmts=Go(e);break;case de:t.axId.push(rr(e));break;case S:t.extLst=nr(e)}return t}function Ue(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===C&&(n.cNvPr=bn(e)));return n}function Je(e){var t,r,o,i,n={};if(3===e.elementType)return n;for(t=e.depth;e.read()&&(r=e.depth,o=e.elementType,r!==t||2!==o);)r>t+1||2===o||(i=Be(e),i===j&&(n.sqref=e.readElementContentAsString()));return n}function ze(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"val"===t&&(r.val=parseInt(e.readContentAsString(),10));return r}function Ve(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"entityType":r.entityType=o.Charts.ST_EntityType[e.readContentAsString()];break;case"entityId":r.entityId=e.readContentAsString()}return r}function je(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"val"===t&&(r.val=e.readContentAsDouble());return r}Re={},Re.ReadContentValueAsString=function(e){for(var t,r="";e.moveToNextAttribute();)t=De(e),"val"===t&&(r=e.readContentAsString());return r};function Xe(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"spPr":o.spPr=el(e);break;case"extLst":o.extLst=Re.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return o}function Ke(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"tx":o.tx=Re.ReadCT_Text(e);break;case"spPr":o.spPr=el(e);break;case"txPr":o.txPr=zl(e);break;case"extLst":o.extLst=Re.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return o}function qe(e){for(var t,r,o={};e.moveToNextAttribute();)t=De(e),"idx"===t&&(o.idx=parseInt(e.readContentAsString(),10));if(3===e.elementType)return o;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"spPr":o.spPr=el(e);break;case"extLst":o.extLst=Re.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return o}Re.ReadElementContentAsString=function(e){var t="";if(3===e.elementType)return t;for(1===e.elementType&&(t=e.readElementContentAsString());e.read()&&2!==e.elementType;);return t},Re.ReadCT_ChartStyle=function(e){for(var t,r,o,i={attribute:{}};e.moveToNextAttribute();)t=De(e),i.attribute[t]=e.readContentAsString();for(r=e.depth;e.read()&&!(e.depth<=r)&&(o=Be(e),"dataPointMarkerLayout"===o?i.dataPointMarkerLayout=Re.ReadCT_DataPointMarkerLayout(e):"extLst"===o?i.extLst=Mt(e):i[o]=Re.ReadCT_ChartStyleElement(e),!(e.depth<=r)););return i},Re.ReadCT_ChartStyleElement=function(e){for(var t,r,o={attribute:{}},i=e.depth;e.moveToNextAttribute();)t=De(e),"mods"===t&&(o.attribute[t]=e.readContentAsString());if(3===e.elementType)return o;for(;e.read()&&!(e.depth<=i)&&(r=Be(e),"lnRef"===r||"fillRef"===r||"effectRef"===r?o[r]=rl(e):"fontRef"===r?o.fontRef=ol(e):r===z?o.spPr=el(e):"defRPr"===r?o.defRPr=is(e):"bodyPr"===r&&(o.bodyPr=Jl(e)),!(e.depth<=i)););return o},Re.ReadCT_DataPointMarkerLayout=function(e){for(var t,r={attribute:{}};e.moveToNextAttribute();)t=De(e),r.attribute[t]=e.readContentAsString();return r},Re.ReadCT_Extension=function(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"uri"===t&&(r.uri=e.readContentAsString());return 3===e.elementType?r:r},Re.ReadCT_chartColors=function(e){for(var t,r,o={schemeClr:[],variation:[],attribute:{}},i=e.depth;e.moveToNextAttribute();)t=De(e),o.attribute[t]=e.readContentAsString();if(3===e.elementType)return o;for(;e.read()&&!(e.depth<=i)&&(r=Be(e),"schemeClr"===r?o.schemeClr.push(Wt(e)):"variation"===r&&o.variation.push(Re.ReadCT_Variation(e)),!(e.depth<=i)););return o},Re.ReadCT_Variation=function(e){var t,r={},o=e.depth;if(3===e.elementType)return r;for(;e.read()&&!(e.depth<=o)&&(t=Be(e),"lumMod"===t?r.lumMod=pt(e):"lumOff"===t&&(r.lumOff=pt(e)),!(e.depth<=o)););return r},Re.ReadCT_ExtensionList=function(e){var t,r,o={ext:[]};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"ext"===r&&o.ext.push(Re.ReadCT_Extension(e)),!(e.depth<=t)););return o},Re.ReadCT_NumberFormat=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"formatCode":r.formatCode=d(e.readContentAsString());break;case"sourceLinked":r.sourceLinked=e.readContentAsBoolean()}return r},Re.ReadCT_ValueColors=function(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"minColor":o.minColor=oa(e);break;case"midColor":o.midColor=oa(e);break;case"maxColor":o.maxColor=oa(e)}if(e.depth<=t)break}return o},Re.ReadCT_ExternalData=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"id":r.id=e.readContentAsString();break;case"autoUpdate":r.autoUpdate=e.readContentAsBoolean()}return r},Re.ReadCT_Formula=function(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"dir"===t&&(r.dir=o.Charts.ST_FormulaDirection[e.readContentAsString()]);if(3===e.elementType)return r;for(1===e.elementType&&(r.formula=e.readElementContentAsString());e.read()&&2!==e.elementType;);return r},Re.ReadCT_Value=function(e){var t={};if(3===e.elementType)return t;for(1===e.elementType&&(t.value=e.readElementContentAsString());e.read()&&2!==e.elementType;);return t},Re.ReadCT_DataId=function(e){return ze(e)},Re.ReadST_AxisId=function(e){return ze(e)},Re.ReadCT_StringValue=function(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"idx"===t&&(r.idx=e.readContentAsInt());if(3===e.elementType)return r;for(1===e.elementType&&(r.value=e.readElementContentAsString());e.read()&&2!==e.elementType;);return r},Re.ReadCT_StringLevel=function(e){for(var t,r,o={};e.moveToNextAttribute();)switch(t=De(e)){case"ptCount":o.ptCount=parseInt(e.readContentAsString(),10);break;case"name":o.name=e.readContentAsString()}if(3===e.elementType)return o;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Be(e),"pt"===t&&o.pt.push(Re.ReadCT_StringValue(e)),!(e.depth<=r)););return o},Re.ReadCT_StringDimension=function(e){for(var t,r,i={};e.moveToNextAttribute();)t=De(e),"type"===t&&(i.type=o.Charts.ST_StringDimensionType[e.readContentAsString()]);if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"lvl":i.lvl.push(Re.ReadCT_StringLevel(e));break;case"nf":i.nf=Re.ReadCT_Formula(e);break;case"f":i.f=Re.ReadCT_Formula(e)}if(e.depth<=r)break}return i},Re.ReadCT_NumericValue=function(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"idx"===t&&(r.idx=e.readContentAsInt());if(3===e.elementType)return r;for(1===e.elementType&&(r.value=e.readElementContentAsDouble());e.read()&&2!==e.elementType;);return r},Re.ReadCT_NumericLevel=function(e){for(var t,r,o={};e.moveToNextAttribute();)switch(t=De(e)){case"ptCount":o.ptCount=parseInt(e.readContentAsString(),10);break;case"formatCode":o.formatCode=e.readContentAsString();break;case"name":o.name=e.readContentAsString()}if(3===e.elementType)return o;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Be(e),"pt"===t&&o.pt.push(Re.ReadCT_NumericValue(e)),!(e.depth<=r)););return o},Re.ReadCT_NumericDimension=function(e){for(var t,r,i={lvl:[]};e.moveToNextAttribute();)t=De(e),"type"===t&&(i.type=o.Charts.ST_NumericDimensionType[e.readContentAsString()]);if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"lvl":i.lvl.push(Re.ReadCT_NumericLevel(e));break;case"nf":i.nf=Re.ReadCT_Formula(e);break;case"f":i.f=Re.ReadCT_Formula(e)}if(e.depth<=r)break}return i},Re.ReadCT_Data=function(e){for(var t,r,o={numDim:[],strDim:[]};e.moveToNextAttribute();)t=De(e),"id"===t&&(o.id=parseInt(e.readContentAsString(),10));if(3===e.elementType)return o;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"extLst":o.extLst=Re.ReadCT_ExtensionList(e);break;case"numDim":o.numDim.push(Re.ReadCT_NumericDimension(e));break;case"strDim":o.strDim.push(Re.ReadCT_StringDimension(e))}if(e.depth<=r)break}return o},Re.ReadCT_ChartData=function(e){var t,r,o={data:[]};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"externalData":o.externalData=Re.ReadCT_ExternalData(e);break;case"data":o.data.push(Re.ReadCT_Data(e));break;case"extLst":o.extLst=Re.ReadCT_ExtensionList(e)}if(e.depth<=t)break}return o},Re.ReadCT_TextData=function(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"f":o.f=Re.ReadCT_Formula(e);break;case"v":o.v=Re.ReadCT_Value(e)}if(e.depth<=t)break}return o},Re.ReadCT_Text=function(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"txData":o.txData=Re.ReadCT_TextData(e);break;case"rich":o.rich=zl(e)}if(e.depth<=t)break}return o},Re.ReadCT_ChartTitle=function(e){for(var t,r,i={};e.moveToNextAttribute();)switch(t=De(e)){case"pos":i.pos=o.Charts.ST_SidePos[e.readContentAsString()];break;case"align":i.align=o.Charts.ST_PosAlign[e.readContentAsString()];break;case"overlay":i.overlay=e.readContentAsBoolean()}if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"tx":i.tx=Re.ReadCT_Text(e);break;case"spPr":i.spPr=el(e);break;case"txPr":i.txPr=zl(e);break;case"extLst":i.extLst=Re.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return i},Re.ReadCT_CategoryAxisScaling=function(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"gapWidth"===t&&(r.gapWidth=e.readContentAsString());return r},Re.ReadCT_ValueAxisScaling=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"max":r.max=e.readContentAsString();break;case"min":r.min=e.readContentAsString();break;case"majorUnit":r.majorUnit=e.readContentAsString();break;case"minorUnit":r.minorUnit=e.readContentAsString()}return r},Re.ReadCT_AxisTitle=function(e){return Ke(e)},Re.ReadCT_AxisUnitsLabel=function(e){return Ke(e)},Re.ReadCT_AxisUnits=function(e){for(var t,r,i={};e.moveToNextAttribute();)t=De(e),"unit"===t&&(i.unit=o.Charts.ST_AxisUnit[e.readContentAsString()]);if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"unitsLabel":i.unitsLabel=Re.ReadCT_AxisUnitsLabel(e);break;case"extLst":i.extLst=Re.ReadCT_ExtensionList(e)}if(e.depth<=r)break}return i},Re.ReadCT_Gridlines=function(e){return Xe(e)},Re.ReadCT_TickMarks=function(e){for(var t,r,i={};e.moveToNextAttribute();)t=De(e),"type"===t&&(i=o.Charts.ST_TickMarksType[e.readContentAsString()]);if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Be(e),"extLst"===t&&(i.extLst=Re.ReadCT_ExtensionList(e)),!(e.depth<=r)););return i},Re.ReadCT_TickLabels=function(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"extLst"===r&&(o.extLst=Re.ReadCT_ExtensionList(e)),!(e.depth<=t)););return o},Re.ReadCT_Axis=function(e){for(var t,r,o={};e.moveToNextAttribute();)switch(t=De(e)){case"id":o.id=parseInt(e.readContentAsString(),10);break;case"hidden":o.hidden=e.readContentAsBoolean()}if(3===e.elementType)return o;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"title":o.title=Re.ReadCT_AxisTitle(e);break;case"units":o.units=Re.ReadCT_AxisUnits(e);break;case"majorGridlines":o.majorGridlines=Re.ReadCT_Gridlines(e);break;case"minorGridlines":o.minorGridlines=Re.ReadCT_Gridlines(e);break;case"majorTickMarks":o.majorTickMarks=Re.ReadCT_TickMarks(e);break;case"minorTickMarks":o.minorTickMarks=Re.ReadCT_TickMarks(e);break;case"tickLabels":o.tickLabels=Re.ReadCT_TickLabels(e);break;case"numFmt":o.numFmt=Re.ReadCT_NumberFormat(e);break;case"spPr":o.spPr=el(e);break;case"txPr":o.txPr=zl(e);break;case"extLst":o.extLst=Re.ReadCT_ExtensionList(e);break;case"catScaling":o.catScaling=Re.ReadCT_CategoryAxisScaling(e);break;case"valScaling":o.valScaling=Re.ReadCT_ValueAxisScaling(e)}if(e.depth<=r)break}return o},Re.ReadCT_ParentLabelLayout=function(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"val"===t&&(r.val=o.Charts.ST_ParentLabelLayout[e.readContentAsString()]);return r},Re.ReadCT_RegionLabelLayout=function(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"val"===t&&(r.val=o.Charts.ST_RegionLabelLayout[e.readContentAsString()]);return r},Re.ReadCT_SeriesElementVisibilities=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"connectorLines":r.connectorLines=e.readContentAsBoolean();break;case"meanLine":r.meanLine=e.readContentAsBoolean();break;case"meanMarker":r.meanMarker=e.readContentAsBoolean();break;case"nonoutliers":r.nonoutliers=e.readContentAsBoolean();break;case"outliers":r.outliers=e.readContentAsBoolean()}return r},Re.ReadCT_Aggregation=function(){return{}},Re.ReadCT_Binning=function(e){for(var t,r,i={};e.moveToNextAttribute();)switch(t=De(e)){case"intervalClosed":i.intervalClosed=o.Charts.ST_IntervalClosedSide[e.readContentAsString()];break;case"underflow":i.underflow=e.readContentAsString();break;case"overflow":i.overflow=e.readContentAsString()}if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"binSize":i.binSize=Re.ReadBinSize(e);break;case"binCount":i.binCount=Re.ReadBinCount(e)}if(e.depth<=r)break}return i},Re.ReadBinSize=function(e){return je(e)},Re.ReadBinCount=function(e){for(var t,r={};e.moveToNextAttribute();)t=De(e),"val"===t&&(r.val=e.readContentAsInt());return r},Re.ReadCT_GeoLocationQuery=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"countryRegion":r.countryRegion=e.readContentAsString();break;case"adminDistrict1":r.adminDistrict1=e.readContentAsString();break;case"adminDistrict2":r.adminDistrict2=e.readContentAsString();break;case"postalCode":r.postalCode=e.readContentAsString();break;case"entityType":r.entityType=o.Charts.ST_EntityType[e.readContentAsString()]}return r},Re.ReadCT_Address=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"address1":r.address1=e.readContentAsString();break;case"countryRegion":r.countryRegion=e.readContentAsString();break;case"adminDistrict1":r.adminDistrict1=e.readContentAsString();break;case"adminDistrict2":r.adminDistrict2=e.readContentAsString();break;case"postalCode":r.postalCode=e.readContentAsString();break;case"locality":r.locality=e.readContentAsString();break;case"isoCountryCode":r.isoCountryCode=e.readContentAsString()}return r},Re.ReadCT_GeoLocation=function(e){for(var t,r,i={};e.moveToNextAttribute();)switch(t=De(e)){case"latitude":i.latitude=e.readContentAsDouble();break;case"longitude":i.longitude=e.readContentAsDouble();break;case"entityName":i.entityName=e.readContentAsString();break;case"entityType":i.entityType=o.Charts.ST_EntityType[e.readContentAsString()]}if(3===e.elementType)return i;for(r=e.depth;e.read()&&!(e.depth<=r)&&(t=Be(e),"address"===t&&(i.address=Re.ReadCT_Address(e)),!(e.depth<=r)););return i},Re.ReadCT_GeoLocations=function(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"geoLocation"===r&&(o.geoLocation=Re.ReadCT_GeoLocation(e)),!(e.depth<=t)););return o},Re.ReadCT_GeoLocationQueryResult=function(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"geoLocationQuery":o.geoLocationQuery=Re.ReadCT_GeoLocationQuery(e);break;case"geoLocations":o.geoLocations=Re.ReadCT_GeoLocations(e)}if(e.depth<=t)break}return o},Re.ReadCT_GeoLocationQueryResults=function(e){var t,r,o={geoLocationQueryResult:[]};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"geoLocationQueryResult"===r&&o.geoLocationQueryResult.push(Re.ReadCT_GeoLocationQueryResult(e)),!(e.depth<=t)););return o},Re.ReadCT_GeoPolygon=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"polygonId":r.polygonId=e.readContentAsString();break;case"numPoints":break;case"pcaRings":r.pcaRings=e.readContentAsString()}return r},Re.ReadCT_GeoPolygons=function(e){var t,r,o={geoPolygon:[]};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"geoPolygon"===r&&o.geoPolygon.push(Re.ReadCT_GeoPolygon(e)),!(e.depth<=t)););return o},Re.ReadCT_Copyrights=function(e){var t,r,o={copyright:[]};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"copyright"===r&&o.copyright.push(Re.ReadElementContentAsString(e)),!(e.depth<=t)););return o},Re.ReadCT_GeoData=function(e){for(var t,r,o={geoPolygons:[],copyrights:[]};e.moveToNextAttribute();)switch(t=De(e)){case"entityName":o.entityName=e.readContentAsString();break;case"entityId":o.entityId=e.readContentAsString();break;case"east":o.east=e.readContentAsDouble();break;case"west":o.west=e.readContentAsDouble();break;case"north":o.north=e.readContentAsDouble();break;case"south":o.south=e.readContentAsDouble()}if(3===e.elementType)return o;for(r=e.depth;e.read()&&!(e.depth<=r);){switch(t=Be(e)){case"geoPolygons":o.geoPolygons.push(Re.ReadCT_GeoPolygon(e));break;case"copyrights":o.copyrights=Re.ReadCT_Copyrights(e)}if(e.depth<=r)break}return o},Re.ReadCT_GeoDataEntityQuery=function(e){return Ve(e)},Re.ReadCT_GeoDataEntityQueryResult=function(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"geoDataEntityQuery":o.geoDataEntityQuery=Re.ReadCT_GeoDataEntityQuery(e);break;case"geoData":o.geoData=Re.ReadCT_GeoData(e)}if(e.depth<=t)break}return o},Re.ReadCT_GeoDataEntityQueryResults=function(e){var t,r,o={geoDataEntityQueryResult:[]};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"geoDataEntityQueryResult"===r&&o.geoDataEntityQueryResult.push(Re.ReadCT_GeoDataEntityQueryResult(e)),!(e.depth<=t)););return o},Re.ReadCT_GeoDataPointQuery=function(e){for(var t,r={};e.moveToNextAttribute();)switch(t=De(e)){case"entityType":r.entityType=o.Charts.ST_EntityType[e.readContentAsString()];break;case"latitude":r.latitude=e.readContentAsDouble();break;case"longitude":r.longitude=e.readContentAsDouble()}return r},Re.ReadCT_GeoDataPointToEntityQuery=function(e){return Ve(e)},Re.ReadCT_GeoDataPointToEntityQueryResult=function(e){var t,r,o={};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t);){switch(r=Be(e)){case"geoDataPointQuery":o.geoDataPointQuery=Re.ReadCT_GeoDataPointQuery(e);break;case"geoDataPointToEntityQuery":o.geoDataPointToEntityQuery=Re.ReadCT_GeoDataPointToEntityQuery(e)}if(e.depth<=t)break}return o},Re.ReadCT_GeoDataPointToEntityQueryResults=function(e){var t,r,o={geoDataPointToEntityQueryResult:[]};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"geoDataPointToEntityQueryResult"===r&&o.geoDataPointToEntityQueryResult.push(Re.ReadCT_GeoDataPointToEntityQueryResult(e)),!(e.depth<=t)););return o},Re.ReadCT_GeoChildTypes=function(e){var t,r,o={entityType:[]};if(3===e.elementType)return o;for(t=e.depth;e.read()&&!(e.depth<=t)&&(r=Be(e),"entityType"===r&&o.entityType.push(Re.ReadElementContentAsString(e)),!(e.depth<=t)););