vendors-chunk.js 1.7MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+Gs+":function(t,e,n){var r=e;r.bignum=n("8kJ5"),r.define=n("uH4/").define,r.base=n("45vN"),r.constants=n("Xr9Y"),r.decoders=n("uaRH"),r.encoders=n("5wZK")},"+JHh":function(t,e,n){!function(t){"use strict";
  2. //! moment.js locale configuration
  3. function e(t,e,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"+Ls2":function(t,e,n){!function(t){"use strict";
  4. //! moment.js locale configuration
  5. t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("TiKg"))},"+MGR":function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},"+krU":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("Zf0h")),i=a(n("uLrD")),o=a(n("w+CG")),s=a(n("plIT"));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(){var t=new Uint32Array(10),e=new Uint32Array(10),n=new Uint32Array(2);return function(a){for(var u=0;u<24;u++)(0,s.default)({A:a,C:t,D:e,W:n}),(0,o.default)({A:a,C:t,W:n}),(0,r.default)({A:a,C:t}),(0,i.default)({A:a,roundIndex:u});t.fill(0),e.fill(0),n.fill(0)}};e.default=u},"+oaW":function(t,e,n){"use strict";var r=n("wfEq"),i=n("cq1r"),o=n("Olfb"),s=n("thXI"),a=n("ql4I");function u(t){a.call(this,"digest"),this._hash=t}r(u,a),u.prototype._update=function(t){this._hash.update(t)},u.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new u(s(t))}},"+t3Y":function(t,e,n){"use strict";t.exports=s;var r=n("A/eZ"),i=Object.create(n("nrnY"));function o(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function s(t){if(!(this instanceof s))return new s(t);r.call(this,t),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",a)}function a(){var t=this;"function"==typeof this._flush?this._flush((function(e,n){u(t,e,n)})):u(this,null,null)}function u(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=n("wfEq"),i.inherits(s,r),s.prototype.push=function(t,e){return this._transformState.needTransform=!1,r.prototype.push.call(this,t,e)},s.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},s.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},s.prototype._destroy=function(t,e){var n=this;r.prototype._destroy.call(this,t,(function(t){e(t),n.emit("close")}))}},"/BTK":function(t,e,n){!function(t){"use strict";
  6. //! moment.js locale configuration
  7. var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function r(t,r,i,o){var s="";switch(i){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":s=o?"sekunnin":"sekuntia";break;case"m":return o?"minuutin":"minuutti";case"mm":s=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":s=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":s=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":s=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":s=o?"vuoden":"vuotta"}return s=function(t,r){return t<10?r?n[t]:e[t]:t}(t,o)+" "+s}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"/QGi":function(t,e,n){"use strict";var r=n("HpGB"),i=n("DDMh"),o=r.rotl32,s=r.sum32,a=r.sum32_3,u=r.sum32_4,c=i.BlockHash;function h(){if(!(this instanceof h))return new h;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function l(t,e,n,r){return t<=15?e^n^r:t<=31?e&n|~e&r:t<=47?(e|~n)^r:t<=63?e&r|n&~r:e^(n|~r)}function d(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function f(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}r.inherits(h,c),e.ripemd160=h,h.blockSize=512,h.outSize=160,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(t,e){for(var n=this.h[0],r=this.h[1],i=this.h[2],c=this.h[3],h=this.h[4],v=n,b=r,g=i,w=c,x=h,M=0;M<80;M++){var S=s(o(u(n,l(M,r,i,c),t[p[M]+e],d(M)),m[M]),h);n=h,h=c,c=o(i,10),i=r,r=S,S=s(o(u(v,l(79-M,b,g,w),t[_[M]+e],f(M)),y[M]),x),v=x,x=w,w=o(g,10),g=b,b=S}S=a(this.h[1],i,w),this.h[1]=a(this.h[2],c,x),this.h[2]=a(this.h[3],h,v),this.h[3]=a(this.h[4],n,b),this.h[4]=a(this.h[0],r,g),this.h[0]=S},h.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},"/cTU":function(t,e,n){!function(t){"use strict";
  8. //! moment.js locale configuration
  9. t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n("TiKg"))},"/ieh":function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function s(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(t,e,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var a=new s(n,r||t,o),u=i?i+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],a]:t._events[u].push(a):(t._events[u]=a,t._eventsCount++),t}function u(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)r.call(t,e)&&n.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},c.prototype.listeners=function(t){var e=i?i+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,s=new Array(o);r<o;r++)s[r]=n[r].fn;return s},c.prototype.listenerCount=function(t){var e=i?i+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,r,o,s){var a=i?i+t:t;if(!this._events[a])return!1;var u,c,h=this._events[a],l=arguments.length;if(h.fn){switch(h.once&&this.removeListener(t,h.fn,void 0,!0),l){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,e),!0;case 3:return h.fn.call(h.context,e,n),!0;case 4:return h.fn.call(h.context,e,n,r),!0;case 5:return h.fn.call(h.context,e,n,r,o),!0;case 6:return h.fn.call(h.context,e,n,r,o,s),!0}for(c=1,u=new Array(l-1);c<l;c++)u[c-1]=arguments[c];h.fn.apply(h.context,u)}else{var d,f=h.length;for(c=0;c<f;c++)switch(h[c].once&&this.removeListener(t,h[c].fn,void 0,!0),l){case 1:h[c].fn.call(h[c].context);break;case 2:h[c].fn.call(h[c].context,e);break;case 3:h[c].fn.call(h[c].context,e,n);break;case 4:h[c].fn.call(h[c].context,e,n,r);break;default:if(!u)for(d=1,u=new Array(l-1);d<l;d++)u[d-1]=arguments[d];h[c].fn.apply(h[c].context,u)}}return!0},c.prototype.on=function(t,e,n){return a(this,t,e,n,!1)},c.prototype.once=function(t,e,n){return a(this,t,e,n,!0)},c.prototype.removeListener=function(t,e,n,r){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return u(this,o),this;var s=this._events[o];if(s.fn)s.fn!==e||r&&!s.once||n&&s.context!==n||u(this,o);else{for(var a=0,c=[],h=s.length;a<h;a++)(s[a].fn!==e||r&&!s[a].once||n&&s[a].context!==n)&&c.push(s[a]);c.length?this._events[o]=1===c.length?c[0]:c:u(this,o)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&u(this,e)):(this._events=new o,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=i,c.EventEmitter=c,t.exports=c},"/jmH":function(t,e,n){!function(t){"use strict";
  10. //! moment.js locale configuration
  11. t.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("TiKg"))},"0+Cr":function(t,e,n){!function(t){"use strict";
  12. //! moment.js locale configuration
  13. t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("TiKg"))},"0+hf":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=n("qykS"),o=(r=n("+krU"))&&r.__esModule?r:{default:r};var s=[224,256,384,512],a=function(t,e){for(var n=0;n<t.length;n+=8){var r=n/4;e[r]^=t[n+7]<<24|t[n+6]<<16|t[n+5]<<8|t[n+4],e[r+1]^=t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]}},u=function(t){var e=this,n=t.capacity,r=t.padding;if(!s.includes(n))throw new Error("Unsupported hash length");var u=(0,o.default)(),c=n/8,h=200-2*c,l=0,d=new Uint32Array(50),f=i.Buffer.allocUnsafe(h);return this.absorb=function(t){for(var n=0;n<t.length;n++)f[l]=t[n],(l+=1)>=h&&(a(f,d),u(d),l=0);return e},this.squeeze=function(){var t={queue:i.Buffer.allocUnsafe(h),state:new Uint32Array(50)};f.copy(t.queue);for(var e=0;e<d.length;e++)t.state[e]=d[e];return t.queue.fill(0,l),t.queue[l]|=r,t.queue[h-1]|=128,a(t.queue,t.state),u(t.state),function(t,e){for(var n=i.Buffer.allocUnsafe(e),r=0;r<e;r+=8){var o=r/4;n[r]=t[o+1],n[r+1]=t[o+1]>>>8,n[r+2]=t[o+1]>>>16,n[r+3]=t[o+1]>>>24,n[r+4]=t[o],n[r+5]=t[o]>>>8,n[r+6]=t[o]>>>16,n[r+7]=t[o]>>>24}return n}(t.state,c)},this.reset=function(){return f.fill(0),d.fill(0),l=0,e},this};e.default=u},"0V88":function(t,e,n){!function(t){"use strict";
  14. //! moment.js locale configuration
  15. var e="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(t){return t>1&&t<5&&1!=~~(t/10)}function s(t,e,n,r){var i=t+" ";switch(n){case"s":return e||r?"pár sekund":"pár sekundami";case"ss":return e||r?i+(o(t)?"sekundy":"sekund"):i+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?i+(o(t)?"minuty":"minut"):i+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?i+(o(t)?"hodiny":"hodin"):i+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?i+(o(t)?"dny":"dní"):i+"dny";case"M":return e||r?"měsíc":"měsícem";case"MM":return e||r?i+(o(t)?"měsíce":"měsíců"):i+"měsíci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?i+(o(t)?"roky":"let"):i+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"0vPu":function(t,e,n){!function(t){"use strict";
  16. //! moment.js locale configuration
  17. var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n("TiKg"))},"1XdC":function(t,e,n){"use strict";n.r(e),n.d(e,"logout",(function(){return i}));var r=n("JpNb");function i(){Object(r.clean)()}},"1qNd":function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},"27bB":function(t,e,n){"use strict";var r=n("vdEC");Object.defineProperty(e,"__esModule",{value:!0}),e.getRandomBytes=e.getRandomSampledString=e.getRandomAsciiString=e.getRandomString=void 0;var i=r(n("wQqr"));e.getRandomString=function(t){for(var e=o(t),n=o(t),r="",i=0;i<t;i++)n[i]=n[i]%3,e[i]=0===n[i]?e[i]%10+48:e[i]%26+(1===n[i]?65:97),r+=String.fromCharCode(e[i]);return r};e.getRandomAsciiString=function(t){for(var e=o(t),n="",r=0;r<t;r++)e[r]=e[r]%94+32,n+=String.fromCharCode(e[r]);return n};e.getRandomSampledString=function(t,e){var n=e.length;if(0===n)return"";for(var r=o(t),i="",s=0;s<t;s++)i+=e[r[s]%n];return i};var o=function(t){var e,n=i.getRootWebCryptoAll(),r=i.getNodeCrypto();if(void 0!==n&&"function"==typeof n.getRandomValues)e=new Uint8Array(t),n.getRandomValues(e);else{if(void 0===r)throw new Error("UnsupportedEnvironment");e=new Uint8Array(r.randomBytes(t))}return e};e.getRandomBytes=o},"2KG9":function(t,e,n){"use strict";var r=n("OmE2");t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},"2Mwr":function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},"2ozp":function(t,e,n){var r=n("wfEq"),i=n("KSsY"),o=n("pRMk").Buffer,s=[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=new Array(160);function u(){this.init(),this._w=a,i.call(this,128,112)}function c(t,e,n){return n^t&(e^n)}function h(t,e,n){return t&e|n&(t|e)}function l(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function d(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function f(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function _(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function y(t,e){return t>>>0<e>>>0?1:0}r(u,i),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,a=0|this._eh,u=0|this._fh,v=0|this._gh,b=0|this._hh,g=0|this._al,w=0|this._bl,x=0|this._cl,M=0|this._dl,S=0|this._el,T=0|this._fl,A=0|this._gl,E=0|this._hl,L=0;L<32;L+=2)e[L]=t.readInt32BE(4*L),e[L+1]=t.readInt32BE(4*L+4);for(;L<160;L+=2){var D=e[L-30],C=e[L-30+1],k=f(D,C),O=p(C,D),I=_(D=e[L-4],C=e[L-4+1]),P=m(C,D),R=e[L-14],Y=e[L-14+1],B=e[L-32],N=e[L-32+1],j=O+Y|0,F=k+R+y(j,O)|0;F=(F=F+I+y(j=j+P|0,P)|0)+B+y(j=j+N|0,N)|0,e[L]=F,e[L+1]=j}for(var U=0;U<160;U+=2){F=e[U],j=e[U+1];var G=h(n,r,i),H=h(g,w,x),V=l(n,g),z=l(g,n),W=d(a,S),X=d(S,a),J=s[U],K=s[U+1],q=c(a,u,v),$=c(S,T,A),Z=E+X|0,Q=b+W+y(Z,E)|0;Q=(Q=(Q=Q+q+y(Z=Z+$|0,$)|0)+J+y(Z=Z+K|0,K)|0)+F+y(Z=Z+j|0,j)|0;var tt=z+H|0,et=V+G+y(tt,z)|0;b=v,E=A,v=u,A=T,u=a,T=S,a=o+Q+y(S=M+Z|0,M)|0,o=i,M=x,i=r,x=w,r=n,w=g,n=Q+et+y(g=Z+tt|0,Z)|0}this._al=this._al+g|0,this._bl=this._bl+w|0,this._cl=this._cl+x|0,this._dl=this._dl+M|0,this._el=this._el+S|0,this._fl=this._fl+T|0,this._gl=this._gl+A|0,this._hl=this._hl+E|0,this._ah=this._ah+n+y(this._al,g)|0,this._bh=this._bh+r+y(this._bl,w)|0,this._ch=this._ch+i+y(this._cl,x)|0,this._dh=this._dh+o+y(this._dl,M)|0,this._eh=this._eh+a+y(this._el,S)|0,this._fh=this._fh+u+y(this._fl,T)|0,this._gh=this._gh+v+y(this._gl,A)|0,this._hh=this._hh+b+y(this._hl,E)|0},u.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=u},"2q8S":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return h})),n.d(e,"d",(function(){return p}));var r=n("bb6g"),i=n("kp3F"),o=n("eJvy"),s=n("JpNb");function a(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,s;return Object(r.d)(this,(function(r){switch(r.label){case 0:if(!t.ok)return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,t.json()];case 2:return[2,r.sent()];case 3:return r.sent(),[2,t];case 4:return e=String(t.status),n=o.a.has(e)?e:i.z,[4,t.json().catch((function(){throw Object(o.j)(n,t.statusText)}))];case 5:throw s=r.sent(),Object(o.j)(s.error||n,s.error_description||s.message)}}))}))}function u(t){var e=function(t){if(t)return t;var e=Object(s.getAccessToken)();if(!e)throw Object(o.j)(i.y,"Need access_token for api call, Please login first");return{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer "+e}}(t&&t.headers);return Object(r.a)(Object(r.a)({},t),{headers:e})}function c(t,e){var n;try{n=u(e)}catch(t){return Promise.reject(t)}return fetch(t,n).then(a)}function h(t,e){var n;try{n=u(e)}catch(t){return Promise.reject(t)}return fetch(t,n)}function l(t){var e=t.subdomain;return"https://"+(void 0===e?"api":e)+".line.me/"+t.pathname}var d={token:l({pathname:"oauth2/v2.1/token"}),certs:l({pathname:"oauth2/v2.1/certs"}),"openid-configuration":l({subdomain:"access",pathname:".well-known/openid-configuration"}),authorize:l({subdomain:"access",pathname:"liff/v1/authorize"}),profile:l({pathname:"v2/profile"}),message:l({pathname:"message/v3/share"}),messageOTT:l({pathname:"message/v3/multisend?type=ott"}),friendship:l({pathname:"friendship/v1/status"}),shareTargetPicker:l({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker"}),shareTargetPickerOtt:l({pathname:"liff/v2/apps"}),shareTargetPickerResult:l({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker/result"}),apps:l({pathname:"liff/v2/apps"}),subWindowGetMSIT:l({pathname:"liff/v2/sub/msit"}),subWindowGetMSTByMSIT:l({pathname:"liff/v2/sub/mst"}),subWindowSubscribe:l({subdomain:"liff",pathname:"liff/v2/sub/waitResult"}),subWindowPost:l({pathname:"liff/v2/sub/result"}),subWindowGetAppData:l({pathname:"liff/v2/sub/appData"}),subWindowGetOrigin:function(t){return l({pathname:"liff/v2/sub/"+t+"/origin"})},accessTokenVerify:l({pathname:"oauth2/v2.1/verify"}),unauthorizedPermissions:l({subdomain:"liff",pathname:"liff/v2/incrementalAgreement/unauthorizedPermissions"})};function f(t){return d[t]}function p(t){return c(f("accessTokenVerify")+"?access_token="+encodeURIComponent(t),{headers:{"Content-Type":"application/json",Accept:"application/json"}})}},"2tm8":function(t,e,n){!function(t){"use strict";
  18. //! moment.js locale configuration
  19. t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("TiKg"))},"2xJO":function(t,e,n){!function(t){"use strict";
  20. //! moment.js locale configuration
  21. function e(t,e,n){var r=" ";return(t%100>=20||t>=100&&t%100==0)&&(r=" de "),t+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("TiKg"))},"3MSx":function(t,e,n){var r=n("LER9"),i=n("bPso"),o=n("+oaW"),s=n("CsW6"),a=n("F1mQ"),u=n("8kJ5"),c=n("HfSF"),h=n("5Wkw"),l=n("pRMk").Buffer;t.exports=function(t,e,n){var d;d=t.padding?t.padding:n?1:4;var f,p=r(t);if(4===d)f=function(t,e){var n=t.modulus.byteLength(),r=e.length,c=o("sha1").update(l.alloc(0)).digest(),h=c.length,d=2*h;if(r>n-d-2)throw new Error("message too long");var f=l.alloc(n-r-d-2),p=n-h-1,_=i(h),m=a(l.concat([c,f,l.alloc(1,1),e],p),s(_,p)),y=a(_,s(m,h));return new u(l.concat([l.alloc(1),y,m],n))}(p,e);else if(1===d)f=function(t,e,n){var r,o=e.length,s=t.modulus.byteLength();if(o>s-11)throw new Error("message too long");r=n?l.alloc(s-o-3,255):function(t){var e,n=l.allocUnsafe(t),r=0,o=i(2*t),s=0;for(;r<t;)s===o.length&&(o=i(2*t),s=0),(e=o[s++])&&(n[r++]=e);return n}(s-o-3);return new u(l.concat([l.from([0,n?1:2]),r,l.alloc(1),e],s))}(p,e,n);else{if(3!==d)throw new Error("unknown padding");if((f=new u(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?h(f,p):c(f,p)}},"3Wkq":function(t,e,n){(function(e){var r=n("8kJ5"),i=new(n("y9a5")),o=new r(24),s=new r(11),a=new r(10),u=new r(3),c=new r(7),h=n("cyIN"),l=n("bPso");function d(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this._pub=new r(t),this}function f(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this._priv=new r(t),this}t.exports=_;var p={};function _(t,e,n){this.setGenerator(e),this.__prime=new r(t),this._prime=r.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=f):this._primeCode=8}function m(t,n){var r=new e(t.toArray());return n?r.toString(n):r}Object.defineProperty(_.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var n=e.toString("hex"),r=[n,t.toString(16)].join("_");if(r in p)return p[r];var l,d=0;if(t.isEven()||!h.simpleSieve||!h.fermatTest(t)||!i.test(t))return d+=1,d+="02"===n||"05"===n?8:4,p[r]=d,d;switch(i.test(t.shrn(1))||(d+=2),n){case"02":t.mod(o).cmp(s)&&(d+=8);break;case"05":(l=t.mod(a)).cmp(u)&&l.cmp(c)&&(d+=8);break;default:d+=4}return p[r]=d,d}(this.__prime,this.__gen)),this._primeCode}}),_.prototype.generateKeys=function(){return this._priv||(this._priv=new r(l(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},_.prototype.computeSecret=function(t){var n=(t=(t=new r(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new e(n.toArray()),o=this.getPrime();if(i.length<o.length){var s=new e(o.length-i.length);s.fill(0),i=e.concat([s,i])}return i},_.prototype.getPublicKey=function(t){return m(this._pub,t)},_.prototype.getPrivateKey=function(t){return m(this._priv,t)},_.prototype.getPrime=function(t){return m(this.__prime,t)},_.prototype.getGenerator=function(t){return m(this._gen,t)},_.prototype.setGenerator=function(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this.__gen=t,this._gen=new r(t),this}}).call(this,n("qykS").Buffer)},"3lCv":function(t,e,n){"use strict";var r=n("lphy"),i=n("Of5m");function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=b,e.resolve=function(t,e){return b(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?b(t,!1,!0).resolveObject(e):e},e.format=function(t){i.isString(t)&&(t=b(t));return t instanceof o?t.format():o.prototype.format.call(t)},e.Url=o;var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(c),l=["%","/","?",";","#"].concat(h),d=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n("UKnr");function b(t,e,n){if(t&&i.isObject(t)&&t instanceof o)return t;var r=new o;return r.parse(t,e,n),r}o.prototype.parse=function(t,e,n){if(!i.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),a=-1!==o&&o<t.indexOf("#")?"?":"#",c=t.split(a);c[0]=c[0].replace(/\\/g,"/");var b=t=c.join(a);if(b=b.trim(),!n&&1===t.split("#").length){var g=u.exec(b);if(g)return this.path=b,this.href=b,this.pathname=g[1],g[2]?(this.search=g[2],this.query=e?v.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=s.exec(b);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var M="//"===b.substr(0,2);!M||w&&m[w]||(b=b.substr(2),this.slashes=!0)}if(!m[w]&&(M||w&&!y[w])){for(var S,T,A=-1,E=0;E<d.length;E++){-1!==(L=b.indexOf(d[E]))&&(-1===A||L<A)&&(A=L)}-1!==(T=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(S=b.slice(0,T),b=b.slice(T+1),this.auth=decodeURIComponent(S)),A=-1;for(E=0;E<l.length;E++){var L;-1!==(L=b.indexOf(l[E]))&&(-1===A||L<A)&&(A=L)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var C=this.hostname.split(/\./),k=(E=0,C.length);E<k;E++){var O=C[E];if(O&&!O.match(f)){for(var I="",P=0,R=O.length;P<R;P++)O.charCodeAt(P)>127?I+="x":I+=O[P];if(!I.match(f)){var Y=C.slice(0,E),B=C.slice(E+1),N=O.match(p);N&&(Y.push(N[1]),B.unshift(N[2])),B.length&&(b="/"+B.join(".")+b),this.hostname=Y.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=r.toASCII(this.hostname));var j=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+j,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!_[x])for(E=0,k=h.length;E<k;E++){var U=h[E];if(-1!==b.indexOf(U)){var G=encodeURIComponent(U);G===U&&(G=escape(U)),b=b.split(U).join(G)}}var H=b.indexOf("#");-1!==H&&(this.hash=b.substr(H),b=b.slice(0,H));var V=b.indexOf("?");if(-1!==V?(this.search=b.substr(V),this.query=b.substr(V+1),e&&(this.query=v.parse(this.query)),b=b.slice(0,V)):e&&(this.search="",this.query={}),b&&(this.pathname=b),y[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){j=this.pathname||"";var z=this.search||"";this.path=j+z}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,s="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(s=v.stringify(this.query));var a=this.search||s&&"?"+s||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||y[e])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),e+o+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+r},o.prototype.resolve=function(t){return this.resolveObject(b(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if(i.isString(t)){var e=new o;e.parse(t,!1,!0),t=e}for(var n=new o,r=Object.keys(this),s=0;s<r.length;s++){var a=r[s];n[a]=this[a]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),c=0;c<u.length;c++){var h=u[c];"protocol"!==h&&(n[h]=t[h])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!y[t.protocol]){for(var l=Object.keys(t),d=0;d<l.length;d++){var f=l[d];n[f]=t[f]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||m[t.protocol])n.pathname=t.pathname;else{for(var p=(t.pathname||"").split("/");p.length&&!(t.host=p.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var _=n.pathname||"",v=n.search||"";n.path=_+v}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),g=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=g||b||n.host&&t.pathname,x=w,M=n.pathname&&n.pathname.split("/")||[],S=(p=t.pathname&&t.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===M[0]?M[0]=n.host:M.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===p[0]?p[0]=t.host:p.unshift(t.host)),t.host=null),w=w&&(""===p[0]||""===M[0])),g)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,M=p;else if(p.length)M||(M=[]),M.pop(),M=M.concat(p),n.search=t.search,n.query=t.query;else if(!i.isNullOrUndefined(t.search)){if(S)n.hostname=n.host=M.shift(),(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift());return n.search=t.search,n.query=t.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!M.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var T=M.slice(-1)[0],A=(n.host||t.host||M.length>1)&&("."===T||".."===T)||""===T,E=0,L=M.length;L>=0;L--)"."===(T=M[L])?M.splice(L,1):".."===T?(M.splice(L,1),E++):E&&(M.splice(L,1),E--);if(!w&&!x)for(;E--;E)M.unshift("..");!w||""===M[0]||M[0]&&"/"===M[0].charAt(0)||M.unshift(""),A&&"/"!==M.join("/").substr(-1)&&M.push("");var D,C=""===M[0]||M[0]&&"/"===M[0].charAt(0);S&&(n.hostname=n.host=C?"":M.length?M.shift():"",(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift()));return(w=w||n.host&&M.length)&&!C&&M.unshift(""),M.length?n.pathname=M.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},"3qw6":function(t,e){t.exports=function(t){for(var e,n=t.length;n--;){if(255!==(e=t.readUInt8(n))){e++,t.writeUInt8(e,n);break}t.writeUInt8(0,n)}}},"45vN":function(t,e,n){var r=e;r.Reporter=n("E9s0").Reporter,r.DecoderBuffer=n("Imh/").DecoderBuffer,r.EncoderBuffer=n("Imh/").EncoderBuffer,r.Node=n("soaT")},"48B7":function(t,e,n){"use strict";var r=n("fOyB"),i=n("8kJ5"),o=n("wfEq"),s=n("7ZyU"),a=r.assert;function u(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,s.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function c(t,e,n,r,o){s.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,s),t.exports=u,u.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},u.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},u.prototype.jpoint=function(t,e,n,r){return this.point(t,e,n,r)},u.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=r.redMul(o.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var u=a.fromRed().isOdd();return(e&&!u||!e&&u)&&(a=a.redNeg()),this.point(t,a)},u.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(o.redInvm());if(0===s.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==e&&(a=a.redNeg()),this.point(a,t)},u.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),r=e.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===r.cmp(i)},o(c,s.BasePoint),u.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},u.prototype.point=function(t,e,n,r){return new c(this,t,e,n,r)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=r.redAdd(e),s=o.redSub(n),a=r.redSub(e),u=i.redMul(s),c=o.redMul(a),h=i.redMul(a),l=s.redMul(o);return this.curve.point(u,c,l,h)},c.prototype._projDbl=function(){var t,e,n,r,i,o,s=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var c=(r=this.curve._mulA(a)).redAdd(u);this.zOne?(t=s.redSub(a).redSub(u).redMul(c.redSub(this.curve.two)),e=c.redMul(r.redSub(u)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=s.redSub(a).redISub(u).redMul(o),e=c.redMul(r.redSub(u)),n=c.redMul(o))}else r=a.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),t=this.curve._mulC(s.redISub(r)).redMul(o),e=this.curve._mulC(r).redMul(a.redISub(u)),n=r.redMul(o);return this.curve.point(t,e,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),r=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(e),s=i.redSub(r),a=i.redAdd(r),u=n.redAdd(e),c=o.redMul(s),h=a.redMul(u),l=o.redMul(u),d=s.redMul(a);return this.curve.point(c,h,d,l)},c.prototype._projAdd=function(t){var e,n,r=this.z.redMul(t.z),i=r.redSqr(),o=this.x.redMul(t.x),s=this.y.redMul(t.y),a=this.curve.d.redMul(o).redMul(s),u=i.redSub(a),c=i.redAdd(a),h=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(s),l=r.redMul(u).redMul(h);return this.curve.twisted?(e=r.redMul(c).redMul(s.redSub(this.curve._mulA(o))),n=u.redMul(c)):(e=r.redMul(c).redMul(s.redSub(o)),n=this.curve._mulC(u).redMul(c)),this.curve.point(l,e,n)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},c.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(r),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},"4OlW":function(t,e,n){"use strict";var r=n("ovh1"),i=n("bRtl");t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},"4dXb":function(t,e,n){!function(t){"use strict";
  22. //! moment.js locale configuration
  23. t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"4lZK":function(t,e,n){!function(t){"use strict";
  24. //! moment.js locale configuration
  25. var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("TiKg"))},"5+HP":function(t,e,n){"use strict";(function(t){var r=n("Z3s7"),i=n("AIuu"),o=setTimeout;function s(t){return Boolean(t&&void 0!==t.length)}function a(){}function u(t){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(t,this)}function c(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,u._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void l(e.promise,t)}h(e.promise,r)}else(1===t._state?h:l)(e.promise,t._value)}))):t._deferreds.push(e)}function h(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof u)return t._state=3,t._value=e,void d(t);if("function"==typeof n)return void p((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,d(t)}catch(e){l(t,e)}var r,i}function l(t,e){t._state=2,t._value=e,d(t)}function d(t){2===t._state&&0===t._deferreds.length&&u._immediateFn((function(){t._handled||u._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)c(t,t._deferreds[e]);t._deferreds=null}function f(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function p(t,e){var n=!1;try{t((function(t){n||(n=!0,h(e,t))}),(function(t){n||(n=!0,l(e,t))}))}catch(t){if(n)return;n=!0,l(e,t)}}u.prototype.catch=function(t){return this.then(null,t)},u.prototype.then=function(t,e){var n=new this.constructor(a);return c(this,new f(t,e,n)),n},u.prototype.finally=r.a,u.all=function(t){return new u((function(e,n){if(!s(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function o(t,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,(function(e){o(t,e)}),n)}r[t]=s,0==--i&&e(r)}catch(t){n(t)}}for(var a=0;a<r.length;a++)o(a,r[a])}))},u.allSettled=i.a,u.resolve=function(t){return t&&"object"==typeof t&&t.constructor===u?t:new u((function(e){e(t)}))},u.reject=function(t){return new u((function(e,n){n(t)}))},u.race=function(t){return new u((function(e,n){if(!s(t))return n(new TypeError("Promise.race accepts an array"));for(var r=0,i=t.length;r<i;r++)u.resolve(t[r]).then(e,n)}))},u._immediateFn="function"==typeof t&&function(e){t(e)}||function(t){o(t,0)},u._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},e.a=u}).call(this,n("oPUo").setImmediate)},"53ng":function(t,e,n){"use strict";function r(){var t=navigator.userAgent.match(/Line\/\d+(\.\d+)*/i);return t?t[0].slice(5):null}n.r(e),n.d(e,"getLineVersion",(function(){return r}))},"5Ekh":function(t,e,n){(e=t.exports=n("B0Cl")).Stream=e,e.Readable=e,e.Writable=n("g+31"),e.Duplex=n("A/eZ"),e.Transform=n("+t3Y"),e.PassThrough=n("OLMR")},"5IsQ":function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var u,c=[],h=!1,l=-1;function d(){h&&u&&(h=!1,u.length?c=u.concat(c):l=-1,c.length&&f())}function f(){if(!h){var t=a(d);h=!0;for(var e=c.length;e;){for(u=c,c=[];++l<e;)u&&u[l].run();l=-1,e=c.length}u=null,h=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function _(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||h||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=_,i.addListener=_,i.once=_,i.off=_,i.removeListener=_,i.removeAllListeners=_,i.emit=_,i.prependListener=_,i.prependOnceListener=_,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},"5QbJ":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},"5Wkw":function(t,e,n){(function(e){var r=n("8kJ5"),i=n("bPso");function o(t,n){var i=function(t){var e=s(t);return{blinder:e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(n),o=n.modulus.byteLength(),a=(r.mont(n.modulus),new r(t).mul(i.blinder).umod(n.modulus)),u=a.toRed(r.mont(n.prime1)),c=a.toRed(r.mont(n.prime2)),h=n.coefficient,l=n.prime1,d=n.prime2,f=u.redPow(n.exponent1),p=c.redPow(n.exponent2);f=f.fromRed(),p=p.fromRed();var _=f.isub(p).imul(h).umod(l);return _.imul(d),p.iadd(_),new e(p.imul(i.unblinder).umod(n.modulus).toArray(!1,o))}function s(t){for(var e=t.modulus.byteLength(),n=new r(i(e));n.cmp(t.modulus)>=0||!n.umod(t.prime1)||!n.umod(t.prime2);)n=new r(i(e));return n}t.exports=o,o.getr=s}).call(this,n("qykS").Buffer)},"5wZK":function(t,e,n){var r=e;r.der=n("LpNI"),r.pem=n("wQuK")},"62Az":function(t,e,n){!function(t){"use strict";
  26. //! moment.js locale configuration
  27. t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("TiKg"))},"63Ad":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},"6Bnx":function(t,e,n){"use strict";n.r(e),n.d(e,"InitModule",(function(){return W}));var r=n("bb6g"),i=n("ZIm7"),o=n("eJvy"),s=n("JpNb"),a=n("kp3F"),u=n("NOeq"),c=n("53ng");function h(){return function(){return t=this,e=void 0,r=function(){return function(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(t){switch(t.label){case 0:return[3,2];case 1:return[2,t.sent().default];case 2:return[2,new Promise((function(t,e){var n,r=document.createElement("script"),i="ios"===Object(u.getOS)()?(n=Object(c.getLineVersion)())&&Object(o.e)(n,"9.19.0")<0?"https://static.line-scdn.net/liff/edge/2/ios-918-extensions.js":"https://static.line-scdn.net/liff/edge/2/ios-extensions.js":"https://static.line-scdn.net/liff/edge/2/non-ios-extensions.js";r.onload=function(){var n=window.liffClientExtension;n?t(n):e(Object(o.j)(a.e,"Unable to load client features. (Extension is empty)"))},r.onerror=function(){e(Object(o.j)(a.e,"Unable to load client features."))},r.src=i,r.type="text/javascript",document.body.appendChild(r)}))]}}))},new((n=void 0)||(n=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}u((r=r.apply(t,e||[])).next())}));
  28. /*! *****************************************************************************
  29. Copyright (c) Microsoft Corporation.
  30. Permission to use, copy, modify, and/or distribute this software for any
  31. purpose with or without fee is hereby granted.
  32. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  33. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  34. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  35. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  36. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  37. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  38. PERFORMANCE OF THIS SOFTWARE.
  39. ***************************************************************************** */
  40. var t,e,n,r}()}var l=n("YaxJ"),d=n("hGkD"),f=n("1XdC"),p=n("bI9i"),_=n("OOa2"),m=n("2q8S"),y=n("vePQ"),v=n.n(y),b=n("QuL7"),g=n("cAUJ"),w=n("YVk5"),x={iconColor:"#111111",statusBarColor:"BLACK",titleTextColor:"#111111",titleSubtextColor:"#B7B7B7",titleButtonColor:"#111111",titleBackgroundColor:"#FFFFFF",progressBarColor:"#06C755",progressBackgroundColor:"#FFFFFF",titleButtonAreaBackgroundColor:"#1FFFFFFF",titleButtonAreaBorderColor:"#26000000",baseBackgroundColor:"#FFFFFF",baseTextColor:"#000000",lightButtonBorderColor:"rgba(0, 0, 0, 0.15)"},M={iconColor:"#FFFFFF",statusBarColor:"WHITE",titleTextColor:"#FFFFFF",titleSubtextColor:"#949494",titleButtonColor:"#FFFFFF",titleBackgroundColor:"#111111",progressBarColor:"#06C755",progressBackgroundColor:"#111111",titleButtonAreaBackgroundColor:"#1FFFFFFF",titleButtonAreaBorderColor:"#26000000",baseBackgroundColor:"#000000",baseTextColor:"#FFFFFF",lightButtonBorderColor:"rgba(255, 255, 255, 0.5)"};function S(t){var e=Object(s.getContext)(),n=(null==e?void 0:e.menuColorSetting)||{adaptableColorSchemes:["light"],lightModeColor:x,darkModeColor:M},i=n.adaptableColorSchemes,o=n.lightModeColor,a=n.darkModeColor,u=i.includes("dark");t.matches&&u?T(Object(r.a)(Object(r.a)({},M),a)):T(Object(r.a)(Object(r.a)({},x),o))}function T(t){var e=t.iconColor,n=t.statusBarColor,r=t.titleTextColor,i=t.titleSubtextColor,s=t.titleButtonColor,a=t.titleBackgroundColor,u=t.progressBarColor,c=t.progressBackgroundColor,h=t.titleButtonAreaBackgroundColor,l=t.titleButtonAreaBorderColor,d=t.baseBackgroundColor,f=t.baseTextColor,p=t.lightButtonBorderColor;A("--liff-base-background-color",d),A("--liff-base-text-color",f),A("--liff-base-background-rgb-color",Object(o.h)(d)),A("--liff-base-text-rgb-color",Object(o.h)(f)),A("--liff-light-button-border-color",p),A("--liff-title-text-color",r),A("--liff-title-background-color",a),A("--liff-title-button-color",s),A("--liff-icon-color",e),A("--liff-status-bar-color",n),A("--liff-title-subtext-color",i),A("--liff-progress-bar-color",u),A("--liff-progress-background-color",c),A("--liff-title-button-area-background-color",Object(o.f)(h)),A("--liff-title-button-area-border-color",Object(o.f)(l))}function A(t,e){document.documentElement.style.setProperty(t,e)}function E(t){return Object(r.b)(this,void 0,void 0,(function(){return Object(r.d)(this,(function(e){switch(e.label){case 0:return[4,h()];case 1:return e.sent().install(t),[2]}}))}))}function L(){return Object(r.b)(this,void 0,void 0,(function(){return Object(r.d)(this,(function(t){switch(t.label){case 0:return[4,Object(m.a)(Object(m.b)("certs"))];case 1:return[2,t.sent()]}}))}))}function D(t,e,n){return Object(r.b)(this,void 0,void 0,(function(){var i,o;return Object(r.d)(this,(function(r){switch(r.label){case 0:return function(){return"ios"===Object(u.getOS)()&&null!==(t=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/))&&parseInt(t[1],10)<=10;var t}()?(i=v.a.verify(e,n,t,"SHA-256","raw"),[3,4]):[3,1];case 1:return[4,crypto.subtle.importKey("jwk",t,{name:"ECDSA",namedCurve:"P-256"},!1,["verify"])];case 2:return o=r.sent(),[4,crypto.subtle.verify({name:"ECDSA",hash:{name:"SHA-256"}},o,n,e)];case 3:i=r.sent(),r.label=4;case 4:return[2,i]}}))}))}function C(t,e){return Object(r.b)(this,void 0,void 0,(function(){var n,i,s,u,c,h,l,d,f,p,_,m,y,v,b,g;return Object(r.d)(this,(function(w){switch(w.label){case 0:return n=t.split("."),i=Object(r.e)(n,3),s=i[0],u=i[1],c=i[2],h=JSON.parse(o.d.decode(s)),l=JSON.parse(o.d.decodeUnicode(u)),d=Object(o.g)(o.d.decode(c)),f=Object(o.g)(s+"."+u),[4,L()];case 1:if(p=w.sent(),!(_=p.keys.find((function(t){return t.kid===h.kid}))))return[3,6];if(delete _.alg,"ES256"!==h.alg)throw Object(o.j)(a.h,'Invalid "alg" value in ID_TOKEN');m=void 0,w.label=2;case 2:return w.trys.push([2,4,,5]),[4,D(_,f,d)];case 3:return m=w.sent(),[3,5];case 4:throw y=w.sent(),Object(o.j)(a.h,"Failed to use Crypto API to verify ID_TOKEN: "+y);case 5:if(m){if(v="https://access.line.me"!==l.iss,b=l.aud!==e,g=1e3*l.exp<Date.now(),v)throw Object(o.j)(a.h,'Invalid "iss" value in ID_TOKEN');if(b)throw Object(o.j)(a.h,'Invalid "aud" value in ID_TOKEN');if(g)throw Object(o.j)(a.h,'Invalid "exp" value in ID_TOKEN');return[2,l]}throw Object(o.j)(a.h,"Invalid signature in ID_TOKEN");case 6:throw Object(o.j)(a.h,'Invalid "kid" value in ID_TOKEN');case 7:return[2]}}))}))}function k(t){var e=t.split(".");if(e[1])try{var n=e[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(n))}catch(t){return null}return null}function O(t){var e=t.pathname,n=t.query,r="liff://"+e+(n?"?"+o.u.stringify(n):"");location.href=r}var I=null;function P(){return Boolean(I)}function R(t,e){return Object(r.b)(this,void 0,void 0,(function(){var n;return Object(r.d)(this,(function(r){switch(r.label){case 0:return(n=Object(s.getMST)())?[2,n]:t&&e?[4,Object(_.getMSTByMSIT)({msit:t,mstVerifier:e})]:[3,2];case 1:return[2,r.sent().mst];case 2:return[2,null]}}))}))}function Y(t){return Object(m.a)(Object(m.b)("apps")+"/"+t+"/featureToken")}function B(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,i,a,u,c,h;return Object(r.d)(this,(function(r){switch(r.label){case 0:return e=o.u.parse(window.location.hash),n=Object(o.t)({access_token:Object(s.getAccessToken)(),context_token:Object(s.getRawContext)(),feature_token:Object(s.getFeatureToken)(),id_token:Object(s.getIDToken)(),client_id:Object(s.getClientId)(),mst_challenge:Object(s.getMSTChallenge)(),mst_verifier:Object(s.getMSTVerifier)(),msit:Object(s.getMSIT)()},e),P()?Object(d.isLoggedIn)()?[4,Y(t)]:[3,2]:[3,3];case 1:a=r.sent(),u=a.featureToken,c=a.features,i=c,n.feature_token||(n.feature_token=u),r.label=2;case 2:(h=Object(o.k)(t))&&(n.client_id=h),r.label=3;case 3:return[2,{credentials:n,features:i}]}}))}))}function N(t){if(t.persisted&&Object(w.isApiAvailable)("multipleLiffTransition"))if("ios"===Object(u.getOS)())window.location.reload();else{var e=Object(s.getConfig)().liffId,n=Object(s.getFeatureToken)();if(!e)throw Object(o.j)(a.e,"Invalid LIFF ID.");if(!n)throw Object(o.j)(a.d,"Invalid featureToken for client features");O({pathname:"app/"+e,query:{feature_token:n}})}}function j(t,e){return Object(r.b)(this,void 0,void 0,(function(){var n,i;return Object(r.d)(this,(function(r){switch(r.label){case 0:return[4,Object(m.d)(t)];case 1:return n=r.sent().client_id,i=Object(o.k)(e),[2,n===i]}}))}))}function F(t,e){return Object(r.b)(this,void 0,void 0,(function(){var n,i,u,h,f,m,y,v,x,M,S,T,A;return Object(r.d)(this,(function(r){switch(r.label){case 0:return[4,new Promise((function(t){var e=Object(c.getLineVersion)();if(!e||Object(o.e)(e,"9.5.0")<0)t();else if(window._liff&&window._liff.features)t();else{b.a.debug("cannot find window._liff.features, listen to ready event");var n=function(){b.a.debug("ready event is fired"),Object(g.removeListener)("ready",n),t()};Object(g.addListener)("ready",n)}}))];case 1:return r.sent(),"boolean"==typeof I&&b.a.warn("liff.init is not expected to be called more than once"),I=!!Object(s.getIsSubsequentLiffApp)()||!(!Object(l.isInClient)()||o.u.parse(window.location.hash).feature_token||Object(s.getFeatureToken)())&&(Object(s.setIsSubsequentLiffApp)(!0),!0),[4,B(e.liffId)];case 2:return n=r.sent().credentials,i=n.access_token,u=n.context_token,h=n.feature_token,f=n.id_token,m=n.client_id,y=n.mst_verifier,v=n.mst_challenge,x=n.msit,!Object(p.isSubWindow)()&&h&&(function(t,e){Object(w.isApiAvailable)("multipleLiffTransition")&&O({pathname:"app/"+t,query:{feature_token:e}})}(e.liffId,h),P()&&Object(s.setFeatureToken)(h)),u&&Object(s.setContext)(k(u)),v&&Object(s.setMSTChallenge)(v),y&&Object(s.setMSTVerifier)(y),m&&Object(s.setClientId)(m),x&&Object(s.setMSIT)(x),window.addEventListener("pageshow",N),Object(d.isLoggedIn)()?[3,7]:h&&i?[3,5]:P()?(M=Object(o.c)(location.href,{"liff.hback":"2"}),t.login({redirectUri:M}),[4,new Promise((function(){}))]):[3,4];case 3:r.sent(),r.label=4;case 4:throw t.login(),Object(o.j)(a.e,"Failed to parse feature_token or access_token");case 5:return[4,j(i,e.liffId)];case 6:if(!r.sent())throw t.login(),Object(o.j)(a.e,"Failed to verify access_token");Object(s.setFeatureToken)(h),Object(s.setAccessToken)(i),r.label=7;case 7:return[4,R(x,y)];case 8:return(S=r.sent())?(Object(s.setMST)(S),[4,Object(_.getAppData)({mst:S})]):[3,10];case 9:(T=r.sent().data)&&Object(s.setAppData)(JSON.stringify(T)),r.label=10;case 10:return f&&!Object(s.getIDToken)()&&Object(s.setIDToken)(f),f&&m&&!Object(s.getDecodedIDToken)()?[4,C(f,m)]:[3,12];case 11:(A=r.sent())&&Object(s.setDecodedIDToken)(A),r.label=12;case 12:return[2]}}))}))}function U(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,i,u,c,h,l;return Object(r.d)(this,(function(r){switch(r.label){case 0:return e=Object(m.b)("apps"),n=e+"/"+t+"/contextToken",i=Object(s.getAccessToken)(),u={"Content-Type":"application/json",Accept:"application/json"},i&&(u.Authorization="Bearer "+i),[4,Object(m.a)(n,{headers:u})];case 1:if(c=r.sent(),!(h=c.contextToken))throw Object(o.j)(a.e,"Can not get context from server.");if(!(l=k(h)))throw Object(o.j)(a.e,"Invalid context token.");return[2,l]}}))}))}function G(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){switch(n.label){case 0:if(!(t=Object(s.getConfig)().liffId))throw Object(o.j)(a.e,"Invalid LIFF ID.");return[4,U(t)];case 1:return e=n.sent(),Object(s.setContext)(e),[2]}}))}))}function H(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,i,a=this;return Object(r.d)(this,(function(u){switch(u.label){case 0:e=function(){return Object(r.b)(a,void 0,void 0,(function(){var e,n,i,a,u,c;return Object(r.d)(this,(function(r){switch(r.label){case 0:return[4,(h=Object(s.getConfig)(),l=o.u.parse(window.location.search),d=Object(s.getLoginTmp)(),f={grant_type:"authorization_code",client_id:l.liffClientId,appId:h.liffId,code:l.code,code_verifier:d.codeVerifier,redirect_uri:h.redirectUri||l.liffRedirectUri,id_token_key_type:"JWK"},p=o.u.stringify(f),Object(m.a)(Object(m.b)("token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:p}))];case 1:return e=r.sent(),n=e.access_token,i=e.id_token,a=e.expires_in,Object(s.setClientId)(t),Object(s.setAccessToken)(n),Object(s.setExpireTime)(new Date(Date.now()+1e3*a)),Object(s.removeLoginTmp)(),i?(Object(s.setIDToken)(i),[4,C(i,t)]):[3,3];case 2:(u=r.sent())&&Object(s.setDecodedIDToken)(u),r.label=3;case 3:return(c=o.u.parse(location.hash).context_token)?(Object(s.setContext)(k(c)),[3,6]):[3,4];case 4:return[4,G()];case 5:r.sent(),r.label=6;case 6:return[2]}var h,l,d,f,p}))}))},u.label=1;case 1:return u.trys.push([1,3,,4]),[4,e()];case 2:return u.sent(),[3,4];case 3:throw n=u.sent(),i=n,Object(s.removeLoginTmp)(),i;case 4:return[2]}}))}))}var V=new(function(){function t(){var t=this;this.getAndValidateContext=function(){var t=Object(s.getContext)();if(!t)throw Object(o.j)(a.e,"Could not get Context from server.");if(!t.endpointUrl)throw Object(o.j)(a.e,"Could not get endpointUrl from server.");if(!t.permanentLinkPattern)throw Object(o.j)(a.e,"Could not get permanentLinkPattern from server.");return t},this.decodeState=function(e){var n=t.getAndValidateContext();e=e.replace(/\n/g,"%0D%0A");var r=!n.endpointUrl.startsWith("/?")&&n.endpointUrl.includes("/?")||!n.endpointUrl.startsWith("/#")&&n.endpointUrl.includes("/#")||n.endpointUrl.endsWith("/")||!e.startsWith("/?")&&e.includes("/?")||!e.startsWith("/#")&&e.includes("/#")||e.endsWith("/"),i=new URL(n.endpointUrl),o=i.origin,s=i.pathname,a=i.search,u=new URL(""+o+t.attachSlashAtStart(e)),c=u.pathname,h=u.search,l=u.hash,d=""+a+(a?h.replace(/\?/g,"&"):h),f=(""+s+t.attachSlashAtStart(c)).replace("//","/");return(f=t.attachSlashAtStart(""+f)).endsWith("/")&&!r&&(f=f.substring(0,f.length-1)),(""+o+f+d+l).replace(/%0D%0A/g,"\n")}}return t.prototype.attachSlashAtStart=function(t){return(t&&t.length>0&&!t.startsWith("/")?"/":"")+t},t.prototype.invoke=function(){return Object(r.b)(this,void 0,void 0,(function(){var t,e,n,i,s;return Object(r.d)(this,(function(r){switch(r.label){case 0:if(t=o.u.parse(window.location.search),"string"!=typeof(e=t["liff.state"]))return[2];r.label=1;case 1:return r.trys.push([1,4,,5]),n=location.href,(i=this.decodeState(e))===n?[3,3]:(t["liff.hback"]?location.replace(Object(o.c)(i,{"liff.hback":t["liff.hback"]})):location.replace(i),[4,new Promise((function(){}))]);case 2:r.sent(),r.label=3;case 3:return[3,5];case 4:if((s=r.sent()).code===a.e)throw s;return b.a.debug(s),[3,5];case 5:return[2]}}))}))},t}());function z(t,e,n){return Object(r.b)(this,void 0,void 0,(function(){var i;return Object(r.d)(this,(function(r){switch(r.label){case 0:if(!n.liffId)throw Object(o.j)(a.g,"liffId is necessary for liff.init()");return Object(s.setConfig)(n),!Object(l.isInClient)()&&Object(d.isLoggedIn)()&&(Object(s.getExpireTime)()||Object(f.logout)()),i=o.u.parse(window.location.search),!Object(p.isSubWindow)()||Object(l.isInClient)()?[3,2]:[4,new Promise((function(t){Object(_.getMainWindowOrigin)()?t():window.addEventListener("message",(function e(n){var r=n.data,i=n.source,o=n.origin;if(r){var u=r.type,c=r.message;u===a.t&&(window.removeEventListener("message",e),c&&Object(s.setAppData)(c),Object(_.setMainWindowOrigin)(o),i&&i.postMessage&&i.postMessage({status:a.t},o),t())}}))}))];case 1:r.sent(),r.label=2;case 2:if(i.error&&i.liffOAuth2Error)throw h=i.error,m=i.error_description.replace(/\+/g," "),Object(o.j)(a.e,h+": "+m);return u=i.code,c=Object(s.getLoginTmp)(),Boolean(u&&!Object(d.isLoggedIn)()&&c&&c.codeVerifier)?[4,H(i.liffClientId)]:[3,4];case 3:r.sent(),r.label=4;case 4:return Object(l.isInClient)()?[4,F(t,n)]:[3,6];case 5:return r.sent(),[3,8];case 6:return Object(d.isLoggedIn)()?[3,8]:[4,G()];case 7:r.sent(),r.label=8;case 8:return[4,V.invoke()];case 9:return r.sent(),[4,e.runHook("beforeInitFinished")];case 10:return r.sent(),Object(o.x)(window.location.href),[2]}var u,c,h,m}))}))}var W=function(){function t(t,e){this.liff=t,this.moduleDriver=e}return Object.defineProperty(t.prototype,"name",{get:function(){return"init"},enumerable:!1,configurable:!0}),t.prototype.install=function(){return this.init.bind(this)},t.prototype.init=function(t,e,n){return Object(r.b)(this,void 0,void 0,(function(){var o;return Object(r.d)(this,(function(r){switch(r.label){case 0:a=this.liff,window&&!window.liff&&(window.liff=a),r.label=1;case 1:return r.trys.push([1,4,,6]),[4,Promise.all([E(this.liff),z(this.liff,this.moduleDriver,t)])];case 2:return r.sent(),function(){var t;A("color-scheme",((null==(t=Object(s.getContext)())?void 0:t.menuColorSetting)||{adaptableColorSchemes:["light"]}).adaptableColorSchemes.join(" "));var e=window.matchMedia("(prefers-color-scheme: dark)");S({matches:null==e?void 0:e.matches,media:null==e?void 0:e.media}),e.addEventListener?e.addEventListener("change",S):e.addListener&&e.addListener(S)}(),[4,this.moduleDriver.runHook("beforeInitSuccess")];case 3:return r.sent(),"function"==typeof e&&e(),Object(i.done)(),[3,6];case 4:return o=r.sent(),[4,this.moduleDriver.runHook("initError",o)];case 5:throw r.sent(),"function"==typeof n&&n(o),o;case 6:return[2]}var a}))}))},t}()},"6DIm":function(t,e,n){"use strict";(function(t,n){
  41. /*!
  42. * Vue.js v2.6.11
  43. * (c) 2014-2019 Evan You
  44. * Released under the MIT License.
  45. */
  46. var r=Object.freeze({});function i(t){return null==t}function o(t){return null!=t}function s(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function u(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function h(t){return"[object Object]"===c.call(t)}function l(t){return"[object RegExp]"===c.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function _(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}m("slot,component",!0);var y=m("key,ref,slot,slot-scope,is");function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function g(t,e){return b.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var x=/-(\w)/g,M=w((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),S=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,A=w((function(t){return t.replace(T,"-$1").toLowerCase()}));var E=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function L(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function D(t,e){for(var n in e)t[n]=e[n];return t}function C(t){for(var e={},n=0;n<t.length;n++)t[n]&&D(e,t[n]);return e}function k(t,e,n){}var O=function(t,e,n){return!1},I=function(t){return t};function P(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return P(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return P(t[n],e[n])}))}catch(t){return!1}}function R(t,e){for(var n=0;n<t.length;n++)if(P(t[n],e))return n;return-1}function Y(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var B=["component","directive","filter"],N=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],j={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:k,parsePlatformTagName:I,mustUseProp:O,async:!0,_lifecycleHooks:N},F=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var G=new RegExp("[^"+F.source+".$_\\d]");var H,V="__proto__"in{},z="undefined"!=typeof window,W="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,X=W&&WXEnvironment.platform.toLowerCase(),J=z&&window.navigator.userAgent.toLowerCase(),K=J&&/msie|trident/.test(J),q=J&&J.indexOf("msie 9.0")>0,$=J&&J.indexOf("edge/")>0,Z=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===X),Q=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(z)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var rt=function(){return void 0===H&&(H=!z&&!W&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),H},it=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,at="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys);st="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=k,ct=0,ht=function(){this.id=ct++,this.subs=[]};ht.prototype.addSub=function(t){this.subs.push(t)},ht.prototype.removeSub=function(t){v(this.subs,t)},ht.prototype.depend=function(){ht.target&&ht.target.addDep(this)},ht.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},ht.target=null;var lt=[];function dt(t){lt.push(t),ht.target=t}function ft(){lt.pop(),ht.target=lt[lt.length-1]}var pt=function(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},_t={child:{configurable:!0}};_t.child.get=function(){return this.componentInstance},Object.defineProperties(pt.prototype,_t);var mt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function yt(t){return new pt(void 0,void 0,void 0,String(t))}function vt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var bt=Array.prototype,gt=Object.create(bt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=bt[t];U(gt,t,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&s.observeArray(i),s.dep.notify(),o}))}));var wt=Object.getOwnPropertyNames(gt),xt=!0;function Mt(t){xt=t}var St=function(t){this.value=t,this.dep=new ht,this.vmCount=0,U(t,"__ob__",this),Array.isArray(t)?(V?function(t,e){t.__proto__=e}(t,gt):function(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];U(t,o,e[o])}}(t,gt,wt),this.observeArray(t)):this.walk(t)};function Tt(t,e){var n;if(u(t)&&!(t instanceof pt))return g(t,"__ob__")&&t.__ob__ instanceof St?n=t.__ob__:xt&&!rt()&&(Array.isArray(t)||h(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new St(t)),e&&n&&n.vmCount++,n}function At(t,e,n,r,i){var o=new ht,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get,u=s&&s.set;a&&!u||2!==arguments.length||(n=t[e]);var c=!i&&Tt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return ht.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(e)&&Dt(e))),e},set:function(e){var r=a?a.call(t):n;e===r||e!=e&&r!=r||a&&!u||(u?u.call(t,e):n=e,c=!i&&Tt(e),o.notify())}})}}function Et(t,e,n){if(Array.isArray(t)&&d(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(At(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Lt(t,e){if(Array.isArray(t)&&d(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||g(t,e)&&(delete t[e],n&&n.dep.notify())}}function Dt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Dt(e)}St.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)At(t,e[n])},St.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Tt(t[e])};var Ct=j.optionMergeStrategies;function kt(t,e){if(!e)return t;for(var n,r,i,o=at?Reflect.ownKeys(e):Object.keys(e),s=0;s<o.length;s++)"__ob__"!==(n=o[s])&&(r=t[n],i=e[n],g(t,n)?r!==i&&h(r)&&h(i)&&kt(r,i):Et(t,n,i));return t}function Ot(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return r?kt(r,i):i}:e?t?function(){return kt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function It(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Pt(t,e,n,r){var i=Object.create(t||null);return e?D(i,e):i}Ct.data=function(t,e,n){return n?Ot(t,e,n):e&&"function"!=typeof e?t:Ot(t,e)},N.forEach((function(t){Ct[t]=It})),B.forEach((function(t){Ct[t+"s"]=Pt})),Ct.watch=function(t,e,n,r){if(t===tt&&(t=void 0),e===tt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in D(i,t),e){var s=i[o],a=e[o];s&&!Array.isArray(s)&&(s=[s]),i[o]=s?s.concat(a):Array.isArray(a)?a:[a]}return i},Ct.props=Ct.methods=Ct.inject=Ct.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return D(i,t),e&&D(i,e),i},Ct.provide=Ot;var Rt=function(t,e){return void 0===e?t:e};function Yt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[M(i)]={type:null});else if(h(n))for(var s in n)i=n[s],o[M(s)]=h(i)?i:{type:i};else 0;t.props=o}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(h(n))for(var o in n){var s=n[o];r[o]=h(s)?D({from:o},s):{from:s}}else 0}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Yt(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Yt(t,e.mixins[r],n);var o,s={};for(o in t)a(o);for(o in e)g(t,o)||a(o);function a(r){var i=Ct[r]||Rt;s[r]=i(t[r],e[r],n,r)}return s}function Bt(t,e,n,r){if("string"==typeof n){var i=t[e];if(g(i,n))return i[n];var o=M(n);if(g(i,o))return i[o];var s=S(o);return g(i,s)?i[s]:i[n]||i[o]||i[s]}}function Nt(t,e,n,r){var i=e[t],o=!g(n,t),s=n[t],a=Ut(Boolean,i.type);if(a>-1)if(o&&!g(i,"default"))s=!1;else if(""===s||s===A(t)){var u=Ut(String,i.type);(u<0||a<u)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!g(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==jt(e.type)?r.call(t):r}(r,i,t);var c=xt;Mt(!0),Tt(s),Mt(c)}return s}function jt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Ft(t,e){return jt(t)===jt(e)}function Ut(t,e){if(!Array.isArray(e))return Ft(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Ft(e[n],t))return n;return-1}function Gt(t,e,n){dt();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){Vt(t,r,"errorCaptured hook")}}Vt(t,e,n)}finally{ft()}}function Ht(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&f(o)&&!o._handled&&(o.catch((function(t){return Gt(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){Gt(t,r,i)}return o}function Vt(t,e,n){if(j.errorHandler)try{return j.errorHandler.call(null,t,e,n)}catch(e){e!==t&&zt(e,null,"config.errorHandler")}zt(t,e,n)}function zt(t,e,n){if(!z&&!W||"undefined"==typeof console)throw t;console.error(t)}var Wt,Xt=!1,Jt=[],Kt=!1;function qt(){Kt=!1;var t=Jt.slice(0);Jt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&ot(Promise)){var $t=Promise.resolve();Wt=function(){$t.then(qt),Z&&setTimeout(k)},Xt=!0}else if(K||"undefined"==typeof MutationObserver||!ot(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Wt=void 0!==n&&ot(n)?function(){n(qt)}:function(){setTimeout(qt,0)};else{var Zt=1,Qt=new MutationObserver(qt),te=document.createTextNode(String(Zt));Qt.observe(te,{characterData:!0}),Wt=function(){Zt=(Zt+1)%2,te.data=String(Zt)},Xt=!0}function ee(t,e){var n;if(Jt.push((function(){if(t)try{t.call(e)}catch(t){Gt(t,e,"nextTick")}else n&&n(e)})),Kt||(Kt=!0,Wt()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var ne=new st;function re(t){!function t(e,n){var r,i,o=Array.isArray(e);if(!o&&!u(e)||Object.isFrozen(e)||e instanceof pt)return;if(e.__ob__){var s=e.__ob__.dep.id;if(n.has(s))return;n.add(s)}if(o)for(r=e.length;r--;)t(e[r],n);else for(i=Object.keys(e),r=i.length;r--;)t(e[i[r]],n)}(t,ne),ne.clear()}var ie=w((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function oe(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return Ht(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)Ht(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function se(t,e,n,r,o,a){var u,c,h,l;for(u in t)c=t[u],h=e[u],l=ie(u),i(c)||(i(h)?(i(c.fns)&&(c=t[u]=oe(c,a)),s(l.once)&&(c=t[u]=o(l.name,c,l.capture)),n(l.name,c,l.capture,l.passive,l.params)):c!==h&&(h.fns=c,t[u]=h));for(u in e)i(t[u])&&r((l=ie(u)).name,e[u],l.capture)}function ae(t,e,n){var r;t instanceof pt&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function u(){n.apply(this,arguments),v(r.fns,u)}i(a)?r=oe([u]):o(a.fns)&&s(a.merged)?(r=a).fns.push(u):r=oe([a,u]),r.merged=!0,t[e]=r}function ue(t,e,n,r,i){if(o(e)){if(g(e,n))return t[n]=e[n],i||delete e[n],!0;if(g(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function ce(t){return a(t)?[yt(t)]:Array.isArray(t)?function t(e,n){var r,u,c,h,l=[];for(r=0;r<e.length;r++)i(u=e[r])||"boolean"==typeof u||(c=l.length-1,h=l[c],Array.isArray(u)?u.length>0&&(he((u=t(u,(n||"")+"_"+r))[0])&&he(h)&&(l[c]=yt(h.text+u[0].text),u.shift()),l.push.apply(l,u)):a(u)?he(h)?l[c]=yt(h.text+u):""!==u&&l.push(yt(u)):he(u)&&he(h)?l[c]=yt(h.text+u.text):(s(e._isVList)&&o(u.tag)&&i(u.key)&&o(n)&&(u.key="__vlist"+n+"_"+r+"__"),l.push(u)));return l}(t):void 0}function he(t){return o(t)&&o(t.text)&&!1===t.isComment}function le(t,e){if(t){for(var n=Object.create(null),r=at?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var s=t[o].from,a=e;a;){if(a._provided&&g(a._provided,s)){n[o]=a._provided[s];break}a=a.$parent}if(!a)if("default"in t[o]){var u=t[o].default;n[o]="function"==typeof u?u.call(e):u}else 0}}return n}}function de(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==e&&o.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,u=n[a]||(n[a]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var c in n)n[c].every(fe)&&delete n[c];return n}function fe(t){return t.isComment&&!t.asyncFactory||" "===t.text}function pe(t,e,n){var i,o=Object.keys(e).length>0,s=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&n&&n!==r&&a===n.$key&&!o&&!n.$hasNormal)return n;for(var u in i={},t)t[u]&&"$"!==u[0]&&(i[u]=_e(e,u,t[u]))}else i={};for(var c in e)c in i||(i[c]=me(e,c));return t&&Object.isExtensible(t)&&(t._normalized=i),U(i,"$stable",s),U(i,"$key",a),U(i,"$hasNormal",o),i}function _e(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ce(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function me(t,e){return function(){return t[e]}}function ye(t,e){var n,r,i,s,a;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(u(t))if(at&&t[Symbol.iterator]){n=[];for(var c=t[Symbol.iterator](),h=c.next();!h.done;)n.push(e(h.value,n.length)),h=c.next()}else for(s=Object.keys(t),n=new Array(s.length),r=0,i=s.length;r<i;r++)a=s[r],n[r]=e(t[a],a,r);return o(n)||(n=[]),n._isVList=!0,n}function ve(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=D(D({},r),n)),i=o(n)||e):i=this.$slots[t]||e;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function be(t){return Bt(this.$options,"filters",t)||I}function ge(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function we(t,e,n,r,i){var o=j.keyCodes[e]||n;return i&&r&&!j.keyCodes[e]?ge(i,r):o?ge(o,t):r?A(r)!==e:void 0}function xe(t,e,n,r,i){if(n)if(u(n)){var o;Array.isArray(n)&&(n=C(n));var s=function(s){if("class"===s||"style"===s||y(s))o=t;else{var a=t.attrs&&t.attrs.type;o=r||j.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=M(s),c=A(s);u in o||c in o||(o[s]=n[s],i&&((t.on||(t.on={}))["update:"+s]=function(t){n[s]=t}))};for(var a in n)s(a)}else;return t}function Me(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Te(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r}function Se(t,e,n){return Te(t,"__once__"+e+(n?"_"+n:""),!0),t}function Te(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Ae(t[r],e+"_"+r,n);else Ae(t,e,n)}function Ae(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ee(t,e){if(e)if(h(e)){var n=t.on=t.on?D({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Le(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Le(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function De(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Ce(t,e){return"string"==typeof t?e+t:t}function ke(t){t._o=Se,t._n=_,t._s=p,t._l=ye,t._t=ve,t._q=P,t._i=R,t._m=Me,t._f=be,t._k=we,t._b=xe,t._v=yt,t._e=mt,t._u=Le,t._g=Ee,t._d=De,t._p=Ce}function Oe(t,e,n,i,o){var a,u=this,c=o.options;g(i,"_uid")?(a=Object.create(i))._original=i:(a=i,i=i._original);var h=s(c._compiled),l=!h;this.data=t,this.props=e,this.children=n,this.parent=i,this.listeners=t.on||r,this.injections=le(c.inject,i),this.slots=function(){return u.$slots||pe(t.scopedSlots,u.$slots=de(n,i)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pe(t.scopedSlots,this.slots())}}),h&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=pe(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,r){var o=je(a,t,e,n,r,l);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return je(a,t,e,n,r,l)}}function Ie(t,e,n,r,i){var o=vt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Pe(t,e){for(var n in e)t[M(n)]=e[n]}ke(Oe.prototype);var Re={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Re.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Ke)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,o){0;var s=i.data.scopedSlots,a=t.$scopedSlots,u=!!(s&&!s.$stable||a!==r&&!a.$stable||s&&t.$scopedSlots.$key!==s.$key),c=!!(o||t.$options._renderChildren||u);t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i);if(t.$options._renderChildren=o,t.$attrs=i.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){Mt(!1);for(var h=t._props,l=t.$options._propKeys||[],d=0;d<l.length;d++){var f=l[d],p=t.$options.props;h[f]=Nt(f,p,e,t)}Mt(!0),t.$options.propsData=e}n=n||r;var _=t.$options._parentListeners;t.$options._parentListeners=n,Je(t,n,_),c&&(t.$slots=de(o,i.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Qe(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,en.push(e)):Ze(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,$e(e)))return;if(!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);Qe(e,"deactivated")}}(e,!0):e.$destroy())}},Ye=Object.keys(Re);function Be(t,e,n,a,c){if(!i(t)){var h=n.$options._base;if(u(t)&&(t=h.extend(t)),"function"==typeof t){var l;if(i(t.cid)&&void 0===(t=function(t,e){if(s(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;var n=Ue;n&&o(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(s(t.loading)&&o(t.loadingComp))return t.loadingComp;if(n&&!o(t.owners)){var r=t.owners=[n],a=!0,c=null,h=null;n.$on("hook:destroyed",(function(){return v(r,n)}));var l=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==h&&(clearTimeout(h),h=null))},d=Y((function(n){t.resolved=Ge(n,e),a?r.length=0:l(!0)})),p=Y((function(e){o(t.errorComp)&&(t.error=!0,l(!0))})),_=t(d,p);return u(_)&&(f(_)?i(t.resolved)&&_.then(d,p):f(_.component)&&(_.component.then(d,p),o(_.error)&&(t.errorComp=Ge(_.error,e)),o(_.loading)&&(t.loadingComp=Ge(_.loading,e),0===_.delay?t.loading=!0:c=setTimeout((function(){c=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,l(!1))}),_.delay||200)),o(_.timeout)&&(h=setTimeout((function(){h=null,i(t.resolved)&&p(null)}),_.timeout)))),a=!1,t.loading?t.loadingComp:t.resolved}}(l=t,h)))return function(t,e,n,r,i){var o=mt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(l,e,n,a,c);e=e||{},xn(t),o(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),s=i[r],a=e.model.callback;o(s)?(Array.isArray(s)?-1===s.indexOf(a):s!==a)&&(i[r]=[a].concat(s)):i[r]=a}(t.options,e);var d=function(t,e,n){var r=e.options.props;if(!i(r)){var s={},a=t.attrs,u=t.props;if(o(a)||o(u))for(var c in r){var h=A(c);ue(s,u,c,h,!0)||ue(s,a,c,h,!1)}return s}}(e,t);if(s(t.options.functional))return function(t,e,n,i,s){var a=t.options,u={},c=a.props;if(o(c))for(var h in c)u[h]=Nt(h,c,e||r);else o(n.attrs)&&Pe(u,n.attrs),o(n.props)&&Pe(u,n.props);var l=new Oe(n,u,s,i,t),d=a.render.call(null,l._c,l);if(d instanceof pt)return Ie(d,n,l.parent,a,l);if(Array.isArray(d)){for(var f=ce(d)||[],p=new Array(f.length),_=0;_<f.length;_++)p[_]=Ie(f[_],n,l.parent,a,l);return p}}(t,d,e,n,a);var p=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var _=e.slot;e={},_&&(e.slot=_)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ye.length;n++){var r=Ye[n],i=e[r],o=Re[r];i===o||i&&i._merged||(e[r]=i?Ne(o,i):o)}}(e);var m=t.options.name||c;return new pt("vue-component-"+t.cid+(m?"-"+m:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:d,listeners:p,tag:c,children:a},l)}}}function Ne(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function je(t,e,n,r,c,h){return(Array.isArray(n)||a(n))&&(c=r,r=n,n=void 0),s(h)&&(c=2),function(t,e,n,r,a){if(o(n)&&o(n.__ob__))return mt();o(n)&&o(n.is)&&(e=n.is);if(!e)return mt();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===a?r=ce(r):1===a&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var c,h;if("string"==typeof e){var l;h=t.$vnode&&t.$vnode.ns||j.getTagNamespace(e),c=j.isReservedTag(e)?new pt(j.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!o(l=Bt(t.$options,"components",e))?new pt(e,n,r,void 0,void 0,t):Be(l,n,t,r,e)}else c=Be(e,n,t,r);return Array.isArray(c)?c:o(c)?(o(h)&&function t(e,n,r){e.ns=n,"foreignObject"===e.tag&&(n=void 0,r=!0);if(o(e.children))for(var a=0,u=e.children.length;a<u;a++){var c=e.children[a];o(c.tag)&&(i(c.ns)||s(r)&&"svg"!==c.tag)&&t(c,n,r)}}(c,h),o(n)&&function(t){u(t.style)&&re(t.style);u(t.class)&&re(t.class)}(n),c):mt()}(t,e,n,r,c)}var Fe,Ue=null;function Ge(t,e){return(t.__esModule||at&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function He(t){return t.isComment&&t.asyncFactory}function Ve(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(o(n)&&(o(n.componentOptions)||He(n)))return n}}function ze(t,e){Fe.$on(t,e)}function We(t,e){Fe.$off(t,e)}function Xe(t,e){var n=Fe;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function Je(t,e,n){Fe=t,se(e,n||{},ze,We,Xe,t),Fe=void 0}var Ke=null;function qe(t){var e=Ke;return Ke=t,function(){Ke=e}}function $e(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Ze(t,e){if(e){if(t._directInactive=!1,$e(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Ze(t.$children[n]);Qe(t,"activated")}}function Qe(t,e){dt();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Ht(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),ft()}var tn=[],en=[],nn={},rn=!1,on=!1,sn=0;var an=0,un=Date.now;if(z&&!K){var cn=window.performance;cn&&"function"==typeof cn.now&&un()>document.createEvent("Event").timeStamp&&(un=function(){return cn.now()})}function hn(){var t,e;for(an=un(),on=!0,tn.sort((function(t,e){return t.id-e.id})),sn=0;sn<tn.length;sn++)(t=tn[sn]).before&&t.before(),e=t.id,nn[e]=null,t.run();var n=en.slice(),r=tn.slice();sn=tn.length=en.length=0,nn={},rn=on=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ze(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Qe(r,"updated")}}(r),it&&j.devtools&&it.emit("flush")}var ln=0,dn=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ln,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new st,this.newDepIds=new st,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!G.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=k)),this.value=this.lazy?void 0:this.get()};dn.prototype.get=function(){var t;dt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Gt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&re(t),ft(),this.cleanupDeps()}return t},dn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},dn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},dn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==nn[e]){if(nn[e]=!0,on){for(var n=tn.length-1;n>sn&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,ee(hn))}}(this)},dn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Gt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:k,set:k};function pn(t,e,n){fn.get=function(){return this[e][n]},fn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,fn)}function _n(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&Mt(!1);var o=function(o){i.push(o);var s=Nt(o,e,n,t);At(r,o,s),o in t||pn(t,"_props",o)};for(var s in e)o(s);Mt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?k:E(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;h(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Gt(t,e,"data()"),{}}finally{ft()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&g(r,o)||(s=void 0,36!==(s=(o+"").charCodeAt(0))&&95!==s&&pn(t,"_data",o))}var s;Tt(e,!0)}(t):Tt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=rt();for(var i in e){var o=e[i],s="function"==typeof o?o:o.get;0,r||(n[i]=new dn(t,s||k,k,mn)),i in t||yn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)gn(t,n,r[i]);else gn(t,n,r)}}(t,e.watch)}var mn={lazy:!0};function yn(t,e,n){var r=!rt();"function"==typeof n?(fn.get=r?vn(e):bn(n),fn.set=k):(fn.get=n.get?r&&!1!==n.cache?vn(e):bn(n.get):k,fn.set=n.set||k),Object.defineProperty(t,e,fn)}function vn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ht.target&&e.depend(),e.value}}function bn(t){return function(){return t.call(this,this)}}function gn(t,e,n,r){return h(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var wn=0;function xn(t){var e=t.options;if(t.super){var n=xn(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&D(t.extendOptions,r),(e=t.options=Yt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Mn(t){this._init(t)}function Sn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=Yt(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)pn(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)yn(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,B.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=D({},s.options),i[r]=s,s}}function Tn(t){return t&&(t.Ctor.options.name||t.tag)}function An(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function En(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=Tn(s.componentOptions);a&&!e(a)&&Ln(n,o,r,i)}}}function Ln(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=wn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Yt(xn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Je(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=de(e._renderChildren,i),t.$scopedSlots=r,t._c=function(e,n,r,i){return je(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return je(t,e,n,r,i,!0)};var o=n&&n.data;At(t,"$attrs",o&&o.attrs||r,null,!0),At(t,"$listeners",e._parentListeners||r,null,!0)}(e),Qe(e,"beforeCreate"),function(t){var e=le(t.$options.inject,t);e&&(Mt(!1),Object.keys(e).forEach((function(n){At(t,n,e[n])})),Mt(!0))}(e),_n(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Qe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Mn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Et,t.prototype.$delete=Lt,t.prototype.$watch=function(t,e,n){if(h(e))return gn(this,t,e,n);(n=n||{}).user=!0;var r=new dn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Gt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Mn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var a=s.length;a--;)if((o=s[a])===e||o.fn===e){s.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?L(n):n;for(var r=L(arguments,1),i='event handler for "'+t+'"',o=0,s=n.length;o<s;o++)Ht(n[o],e,r,e,i)}return e}}(Mn),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=qe(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Qe(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||v(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Qe(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Mn),function(t){ke(t.prototype),t.prototype.$nextTick=function(t){return ee(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=pe(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{Ue=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){Gt(n,e,"render"),t=e._vnode}finally{Ue=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof pt||(t=mt()),t.parent=i,t}}(Mn);var Dn=[String,RegExp,Array],Cn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Dn,exclude:Dn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ln(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){En(t,(function(t){return An(e,t)}))})),this.$watch("exclude",(function(e){En(t,(function(t){return!An(e,t)}))}))},render:function(){var t=this.$slots.default,e=Ve(t),n=e&&e.componentOptions;if(n){var r=Tn(n),i=this.include,o=this.exclude;if(i&&(!r||!An(i,r))||o&&r&&An(o,r))return e;var s=this.cache,a=this.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;s[u]?(e.componentInstance=s[u].componentInstance,v(a,u),a.push(u)):(s[u]=e,a.push(u),this.max&&a.length>parseInt(this.max)&&Ln(s,a[0],a,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return j}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:D,mergeOptions:Yt,defineReactive:At},t.set=Et,t.delete=Lt,t.nextTick=ee,t.observable=function(t){return Tt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,Cn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=L(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Yt(this.options,t),this}}(t),Sn(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Mn),Object.defineProperty(Mn.prototype,"$isServer",{get:rt}),Object.defineProperty(Mn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Mn,"FunctionalRenderContext",{value:Oe}),Mn.version="2.6.11";var kn=m("style,class"),On=m("input,textarea,option,select,progress"),In=m("contenteditable,draggable,spellcheck"),Pn=m("events,caret,typing,plaintext-only"),Rn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Yn="http://www.w3.org/1999/xlink",Bn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Nn=function(t){return Bn(t)?t.slice(6,t.length):""},jn=function(t){return null==t||!1===t};function Fn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Un(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Un(e,n.data));return function(t,e){if(o(t)||o(e))return Gn(t,Hn(e));return""}(e.staticClass,e.class)}function Un(t,e){return{staticClass:Gn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Gn(t,e){return t?e?t+" "+e:t:e||""}function Hn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)o(e=Hn(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Vn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},zn=m("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Wn=m("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Xn=function(t){return zn(t)||Wn(t)};var Jn=Object.create(null);var Kn=m("text,number,password,search,email,tel,url");var qn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Vn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),$n={create:function(t,e){Zn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Zn(t,!0),Zn(e))},destroy:function(t){Zn(t,!0)}};function Zn(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[n])?v(s[n],i):s[n]===i&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])?s[n].indexOf(i)<0&&s[n].push(i):s[n]=[i]:s[n]=i}}var Qn=new pt("",{},[]),tr=["create","activate","update","remove","destroy"];function er(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||Kn(r)&&Kn(i)}(t,e)||s(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function nr(t,e,n){var r,i,s={};for(r=e;r<=n;++r)o(i=t[r].key)&&(s[i]=r);return s}var rr={create:ir,update:ir,destroy:function(t){ir(t,Qn)}};function ir(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===Qn,s=e===Qn,a=sr(t.data.directives,t.context),u=sr(e.data.directives,e.context),c=[],h=[];for(n in u)r=a[n],i=u[n],r?(i.oldValue=r.value,i.oldArg=r.arg,ur(i,"update",e,t),i.def&&i.def.componentUpdated&&h.push(i)):(ur(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var l=function(){for(var n=0;n<c.length;n++)ur(c[n],"inserted",e,t)};o?ae(e,"insert",l):l()}h.length&&ae(e,"postpatch",(function(){for(var n=0;n<h.length;n++)ur(h[n],"componentUpdated",e,t)}));if(!o)for(n in a)u[n]||ur(a[n],"unbind",t,t,s)}(t,e)}var or=Object.create(null);function sr(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=or),i[ar(r)]=r,r.def=Bt(e.$options,"directives",r.name);return i}function ar(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ur(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){Gt(r,n.context,"directive "+t.name+" "+e+" hook")}}var cr=[$n,rr];function hr(t,e){var n=e.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||i(t.data.attrs)&&i(e.data.attrs))){var r,s,a=e.elm,u=t.data.attrs||{},c=e.data.attrs||{};for(r in o(c.__ob__)&&(c=e.data.attrs=D({},c)),c)s=c[r],u[r]!==s&&lr(a,r,s);for(r in(K||$)&&c.value!==u.value&&lr(a,"value",c.value),u)i(c[r])&&(Bn(r)?a.removeAttributeNS(Yn,Nn(r)):In(r)||a.removeAttribute(r))}}function lr(t,e,n){t.tagName.indexOf("-")>-1?dr(t,e,n):Rn(e)?jn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):In(e)?t.setAttribute(e,function(t,e){return jn(e)||"false"===e?"false":"contenteditable"===t&&Pn(e)?e:"true"}(e,n)):Bn(e)?jn(n)?t.removeAttributeNS(Yn,Nn(e)):t.setAttributeNS(Yn,e,n):dr(t,e,n)}function dr(t,e,n){if(jn(n))t.removeAttribute(e);else{if(K&&!q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var fr={create:hr,update:hr};function pr(t,e){var n=e.elm,r=e.data,s=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(s)||i(s.staticClass)&&i(s.class)))){var a=Fn(e),u=n._transitionClasses;o(u)&&(a=Gn(a,Hn(u))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var _r,mr={create:pr,update:pr};function yr(t,e,n){var r=_r;return function i(){var o=e.apply(null,arguments);null!==o&&gr(t,i,n,r)}}var vr=Xt&&!(Q&&Number(Q[1])<=53);function br(t,e,n,r){if(vr){var i=an,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}_r.addEventListener(t,e,et?{capture:n,passive:r}:n)}function gr(t,e,n,r){(r||_r).removeEventListener(t,e._wrapper||e,n)}function wr(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};_r=e.elm,function(t){if(o(t.__r)){var e=K?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),se(n,r,br,gr,yr,e.context),_r=void 0}}var xr,Mr={create:wr,update:wr};function Sr(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,s=e.elm,a=t.data.domProps||{},u=e.data.domProps||{};for(n in o(u.__ob__)&&(u=e.data.domProps=D({},u)),a)n in u||(s[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=r;var c=i(r)?"":String(r);Tr(s,c)&&(s.value=c)}else if("innerHTML"===n&&Wn(s.tagName)&&i(s.innerHTML)){(xr=xr||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var h=xr.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;h.firstChild;)s.appendChild(h.firstChild)}else if(r!==a[n])try{s[n]=r}catch(t){}}}}function Tr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return _(n)!==_(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Ar={create:Sr,update:Sr},Er=w((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function Lr(t){var e=Dr(t.style);return t.staticStyle?D(t.staticStyle,e):e}function Dr(t){return Array.isArray(t)?C(t):"string"==typeof t?Er(t):t}var Cr,kr=/^--/,Or=/\s*!important$/,Ir=function(t,e,n){if(kr.test(e))t.style.setProperty(e,n);else if(Or.test(n))t.style.setProperty(A(e),n.replace(Or,""),"important");else{var r=Rr(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Pr=["Webkit","Moz","ms"],Rr=w((function(t){if(Cr=Cr||document.createElement("div").style,"filter"!==(t=M(t))&&t in Cr)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Pr.length;n++){var r=Pr[n]+e;if(r in Cr)return r}}));function Yr(t,e){var n=e.data,r=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))){var s,a,u=e.elm,c=r.staticStyle,h=r.normalizedStyle||r.style||{},l=c||h,d=Dr(e.data.style)||{};e.data.normalizedStyle=o(d.__ob__)?D({},d):d;var f=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Lr(i.data))&&D(r,n);(n=Lr(t.data))&&D(r,n);for(var o=t;o=o.parent;)o.data&&(n=Lr(o.data))&&D(r,n);return r}(e,!0);for(a in l)i(f[a])&&Ir(u,a,"");for(a in f)(s=f[a])!==l[a]&&Ir(u,a,null==s?"":s)}}var Br={create:Yr,update:Yr},Nr=/\s+/;function jr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Nr).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Fr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Nr).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ur(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&D(e,Gr(t.name||"v")),D(e,t),e}return"string"==typeof t?Gr(t):void 0}}var Gr=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Hr=z&&!q,Vr="transition",zr="transitionend",Wr="animation",Xr="animationend";Hr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Vr="WebkitTransition",zr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Wr="WebkitAnimation",Xr="webkitAnimationEnd"));var Jr=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Kr(t){Jr((function(){Jr(t)}))}function qr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),jr(t,e))}function $r(t,e){t._transitionClasses&&v(t._transitionClasses,e),Fr(t,e)}function Zr(t,e,n){var r=ti(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a="transition"===i?zr:Xr,u=0,c=function(){t.removeEventListener(a,h),n()},h=function(e){e.target===t&&++u>=s&&c()};setTimeout((function(){u<s&&c()}),o+1),t.addEventListener(a,h)}var Qr=/\b(transform|all)(,|$)/;function ti(t,e){var n,r=window.getComputedStyle(t),i=(r[Vr+"Delay"]||"").split(", "),o=(r[Vr+"Duration"]||"").split(", "),s=ei(i,o),a=(r[Wr+"Delay"]||"").split(", "),u=(r[Wr+"Duration"]||"").split(", "),c=ei(a,u),h=0,l=0;return"transition"===e?s>0&&(n="transition",h=s,l=o.length):"animation"===e?c>0&&(n="animation",h=c,l=u.length):l=(n=(h=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===n?o.length:u.length:0,{type:n,timeout:h,propCount:l,hasTransform:"transition"===n&&Qr.test(r[Vr+"Property"])}}function ei(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return ni(e)+ni(t[n])})))}function ni(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function ri(t,e){var n=t.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ur(t.data.transition);if(!i(r)&&!o(n._enterCb)&&1===n.nodeType){for(var s=r.css,a=r.type,c=r.enterClass,h=r.enterToClass,l=r.enterActiveClass,d=r.appearClass,f=r.appearToClass,p=r.appearActiveClass,m=r.beforeEnter,y=r.enter,v=r.afterEnter,b=r.enterCancelled,g=r.beforeAppear,w=r.appear,x=r.afterAppear,M=r.appearCancelled,S=r.duration,T=Ke,A=Ke.$vnode;A&&A.parent;)T=A.context,A=A.parent;var E=!T._isMounted||!t.isRootInsert;if(!E||w||""===w){var L=E&&d?d:c,D=E&&p?p:l,C=E&&f?f:h,k=E&&g||m,O=E&&"function"==typeof w?w:y,I=E&&x||v,P=E&&M||b,R=_(u(S)?S.enter:S);0;var B=!1!==s&&!q,N=si(O),j=n._enterCb=Y((function(){B&&($r(n,C),$r(n,D)),j.cancelled?(B&&$r(n,L),P&&P(n)):I&&I(n),n._enterCb=null}));t.data.show||ae(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),O&&O(n,j)})),k&&k(n),B&&(qr(n,L),qr(n,D),Kr((function(){$r(n,L),j.cancelled||(qr(n,C),N||(oi(R)?setTimeout(j,R):Zr(n,a,j)))}))),t.data.show&&(e&&e(),O&&O(n,j)),B||N||j()}}}function ii(t,e){var n=t.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Ur(t.data.transition);if(i(r)||1!==n.nodeType)return e();if(!o(n._leaveCb)){var s=r.css,a=r.type,c=r.leaveClass,h=r.leaveToClass,l=r.leaveActiveClass,d=r.beforeLeave,f=r.leave,p=r.afterLeave,m=r.leaveCancelled,y=r.delayLeave,v=r.duration,b=!1!==s&&!q,g=si(f),w=_(u(v)?v.leave:v);0;var x=n._leaveCb=Y((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&($r(n,h),$r(n,l)),x.cancelled?(b&&$r(n,c),m&&m(n)):(e(),p&&p(n)),n._leaveCb=null}));y?y(M):M()}function M(){x.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),b&&(qr(n,c),qr(n,l),Kr((function(){$r(n,c),x.cancelled||(qr(n,h),g||(oi(w)?setTimeout(x,w):Zr(n,a,x)))}))),f&&f(n,x),b||g||x())}}function oi(t){return"number"==typeof t&&!isNaN(t)}function si(t){if(i(t))return!1;var e=t.fns;return o(e)?si(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ai(t,e){!0!==e.data.show&&ri(e)}var ui=function(t){var e,n,r={},u=t.modules,c=t.nodeOps;for(e=0;e<tr.length;++e)for(r[tr[e]]=[],n=0;n<u.length;++n)o(u[n][tr[e]])&&r[tr[e]].push(u[n][tr[e]]);function h(t){var e=c.parentNode(t);o(e)&&c.removeChild(e,t)}function l(t,e,n,i,a,u,h){if(o(t.elm)&&o(u)&&(t=u[h]=vt(t)),t.isRootInsert=!a,!function(t,e,n,i){var a=t.data;if(o(a)){var u=o(t.componentInstance)&&a.keepAlive;if(o(a=a.hook)&&o(a=a.init)&&a(t,!1),o(t.componentInstance))return d(t,e),f(n,t.elm,i),s(u)&&function(t,e,n,i){var s,a=t;for(;a.componentInstance;)if(a=a.componentInstance._vnode,o(s=a.data)&&o(s=s.transition)){for(s=0;s<r.activate.length;++s)r.activate[s](Qn,a);e.push(a);break}f(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var l=t.data,_=t.children,m=t.tag;o(m)?(t.elm=t.ns?c.createElementNS(t.ns,m):c.createElement(m,t),v(t),p(t,_,e),o(l)&&y(t,e),f(n,t.elm,i)):s(t.isComment)?(t.elm=c.createComment(t.text),f(n,t.elm,i)):(t.elm=c.createTextNode(t.text),f(n,t.elm,i))}}function d(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,_(t)?(y(t,e),v(t)):(Zn(t),e.push(t))}function f(t,e,n){o(t)&&(o(n)?c.parentNode(n)===t&&c.insertBefore(t,e,n):c.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)l(e[r],n,t.elm,null,!0,e,r)}else a(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function _(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return o(t.tag)}function y(t,n){for(var i=0;i<r.create.length;++i)r.create[i](Qn,t);o(e=t.data.hook)&&(o(e.create)&&e.create(Qn,t),o(e.insert)&&n.push(t))}function v(t){var e;if(o(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var n=t;n;)o(e=n.context)&&o(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),n=n.parent;o(e=Ke)&&e!==t.context&&e!==t.fnContext&&o(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function b(t,e,n,r,i,o){for(;r<=i;++r)l(n[r],o,t,e,!1,n,r)}function g(t){var e,n,i=t.data;if(o(i))for(o(e=i.hook)&&o(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(o(e=t.children))for(n=0;n<t.children.length;++n)g(t.children[n])}function w(t,e,n){for(;e<=n;++e){var r=t[e];o(r)&&(o(r.tag)?(x(r),g(r)):h(r.elm))}}function x(t,e){if(o(e)||o(t.data)){var n,i=r.remove.length+1;for(o(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&h(t)}return n.listeners=e,n}(t.elm,i),o(n=t.componentInstance)&&o(n=n._vnode)&&o(n.data)&&x(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);o(n=t.data.hook)&&o(n=n.remove)?n(t,e):e()}else h(t.elm)}function M(t,e,n,r){for(var i=n;i<r;i++){var s=e[i];if(o(s)&&er(t,s))return i}}function S(t,e,n,a,u,h){if(t!==e){o(e.elm)&&o(a)&&(e=a[u]=vt(e));var d=e.elm=t.elm;if(s(t.isAsyncPlaceholder))o(e.asyncFactory.resolved)?E(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,p=e.data;o(p)&&o(f=p.hook)&&o(f=f.prepatch)&&f(t,e);var m=t.children,y=e.children;if(o(p)&&_(e)){for(f=0;f<r.update.length;++f)r.update[f](t,e);o(f=p.hook)&&o(f=f.update)&&f(t,e)}i(e.text)?o(m)&&o(y)?m!==y&&function(t,e,n,r,s){var a,u,h,d=0,f=0,p=e.length-1,_=e[0],m=e[p],y=n.length-1,v=n[0],g=n[y],x=!s;for(0;d<=p&&f<=y;)i(_)?_=e[++d]:i(m)?m=e[--p]:er(_,v)?(S(_,v,r,n,f),_=e[++d],v=n[++f]):er(m,g)?(S(m,g,r,n,y),m=e[--p],g=n[--y]):er(_,g)?(S(_,g,r,n,y),x&&c.insertBefore(t,_.elm,c.nextSibling(m.elm)),_=e[++d],g=n[--y]):er(m,v)?(S(m,v,r,n,f),x&&c.insertBefore(t,m.elm,_.elm),m=e[--p],v=n[++f]):(i(a)&&(a=nr(e,d,p)),i(u=o(v.key)?a[v.key]:M(v,e,d,p))?l(v,r,t,_.elm,!1,n,f):er(h=e[u],v)?(S(h,v,r,n,f),e[u]=void 0,x&&c.insertBefore(t,h.elm,_.elm)):l(v,r,t,_.elm,!1,n,f),v=n[++f]);d>p?b(t,i(n[y+1])?null:n[y+1].elm,n,f,y,r):f>y&&w(e,d,p)}(d,m,y,n,h):o(y)?(o(t.text)&&c.setTextContent(d,""),b(d,null,y,0,y.length-1,n)):o(m)?w(m,0,m.length-1):o(t.text)&&c.setTextContent(d,""):t.text!==e.text&&c.setTextContent(d,e.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(t,e)}}}function T(t,e,n){if(s(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var A=m("attrs,class,staticClass,staticStyle,key");function E(t,e,n,r){var i,a=e.tag,u=e.data,c=e.children;if(r=r||u&&u.pre,e.elm=t,s(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(u)&&(o(i=u.hook)&&o(i=i.init)&&i(e,!0),o(i=e.componentInstance)))return d(e,n),!0;if(o(a)){if(o(c))if(t.hasChildNodes())if(o(i=u)&&o(i=i.domProps)&&o(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var h=!0,l=t.firstChild,f=0;f<c.length;f++){if(!l||!E(l,c[f],n,r)){h=!1;break}l=l.nextSibling}if(!h||l)return!1}else p(e,c,n);if(o(u)){var _=!1;for(var m in u)if(!A(m)){_=!0,y(e,n);break}!_&&u.class&&re(u.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,a){if(!i(e)){var u,h=!1,d=[];if(i(t))h=!0,l(e,d);else{var f=o(t.nodeType);if(!f&&er(t,e))S(t,e,d,null,null,a);else{if(f){if(1===t.nodeType&&t.hasAttribute("data-server-rendered")&&(t.removeAttribute("data-server-rendered"),n=!0),s(n)&&E(t,e,d))return T(e,d,!0),t;u=t,t=new pt(c.tagName(u).toLowerCase(),{},[],void 0,u)}var p=t.elm,m=c.parentNode(p);if(l(e,d,p._leaveCb?null:m,c.nextSibling(p)),o(e.parent))for(var y=e.parent,v=_(e);y;){for(var b=0;b<r.destroy.length;++b)r.destroy[b](y);if(y.elm=e.elm,v){for(var x=0;x<r.create.length;++x)r.create[x](Qn,y);var M=y.data.hook.insert;if(M.merged)for(var A=1;A<M.fns.length;A++)M.fns[A]()}else Zn(y);y=y.parent}o(m)?w([t],0,0):o(t.tag)&&g(t)}}return T(e,d,h),e.elm}o(t)&&g(t)}}({nodeOps:qn,modules:[fr,mr,Mr,Ar,Br,z?{create:ai,activate:ai,remove:function(t,e){!0!==t.data.show?ii(t,e):e()}}:{}].concat(cr)});q&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&mi(t,"input")}));var ci={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ae(n,"postpatch",(function(){ci.componentUpdated(t,e,n)})):hi(t,e,n.context),t._vOptions=[].map.call(t.options,fi)):("textarea"===n.tag||Kn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",pi),t.addEventListener("compositionend",_i),t.addEventListener("change",_i),q&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){hi(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,fi);if(i.some((function(t,e){return!P(t,r[e])})))(t.multiple?e.value.some((function(t){return di(t,i)})):e.value!==e.oldValue&&di(e.value,i))&&mi(t,"change")}}};function hi(t,e,n){li(t,e,n),(K||$)&&setTimeout((function(){li(t,e,n)}),0)}function li(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=t.options.length;a<u;a++)if(s=t.options[a],i)o=R(r,fi(s))>-1,s.selected!==o&&(s.selected=o);else if(P(fi(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function di(t,e){return e.every((function(e){return!P(e,t)}))}function fi(t){return"_value"in t?t._value:t.value}function pi(t){t.target.composing=!0}function _i(t){t.target.composing&&(t.target.composing=!1,mi(t.target,"input"))}function mi(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function yi(t){return!t.componentInstance||t.data&&t.data.transition?t:yi(t.componentInstance._vnode)}var vi={model:ci,show:{bind:function(t,e,n){var r=e.value,i=(n=yi(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,ri(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=yi(n)).data&&n.data.transition?(n.data.show=!0,r?ri(n,(function(){t.style.display=t.__vOriginalDisplay})):ii(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},bi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function gi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?gi(Ve(e.children)):t}function wi(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[M(o)]=i[o];return e}function xi(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Mi=function(t){return t.tag||He(t)},Si=function(t){return"show"===t.name},Ti={name:"transition",props:bi,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Mi)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=gi(i);if(!o)return i;if(this._leaving)return xi(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var u=(o.data||(o.data={})).transition=wi(this),c=this._vnode,h=gi(c);if(o.data.directives&&o.data.directives.some(Si)&&(o.data.show=!0),h&&h.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,h)&&!He(h)&&(!h.componentInstance||!h.componentInstance._vnode.isComment)){var l=h.data.transition=D({},u);if("out-in"===r)return this._leaving=!0,ae(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),xi(t,i);if("in-out"===r){if(He(o))return c;var d,f=function(){d()};ae(u,"afterEnter",f),ae(u,"enterCancelled",f),ae(l,"delayLeave",(function(t){d=t}))}}return i}}},Ai=D({tag:String,moveClass:String},bi);function Ei(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Li(t){t.data.newPos=t.elm.getBoundingClientRect()}function Di(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Ai.mode;var Ci={Transition:Ti,TransitionGroup:{props:Ai,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=qe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=wi(this),a=0;a<i.length;a++){var u=i[a];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=s;else;}if(r){for(var c=[],h=[],l=0;l<r.length;l++){var d=r[l];d.data.transition=s,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):h.push(d)}this.kept=t(e,null,c),this.removed=h}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ei),t.forEach(Li),t.forEach(Di),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;qr(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(zr,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(zr,t),n._moveCb=null,$r(n,e))})}})))},methods:{hasMove:function(t,e){if(!Hr)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Fr(n,t)})),jr(n,e),n.style.display="none",this.$el.appendChild(n);var r=ti(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Mn.config.mustUseProp=function(t,e,n){return"value"===n&&On(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Mn.config.isReservedTag=Xn,Mn.config.isReservedAttr=kn,Mn.config.getTagNamespace=function(t){return Wn(t)?"svg":"math"===t?"math":void 0},Mn.config.isUnknownElement=function(t){if(!z)return!0;if(Xn(t))return!1;if(t=t.toLowerCase(),null!=Jn[t])return Jn[t];var e=document.createElement(t);return t.indexOf("-")>-1?Jn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Jn[t]=/HTMLUnknownElement/.test(e.toString())},D(Mn.options.directives,vi),D(Mn.options.components,Ci),Mn.prototype.__patch__=z?ui:k,Mn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=mt),Qe(t,"beforeMount"),r=function(){t._update(t._render(),n)},new dn(t,r,k,{before:function(){t._isMounted&&!t._isDestroyed&&Qe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Qe(t,"mounted")),t}(this,t=t&&z?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},z&&setTimeout((function(){j.devtools&&it&&it.emit("init",Mn)}),0),e.a=Mn}).call(this,n("pCvA"),n("oPUo").setImmediate)},"6Huv":function(t,e,n){!function(t){"use strict";
  47. //! moment.js locale configuration
  48. var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("TiKg"))},"6K5y":function(t,e,n){!function(t){"use strict";
  49. //! moment.js locale configuration
  50. var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n("TiKg"))},"6MVH":function(t,e,n){"use strict";var r=e;r.version=n("cEa6").version,r.utils=n("fOyB"),r.rand=n("Wxe8"),r.curve=n("aAq9"),r.curves=n("cFST"),r.ec=n("t6uJ"),r.eddsa=n("dLON")},"6Nbo":function(t,e,n){!function(t){"use strict";
  51. //! moment.js locale configuration
  52. t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n("TiKg"))},"6aAO":function(t,e,n){"use strict";function r(t,e,n){n=n||2;var r,a,u,c,h,f,p,m=e&&e.length,y=m?e[0]*n:t.length,v=i(t,0,y,n,!0),b=[];if(!v||v.next===v.prev)return b;if(m&&(v=function(t,e,n,r){var s,a,u,c,h,f=[];for(s=0,a=e.length;s<a;s++)u=e[s]*r,c=s<a-1?e[s+1]*r:t.length,(h=i(t,u,c,r,!1))===h.next&&(h.steiner=!0),f.push(_(h));for(f.sort(l),s=0;s<f.length;s++)n=o(n=d(f[s],n),n.next);return n}(t,e,v,n)),t.length>80*n){r=u=t[0],a=c=t[1];for(var g=n;g<y;g+=n)(h=t[g])<r&&(r=h),(f=t[g+1])<a&&(a=f),h>u&&(u=h),f>c&&(c=f);p=0!==(p=Math.max(u-r,c-a))?1/p:0}return s(v,b,n,r,a,p),b}function i(t,e,n,r,i){var o,s;if(i===L(t,e,n,r)>0)for(o=e;o<n;o+=r)s=T(o,t[o],t[o+1],s);else for(o=n-r;o>=e;o-=r)s=T(o,t[o],t[o+1],s);return s&&b(s,s.next)&&(A(s),s=s.next),s}function o(t,e){if(!t)return t;e||(e=t);var n,r=t;do{if(n=!1,r.steiner||!b(r,r.next)&&0!==v(r.prev,r,r.next))r=r.next;else{if(A(r),(r=e=r.prev)===r.next)break;n=!0}}while(n||r!==e);return e}function s(t,e,n,r,i,l,d){if(t){!d&&l&&function(t,e,n,r){var i=t;do{null===i.z&&(i.z=p(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,r,i,o,s,a,u,c=1;do{for(n=t,t=null,o=null,s=0;n;){for(s++,r=n,a=0,e=0;e<c&&(a++,r=r.nextZ);e++);for(u=c;a>0||u>0&&r;)0!==a&&(0===u||!r||n.z<=r.z)?(i=n,n=n.nextZ,a--):(i=r,r=r.nextZ,u--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;n=r}o.nextZ=null,c*=2}while(s>1)}(i)}(t,r,i,l);for(var f,_,m=t;t.prev!==t.next;)if(f=t.prev,_=t.next,l?u(t,r,i,l):a(t))e.push(f.i/n),e.push(t.i/n),e.push(_.i/n),A(t),t=_.next,m=_.next;else if((t=_)===m){d?1===d?s(t=c(o(t),e,n),e,n,r,i,l,2):2===d&&h(t,e,n,r,i,l):s(o(t),e,n,r,i,l,1);break}}}function a(t){var e=t.prev,n=t,r=t.next;if(v(e,n,r)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(m(e.x,e.y,n.x,n.y,r.x,r.y,i.x,i.y)&&v(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function u(t,e,n,r){var i=t.prev,o=t,s=t.next;if(v(i,o,s)>=0)return!1;for(var a=i.x<o.x?i.x<s.x?i.x:s.x:o.x<s.x?o.x:s.x,u=i.y<o.y?i.y<s.y?i.y:s.y:o.y<s.y?o.y:s.y,c=i.x>o.x?i.x>s.x?i.x:s.x:o.x>s.x?o.x:s.x,h=i.y>o.y?i.y>s.y?i.y:s.y:o.y>s.y?o.y:s.y,l=p(a,u,e,n,r),d=p(c,h,e,n,r),f=t.prevZ,_=t.nextZ;f&&f.z>=l&&_&&_.z<=d;){if(f!==t.prev&&f!==t.next&&m(i.x,i.y,o.x,o.y,s.x,s.y,f.x,f.y)&&v(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,_!==t.prev&&_!==t.next&&m(i.x,i.y,o.x,o.y,s.x,s.y,_.x,_.y)&&v(_.prev,_,_.next)>=0)return!1;_=_.nextZ}for(;f&&f.z>=l;){if(f!==t.prev&&f!==t.next&&m(i.x,i.y,o.x,o.y,s.x,s.y,f.x,f.y)&&v(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;_&&_.z<=d;){if(_!==t.prev&&_!==t.next&&m(i.x,i.y,o.x,o.y,s.x,s.y,_.x,_.y)&&v(_.prev,_,_.next)>=0)return!1;_=_.nextZ}return!0}function c(t,e,n){var r=t;do{var i=r.prev,s=r.next.next;!b(i,s)&&g(i,r,r.next,s)&&M(i,s)&&M(s,i)&&(e.push(i.i/n),e.push(r.i/n),e.push(s.i/n),A(r),A(r.next),r=t=s),r=r.next}while(r!==t);return o(r)}function h(t,e,n,r,i,a){var u=t;do{for(var c=u.next.next;c!==u.prev;){if(u.i!==c.i&&y(u,c)){var h=S(u,c);return u=o(u,u.next),h=o(h,h.next),s(u,e,n,r,i,a),void s(h,e,n,r,i,a)}c=c.next}u=u.next}while(u!==t)}function l(t,e){return t.x-e.x}function d(t,e){var n=function(t,e){var n,r=e,i=t.x,o=t.y,s=-1/0;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var a=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(a<=i&&a>s){if(s=a,a===i){if(o===r.y)return r;if(o===r.next.y)return r.next}n=r.x<r.next.x?r:r.next}}r=r.next}while(r!==e);if(!n)return null;if(i===s)return n;var u,c=n,h=n.x,l=n.y,d=1/0;r=n;do{i>=r.x&&r.x>=h&&i!==r.x&&m(o<l?i:s,o,h,l,o<l?s:i,o,r.x,r.y)&&(u=Math.abs(o-r.y)/(i-r.x),M(r,t)&&(u<d||u===d&&(r.x>n.x||r.x===n.x&&f(n,r)))&&(n=r,d=u)),r=r.next}while(r!==c);return n}(t,e);if(!n)return e;var r=S(n,t),i=o(n,n.next);return o(r,r.next),e===n?i:e}function f(t,e){return v(t.prev,t,e.prev)<0&&v(e.next,t,t.next)<0}function p(t,e,n,r,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function _(t){var e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function m(t,e,n,r,i,o,s,a){return(i-s)*(e-a)-(t-s)*(o-a)>=0&&(t-s)*(r-a)-(n-s)*(e-a)>=0&&(n-s)*(o-a)-(i-s)*(r-a)>=0}function y(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&g(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(M(t,e)&&M(e,t)&&function(t,e){var n=t,r=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==t);return r}(t,e)&&(v(t.prev,t,e.prev)||v(t,e.prev,e))||b(t,e)&&v(t.prev,t,t.next)>0&&v(e.prev,e,e.next)>0)}function v(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function b(t,e){return t.x===e.x&&t.y===e.y}function g(t,e,n,r){var i=x(v(t,e,n)),o=x(v(t,e,r)),s=x(v(n,r,t)),a=x(v(n,r,e));return i!==o&&s!==a||(!(0!==i||!w(t,n,e))||(!(0!==o||!w(t,r,e))||(!(0!==s||!w(n,t,r))||!(0!==a||!w(n,e,r)))))}function w(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function x(t){return t>0?1:t<0?-1:0}function M(t,e){return v(t.prev,t,t.next)<0?v(t,e,t.next)>=0&&v(t,t.prev,e)>=0:v(t,e,t.prev)<0||v(t,t.next,e)<0}function S(t,e){var n=new E(t.i,t.x,t.y),r=new E(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function T(t,e,n,r){var i=new E(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function A(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function E(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function L(t,e,n,r){for(var i=0,o=e,s=n-r;o<n;o+=r)i+=(t[s]-t[o])*(t[o+1]+t[s+1]),s=o;return i}t.exports=r,t.exports.default=r,r.deviation=function(t,e,n,r){var i=e&&e.length,o=i?e[0]*n:t.length,s=Math.abs(L(t,0,o,n));if(i)for(var a=0,u=e.length;a<u;a++){var c=e[a]*n,h=a<u-1?e[a+1]*n:t.length;s-=Math.abs(L(t,c,h,n))}var l=0;for(a=0;a<r.length;a+=3){var d=r[a]*n,f=r[a+1]*n,p=r[a+2]*n;l+=Math.abs((t[d]-t[p])*(t[f+1]-t[d+1])-(t[d]-t[f])*(t[p+1]-t[d+1]))}return 0===s&&0===l?0:Math.abs((l-s)/s)},r.flatten=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},r=0,i=0;i<t.length;i++){for(var o=0;o<t[i].length;o++)for(var s=0;s<e;s++)n.vertices.push(t[i][o][s]);i>0&&(r+=t[i-1].length,n.holes.push(r))}return n}},"6rtq":function(t,e,n){var r=n("8gph"),i=n("pRMk").Buffer,o=n("ql4I");function s(t,e,n,s){o.call(this),this._cipher=new r.AES(e),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._mode=t}n("wfEq")(s,o),s.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},t.exports=s},"6s8r":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"6ucV":function(t,e,n){!function(t){"use strict";
  53. //! moment.js locale configuration
  54. t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},"6vYI":function(t,e,n){"use strict";n.r(e),n.d(e,"shareTargetPicker",(function(){return x}));var r=n("bb6g"),i=n("kp3F"),o=n("eJvy"),s=n("JpNb"),a=n("YaxJ"),u=n("hGkD"),c=n("sXMr"),h=n("bI9i"),l=n("53ng"),d=n("QuL7"),f=n("2q8S"),p=n("NOeq"),_={};function m(t,e){var n=_,i=Object(r.e)(e.split("."),1)[0],o=n[e];o&&t.removeEventListener(i,o),n[e]=null}var y=!1,v=!1;function b(t,e,n,r){if(void 0===n&&(n={}),"object"!=typeof t||!t.postMessage)throw Object(o.j)(i.f,"target must be window object");if("string"!=typeof e)throw Object(o.j)(i.f,"keyname must be string");if("object"!=typeof n)throw Object(o.j)(i.f,"incorrect body format. It should be Object or Array comprised of Object");if(!r)throw Object(o.j)(i.f,"serverEndPointUrl isn't passed. please fill up with proper url");if("*"===r)throw new Error("serverEndPointUrl doesn't allow to set '*'");var s={name:e,body:n};t.postMessage(s,r)}function g(t,e,n,i){!function(t,e,n,i){y||(v=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!1}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}(),y=!0);var o=Object(r.e)(e.split("."),1)[0];new Promise((function(r){var s=function(o){r(o),n&&n(o),i&&i.once&&m(t,e)};!function(t,e){_[t]=e}(e,s),t.addEventListener(o,s,!!v&&i)}))}(t,"message."+e,function(t,e,n){return function(r){d.a.debug("messageReceive",r),r.origin===n&&r.data.name===t&&e(r)}}(e,n,i))}var w=function(){function t(){this.payloadToShareTargetPicker=null,this.popupWindow=null,this.doesWaitForSubwindowResult=!1}return t.getInstance=function(){return t.instance?t.instance.reset():t.instance=new t,t.instance},t.prototype.init=function(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n;return Object(r.d)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),this.liffId=t.referrer.liffId,this.doesWaitForSubwindowResult=!(!t.options||!t.options.waitForSubwindowResult),this.allowPostMessageOrigin=this.initAllowPostMessageOrigin(),this.payloadToShareTargetPicker=this.buildPayloadToShareTargetPicker(t),window.AbortController&&(this.abortController=new window.AbortController),this.prepareAnotherWindow(),[4,this.initOtt()];case 1:return r.sent(),this.initListener(),this.openAnotherWindow(),this.doesWaitForSubwindowResult?[4,this.pollingShareResult()]:[3,3];case 2:return e=r.sent(),this.finalize(),[2,e];case 3:return[2];case 4:return[3,6];case 5:if(n=r.sent(),this.finalize(),"AbortError"!==n.name)throw n;return[3,6];case 6:return[2]}}))}))},t.prototype.resetAllVariables=function(){this.liffId="",this.allowPostMessageOrigin="",this.payloadToShareTargetPicker=null,this.ott="",this.popupWindow=null,this.timeoutIDForHealthCheck=null,this.abortController=null,this.internalError=null,this.doesWaitForSubwindowResult=!1},t.prototype.reset=function(){this.finalize(),this.resetAllVariables()},t.prototype.finalize=function(){var t,e;this.abortController&&this.abortController.abort(),Object(a.isInClient)()||(t=this.timeoutIDForHealthCheck,e=this.popupWindow,m(window,"message.receivedHealthcheck"),t&&clearTimeout(t),e&&!e.closed&&e.close())},t.prototype.buildPayloadToShareTargetPicker=function(t){return{messages:t.messages,referrer:t.referrer}},t.prototype.initAllowPostMessageOrigin=function(t){return void 0===t&&(t=Object(f.b)("shareTargetPicker")),Object(o.m)(t)},t.prototype.initOtt=function(){return Object(r.b)(this,void 0,void 0,(function(){var t,e,n;return Object(r.d)(this,(function(r){switch(r.label){case 0:return this.abortController&&(t=this.abortController.signal),e=Object(f.b)("shareTargetPickerOtt")+"/"+this.liffId+"/ott",n=this,[4,Object(f.a)(e,{method:"GET",signal:t}).then((function(t){return t.ott}))];case 1:return n.ott=r.sent(),[2]}}))}))},t.prototype.prepareAnotherWindow=function(){Object(a.isInClient)()||("ios"!==Object(p.getOS)()||Object(o.p)()?this.popupWindow=window.open("","liffpopup","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):this.popupWindow=window.open())},t.prototype.openAnotherWindow=function(){if(Object(a.isInClient)()&&this.payloadToShareTargetPicker)t=this.liffId,e=this.ott,n=this.payloadToShareTargetPicker,r={liffId:t,ott:e,data:JSON.stringify(n),closeModals:!1},location.href="line://picker?"+o.u.stringify(r);else{if(this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),!this.popupWindow)throw Object(o.j)(i.a);!function(t,e,n){var r={liffId:e,ott:n};t.location.href=Object(f.b)("shareTargetPicker")+"?"+o.u.stringify(r)}(this.popupWindow,this.liffId,this.ott)}var t,e,n,r},t.prototype.initListener=function(){var t,e;Object(a.isInClient)()||(t=this.onReceivedHealthcheck.bind(this),e=this.allowPostMessageOrigin,g(window,"receivedHealthcheck",t,e))},t.prototype.healthCheck=function(){return Object(r.b)(this,void 0,void 0,(function(){var t;return Object(r.d)(this,(function(e){switch(e.label){case 0:if(this.popupWindow&&!this.popupWindow.closed)return[3,7];if(!this.doesWaitForSubwindowResult)return[3,5];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.onCanceled()];case 2:return e.sent(),[3,4];case 3:return t=e.sent(),this.internalError=t,[3,4];case 4:return[3,6];case 5:this.finalize(),e.label=6;case 6:return[3,8];case 7:b(this.popupWindow,"healthcheck",void 0,this.allowPostMessageOrigin),this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),e.label=8;case 8:return[2]}}))}))},t.prototype.onReceivedHealthcheck=function(){if(!this.popupWindow||!this.payloadToShareTargetPicker)throw Object(o.j)(i.a);b(this.popupWindow,"ready",this.payloadToShareTargetPicker,this.allowPostMessageOrigin)},t.prototype.onCanceled=function(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){switch(n.label){case 0:if(Object(a.isInClient)()||!this.ott)throw new Error("need to call with ott in client");return this.abortController&&(t=this.abortController.signal),e={liffId:this.liffId,ott:this.ott},[4,Object(f.a)(Object(f.b)("shareTargetPickerResult")+"?"+o.u.stringify(e),{method:"POST",signal:t,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},body:"result=CANCEL"})];case 1:return[2,"ok"===n.sent().status]}}))}))},t.prototype.getShareResult=function(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){if(!this.ott)throw new Error("need to call with ott in client");return this.abortController&&(t=this.abortController.signal),e={liffId:this.liffId,ott:this.ott},d.a.debug("fetch: getShareResult"),[2,Object(f.a)(Object(f.b)("shareTargetPickerResult")+"?"+o.u.stringify(e),{method:"GET",headers:{Accept:"application/json"},signal:t})]}))}))},t.isPollingTimeOut=function(t,e){return(e-t)/6e4>=10},t.prototype.pollingShareResult=function(){return Object(r.b)(this,void 0,void 0,(function(){var e,n;return Object(r.d)(this,(function(r){switch(r.label){case 0:e=Date.now(),r.label=1;case 1:if(t.isPollingTimeOut(e,Date.now()))return[3,4];if(this.internalError)throw this.internalError;return[4,this.getShareResult()];case 2:if((n=r.sent())&&n.result)switch(n.result){case"SUCCESS":return[2,{status:"success"}];case"CANCEL":return[2];case"FAILURE":default:throw new Error(n.resultDescription)}return[4,new Promise((function(t){setTimeout(t,500)}))];case 3:return r.sent(),[3,1];case 4:throw new Error("Timeout: not finished within 10min")}}))}))},t}();function x(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,d,f,p,_;return Object(r.d)(this,(function(r){switch(r.label){case 0:if(function(){if(Object(h.isSubWindow)())throw Object(o.j)(i.d,"The operation is not allowed in the SubWindow");var t=((Object(s.getContext)()||{}).availability||{}).shareTargetPicker||{},e=t.permission,n=t.minVer;if(!e)throw Object(a.isInClient)()?Object(o.j)(i.d,"Need LINE App "+n+" at least or consent on shareTargetPicker usage on LINE developer site"):Object(o.j)(i.d,"Need consent on shareTargetPicker usage on LINE developer site")}(),!Object(u.isLoggedIn)())throw Object(o.j)(i.y,"Need access_token for api call, Please login first");if(!t||!Array.isArray(t)||0===t.length)throw Object(o.j)(i.f,"no proper argument");if(t.length>i.j)throw Object(o.j)(i.f,"exceed the limit of num of messages");if(!(e=Object(s.getConfig)().liffId))throw Object(o.j)(i.g);window.liff&&(n=window.liff).analytics&&Object(c.sendShareTargetPicker)(n.analytics),r.label=1;case 1:return r.trys.push([1,3,,4]),d=w.getInstance(),f=Object(l.getLineVersion)(),p={waitForSubwindowResult:!0},Object(a.isInClient)()&&f&&Object(o.e)(f,"10.11.0")<0&&(p.waitForSubwindowResult=!1),[4,d.init({messages:t,referrer:{liffId:e,url:location.origin},options:p})];case 2:return[2,r.sent()];case 3:throw(_=r.sent())instanceof o.b?_:Object(o.j)(i.c,_.message);case 4:return[2]}}))}))}},"6yG2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRandomBytes",{enumerable:!0,get:function(){return r.getRandomBytes}}),Object.defineProperty(e,"getRandomAsciiString",{enumerable:!0,get:function(){return r.getRandomAsciiString}}),Object.defineProperty(e,"getRandomString",{enumerable:!0,get:function(){return r.getRandomString}}),Object.defineProperty(e,"getRandomSampledString",{enumerable:!0,get:function(){return r.getRandomSampledString}}),e.default=void 0;var r=n("27bB"),i={getRandomBytes:r.getRandomBytes,getRandomAsciiString:r.getRandomAsciiString,getRandomString:r.getRandomString,getRandomSampledString:r.getRandomSampledString};e.default=i},"71kK":function(t,e,n){"use strict";var r=n("ovh1");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},"794S":function(t,e,n){!function(t){"use strict";
  55. //! moment.js locale configuration
  56. t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},"7D2V":function(t,e,n){!function(t){"use strict";
  57. //! moment.js locale configuration
  58. t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("TiKg"))},"7ZyU":function(t,e,n){"use strict";var r=n("8kJ5"),i=n("fOyB"),o=i.getNAF,s=i.getJSF,a=i.assert;function u(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(t,e){a(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;var s,u,c=[];for(s=0;s<r.length;s+=n.step){u=0;for(var h=s+n.step-1;h>=s;h--)u=(u<<1)+r[h];c.push(u)}for(var l=this.jpoint(null,null,null),d=this.jpoint(null,null,null),f=i;f>0;f--){for(s=0;s<c.length;s++)(u=c[s])===f?d=d.mixedAdd(n.points[s]):u===-f&&(d=d.mixedAdd(n.points[s].neg()));l=l.add(d)}return l.toP()},u.prototype._wnafMul=function(t,e){var n=4,r=t._getNAFPoints(n);n=r.wnd;for(var i=r.points,s=o(e,n,this._bitLength),u=this.jpoint(null,null,null),c=s.length-1;c>=0;c--){for(var h=0;c>=0&&0===s[c];c--)h++;if(c>=0&&h++,u=u.dblp(h),c<0)break;var l=s[c];a(0!==l),u="affine"===t.type?l>0?u.mixedAdd(i[l-1>>1]):u.mixedAdd(i[-l-1>>1].neg()):l>0?u.add(i[l-1>>1]):u.add(i[-l-1>>1].neg())}return"affine"===t.type?u.toP():u},u.prototype._wnafMulAdd=function(t,e,n,r,i){var a,u,c,h=this._wnafT1,l=this._wnafT2,d=this._wnafT3,f=0;for(a=0;a<r;a++){var p=(c=e[a])._getNAFPoints(t);h[a]=p.wnd,l[a]=p.points}for(a=r-1;a>=1;a-=2){var _=a-1,m=a;if(1===h[_]&&1===h[m]){var y=[e[_],null,null,e[m]];0===e[_].y.cmp(e[m].y)?(y[1]=e[_].add(e[m]),y[2]=e[_].toJ().mixedAdd(e[m].neg())):0===e[_].y.cmp(e[m].y.redNeg())?(y[1]=e[_].toJ().mixedAdd(e[m]),y[2]=e[_].add(e[m].neg())):(y[1]=e[_].toJ().mixedAdd(e[m]),y[2]=e[_].toJ().mixedAdd(e[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],b=s(n[_],n[m]);for(f=Math.max(b[0].length,f),d[_]=new Array(f),d[m]=new Array(f),u=0;u<f;u++){var g=0|b[0][u],w=0|b[1][u];d[_][u]=v[3*(g+1)+(w+1)],d[m][u]=0,l[_]=y}}else d[_]=o(n[_],h[_],this._bitLength),d[m]=o(n[m],h[m],this._bitLength),f=Math.max(d[_].length,f),f=Math.max(d[m].length,f)}var x=this.jpoint(null,null,null),M=this._wnafT4;for(a=f;a>=0;a--){for(var S=0;a>=0;){var T=!0;for(u=0;u<r;u++)M[u]=0|d[u][a],0!==M[u]&&(T=!1);if(!T)break;S++,a--}if(a>=0&&S++,x=x.dblp(S),a<0)break;for(u=0;u<r;u++){var A=M[u];0!==A&&(A>0?c=l[u][A-1>>1]:A<0&&(c=l[u][-A-1>>1].neg()),x="affine"===c.type?x.mixedAdd(c):x.add(c))}}for(a=0;a<r;a++)l[a]=null;return i?x:x.toP()},u.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},u.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*n)return 6===t[0]?a(t[t.length-1]%2==0):7===t[0]&&a(t[t.length-1]%2==1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var e=this.curve.p.byteLength(),n=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",e))},c.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)r=r.dbl();n.push(r)}return{step:t,points:n}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],n=(1<<t)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)e[i]=e[i-1].add(r);return{wnd:t,points:e}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}},"7epm":function(t,e,n){!function(t){"use strict";
  59. //! moment.js locale configuration
  60. function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"7wEA":function(t,e,n){"use strict";var r=n("fOyB"),i=r.assert,o=r.parseBytes,s=r.cachedProperty;function a(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}a.fromPublic=function(t,e){return e instanceof a?e:new a(t,{pub:e})},a.fromSecret=function(t,e){return e instanceof a?e:new a(t,{secret:e})},a.prototype.secret=function(){return this._secret},s(a,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),s(a,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),s(a,"privBytes",(function(){var t=this.eddsa,e=this.hash(),n=t.encodingLength-1,r=e.slice(0,t.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),s(a,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),s(a,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),s(a,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},a.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},a.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),t)},a.prototype.getPublic=function(t){return r.encode(this.pubBytes(),t)},t.exports=a},"7wFP":function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},"89XF":function(t,e,n){var r={ECB:n("7wFP"),CBC:n("tyEE"),CFB:n("zxuB"),CFB8:n("Jhzd"),CFB1:n("MV+h"),OFB:n("m036"),CTR:n("WeoI"),GCM:n("WeoI")},i=n("w8x0");for(var o in i)i[o].module=r[i[o].mode];t.exports=i},"8ImE":function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJWK=e.fromJWK=void 0;var o=i(n("+Gs+")),s=r(n("omOp")),a=n("kAr8");e.fromJWK=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Object.keys(s.default.namedCurves).indexOf(t.crv)<0)throw new Error("UnsupportedCurve");var r=(0,a.fromJwk)(t,{outputFormat:"binary",outputPublic:!0,compact:n}),i=s.default.publicKeyAlgorithms.EC.oid,o={unused:0,data:Array.from(r)},h=u.encode({type:"namedCurve",value:s.default.namedCurves[t.crv].oid},"der"),l={algorithm:i,parameters:h},d={};if("public"===e)d.subjectPublicKey=o,d.algorithm=l;else if("private"===e){var f=(0,a.fromJwk)(t,{outputFormat:"binary",outputPublic:!1,compact:n});d.version=0,d.privateKeyAlgorithm=l,d.privateKey=c.encode({version:1,privateKey:Array.from(f),parameters:h,publicKey:o},"der")}return d};e.toJWK=function(t,e){if("public"===e){t.algorithm.parameters=u.decode(t.algorithm.parameters,"der");var n=new Uint8Array(t.subjectPublicKey.data),r=(0,s.getAlgorithmFromOid)(t.algorithm.parameters.value,s.default.namedCurves);if(r.length<1)throw new Error("UnsupportedCurve");return(0,a.toJwk)(n,r[0],{outputPublic:!0})}if("private"===e){t.privateKeyAlgorithm.parameters=u.decode(t.privateKeyAlgorithm.parameters,"der");try{t.privateKey=c.decode(t.privateKey,"der")}catch(e){t.privateKey=h.decode(t.privateKey,"der")}var i=new Uint8Array(t.privateKey.privateKey),o=(0,s.getAlgorithmFromOid)(t.privateKeyAlgorithm.parameters.value,s.default.namedCurves);if(o.length<1)throw new Error("UnsupportedCurve");return(0,a.toJwk)(i,o[0],{outputPublic:!1})}};var u=o.default.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),c=o.default.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().any(),this.key("publicKey").explicit(1).optional().bitstr())})),h=o.default.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("publicKey").explicit(1).optional().bitstr())}))},"8J7P":function(t,e,n){!function(t){"use strict";
  61. //! moment.js locale configuration
  62. function e(t,e,n,r){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(n("TiKg"))},"8Sms":function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJwk=e.fromJwk=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("8ImE")),u=r(n("cQcr")),c=r(n("omOp")),h=i(n("SDgz")),l=i(n("qykS")),d=n("zYJ4"),f=n("yRLl"),p=n("srdS"),_=l.default.Buffer,m=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,c,l,_,m,y,v;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.outputPublic,s=r.compact,c=void 0!==s&&s,l=r.encOptions,_=(0,p.getJwkType)(e),m="boolean"==typeof i&&i?"public":_,"EC"===e.kty?y=a.fromJWK(e,m,c):"RSA"===e.kty&&(y=u.fromJwk(e,m)),"public"!==m){t.next=8;break}v=d.SubjectPublicKeyInfo.encode(y,"der"),t.next=14;break;case 8:if(v=d.OneAsymmetricKey.encode(y,"der"),!(void 0!==l.passphrase&&l.passphrase.length>0)){t.next=14;break}return t.next=12,(0,f.encryptEncryptedPrivateKeyInfo)(v,l);case 12:v=t.sent,m="encryptedPrivate";case 14:return v=new Uint8Array(v),t.abrupt("return","pem"===n?h.default.formatter.binToPem(v,m):v);case 16:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.fromJwk=m;var y=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,l,p,m,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=r.outputPublic,s=r.passphrase,l="pem"===n?h.default.formatter.pemToBin(e):e,t.prev=2,p=d.KeyStructure.decode(_.from(l),"der"),t.next=9;break;case 6:throw t.prev=6,t.t0=t.catch(2),new Error("FailedToDecodeKey");case 9:if("subjectPublicKeyInfo"!==p.type){t.next=14;break}m="public",p=p.value,t.next=26;break;case 14:if(m="boolean"==typeof i&&i?"public":"private","encryptedPrivateKeyInfo"!==p.type){t.next=21;break}return t.next=18,(0,f.decryptEncryptedPrivateKeyInfo)(p.value,s);case 18:p=t.sent,t.next=26;break;case 21:if("oneAsymmetricKey"!==p.type){t.next=25;break}p=p.value,t.next=26;break;case 25:throw new Error("UnsupportedKeyStructure");case 26:if(!((y=(0,c.getAlgorithmFromOid)("public"===m?p.algorithm.algorithm:p.privateKeyAlgorithm.algorithm,c.default.publicKeyAlgorithms)).length<1)){t.next=29;break}throw new Error("UnsupportedKey");case 29:if("EC"!==y[0]){t.next=33;break}return t.abrupt("return",a.toJWK(p,m));case 33:if("RSA"!==y[0]){t.next=37;break}return t.abrupt("return",u.toJwk(p,m));case 37:throw new Error("InvalidKeyType");case 38:case"end":return t.stop()}}),t,null,[[2,6]])})));return function(e,n,r){return t.apply(this,arguments)}}();e.toJwk=y},"8VmE":function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},"8WWn":function(t,e,n){"use strict";function r(){return"2.14.0"}n.r(e),n.d(e,"getVersion",(function(){return r}))},"8gph":function(t,e,n){var r=n("pRMk").Buffer;function i(t){r.isBuffer(t)||(t=r.from(t));for(var e=t.length/4|0,n=new Array(e),i=0;i<e;i++)n[i]=t.readUInt32BE(4*i);return n}function o(t){for(;0<t.length;t++)t[0]=0}function s(t,e,n,r,i){for(var o,s,a,u,c=n[0],h=n[1],l=n[2],d=n[3],f=t[0]^e[0],p=t[1]^e[1],_=t[2]^e[2],m=t[3]^e[3],y=4,v=1;v<i;v++)o=c[f>>>24]^h[p>>>16&255]^l[_>>>8&255]^d[255&m]^e[y++],s=c[p>>>24]^h[_>>>16&255]^l[m>>>8&255]^d[255&f]^e[y++],a=c[_>>>24]^h[m>>>16&255]^l[f>>>8&255]^d[255&p]^e[y++],u=c[m>>>24]^h[f>>>16&255]^l[p>>>8&255]^d[255&_]^e[y++],f=o,p=s,_=a,m=u;return o=(r[f>>>24]<<24|r[p>>>16&255]<<16|r[_>>>8&255]<<8|r[255&m])^e[y++],s=(r[p>>>24]<<24|r[_>>>16&255]<<16|r[m>>>8&255]<<8|r[255&f])^e[y++],a=(r[_>>>24]<<24|r[m>>>16&255]<<16|r[f>>>8&255]<<8|r[255&p])^e[y++],u=(r[m>>>24]<<24|r[f>>>16&255]<<16|r[p>>>8&255]<<8|r[255&_])^e[y++],[o>>>=0,s>>>=0,a>>>=0,u>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,u=0;u<256;++u){var c=a^a<<1^a<<2^a<<3^a<<4;c=c>>>8^255&c^99,n[s]=c,r[c]=s;var h=t[s],l=t[h],d=t[l],f=257*t[c]^16843008*c;i[0][s]=f<<24|f>>>8,i[1][s]=f<<16|f>>>16,i[2][s]=f<<8|f>>>24,i[3][s]=f,f=16843009*d^65537*l^257*h^16843008*s,o[0][c]=f<<24|f>>>8,o[1][c]=f<<16|f>>>16,o[2][c]=f<<8|f>>>24,o[3][c]=f,0===s?s=a=1:(s=h^t[t[t[d^h]]],a^=t[t[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function c(t){this._key=i(t),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,r=4*(n+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<r;o++){var s=i[o-1];o%e==0?(s=s<<8|s>>>24,s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s],s^=a[o/e|0]<<24):e>6&&o%e==4&&(s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s]),i[o]=i[o-e]^s}for(var c=[],h=0;h<r;h++){var l=r-h,d=i[l-(h%4?0:4)];c[h]=h<4||l<=4?d:u.INV_SUB_MIX[0][u.SBOX[d>>>24]]^u.INV_SUB_MIX[1][u.SBOX[d>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[d>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(t){return s(t=i(t),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},c.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=r.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},c.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var n=s(t,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},"8kJ5":function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var s;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{s=n(3).Buffer}catch(t){}function a(t,e,n){for(var i=0,o=Math.min(t.length,n),s=0,a=e;a<o;a++){var u,c=t.charCodeAt(a)-48;i<<=4,i|=u=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,s|=u}return r(!(240&s),"Invalid character in "+t),i}function u(t,e,n,i){for(var o=0,s=0,a=Math.min(t.length,n),u=e;u<a;u++){var c=t.charCodeAt(u)-48;o*=i,s=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&s<i,"Invalid character"),o+=s}return o}function c(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}function h(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=t.length-1,o=0;i>=0;i-=3)s=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<t.length;i+=3)s=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=t.length-6,r=0;n>=e;n-=6)i=a(t,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=a(t,e,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,s=o%r,a=Math.min(o,o-s)+n,c=0,h=n;h<a;h+=r)c=u(t,h,h+r,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==s){var l=1;for(c=u(t,h,t.length,e),h=0;h<s;h++)l*=e;this.imuln(l),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){c(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h:o.prototype.inspect=h;var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],u=(16777215&(a<<i|o)).toString(16);n=0!==(o=a>>>24-i&16777215)||s!==this.length-1?l[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],h=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var _=p.modrn(h).toString(t);n=(p=p.idivn(h)).isZero()?_+n:l[c-_.length]+_+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var c=1;c<r;c++){for(var h=u>>>26,l=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;h+=(s=(i=0|t.words[p])*(o=0|e.words[f])+l)/67108864|0,l=67108863&s}n.words[c]=0|l,u=0|h}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var s=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](s,i),s},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var s=this.words[i]<<o|r;t[n++]=255&s,n<t.length&&(t[n++]=s>>8&255),n<t.length&&(t[n++]=s>>16&255),6===o?(n<t.length&&(t[n++]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n<t.length)for(t[n++]=r;n<t.length;)t[n++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var n=t.length-1,r=0,i=0,o=0;i<this.length;i++){var s=this.words[i]<<o|r;t[n--]=255&s,n>=0&&(t[n--]=s>>8&255),n>=0&&(t[n--]=s>>16&255),6===o?(n>=0&&(t[n--]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,s=0;s<r.length;s++)o=(e=(0|n.words[s])-(0|r.words[s])+o)>>26,this.words[s]=67108863&e;for(;0!==o&&s<n.length;s++)o=(e=(0|n.words[s])+o)>>26,this.words[s]=67108863&e;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var _=function(t,e,n){var r,i,o,s=t.words,a=e.words,u=n.words,c=0,h=0|s[0],l=8191&h,d=h>>>13,f=0|s[1],p=8191&f,_=f>>>13,m=0|s[2],y=8191&m,v=m>>>13,b=0|s[3],g=8191&b,w=b>>>13,x=0|s[4],M=8191&x,S=x>>>13,T=0|s[5],A=8191&T,E=T>>>13,L=0|s[6],D=8191&L,C=L>>>13,k=0|s[7],O=8191&k,I=k>>>13,P=0|s[8],R=8191&P,Y=P>>>13,B=0|s[9],N=8191&B,j=B>>>13,F=0|a[0],U=8191&F,G=F>>>13,H=0|a[1],V=8191&H,z=H>>>13,W=0|a[2],X=8191&W,J=W>>>13,K=0|a[3],q=8191&K,$=K>>>13,Z=0|a[4],Q=8191&Z,tt=Z>>>13,et=0|a[5],nt=8191&et,rt=et>>>13,it=0|a[6],ot=8191&it,st=it>>>13,at=0|a[7],ut=8191&at,ct=at>>>13,ht=0|a[8],lt=8191&ht,dt=ht>>>13,ft=0|a[9],pt=8191&ft,_t=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,G))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,G))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,G))+Math.imul(_,U)|0,o=Math.imul(_,G);var yt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,z)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,U),i=(i=Math.imul(y,G))+Math.imul(v,U)|0,o=Math.imul(v,G),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,z)|0)+Math.imul(_,V)|0,o=o+Math.imul(_,z)|0;var vt=(c+(r=r+Math.imul(l,X)|0)|0)+((8191&(i=(i=i+Math.imul(l,J)|0)+Math.imul(d,X)|0))<<13)|0;c=((o=o+Math.imul(d,J)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(g,U),i=(i=Math.imul(g,G))+Math.imul(w,U)|0,o=Math.imul(w,G),r=r+Math.imul(y,V)|0,i=(i=i+Math.imul(y,z)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,z)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,J)|0;var bt=(c+(r=r+Math.imul(l,q)|0)|0)+((8191&(i=(i=i+Math.imul(l,$)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,G))+Math.imul(S,U)|0,o=Math.imul(S,G),r=r+Math.imul(g,V)|0,i=(i=i+Math.imul(g,z)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,z)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,J)|0)+Math.imul(v,X)|0,o=o+Math.imul(v,J)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(_,q)|0,o=o+Math.imul(_,$)|0;var gt=(c+(r=r+Math.imul(l,Q)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,Q)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,G))+Math.imul(E,U)|0,o=Math.imul(E,G),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,z)|0)+Math.imul(S,V)|0,o=o+Math.imul(S,z)|0,r=r+Math.imul(g,X)|0,i=(i=i+Math.imul(g,J)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,J)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,$)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(D,U),i=(i=Math.imul(D,G))+Math.imul(C,U)|0,o=Math.imul(C,G),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,z)|0)+Math.imul(E,V)|0,o=o+Math.imul(E,z)|0,r=r+Math.imul(M,X)|0,i=(i=i+Math.imul(M,J)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(g,q)|0,i=(i=i+Math.imul(g,$)|0)+Math.imul(w,q)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(_,nt)|0,o=o+Math.imul(_,rt)|0;var xt=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,st)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,st)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,G))+Math.imul(I,U)|0,o=Math.imul(I,G),r=r+Math.imul(D,V)|0,i=(i=i+Math.imul(D,z)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,z)|0,r=r+Math.imul(A,X)|0,i=(i=i+Math.imul(A,J)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,J)|0,r=r+Math.imul(M,q)|0,i=(i=i+Math.imul(M,$)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(g,Q)|0,i=(i=i+Math.imul(g,tt)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,st)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,st)|0;var Mt=(c+(r=r+Math.imul(l,ut)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,G))+Math.imul(Y,U)|0,o=Math.imul(Y,G),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,z)|0)+Math.imul(I,V)|0,o=o+Math.imul(I,z)|0,r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,J)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(A,q)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(E,q)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(g,nt)|0,i=(i=i+Math.imul(g,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,st)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,st)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0;var St=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(N,U),i=(i=Math.imul(N,G))+Math.imul(j,U)|0,o=Math.imul(j,G),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,z)|0)+Math.imul(Y,V)|0,o=o+Math.imul(Y,z)|0,r=r+Math.imul(O,X)|0,i=(i=i+Math.imul(O,J)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,J)|0,r=r+Math.imul(D,q)|0,i=(i=i+Math.imul(D,$)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,$)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(g,ot)|0,i=(i=i+Math.imul(g,st)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,st)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(_,lt)|0,o=o+Math.imul(_,dt)|0;var Tt=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,_t)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,_t)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(N,V),i=(i=Math.imul(N,z))+Math.imul(j,V)|0,o=Math.imul(j,z),r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,J)|0)+Math.imul(Y,X)|0,o=o+Math.imul(Y,J)|0,r=r+Math.imul(O,q)|0,i=(i=i+Math.imul(O,$)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,$)|0,r=r+Math.imul(D,Q)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,st)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,st)|0,r=r+Math.imul(g,ut)|0,i=(i=i+Math.imul(g,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var At=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,_t)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,_t)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(N,X),i=(i=Math.imul(N,J))+Math.imul(j,X)|0,o=Math.imul(j,J),r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(Y,q)|0,o=o+Math.imul(Y,$)|0,r=r+Math.imul(O,Q)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,r=r+Math.imul(D,nt)|0,i=(i=i+Math.imul(D,rt)|0)+Math.imul(C,nt)|0,o=o+Math.imul(C,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,st)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,st)|0,r=r+Math.imul(M,ut)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(g,lt)|0,i=(i=i+Math.imul(g,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Et=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,_t)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,_t)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(N,q),i=(i=Math.imul(N,$))+Math.imul(j,q)|0,o=Math.imul(j,$),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(Y,Q)|0,o=o+Math.imul(Y,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(I,nt)|0,o=o+Math.imul(I,rt)|0,r=r+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,st)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,st)|0,r=r+Math.imul(A,ut)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(E,ut)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,dt)|0;var Lt=(c+(r=r+Math.imul(g,pt)|0)|0)+((8191&(i=(i=i+Math.imul(g,_t)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,_t)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(N,Q),i=(i=Math.imul(N,tt))+Math.imul(j,Q)|0,o=Math.imul(j,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(Y,nt)|0,o=o+Math.imul(Y,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,st)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,st)|0,r=r+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(C,ut)|0,o=o+Math.imul(C,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,dt)|0;var Dt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,_t)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,_t)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(N,nt),i=(i=Math.imul(N,rt))+Math.imul(j,nt)|0,o=Math.imul(j,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,st)|0)+Math.imul(Y,ot)|0,o=o+Math.imul(Y,st)|0,r=r+Math.imul(O,ut)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(I,ut)|0,o=o+Math.imul(I,ct)|0,r=r+Math.imul(D,lt)|0,i=(i=i+Math.imul(D,dt)|0)+Math.imul(C,lt)|0,o=o+Math.imul(C,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,_t)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,_t)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(N,ot),i=(i=Math.imul(N,st))+Math.imul(j,ot)|0,o=Math.imul(j,st),r=r+Math.imul(R,ut)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(Y,ut)|0,o=o+Math.imul(Y,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(I,lt)|0,o=o+Math.imul(I,dt)|0;var kt=(c+(r=r+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,_t)|0)+Math.imul(C,pt)|0))<<13)|0;c=((o=o+Math.imul(C,_t)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(N,ut),i=(i=Math.imul(N,ct))+Math.imul(j,ut)|0,o=Math.imul(j,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(Y,lt)|0,o=o+Math.imul(Y,dt)|0;var Ot=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,_t)|0)+Math.imul(I,pt)|0))<<13)|0;c=((o=o+Math.imul(I,_t)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(N,lt),i=(i=Math.imul(N,dt))+Math.imul(j,lt)|0,o=Math.imul(j,dt);var It=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,_t)|0)+Math.imul(Y,pt)|0))<<13)|0;c=((o=o+Math.imul(Y,_t)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863;var Pt=(c+(r=Math.imul(N,pt))|0)+((8191&(i=(i=Math.imul(N,_t))+Math.imul(j,pt)|0))<<13)|0;return c=((o=Math.imul(j,_t))+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,u[0]=mt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=gt,u[5]=wt,u[6]=xt,u[7]=Mt,u[8]=St,u[9]=Tt,u[10]=At,u[11]=Et,u[12]=Lt,u[13]=Dt,u[14]=Ct,u[15]=kt,u[16]=Ot,u[17]=It,u[18]=Pt,0!==c&&(u[19]=c,n.length++),n};function m(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var h=o-c,l=(0|t.words[h])*(0|e.words[c]),d=67108863&l;a=67108863&(d=d+a|0),i+=(s=(s=s+(l/67108864|0)|0)+(d>>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(t,e,n){return m(t,e,n)}function v(t,e){this.x=t,this.y=e}Math.imul||(_=p),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?_(this,t,e):n<63?p(this,t,e):n<1024?m(this,t,e):y(this,t,e)},v.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},v.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},v.prototype.permute=function(t,e,n,r,i,o){for(var s=0;s<o;s++)r[s]=e[t[s]],i[s]=n[t[s]]},v.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,u=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),h=0;h<i;h+=a)for(var l=u,d=c,f=0;f<s;f++){var p=n[h+f],_=r[h+f],m=n[h+f+s],y=r[h+f+s],v=l*m-d*y;y=l*y+d*m,m=v,n[h+f]=p+m,r[h+f]=_+y,n[h+f+s]=p-m,r[h+f+s]=_-y,f!==a&&(v=u*l-c*d,d=u*d+c*l,l=v)}},v.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},v.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},v.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},v.prototype.convert13b=function(t,e,n,i){for(var o=0,s=0;s<e;s++)o+=0|t[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*e;s<i;++s)n[s]=0;r(0===o),r(0==(-8192&o))},v.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},v.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),u=new Array(r),c=new Array(r),h=new Array(r),l=new Array(r),d=n.words;d.length=r,this.convert13b(t.words,t.length,s,r),this.convert13b(e.words,e.length,c,r),this.transform(s,o,a,u,r,i),this.transform(c,o,h,l,r,i);for(var f=0;f<r;f++){var p=a[f]*h[f]-u[f]*l[f];u[f]=a[f]*l[f]+u[f]*h[f],a[f]=p}return this.conjugate(a,u,r),this.transform(a,u,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),y(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),r("number"==typeof t),r(t<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,s=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=t.words[r]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r("number"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(e=0;e<this.length;e++){var a=this.words[e]&o,u=(0|this.words[e])-a<<n;this.words[e]=u|s,s=a>>>26-n}s&&(this.words[e]=s,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,s=Math.min((t-o)/26,this.length),a=67108863^67108863>>>o<<o,u=n;if(i-=s,i=Math.max(0,i),u){for(var c=0;c<s;c++)u.words[c]=this.words[c];u.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];else this.words[0]=0,this.length=1;var h=0;for(c=this.length-1;c>=0&&(0!==h||c>=i);c--){var l=0|this.words[c];this.words[c]=h<<26-o|l>>>o,h=l&a}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r("number"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,s=t.length+n;this._expand(s);var a=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+a;var u=(0|t.words[i])*e;a=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)a=(o=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&o;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(o=-(0|this.words[i])+a)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,u=r.length-i.length;if("mod"!==e){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var c=0;c<a.length;c++)a.words[c]=0}var h=r.clone()._ishlnsubmul(i,1,u);0===h.negative&&(r=h,a&&(a.words[u]=1));for(var l=u-1;l>=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);a&&(a.words[l]=d)}return a&&a._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(t)),{div:i,mod:s}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(t)),{div:a.div,mod:s}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,s,a},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var h=n.clone(),l=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(h),s.isub(l)),i.iushrn(1),s.iushrn(1);for(var p=0,_=1;0==(n.words[0]&_)&&p<26;++p,_<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(h),u.isub(l)),a.iushrn(1),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(a),s.isub(u)):(n.isub(e),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,s=new o(1),a=new o(0),u=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,h=1;0==(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var l=0,d=1;0==(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);e.cmp(n)>=0?(e.isub(n),s.isub(a)):(n.isub(e),a.isub(s))}return(i=0===e.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new T(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var b={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function A(t){T.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(w,g),w.prototype.split=function(t,e){for(var n=Math.min(t.length,9),r=0;r<n;r++)e.words[r]=t.words[r];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,r=10;r<t.length;r++){var o=0|t.words[r];t.words[r-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[r-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(x,g),i(M,g),i(S,g),S.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(b[t])return b[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new x;else if("p192"===t)e=new M;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return b[t]=e,e},T.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},T.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},T.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},T.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},T.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},T.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},T.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},T.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},T.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},T.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},T.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},T.prototype.isqr=function(t){return this.imul(t,t.clone())},T.prototype.sqr=function(t){return this.mul(t,t)},T.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var l=this.pow(h,i),d=this.pow(t,i.addn(1).iushrn(1)),f=this.pow(t,i),p=s;0!==f.cmp(a);){for(var _=f,m=0;0!==_.cmp(a);m++)_=_.redSqr();r(m<p);var y=this.pow(l,new o(1).iushln(p-m-1));d=d.redMul(y),l=y.redSqr(),f=f.redMul(l),p=m}return d},T.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},T.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],s=0,a=0,u=e.bitLength()%26;for(0===u&&(u=26),r=e.length-1;r>=0;r--){for(var c=e.words[r],h=u-1;h>=0;h--){var l=c>>h&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==s?(s<<=1,s|=l,(4===++a||0===r&&0===h)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}u=26}return i},T.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},T.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new A(t)},i(A,T),A.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},A.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},A.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},A.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},A.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n("RoC8")(t))},"8wa+":function(t,e,n){!function(t){"use strict";
  63. //! moment.js locale configuration
  64. var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},"9G7C":function(t,e,n){!function(t){"use strict";
  65. //! moment.js locale configuration
  66. t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("TiKg"))},"9dER":function(t,e,n){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=n("bPso"),e.createHash=e.Hash=n("+oaW"),e.createHmac=e.Hmac=n("cXWM");var r=n("G2uu"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var s=n("hnK/");e.pbkdf2=s.pbkdf2,e.pbkdf2Sync=s.pbkdf2Sync;var a=n("QEnC");e.Cipher=a.Cipher,e.createCipher=a.createCipher,e.Cipheriv=a.Cipheriv,e.createCipheriv=a.createCipheriv,e.Decipher=a.Decipher,e.createDecipher=a.createDecipher,e.Decipheriv=a.Decipheriv,e.createDecipheriv=a.createDecipheriv,e.getCiphers=a.getCiphers,e.listCiphers=a.listCiphers;var u=n("C1tN");e.DiffieHellmanGroup=u.DiffieHellmanGroup,e.createDiffieHellmanGroup=u.createDiffieHellmanGroup,e.getDiffieHellman=u.getDiffieHellman,e.createDiffieHellman=u.createDiffieHellman,e.DiffieHellman=u.DiffieHellman;var c=n("Z+yf");e.createSign=c.createSign,e.Sign=c.Sign,e.createVerify=c.createVerify,e.Verify=c.Verify,e.createECDH=n("Q6g+");var h=n("kmpK");e.publicEncrypt=h.publicEncrypt,e.privateEncrypt=h.privateEncrypt,e.publicDecrypt=h.publicDecrypt,e.privateDecrypt=h.privateDecrypt;var l=n("L2gJ");e.randomFill=l.randomFill,e.randomFillSync=l.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"9hTT":function(t,e,n){"use strict";n.r(e),n.d(e,"getProfile",(function(){return i}));var r=n("2q8S");function i(){return Object(r.a)(Object(r.b)("profile"))}},"9o/V":function(t,e,n){!function(t){"use strict";
  67. //! moment.js locale configuration
  68. t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"9va6":function(t,e,n){(function(t,r){var i;
  69. /**
  70. * @license
  71. * Lodash <https://lodash.com/>
  72. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  73. * Released under MIT license <https://lodash.com/license>
  74. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  75. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  76. */(function(){var o="Expected a function",s="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",c="[object Array]",h="[object Boolean]",l="[object Date]",d="[object Error]",f="[object Function]",p="[object GeneratorFunction]",_="[object Map]",m="[object Number]",y="[object Object]",v="[object RegExp]",b="[object Set]",g="[object String]",w="[object Symbol]",x="[object WeakMap]",M="[object ArrayBuffer]",S="[object DataView]",T="[object Float32Array]",A="[object Float64Array]",E="[object Int8Array]",L="[object Int16Array]",D="[object Int32Array]",C="[object Uint8Array]",k="[object Uint16Array]",O="[object Uint32Array]",I=/\b__p \+= '';/g,P=/\b(__p \+=) '' \+/g,R=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,B=/[&<>"']/g,N=RegExp(Y.source),j=RegExp(B.source),F=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,G=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,X=RegExp(W.source),J=/^\s+/,K=/\s/,q=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,it=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,st=/^\[object .+?Constructor\]$/,at=/^0o[0-7]+$/i,ut=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ht=/($^)/,lt=/['\n\r\u2028\u2029\\]/g,dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ft="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="[\\ud800-\\udfff]",_t="["+ft+"]",mt="["+dt+"]",yt="\\d+",vt="[\\u2700-\\u27bf]",bt="[a-z\\xdf-\\xf6\\xf8-\\xff]",gt="[^\\ud800-\\udfff"+ft+yt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wt="\\ud83c[\\udffb-\\udfff]",xt="[^\\ud800-\\udfff]",Mt="(?:\\ud83c[\\udde6-\\uddff]){2}",St="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",At="(?:"+bt+"|"+gt+")",Et="(?:"+Tt+"|"+gt+")",Lt="(?:"+mt+"|"+wt+")"+"?",Dt="[\\ufe0e\\ufe0f]?"+Lt+("(?:\\u200d(?:"+[xt,Mt,St].join("|")+")[\\ufe0e\\ufe0f]?"+Lt+")*"),Ct="(?:"+[vt,Mt,St].join("|")+")"+Dt,kt="(?:"+[xt+mt+"?",mt,Mt,St,pt].join("|")+")",Ot=RegExp("['’]","g"),It=RegExp(mt,"g"),Pt=RegExp(wt+"(?="+wt+")|"+kt+Dt,"g"),Rt=RegExp([Tt+"?"+bt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[_t,Tt,"$"].join("|")+")",Et+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[_t,Tt+At,"$"].join("|")+")",Tt+"?"+At+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Tt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yt,Ct].join("|"),"g"),Yt=RegExp("[\\u200d\\ud800-\\udfff"+dt+"\\ufe0e\\ufe0f]"),Bt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],jt=-1,Ft={};Ft[T]=Ft[A]=Ft[E]=Ft[L]=Ft[D]=Ft[C]=Ft["[object Uint8ClampedArray]"]=Ft[k]=Ft[O]=!0,Ft[u]=Ft[c]=Ft[M]=Ft[h]=Ft[S]=Ft[l]=Ft[d]=Ft[f]=Ft[_]=Ft[m]=Ft[y]=Ft[v]=Ft[b]=Ft[g]=Ft[x]=!1;var Ut={};Ut[u]=Ut[c]=Ut[M]=Ut[S]=Ut[h]=Ut[l]=Ut[T]=Ut[A]=Ut[E]=Ut[L]=Ut[D]=Ut[_]=Ut[m]=Ut[y]=Ut[v]=Ut[b]=Ut[g]=Ut[w]=Ut[C]=Ut["[object Uint8ClampedArray]"]=Ut[k]=Ut[O]=!0,Ut[d]=Ut[f]=Ut[x]=!1;var Gt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ht=parseFloat,Vt=parseInt,zt="object"==typeof t&&t&&t.Object===Object&&t,Wt="object"==typeof self&&self&&self.Object===Object&&self,Xt=zt||Wt||Function("return this")(),Jt=e&&!e.nodeType&&e,Kt=Jt&&"object"==typeof r&&r&&!r.nodeType&&r,qt=Kt&&Kt.exports===Jt,$t=qt&&zt.process,Zt=function(){try{var t=Kt&&Kt.require&&Kt.require("util").types;return t||$t&&$t.binding&&$t.binding("util")}catch(t){}}(),Qt=Zt&&Zt.isArrayBuffer,te=Zt&&Zt.isDate,ee=Zt&&Zt.isMap,ne=Zt&&Zt.isRegExp,re=Zt&&Zt.isSet,ie=Zt&&Zt.isTypedArray;function oe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function se(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function ae(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function ue(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function ce(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function he(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function le(t,e){return!!(null==t?0:t.length)&&we(t,e,0)>-1}function de(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function fe(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function pe(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function _e(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function me(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function ye(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var ve=Te("length");function be(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function ge(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function we(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):ge(t,Me,n)}function xe(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Me(t){return t!=t}function Se(t,e){var n=null==t?0:t.length;return n?Le(t,e)/n:NaN}function Te(t){return function(e){return null==e?void 0:e[t]}}function Ae(t){return function(e){return null==t?void 0:t[e]}}function Ee(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Le(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function De(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Ce(t){return t?t.slice(0,Je(t)+1).replace(J,""):t}function ke(t){return function(e){return t(e)}}function Oe(t,e){return fe(e,(function(e){return t[e]}))}function Ie(t,e){return t.has(e)}function Pe(t,e){for(var n=-1,r=t.length;++n<r&&we(e,t[n],0)>-1;);return n}function Re(t,e){for(var n=t.length;n--&&we(e,t[n],0)>-1;);return n}function Ye(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Be=Ae({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Ne=Ae({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function je(t){return"\\"+Gt[t]}function Fe(t){return Yt.test(t)}function Ue(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Ge(t,e){return function(n){return t(e(n))}}function He(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==s||(t[n]=s,o[i++]=n)}return o}function Ve(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function ze(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function We(t){return Fe(t)?function(t){var e=Pt.lastIndex=0;for(;Pt.test(t);)++e;return e}(t):ve(t)}function Xe(t){return Fe(t)?function(t){return t.match(Pt)||[]}(t):function(t){return t.split("")}(t)}function Je(t){for(var e=t.length;e--&&K.test(t.charAt(e)););return e}var Ke=Ae({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var qe=function t(e){var n,r=(e=null==e?Xt:qe.defaults(Xt.Object(),e,qe.pick(Xt,Nt))).Array,i=e.Date,K=e.Error,dt=e.Function,ft=e.Math,pt=e.Object,_t=e.RegExp,mt=e.String,yt=e.TypeError,vt=r.prototype,bt=dt.prototype,gt=pt.prototype,wt=e["__core-js_shared__"],xt=bt.toString,Mt=gt.hasOwnProperty,St=0,Tt=(n=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",At=gt.toString,Et=xt.call(pt),Lt=Xt._,Dt=_t("^"+xt.call(Mt).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ct=qt?e.Buffer:void 0,kt=e.Symbol,Pt=e.Uint8Array,Yt=Ct?Ct.allocUnsafe:void 0,Gt=Ge(pt.getPrototypeOf,pt),zt=pt.create,Wt=gt.propertyIsEnumerable,Jt=vt.splice,Kt=kt?kt.isConcatSpreadable:void 0,$t=kt?kt.iterator:void 0,Zt=kt?kt.toStringTag:void 0,ve=function(){try{var t=to(pt,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ae=e.clearTimeout!==Xt.clearTimeout&&e.clearTimeout,$e=i&&i.now!==Xt.Date.now&&i.now,Ze=e.setTimeout!==Xt.setTimeout&&e.setTimeout,Qe=ft.ceil,tn=ft.floor,en=pt.getOwnPropertySymbols,nn=Ct?Ct.isBuffer:void 0,rn=e.isFinite,on=vt.join,sn=Ge(pt.keys,pt),an=ft.max,un=ft.min,cn=i.now,hn=e.parseInt,ln=ft.random,dn=vt.reverse,fn=to(e,"DataView"),pn=to(e,"Map"),_n=to(e,"Promise"),mn=to(e,"Set"),yn=to(e,"WeakMap"),vn=to(pt,"create"),bn=yn&&new yn,gn={},wn=Lo(fn),xn=Lo(pn),Mn=Lo(_n),Sn=Lo(mn),Tn=Lo(yn),An=kt?kt.prototype:void 0,En=An?An.valueOf:void 0,Ln=An?An.toString:void 0;function Dn(t){if(zs(t)&&!Ps(t)&&!(t instanceof In)){if(t instanceof On)return t;if(Mt.call(t,"__wrapped__"))return Do(t)}return new On(t)}var Cn=function(){function t(){}return function(e){if(!Vs(e))return{};if(zt)return zt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function kn(){}function On(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function In(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Pn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Rn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Yn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Bn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Yn;++e<n;)this.add(t[e])}function Nn(t){var e=this.__data__=new Rn(t);this.size=e.size}function jn(t,e){var n=Ps(t),r=!n&&Is(t),i=!n&&!r&&Ns(t),o=!n&&!r&&!i&&Qs(t),s=n||r||i||o,a=s?De(t.length,mt):[],u=a.length;for(var c in t)!e&&!Mt.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ao(c,u))||a.push(c);return a}function Fn(t){var e=t.length;return e?t[Br(0,e-1)]:void 0}function Un(t,e){return To(vi(t),qn(e,0,t.length))}function Gn(t){return To(vi(t))}function Hn(t,e,n){(void 0!==n&&!Cs(t[e],n)||void 0===n&&!(e in t))&&Jn(t,e,n)}function Vn(t,e,n){var r=t[e];Mt.call(t,e)&&Cs(r,n)&&(void 0!==n||e in t)||Jn(t,e,n)}function zn(t,e){for(var n=t.length;n--;)if(Cs(t[n][0],e))return n;return-1}function Wn(t,e,n,r){return er(t,(function(t,i,o){e(r,t,n(t),o)})),r}function Xn(t,e){return t&&bi(e,wa(e),t)}function Jn(t,e,n){"__proto__"==e&&ve?ve(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Kn(t,e){for(var n=-1,i=e.length,o=r(i),s=null==t;++n<i;)o[n]=s?void 0:ma(t,e[n]);return o}function qn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function $n(t,e,n,r,i,o){var s,a=1&e,c=2&e,d=4&e;if(n&&(s=i?n(t,r,i,o):n(t)),void 0!==s)return s;if(!Vs(t))return t;var x=Ps(t);if(x){if(s=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Mt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!a)return vi(t,s)}else{var I=ro(t),P=I==f||I==p;if(Ns(t))return di(t,a);if(I==y||I==u||P&&!i){if(s=c||P?{}:oo(t),!a)return c?function(t,e){return bi(t,no(t),e)}(t,function(t,e){return t&&bi(e,xa(e),t)}(s,t)):function(t,e){return bi(t,eo(t),e)}(t,Xn(s,t))}else{if(!Ut[I])return i?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case M:return fi(t);case h:case l:return new r(+t);case S:return function(t,e){var n=e?fi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case T:case A:case E:case L:case D:case C:case"[object Uint8ClampedArray]":case k:case O:return pi(t,n);case _:return new r;case m:case g:return new r(t);case v:return function(t){var e=new t.constructor(t.source,rt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case b:return new r;case w:return i=t,En?pt(En.call(i)):{}}var i}(t,I,a)}}o||(o=new Nn);var R=o.get(t);if(R)return R;o.set(t,s),qs(t)?t.forEach((function(r){s.add($n(r,e,n,r,t,o))})):Ws(t)&&t.forEach((function(r,i){s.set(i,$n(r,e,n,i,t,o))}));var Y=x?void 0:(d?c?Xi:Wi:c?xa:wa)(t);return ae(Y||t,(function(r,i){Y&&(r=t[i=r]),Vn(s,i,$n(r,e,n,i,t,o))})),s}function Zn(t,e,n){var r=n.length;if(null==t)return!r;for(t=pt(t);r--;){var i=n[r],o=e[i],s=t[i];if(void 0===s&&!(i in t)||!o(s))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new yt(o);return wo((function(){t.apply(void 0,n)}),e)}function tr(t,e,n,r){var i=-1,o=le,s=!0,a=t.length,u=[],c=e.length;if(!a)return u;n&&(e=fe(e,ke(n))),r?(o=de,s=!1):e.length>=200&&(o=Ie,s=!1,e=new Bn(e));t:for(;++i<a;){var h=t[i],l=null==n?h:n(h);if(h=r||0!==h?h:0,s&&l==l){for(var d=c;d--;)if(e[d]===l)continue t;u.push(h)}else o(e,l,r)||u.push(h)}return u}Dn.templateSettings={escape:F,evaluate:U,interpolate:G,variable:"",imports:{_:Dn}},Dn.prototype=kn.prototype,Dn.prototype.constructor=Dn,On.prototype=Cn(kn.prototype),On.prototype.constructor=On,In.prototype=Cn(kn.prototype),In.prototype.constructor=In,Pn.prototype.clear=function(){this.__data__=vn?vn(null):{},this.size=0},Pn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Pn.prototype.get=function(t){var e=this.__data__;if(vn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Mt.call(e,t)?e[t]:void 0},Pn.prototype.has=function(t){var e=this.__data__;return vn?void 0!==e[t]:Mt.call(e,t)},Pn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=vn&&void 0===e?"__lodash_hash_undefined__":e,this},Rn.prototype.clear=function(){this.__data__=[],this.size=0},Rn.prototype.delete=function(t){var e=this.__data__,n=zn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Jt.call(e,n,1),--this.size,!0)},Rn.prototype.get=function(t){var e=this.__data__,n=zn(e,t);return n<0?void 0:e[n][1]},Rn.prototype.has=function(t){return zn(this.__data__,t)>-1},Rn.prototype.set=function(t,e){var n=this.__data__,r=zn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Pn,map:new(pn||Rn),string:new Pn}},Yn.prototype.delete=function(t){var e=Zi(this,t).delete(t);return this.size-=e?1:0,e},Yn.prototype.get=function(t){return Zi(this,t).get(t)},Yn.prototype.has=function(t){return Zi(this,t).has(t)},Yn.prototype.set=function(t,e){var n=Zi(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Bn.prototype.add=Bn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Bn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.clear=function(){this.__data__=new Rn,this.size=0},Nn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Nn.prototype.get=function(t){return this.__data__.get(t)},Nn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Rn){var r=n.__data__;if(!pn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(t,e),this.size=n.size,this};var er=xi(cr),nr=xi(hr,!0);function rr(t,e){var n=!0;return er(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function ir(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],s=e(o);if(null!=s&&(void 0===a?s==s&&!Zs(s):n(s,a)))var a=s,u=o}return u}function or(t,e){var n=[];return er(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function sr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=so),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?sr(a,e-1,n,r,i):pe(i,a):r||(i[i.length]=a)}return i}var ar=Mi(),ur=Mi(!0);function cr(t,e){return t&&ar(t,e,wa)}function hr(t,e){return t&&ur(t,e,wa)}function lr(t,e){return he(e,(function(e){return Us(t[e])}))}function dr(t,e){for(var n=0,r=(e=ui(e,t)).length;null!=t&&n<r;)t=t[Eo(e[n++])];return n&&n==r?t:void 0}function fr(t,e,n){var r=e(t);return Ps(t)?r:pe(r,n(t))}function pr(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Zt&&Zt in pt(t)?function(t){var e=Mt.call(t,Zt),n=t[Zt];try{t[Zt]=void 0;var r=!0}catch(t){}var i=At.call(t);r&&(e?t[Zt]=n:delete t[Zt]);return i}(t):function(t){return At.call(t)}(t)}function _r(t,e){return t>e}function mr(t,e){return null!=t&&Mt.call(t,e)}function yr(t,e){return null!=t&&e in pt(t)}function vr(t,e,n){for(var i=n?de:le,o=t[0].length,s=t.length,a=s,u=r(s),c=1/0,h=[];a--;){var l=t[a];a&&e&&(l=fe(l,ke(e))),c=un(l.length,c),u[a]=!n&&(e||o>=120&&l.length>=120)?new Bn(a&&l):void 0}l=t[0];var d=-1,f=u[0];t:for(;++d<o&&h.length<c;){var p=l[d],_=e?e(p):p;if(p=n||0!==p?p:0,!(f?Ie(f,_):i(h,_,n))){for(a=s;--a;){var m=u[a];if(!(m?Ie(m,_):i(t[a],_,n)))continue t}f&&f.push(_),h.push(p)}}return h}function br(t,e,n){var r=null==(t=yo(t,e=ui(e,t)))?t:t[Eo(Fo(e))];return null==r?void 0:oe(r,t,n)}function gr(t){return zs(t)&&pr(t)==u}function wr(t,e,n,r,i){return t===e||(null==t||null==e||!zs(t)&&!zs(e)?t!=t&&e!=e:function(t,e,n,r,i,o){var s=Ps(t),a=Ps(e),f=s?c:ro(t),p=a?c:ro(e),x=(f=f==u?y:f)==y,T=(p=p==u?y:p)==y,A=f==p;if(A&&Ns(t)){if(!Ns(e))return!1;s=!0,x=!1}if(A&&!x)return o||(o=new Nn),s||Qs(t)?Vi(t,e,n,r,i,o):function(t,e,n,r,i,o,s){switch(n){case S:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Pt(t),new Pt(e)));case h:case l:case m:return Cs(+t,+e);case d:return t.name==e.name&&t.message==e.message;case v:case g:return t==e+"";case _:var a=Ue;case b:var u=1&r;if(a||(a=Ve),t.size!=e.size&&!u)return!1;var c=s.get(t);if(c)return c==e;r|=2,s.set(t,e);var f=Vi(a(t),a(e),r,i,o,s);return s.delete(t),f;case w:if(En)return En.call(t)==En.call(e)}return!1}(t,e,f,n,r,i,o);if(!(1&n)){var E=x&&Mt.call(t,"__wrapped__"),L=T&&Mt.call(e,"__wrapped__");if(E||L){var D=E?t.value():t,C=L?e.value():e;return o||(o=new Nn),i(D,C,n,r,o)}}if(!A)return!1;return o||(o=new Nn),function(t,e,n,r,i,o){var s=1&n,a=Wi(t),u=a.length,c=Wi(e).length;if(u!=c&&!s)return!1;var h=u;for(;h--;){var l=a[h];if(!(s?l in e:Mt.call(e,l)))return!1}var d=o.get(t),f=o.get(e);if(d&&f)return d==e&&f==t;var p=!0;o.set(t,e),o.set(e,t);var _=s;for(;++h<u;){l=a[h];var m=t[l],y=e[l];if(r)var v=s?r(y,m,l,e,t,o):r(m,y,l,t,e,o);if(!(void 0===v?m===y||i(m,y,n,r,o):v)){p=!1;break}_||(_="constructor"==l)}if(p&&!_){var b=t.constructor,g=e.constructor;b==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof g&&g instanceof g||(p=!1)}return o.delete(t),o.delete(e),p}(t,e,n,r,i,o)}(t,e,n,r,wr,i))}function xr(t,e,n,r){var i=n.length,o=i,s=!r;if(null==t)return!o;for(t=pt(t);i--;){var a=n[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var u=(a=n[i])[0],c=t[u],h=a[1];if(s&&a[2]){if(void 0===c&&!(u in t))return!1}else{var l=new Nn;if(r)var d=r(c,h,u,t,e,l);if(!(void 0===d?wr(h,c,3,r,l):d))return!1}}return!0}function Mr(t){return!(!Vs(t)||(e=t,Tt&&Tt in e))&&(Us(t)?Dt:st).test(Lo(t));var e}function Sr(t){return"function"==typeof t?t:null==t?Xa:"object"==typeof t?Ps(t)?Cr(t[0],t[1]):Dr(t):nu(t)}function Tr(t){if(!fo(t))return sn(t);var e=[];for(var n in pt(t))Mt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ar(t){if(!Vs(t))return function(t){var e=[];if(null!=t)for(var n in pt(t))e.push(n);return e}(t);var e=fo(t),n=[];for(var r in t)("constructor"!=r||!e&&Mt.call(t,r))&&n.push(r);return n}function Er(t,e){return t<e}function Lr(t,e){var n=-1,i=Ys(t)?r(t.length):[];return er(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function Dr(t){var e=Qi(t);return 1==e.length&&e[0][2]?_o(e[0][0],e[0][1]):function(n){return n===t||xr(n,t,e)}}function Cr(t,e){return co(t)&&po(e)?_o(Eo(t),e):function(n){var r=ma(n,t);return void 0===r&&r===e?ya(n,t):wr(e,r,3)}}function kr(t,e,n,r,i){t!==e&&ar(e,(function(o,s){if(i||(i=new Nn),Vs(o))!function(t,e,n,r,i,o,s){var a=bo(t,n),u=bo(e,n),c=s.get(u);if(c)return void Hn(t,n,c);var h=o?o(a,u,n+"",t,e,s):void 0,l=void 0===h;if(l){var d=Ps(u),f=!d&&Ns(u),p=!d&&!f&&Qs(u);h=u,d||f||p?Ps(a)?h=a:Bs(a)?h=vi(a):f?(l=!1,h=di(u,!0)):p?(l=!1,h=pi(u,!0)):h=[]:Js(u)||Is(u)?(h=a,Is(a)?h=aa(a):Vs(a)&&!Us(a)||(h=oo(u))):l=!1}l&&(s.set(u,h),i(h,u,r,o,s),s.delete(u));Hn(t,n,h)}(t,e,s,n,kr,r,i);else{var a=r?r(bo(t,s),o,s+"",t,e,i):void 0;void 0===a&&(a=o),Hn(t,s,a)}}),xa)}function Or(t,e){var n=t.length;if(n)return ao(e+=e<0?n:0,n)?t[e]:void 0}function Ir(t,e,n){e=e.length?fe(e,(function(t){return Ps(t)?function(e){return dr(e,1===t.length?t[0]:t)}:t})):[Xa];var r=-1;return e=fe(e,ke($i())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(Lr(t,(function(t,n,i){return{criteria:fe(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;for(;++r<s;){var u=_i(i[r],o[r]);if(u){if(r>=a)return u;var c=n[r];return u*("desc"==c?-1:1)}}return t.index-e.index}(t,e,n)}))}function Pr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=dr(t,s);n(a,s)&&Gr(o,ui(s,t),a)}return o}function Rr(t,e,n,r){var i=r?xe:we,o=-1,s=e.length,a=t;for(t===e&&(e=vi(e)),n&&(a=fe(t,ke(n)));++o<s;)for(var u=0,c=e[o],h=n?n(c):c;(u=i(a,h,u,r))>-1;)a!==t&&Jt.call(a,u,1),Jt.call(t,u,1);return t}function Yr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;ao(i)?Jt.call(t,i,1):ti(t,i)}}return t}function Br(t,e){return t+tn(ln()*(e-t+1))}function Nr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function jr(t,e){return xo(mo(t,e,Xa),t+"")}function Fr(t){return Fn(Ca(t))}function Ur(t,e){var n=Ca(t);return To(n,qn(e,0,n.length))}function Gr(t,e,n,r){if(!Vs(t))return t;for(var i=-1,o=(e=ui(e,t)).length,s=o-1,a=t;null!=a&&++i<o;){var u=Eo(e[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(i!=s){var h=a[u];void 0===(c=r?r(h,u,a):void 0)&&(c=Vs(h)?h:ao(e[i+1])?[]:{})}Vn(a,u,c),a=a[u]}return t}var Hr=bn?function(t,e){return bn.set(t,e),t}:Xa,Vr=ve?function(t,e){return ve(t,"toString",{configurable:!0,enumerable:!1,value:Va(e),writable:!0})}:Xa;function zr(t){return To(Ca(t))}function Wr(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=r(o);++i<o;)s[i]=t[i+e];return s}function Xr(t,e){var n;return er(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function Jr(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!Zs(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return Kr(t,e,Xa,n)}function Kr(t,e,n,r){var i=0,o=null==t?0:t.length;if(0===o)return 0;for(var s=(e=n(e))!=e,a=null===e,u=Zs(e),c=void 0===e;i<o;){var h=tn((i+o)/2),l=n(t[h]),d=void 0!==l,f=null===l,p=l==l,_=Zs(l);if(s)var m=r||p;else m=c?p&&(r||d):a?p&&d&&(r||!f):u?p&&d&&!f&&(r||!_):!f&&!_&&(r?l<=e:l<e);m?i=h+1:o=h}return un(o,4294967294)}function qr(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!Cs(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function $r(t){return"number"==typeof t?t:Zs(t)?NaN:+t}function Zr(t){if("string"==typeof t)return t;if(Ps(t))return fe(t,Zr)+"";if(Zs(t))return Ln?Ln.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Qr(t,e,n){var r=-1,i=le,o=t.length,s=!0,a=[],u=a;if(n)s=!1,i=de;else if(o>=200){var c=e?null:Ni(t);if(c)return Ve(c);s=!1,i=Ie,u=new Bn}else u=e?[]:a;t:for(;++r<o;){var h=t[r],l=e?e(h):h;if(h=n||0!==h?h:0,s&&l==l){for(var d=u.length;d--;)if(u[d]===l)continue t;e&&u.push(l),a.push(h)}else i(u,l,n)||(u!==a&&u.push(l),a.push(h))}return a}function ti(t,e){return null==(t=yo(t,e=ui(e,t)))||delete t[Eo(Fo(e))]}function ei(t,e,n,r){return Gr(t,e,n(dr(t,e)),r)}function ni(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Wr(t,r?0:o,r?o+1:i):Wr(t,r?o+1:0,r?i:o)}function ri(t,e){var n=t;return n instanceof In&&(n=n.value()),_e(e,(function(t,e){return e.func.apply(e.thisArg,pe([t],e.args))}),n)}function ii(t,e,n){var i=t.length;if(i<2)return i?Qr(t[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=t[o],u=-1;++u<i;)u!=o&&(s[o]=tr(s[o]||a,t[u],e,n));return Qr(sr(s,1),e,n)}function oi(t,e,n){for(var r=-1,i=t.length,o=e.length,s={};++r<i;){var a=r<o?e[r]:void 0;n(s,t[r],a)}return s}function si(t){return Bs(t)?t:[]}function ai(t){return"function"==typeof t?t:Xa}function ui(t,e){return Ps(t)?t:co(t,e)?[t]:Ao(ua(t))}var ci=jr;function hi(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:Wr(t,e,n)}var li=Ae||function(t){return Xt.clearTimeout(t)};function di(t,e){if(e)return t.slice();var n=t.length,r=Yt?Yt(n):new t.constructor(n);return t.copy(r),r}function fi(t){var e=new t.constructor(t.byteLength);return new Pt(e).set(new Pt(t)),e}function pi(t,e){var n=e?fi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function _i(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,o=Zs(t),s=void 0!==e,a=null===e,u=e==e,c=Zs(e);if(!a&&!c&&!o&&t>e||o&&s&&u&&!a&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!u)return-1}return 0}function mi(t,e,n,i){for(var o=-1,s=t.length,a=n.length,u=-1,c=e.length,h=an(s-a,0),l=r(c+h),d=!i;++u<c;)l[u]=e[u];for(;++o<a;)(d||o<s)&&(l[n[o]]=t[o]);for(;h--;)l[u++]=t[o++];return l}function yi(t,e,n,i){for(var o=-1,s=t.length,a=-1,u=n.length,c=-1,h=e.length,l=an(s-u,0),d=r(l+h),f=!i;++o<l;)d[o]=t[o];for(var p=o;++c<h;)d[p+c]=e[c];for(;++a<u;)(f||o<s)&&(d[p+n[a]]=t[o++]);return d}function vi(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function bi(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],u=r?r(n[a],t[a],a,n,t):void 0;void 0===u&&(u=t[a]),i?Jn(n,a,u):Vn(n,a,u)}return n}function gi(t,e){return function(n,r){var i=Ps(n)?se:Wn,o=e?e():{};return i(n,t,$i(r,2),o)}}function wi(t){return jr((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&uo(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=pt(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e}))}function xi(t,e){return function(n,r){if(null==n)return n;if(!Ys(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=pt(n);(e?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Mi(t){return function(e,n,r){for(var i=-1,o=pt(e),s=r(e),a=s.length;a--;){var u=s[t?a:++i];if(!1===n(o[u],u,o))break}return e}}function Si(t){return function(e){var n=Fe(e=ua(e))?Xe(e):void 0,r=n?n[0]:e.charAt(0),i=n?hi(n,1).join(""):e.slice(1);return r[t]()+i}}function Ti(t){return function(e){return _e(Ua(Ia(e).replace(Ot,"")),t,"")}}function Ai(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Cn(t.prototype),r=t.apply(n,e);return Vs(r)?r:n}}function Ei(t){return function(e,n,r){var i=pt(e);if(!Ys(e)){var o=$i(n,3);e=wa(e),n=function(t){return o(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[o?e[s]:s]:void 0}}function Li(t){return zi((function(e){var n=e.length,r=n,i=On.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new yt(o);if(i&&!a&&"wrapper"==Ki(s))var a=new On([],!0)}for(r=a?r:n;++r<n;){var u=Ki(s=e[r]),c="wrapper"==u?Ji(s):void 0;a=c&&ho(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[Ki(c[0])].apply(a,c[3]):1==s.length&&ho(s)?a[u]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&Ps(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function Di(t,e,n,i,o,s,a,u,c,h){var l=128&e,d=1&e,f=2&e,p=24&e,_=512&e,m=f?void 0:Ai(t);return function y(){for(var v=arguments.length,b=r(v),g=v;g--;)b[g]=arguments[g];if(p)var w=qi(y),x=Ye(b,w);if(i&&(b=mi(b,i,o,p)),s&&(b=yi(b,s,a,p)),v-=x,p&&v<h){var M=He(b,w);return Yi(t,e,Di,y.placeholder,n,b,M,u,c,h-v)}var S=d?n:this,T=f?S[t]:t;return v=b.length,u?b=vo(b,u):_&&v>1&&b.reverse(),l&&c<v&&(b.length=c),this&&this!==Xt&&this instanceof y&&(T=m||Ai(T)),T.apply(S,b)}}function Ci(t,e){return function(n,r){return function(t,e,n,r){return cr(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function ki(t,e){return function(n,r){var i;if(void 0===n&&void 0===r)return e;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Zr(n),r=Zr(r)):(n=$r(n),r=$r(r)),i=t(n,r)}return i}}function Oi(t){return zi((function(e){return e=fe(e,ke($i())),jr((function(n){var r=this;return t(e,(function(t){return oe(t,r,n)}))}))}))}function Ii(t,e){var n=(e=void 0===e?" ":Zr(e)).length;if(n<2)return n?Nr(e,t):e;var r=Nr(e,Qe(t/We(e)));return Fe(e)?hi(Xe(r),0,t).join(""):r.slice(0,t)}function Pi(t){return function(e,n,i){return i&&"number"!=typeof i&&uo(e,n,i)&&(n=i=void 0),e=ra(e),void 0===n?(n=e,e=0):n=ra(n),function(t,e,n,i){for(var o=-1,s=an(Qe((e-t)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=t,t+=n;return a}(e,n,i=void 0===i?e<n?1:-1:ra(i),t)}}function Ri(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=sa(e),n=sa(n)),t(e,n)}}function Yi(t,e,n,r,i,o,s,a,u,c){var h=8&e;e|=h?32:64,4&(e&=~(h?64:32))||(e&=-4);var l=[t,e,i,h?o:void 0,h?s:void 0,h?void 0:o,h?void 0:s,a,u,c],d=n.apply(void 0,l);return ho(t)&&go(d,l),d.placeholder=r,Mo(d,t,e)}function Bi(t){var e=ft[t];return function(t,n){if(t=sa(t),(n=null==n?0:un(ia(n),292))&&rn(t)){var r=(ua(t)+"e").split("e");return+((r=(ua(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ni=mn&&1/Ve(new mn([,-0]))[1]==1/0?function(t){return new mn(t)}:Za;function ji(t){return function(e){var n=ro(e);return n==_?Ue(e):n==b?ze(e):function(t,e){return fe(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Fi(t,e,n,i,a,u,c,h){var l=2&e;if(!l&&"function"!=typeof t)throw new yt(o);var d=i?i.length:0;if(d||(e&=-97,i=a=void 0),c=void 0===c?c:an(ia(c),0),h=void 0===h?h:ia(h),d-=a?a.length:0,64&e){var f=i,p=a;i=a=void 0}var _=l?void 0:Ji(t),m=[t,e,n,i,a,f,p,u,c,h];if(_&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,a=128==r&&8==n||128==r&&256==n&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!a)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var u=e[3];if(u){var c=t[3];t[3]=c?mi(c,u,e[4]):u,t[4]=c?He(t[3],s):e[4]}(u=e[5])&&(c=t[5],t[5]=c?yi(c,u,e[6]):u,t[6]=c?He(t[5],s):e[6]);(u=e[7])&&(t[7]=u);128&r&&(t[8]=null==t[8]?e[8]:un(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(m,_),t=m[0],e=m[1],n=m[2],i=m[3],a=m[4],!(h=m[9]=void 0===m[9]?l?0:t.length:an(m[9]-d,0))&&24&e&&(e&=-25),e&&1!=e)y=8==e||16==e?function(t,e,n){var i=Ai(t);return function o(){for(var s=arguments.length,a=r(s),u=s,c=qi(o);u--;)a[u]=arguments[u];var h=s<3&&a[0]!==c&&a[s-1]!==c?[]:He(a,c);if((s-=h.length)<n)return Yi(t,e,Di,o.placeholder,void 0,a,h,void 0,void 0,n-s);var l=this&&this!==Xt&&this instanceof o?i:t;return oe(l,this,a)}}(t,e,h):32!=e&&33!=e||a.length?Di.apply(void 0,m):function(t,e,n,i){var o=1&e,s=Ai(t);return function e(){for(var a=-1,u=arguments.length,c=-1,h=i.length,l=r(h+u),d=this&&this!==Xt&&this instanceof e?s:t;++c<h;)l[c]=i[c];for(;u--;)l[c++]=arguments[++a];return oe(d,o?n:this,l)}}(t,e,n,i);else var y=function(t,e,n){var r=1&e,i=Ai(t);return function e(){var o=this&&this!==Xt&&this instanceof e?i:t;return o.apply(r?n:this,arguments)}}(t,e,n);return Mo((_?Hr:go)(y,m),t,e)}function Ui(t,e,n,r){return void 0===t||Cs(t,gt[n])&&!Mt.call(r,n)?e:t}function Gi(t,e,n,r,i,o){return Vs(t)&&Vs(e)&&(o.set(e,t),kr(t,e,void 0,Gi,o),o.delete(e)),t}function Hi(t){return Js(t)?void 0:t}function Vi(t,e,n,r,i,o){var s=1&n,a=t.length,u=e.length;if(a!=u&&!(s&&u>a))return!1;var c=o.get(t),h=o.get(e);if(c&&h)return c==e&&h==t;var l=-1,d=!0,f=2&n?new Bn:void 0;for(o.set(t,e),o.set(e,t);++l<a;){var p=t[l],_=e[l];if(r)var m=s?r(_,p,l,e,t,o):r(p,_,l,t,e,o);if(void 0!==m){if(m)continue;d=!1;break}if(f){if(!ye(e,(function(t,e){if(!Ie(f,e)&&(p===t||i(p,t,n,r,o)))return f.push(e)}))){d=!1;break}}else if(p!==_&&!i(p,_,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d}function zi(t){return xo(mo(t,void 0,Ro),t+"")}function Wi(t){return fr(t,wa,eo)}function Xi(t){return fr(t,xa,no)}var Ji=bn?function(t){return bn.get(t)}:Za;function Ki(t){for(var e=t.name+"",n=gn[e],r=Mt.call(gn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function qi(t){return(Mt.call(Dn,"placeholder")?Dn:t).placeholder}function $i(){var t=Dn.iteratee||Ja;return t=t===Ja?Sr:t,arguments.length?t(arguments[0],arguments[1]):t}function Zi(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Qi(t){for(var e=wa(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,po(i)]}return e}function to(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Mr(n)?n:void 0}var eo=en?function(t){return null==t?[]:(t=pt(t),he(en(t),(function(e){return Wt.call(t,e)})))}:ou,no=en?function(t){for(var e=[];t;)pe(e,eo(t)),t=Gt(t);return e}:ou,ro=pr;function io(t,e,n){for(var r=-1,i=(e=ui(e,t)).length,o=!1;++r<i;){var s=Eo(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Hs(i)&&ao(s,i)&&(Ps(t)||Is(t))}function oo(t){return"function"!=typeof t.constructor||fo(t)?{}:Cn(Gt(t))}function so(t){return Ps(t)||Is(t)||!!(Kt&&t&&t[Kt])}function ao(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&ut.test(t))&&t>-1&&t%1==0&&t<e}function uo(t,e,n){if(!Vs(n))return!1;var r=typeof e;return!!("number"==r?Ys(n)&&ao(e,n.length):"string"==r&&e in n)&&Cs(n[e],t)}function co(t,e){if(Ps(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Zs(t))||(V.test(t)||!H.test(t)||null!=e&&t in pt(e))}function ho(t){var e=Ki(t),n=Dn[e];if("function"!=typeof n||!(e in In.prototype))return!1;if(t===n)return!0;var r=Ji(n);return!!r&&t===r[0]}(fn&&ro(new fn(new ArrayBuffer(1)))!=S||pn&&ro(new pn)!=_||_n&&"[object Promise]"!=ro(_n.resolve())||mn&&ro(new mn)!=b||yn&&ro(new yn)!=x)&&(ro=function(t){var e=pr(t),n=e==y?t.constructor:void 0,r=n?Lo(n):"";if(r)switch(r){case wn:return S;case xn:return _;case Mn:return"[object Promise]";case Sn:return b;case Tn:return x}return e});var lo=wt?Us:su;function fo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||gt)}function po(t){return t==t&&!Vs(t)}function _o(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in pt(n)))}}function mo(t,e,n){return e=an(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,s=an(i.length-e,0),a=r(s);++o<s;)a[o]=i[e+o];o=-1;for(var u=r(e+1);++o<e;)u[o]=i[o];return u[e]=n(a),oe(t,this,u)}}function yo(t,e){return e.length<2?t:dr(t,Wr(e,0,-1))}function vo(t,e){for(var n=t.length,r=un(e.length,n),i=vi(t);r--;){var o=e[r];t[r]=ao(o,n)?i[o]:void 0}return t}function bo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var go=So(Hr),wo=Ze||function(t,e){return Xt.setTimeout(t,e)},xo=So(Vr);function Mo(t,e,n){var r=e+"";return xo(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(q,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ae(a,(function(n){var r="_."+n[0];e&n[1]&&!le(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match($);return e?e[1].split(Z):[]}(r),n)))}function So(t){var e=0,n=0;return function(){var r=cn(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function To(t,e){var n=-1,r=t.length,i=r-1;for(e=void 0===e?r:e;++n<e;){var o=Br(n,i),s=t[o];t[o]=t[n],t[n]=s}return t.length=e,t}var Ao=function(t){var e=Ss(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(z,(function(t,n,r,i){e.push(r?i.replace(et,"$1"):n||t)})),e}));function Eo(t){if("string"==typeof t||Zs(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Lo(t){if(null!=t){try{return xt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Do(t){if(t instanceof In)return t.clone();var e=new On(t.__wrapped__,t.__chain__);return e.__actions__=vi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Co=jr((function(t,e){return Bs(t)?tr(t,sr(e,1,Bs,!0)):[]})),ko=jr((function(t,e){var n=Fo(e);return Bs(n)&&(n=void 0),Bs(t)?tr(t,sr(e,1,Bs,!0),$i(n,2)):[]})),Oo=jr((function(t,e){var n=Fo(e);return Bs(n)&&(n=void 0),Bs(t)?tr(t,sr(e,1,Bs,!0),void 0,n):[]}));function Io(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),ge(t,$i(e,3),i)}function Po(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=ia(n),i=n<0?an(r+i,0):un(i,r-1)),ge(t,$i(e,3),i,!0)}function Ro(t){return(null==t?0:t.length)?sr(t,1):[]}function Yo(t){return t&&t.length?t[0]:void 0}var Bo=jr((function(t){var e=fe(t,si);return e.length&&e[0]===t[0]?vr(e):[]})),No=jr((function(t){var e=Fo(t),n=fe(t,si);return e===Fo(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?vr(n,$i(e,2)):[]})),jo=jr((function(t){var e=Fo(t),n=fe(t,si);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?vr(n,void 0,e):[]}));function Fo(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var Uo=jr(Go);function Go(t,e){return t&&t.length&&e&&e.length?Rr(t,e):t}var Ho=zi((function(t,e){var n=null==t?0:t.length,r=Kn(t,e);return Yr(t,fe(e,(function(t){return ao(t,n)?+t:t})).sort(_i)),r}));function Vo(t){return null==t?t:dn.call(t)}var zo=jr((function(t){return Qr(sr(t,1,Bs,!0))})),Wo=jr((function(t){var e=Fo(t);return Bs(e)&&(e=void 0),Qr(sr(t,1,Bs,!0),$i(e,2))})),Xo=jr((function(t){var e=Fo(t);return e="function"==typeof e?e:void 0,Qr(sr(t,1,Bs,!0),void 0,e)}));function Jo(t){if(!t||!t.length)return[];var e=0;return t=he(t,(function(t){if(Bs(t))return e=an(t.length,e),!0})),De(e,(function(e){return fe(t,Te(e))}))}function Ko(t,e){if(!t||!t.length)return[];var n=Jo(t);return null==e?n:fe(n,(function(t){return oe(e,void 0,t)}))}var qo=jr((function(t,e){return Bs(t)?tr(t,e):[]})),$o=jr((function(t){return ii(he(t,Bs))})),Zo=jr((function(t){var e=Fo(t);return Bs(e)&&(e=void 0),ii(he(t,Bs),$i(e,2))})),Qo=jr((function(t){var e=Fo(t);return e="function"==typeof e?e:void 0,ii(he(t,Bs),void 0,e)})),ts=jr(Jo);var es=jr((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Ko(t,n)}));function ns(t){var e=Dn(t);return e.__chain__=!0,e}function rs(t,e){return e(t)}var is=zi((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Kn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof In&&ao(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:rs,args:[i],thisArg:void 0}),new On(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)}));var os=gi((function(t,e,n){Mt.call(t,n)?++t[n]:Jn(t,n,1)}));var ss=Ei(Io),as=Ei(Po);function us(t,e){return(Ps(t)?ae:er)(t,$i(e,3))}function cs(t,e){return(Ps(t)?ue:nr)(t,$i(e,3))}var hs=gi((function(t,e,n){Mt.call(t,n)?t[n].push(e):Jn(t,n,[e])}));var ls=jr((function(t,e,n){var i=-1,o="function"==typeof e,s=Ys(t)?r(t.length):[];return er(t,(function(t){s[++i]=o?oe(e,t,n):br(t,e,n)})),s})),ds=gi((function(t,e,n){Jn(t,n,e)}));function fs(t,e){return(Ps(t)?fe:Lr)(t,$i(e,3))}var ps=gi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var _s=jr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&uo(t,e[0],e[1])?e=[]:n>2&&uo(e[0],e[1],e[2])&&(e=[e[0]]),Ir(t,sr(e,1),[])})),ms=$e||function(){return Xt.Date.now()};function ys(t,e,n){return e=n?void 0:e,Fi(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function vs(t,e){var n;if("function"!=typeof e)throw new yt(o);return t=ia(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var bs=jr((function(t,e,n){var r=1;if(n.length){var i=He(n,qi(bs));r|=32}return Fi(t,r,e,n,i)})),gs=jr((function(t,e,n){var r=3;if(n.length){var i=He(n,qi(gs));r|=32}return Fi(e,r,t,n,i)}));function ws(t,e,n){var r,i,s,a,u,c,h=0,l=!1,d=!1,f=!0;if("function"!=typeof t)throw new yt(o);function p(e){var n=r,o=i;return r=i=void 0,h=e,a=t.apply(o,n)}function _(t){return h=t,u=wo(y,e),l?p(t):a}function m(t){var n=t-c;return void 0===c||n>=e||n<0||d&&t-h>=s}function y(){var t=ms();if(m(t))return v(t);u=wo(y,function(t){var n=e-(t-c);return d?un(n,s-(t-h)):n}(t))}function v(t){return u=void 0,f&&r?p(t):(r=i=void 0,a)}function b(){var t=ms(),n=m(t);if(r=arguments,i=this,c=t,n){if(void 0===u)return _(c);if(d)return li(u),u=wo(y,e),p(c)}return void 0===u&&(u=wo(y,e)),a}return e=sa(e)||0,Vs(n)&&(l=!!n.leading,s=(d="maxWait"in n)?an(sa(n.maxWait)||0,e):s,f="trailing"in n?!!n.trailing:f),b.cancel=function(){void 0!==u&&li(u),h=0,r=c=i=u=void 0},b.flush=function(){return void 0===u?a:v(ms())},b}var xs=jr((function(t,e){return Qn(t,1,e)})),Ms=jr((function(t,e,n){return Qn(t,sa(e)||0,n)}));function Ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new yt(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ss.Cache||Yn),n}function Ts(t){if("function"!=typeof t)throw new yt(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ss.Cache=Yn;var As=ci((function(t,e){var n=(e=1==e.length&&Ps(e[0])?fe(e[0],ke($i())):fe(sr(e,1),ke($i()))).length;return jr((function(r){for(var i=-1,o=un(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return oe(t,this,r)}))})),Es=jr((function(t,e){return Fi(t,32,void 0,e,He(e,qi(Es)))})),Ls=jr((function(t,e){return Fi(t,64,void 0,e,He(e,qi(Ls)))})),Ds=zi((function(t,e){return Fi(t,256,void 0,void 0,void 0,e)}));function Cs(t,e){return t===e||t!=t&&e!=e}var ks=Ri(_r),Os=Ri((function(t,e){return t>=e})),Is=gr(function(){return arguments}())?gr:function(t){return zs(t)&&Mt.call(t,"callee")&&!Wt.call(t,"callee")},Ps=r.isArray,Rs=Qt?ke(Qt):function(t){return zs(t)&&pr(t)==M};function Ys(t){return null!=t&&Hs(t.length)&&!Us(t)}function Bs(t){return zs(t)&&Ys(t)}var Ns=nn||su,js=te?ke(te):function(t){return zs(t)&&pr(t)==l};function Fs(t){if(!zs(t))return!1;var e=pr(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Js(t)}function Us(t){if(!Vs(t))return!1;var e=pr(t);return e==f||e==p||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Gs(t){return"number"==typeof t&&t==ia(t)}function Hs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Vs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function zs(t){return null!=t&&"object"==typeof t}var Ws=ee?ke(ee):function(t){return zs(t)&&ro(t)==_};function Xs(t){return"number"==typeof t||zs(t)&&pr(t)==m}function Js(t){if(!zs(t)||pr(t)!=y)return!1;var e=Gt(t);if(null===e)return!0;var n=Mt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&xt.call(n)==Et}var Ks=ne?ke(ne):function(t){return zs(t)&&pr(t)==v};var qs=re?ke(re):function(t){return zs(t)&&ro(t)==b};function $s(t){return"string"==typeof t||!Ps(t)&&zs(t)&&pr(t)==g}function Zs(t){return"symbol"==typeof t||zs(t)&&pr(t)==w}var Qs=ie?ke(ie):function(t){return zs(t)&&Hs(t.length)&&!!Ft[pr(t)]};var ta=Ri(Er),ea=Ri((function(t,e){return t<=e}));function na(t){if(!t)return[];if(Ys(t))return $s(t)?Xe(t):vi(t);if($t&&t[$t])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[$t]());var e=ro(t);return(e==_?Ue:e==b?Ve:Ca)(t)}function ra(t){return t?(t=sa(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ia(t){var e=ra(t),n=e%1;return e==e?n?e-n:e:0}function oa(t){return t?qn(ia(t),0,4294967295):0}function sa(t){if("number"==typeof t)return t;if(Zs(t))return NaN;if(Vs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Vs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ce(t);var n=ot.test(t);return n||at.test(t)?Vt(t.slice(2),n?2:8):it.test(t)?NaN:+t}function aa(t){return bi(t,xa(t))}function ua(t){return null==t?"":Zr(t)}var ca=wi((function(t,e){if(fo(e)||Ys(e))bi(e,wa(e),t);else for(var n in e)Mt.call(e,n)&&Vn(t,n,e[n])})),ha=wi((function(t,e){bi(e,xa(e),t)})),la=wi((function(t,e,n,r){bi(e,xa(e),t,r)})),da=wi((function(t,e,n,r){bi(e,wa(e),t,r)})),fa=zi(Kn);var pa=jr((function(t,e){t=pt(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&uo(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=xa(o),a=-1,u=s.length;++a<u;){var c=s[a],h=t[c];(void 0===h||Cs(h,gt[c])&&!Mt.call(t,c))&&(t[c]=o[c])}return t})),_a=jr((function(t){return t.push(void 0,Gi),oe(Sa,void 0,t)}));function ma(t,e,n){var r=null==t?void 0:dr(t,e);return void 0===r?n:r}function ya(t,e){return null!=t&&io(t,e,yr)}var va=Ci((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=At.call(e)),t[e]=n}),Va(Xa)),ba=Ci((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=At.call(e)),Mt.call(t,e)?t[e].push(n):t[e]=[n]}),$i),ga=jr(br);function wa(t){return Ys(t)?jn(t):Tr(t)}function xa(t){return Ys(t)?jn(t,!0):Ar(t)}var Ma=wi((function(t,e,n){kr(t,e,n)})),Sa=wi((function(t,e,n,r){kr(t,e,n,r)})),Ta=zi((function(t,e){var n={};if(null==t)return n;var r=!1;e=fe(e,(function(e){return e=ui(e,t),r||(r=e.length>1),e})),bi(t,Xi(t),n),r&&(n=$n(n,7,Hi));for(var i=e.length;i--;)ti(n,e[i]);return n}));var Aa=zi((function(t,e){return null==t?{}:function(t,e){return Pr(t,e,(function(e,n){return ya(t,n)}))}(t,e)}));function Ea(t,e){if(null==t)return{};var n=fe(Xi(t),(function(t){return[t]}));return e=$i(e),Pr(t,n,(function(t,n){return e(t,n[0])}))}var La=ji(wa),Da=ji(xa);function Ca(t){return null==t?[]:Oe(t,wa(t))}var ka=Ti((function(t,e,n){return e=e.toLowerCase(),t+(n?Oa(e):e)}));function Oa(t){return Fa(ua(t).toLowerCase())}function Ia(t){return(t=ua(t))&&t.replace(ct,Be).replace(It,"")}var Pa=Ti((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ra=Ti((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ya=Si("toLowerCase");var Ba=Ti((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Na=Ti((function(t,e,n){return t+(n?" ":"")+Fa(e)}));var ja=Ti((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Fa=Si("toUpperCase");function Ua(t,e,n){return t=ua(t),void 0===(e=n?void 0:e)?function(t){return Bt.test(t)}(t)?function(t){return t.match(Rt)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var Ga=jr((function(t,e){try{return oe(t,void 0,e)}catch(t){return Fs(t)?t:new K(t)}})),Ha=zi((function(t,e){return ae(e,(function(e){e=Eo(e),Jn(t,e,bs(t[e],t))})),t}));function Va(t){return function(){return t}}var za=Li(),Wa=Li(!0);function Xa(t){return t}function Ja(t){return Sr("function"==typeof t?t:$n(t,1))}var Ka=jr((function(t,e){return function(n){return br(n,t,e)}})),qa=jr((function(t,e){return function(n){return br(t,n,e)}}));function $a(t,e,n){var r=wa(e),i=lr(e,r);null!=n||Vs(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=lr(e,wa(e)));var o=!(Vs(n)&&"chain"in n&&!n.chain),s=Us(t);return ae(i,(function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=vi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,pe([this.value()],arguments))})})),t}function Za(){}var Qa=Oi(fe),tu=Oi(ce),eu=Oi(ye);function nu(t){return co(t)?Te(Eo(t)):function(t){return function(e){return dr(e,t)}}(t)}var ru=Pi(),iu=Pi(!0);function ou(){return[]}function su(){return!1}var au=ki((function(t,e){return t+e}),0),uu=Bi("ceil"),cu=ki((function(t,e){return t/e}),1),hu=Bi("floor");var lu,du=ki((function(t,e){return t*e}),1),fu=Bi("round"),pu=ki((function(t,e){return t-e}),0);return Dn.after=function(t,e){if("function"!=typeof e)throw new yt(o);return t=ia(t),function(){if(--t<1)return e.apply(this,arguments)}},Dn.ary=ys,Dn.assign=ca,Dn.assignIn=ha,Dn.assignInWith=la,Dn.assignWith=da,Dn.at=fa,Dn.before=vs,Dn.bind=bs,Dn.bindAll=Ha,Dn.bindKey=gs,Dn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ps(t)?t:[t]},Dn.chain=ns,Dn.chunk=function(t,e,n){e=(n?uo(t,e,n):void 0===e)?1:an(ia(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var o=0,s=0,a=r(Qe(i/e));o<i;)a[s++]=Wr(t,o,o+=e);return a},Dn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},Dn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return pe(Ps(n)?vi(n):[n],sr(e,1))},Dn.cond=function(t){var e=null==t?0:t.length,n=$i();return t=e?fe(t,(function(t){if("function"!=typeof t[1])throw new yt(o);return[n(t[0]),t[1]]})):[],jr((function(n){for(var r=-1;++r<e;){var i=t[r];if(oe(i[0],this,n))return oe(i[1],this,n)}}))},Dn.conforms=function(t){return function(t){var e=wa(t);return function(n){return Zn(n,t,e)}}($n(t,1))},Dn.constant=Va,Dn.countBy=os,Dn.create=function(t,e){var n=Cn(t);return null==e?n:Xn(n,e)},Dn.curry=function t(e,n,r){var i=Fi(e,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=t.placeholder,i},Dn.curryRight=function t(e,n,r){var i=Fi(e,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=t.placeholder,i},Dn.debounce=ws,Dn.defaults=pa,Dn.defaultsDeep=_a,Dn.defer=xs,Dn.delay=Ms,Dn.difference=Co,Dn.differenceBy=ko,Dn.differenceWith=Oo,Dn.drop=function(t,e,n){var r=null==t?0:t.length;return r?Wr(t,(e=n||void 0===e?1:ia(e))<0?0:e,r):[]},Dn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Wr(t,0,(e=r-(e=n||void 0===e?1:ia(e)))<0?0:e):[]},Dn.dropRightWhile=function(t,e){return t&&t.length?ni(t,$i(e,3),!0,!0):[]},Dn.dropWhile=function(t,e){return t&&t.length?ni(t,$i(e,3),!0):[]},Dn.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&uo(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=ia(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:ia(r))<0&&(r+=i),r=n>r?0:oa(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Dn.filter=function(t,e){return(Ps(t)?he:or)(t,$i(e,3))},Dn.flatMap=function(t,e){return sr(fs(t,e),1)},Dn.flatMapDeep=function(t,e){return sr(fs(t,e),1/0)},Dn.flatMapDepth=function(t,e,n){return n=void 0===n?1:ia(n),sr(fs(t,e),n)},Dn.flatten=Ro,Dn.flattenDeep=function(t){return(null==t?0:t.length)?sr(t,1/0):[]},Dn.flattenDepth=function(t,e){return(null==t?0:t.length)?sr(t,e=void 0===e?1:ia(e)):[]},Dn.flip=function(t){return Fi(t,512)},Dn.flow=za,Dn.flowRight=Wa,Dn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Dn.functions=function(t){return null==t?[]:lr(t,wa(t))},Dn.functionsIn=function(t){return null==t?[]:lr(t,xa(t))},Dn.groupBy=hs,Dn.initial=function(t){return(null==t?0:t.length)?Wr(t,0,-1):[]},Dn.intersection=Bo,Dn.intersectionBy=No,Dn.intersectionWith=jo,Dn.invert=va,Dn.invertBy=ba,Dn.invokeMap=ls,Dn.iteratee=Ja,Dn.keyBy=ds,Dn.keys=wa,Dn.keysIn=xa,Dn.map=fs,Dn.mapKeys=function(t,e){var n={};return e=$i(e,3),cr(t,(function(t,r,i){Jn(n,e(t,r,i),t)})),n},Dn.mapValues=function(t,e){var n={};return e=$i(e,3),cr(t,(function(t,r,i){Jn(n,r,e(t,r,i))})),n},Dn.matches=function(t){return Dr($n(t,1))},Dn.matchesProperty=function(t,e){return Cr(t,$n(e,1))},Dn.memoize=Ss,Dn.merge=Ma,Dn.mergeWith=Sa,Dn.method=Ka,Dn.methodOf=qa,Dn.mixin=$a,Dn.negate=Ts,Dn.nthArg=function(t){return t=ia(t),jr((function(e){return Or(e,t)}))},Dn.omit=Ta,Dn.omitBy=function(t,e){return Ea(t,Ts($i(e)))},Dn.once=function(t){return vs(2,t)},Dn.orderBy=function(t,e,n,r){return null==t?[]:(Ps(e)||(e=null==e?[]:[e]),Ps(n=r?void 0:n)||(n=null==n?[]:[n]),Ir(t,e,n))},Dn.over=Qa,Dn.overArgs=As,Dn.overEvery=tu,Dn.overSome=eu,Dn.partial=Es,Dn.partialRight=Ls,Dn.partition=ps,Dn.pick=Aa,Dn.pickBy=Ea,Dn.property=nu,Dn.propertyOf=function(t){return function(e){return null==t?void 0:dr(t,e)}},Dn.pull=Uo,Dn.pullAll=Go,Dn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Rr(t,e,$i(n,2)):t},Dn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Rr(t,e,void 0,n):t},Dn.pullAt=Ho,Dn.range=ru,Dn.rangeRight=iu,Dn.rearg=Ds,Dn.reject=function(t,e){return(Ps(t)?he:or)(t,Ts($i(e,3)))},Dn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=$i(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return Yr(t,i),n},Dn.rest=function(t,e){if("function"!=typeof t)throw new yt(o);return jr(t,e=void 0===e?e:ia(e))},Dn.reverse=Vo,Dn.sampleSize=function(t,e,n){return e=(n?uo(t,e,n):void 0===e)?1:ia(e),(Ps(t)?Un:Ur)(t,e)},Dn.set=function(t,e,n){return null==t?t:Gr(t,e,n)},Dn.setWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:Gr(t,e,n,r)},Dn.shuffle=function(t){return(Ps(t)?Gn:zr)(t)},Dn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&uo(t,e,n)?(e=0,n=r):(e=null==e?0:ia(e),n=void 0===n?r:ia(n)),Wr(t,e,n)):[]},Dn.sortBy=_s,Dn.sortedUniq=function(t){return t&&t.length?qr(t):[]},Dn.sortedUniqBy=function(t,e){return t&&t.length?qr(t,$i(e,2)):[]},Dn.split=function(t,e,n){return n&&"number"!=typeof n&&uo(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=ua(t))&&("string"==typeof e||null!=e&&!Ks(e))&&!(e=Zr(e))&&Fe(t)?hi(Xe(t),0,n):t.split(e,n):[]},Dn.spread=function(t,e){if("function"!=typeof t)throw new yt(o);return e=null==e?0:an(ia(e),0),jr((function(n){var r=n[e],i=hi(n,0,e);return r&&pe(i,r),oe(t,this,i)}))},Dn.tail=function(t){var e=null==t?0:t.length;return e?Wr(t,1,e):[]},Dn.take=function(t,e,n){return t&&t.length?Wr(t,0,(e=n||void 0===e?1:ia(e))<0?0:e):[]},Dn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Wr(t,(e=r-(e=n||void 0===e?1:ia(e)))<0?0:e,r):[]},Dn.takeRightWhile=function(t,e){return t&&t.length?ni(t,$i(e,3),!1,!0):[]},Dn.takeWhile=function(t,e){return t&&t.length?ni(t,$i(e,3)):[]},Dn.tap=function(t,e){return e(t),t},Dn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new yt(o);return Vs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ws(t,e,{leading:r,maxWait:e,trailing:i})},Dn.thru=rs,Dn.toArray=na,Dn.toPairs=La,Dn.toPairsIn=Da,Dn.toPath=function(t){return Ps(t)?fe(t,Eo):Zs(t)?[t]:vi(Ao(ua(t)))},Dn.toPlainObject=aa,Dn.transform=function(t,e,n){var r=Ps(t),i=r||Ns(t)||Qs(t);if(e=$i(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Vs(t)&&Us(o)?Cn(Gt(t)):{}}return(i?ae:cr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Dn.unary=function(t){return ys(t,1)},Dn.union=zo,Dn.unionBy=Wo,Dn.unionWith=Xo,Dn.uniq=function(t){return t&&t.length?Qr(t):[]},Dn.uniqBy=function(t,e){return t&&t.length?Qr(t,$i(e,2)):[]},Dn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qr(t,void 0,e):[]},Dn.unset=function(t,e){return null==t||ti(t,e)},Dn.unzip=Jo,Dn.unzipWith=Ko,Dn.update=function(t,e,n){return null==t?t:ei(t,e,ai(n))},Dn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:ei(t,e,ai(n),r)},Dn.values=Ca,Dn.valuesIn=function(t){return null==t?[]:Oe(t,xa(t))},Dn.without=qo,Dn.words=Ua,Dn.wrap=function(t,e){return Es(ai(e),t)},Dn.xor=$o,Dn.xorBy=Zo,Dn.xorWith=Qo,Dn.zip=ts,Dn.zipObject=function(t,e){return oi(t||[],e||[],Vn)},Dn.zipObjectDeep=function(t,e){return oi(t||[],e||[],Gr)},Dn.zipWith=es,Dn.entries=La,Dn.entriesIn=Da,Dn.extend=ha,Dn.extendWith=la,$a(Dn,Dn),Dn.add=au,Dn.attempt=Ga,Dn.camelCase=ka,Dn.capitalize=Oa,Dn.ceil=uu,Dn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=sa(n))==n?n:0),void 0!==e&&(e=(e=sa(e))==e?e:0),qn(sa(t),e,n)},Dn.clone=function(t){return $n(t,4)},Dn.cloneDeep=function(t){return $n(t,5)},Dn.cloneDeepWith=function(t,e){return $n(t,5,e="function"==typeof e?e:void 0)},Dn.cloneWith=function(t,e){return $n(t,4,e="function"==typeof e?e:void 0)},Dn.conformsTo=function(t,e){return null==e||Zn(t,e,wa(e))},Dn.deburr=Ia,Dn.defaultTo=function(t,e){return null==t||t!=t?e:t},Dn.divide=cu,Dn.endsWith=function(t,e,n){t=ua(t),e=Zr(e);var r=t.length,i=n=void 0===n?r:qn(ia(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Dn.eq=Cs,Dn.escape=function(t){return(t=ua(t))&&j.test(t)?t.replace(B,Ne):t},Dn.escapeRegExp=function(t){return(t=ua(t))&&X.test(t)?t.replace(W,"\\$&"):t},Dn.every=function(t,e,n){var r=Ps(t)?ce:rr;return n&&uo(t,e,n)&&(e=void 0),r(t,$i(e,3))},Dn.find=ss,Dn.findIndex=Io,Dn.findKey=function(t,e){return be(t,$i(e,3),cr)},Dn.findLast=as,Dn.findLastIndex=Po,Dn.findLastKey=function(t,e){return be(t,$i(e,3),hr)},Dn.floor=hu,Dn.forEach=us,Dn.forEachRight=cs,Dn.forIn=function(t,e){return null==t?t:ar(t,$i(e,3),xa)},Dn.forInRight=function(t,e){return null==t?t:ur(t,$i(e,3),xa)},Dn.forOwn=function(t,e){return t&&cr(t,$i(e,3))},Dn.forOwnRight=function(t,e){return t&&hr(t,$i(e,3))},Dn.get=ma,Dn.gt=ks,Dn.gte=Os,Dn.has=function(t,e){return null!=t&&io(t,e,mr)},Dn.hasIn=ya,Dn.head=Yo,Dn.identity=Xa,Dn.includes=function(t,e,n,r){t=Ys(t)?t:Ca(t),n=n&&!r?ia(n):0;var i=t.length;return n<0&&(n=an(i+n,0)),$s(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&we(t,e,n)>-1},Dn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),we(t,e,i)},Dn.inRange=function(t,e,n){return e=ra(e),void 0===n?(n=e,e=0):n=ra(n),function(t,e,n){return t>=un(e,n)&&t<an(e,n)}(t=sa(t),e,n)},Dn.invoke=ga,Dn.isArguments=Is,Dn.isArray=Ps,Dn.isArrayBuffer=Rs,Dn.isArrayLike=Ys,Dn.isArrayLikeObject=Bs,Dn.isBoolean=function(t){return!0===t||!1===t||zs(t)&&pr(t)==h},Dn.isBuffer=Ns,Dn.isDate=js,Dn.isElement=function(t){return zs(t)&&1===t.nodeType&&!Js(t)},Dn.isEmpty=function(t){if(null==t)return!0;if(Ys(t)&&(Ps(t)||"string"==typeof t||"function"==typeof t.splice||Ns(t)||Qs(t)||Is(t)))return!t.length;var e=ro(t);if(e==_||e==b)return!t.size;if(fo(t))return!Tr(t).length;for(var n in t)if(Mt.call(t,n))return!1;return!0},Dn.isEqual=function(t,e){return wr(t,e)},Dn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===r?wr(t,e,void 0,n):!!r},Dn.isError=Fs,Dn.isFinite=function(t){return"number"==typeof t&&rn(t)},Dn.isFunction=Us,Dn.isInteger=Gs,Dn.isLength=Hs,Dn.isMap=Ws,Dn.isMatch=function(t,e){return t===e||xr(t,e,Qi(e))},Dn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,xr(t,e,Qi(e),n)},Dn.isNaN=function(t){return Xs(t)&&t!=+t},Dn.isNative=function(t){if(lo(t))throw new K("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Mr(t)},Dn.isNil=function(t){return null==t},Dn.isNull=function(t){return null===t},Dn.isNumber=Xs,Dn.isObject=Vs,Dn.isObjectLike=zs,Dn.isPlainObject=Js,Dn.isRegExp=Ks,Dn.isSafeInteger=function(t){return Gs(t)&&t>=-9007199254740991&&t<=9007199254740991},Dn.isSet=qs,Dn.isString=$s,Dn.isSymbol=Zs,Dn.isTypedArray=Qs,Dn.isUndefined=function(t){return void 0===t},Dn.isWeakMap=function(t){return zs(t)&&ro(t)==x},Dn.isWeakSet=function(t){return zs(t)&&"[object WeakSet]"==pr(t)},Dn.join=function(t,e){return null==t?"":on.call(t,e)},Dn.kebabCase=Pa,Dn.last=Fo,Dn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=ia(n))<0?an(r+i,0):un(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):ge(t,Me,i,!0)},Dn.lowerCase=Ra,Dn.lowerFirst=Ya,Dn.lt=ta,Dn.lte=ea,Dn.max=function(t){return t&&t.length?ir(t,Xa,_r):void 0},Dn.maxBy=function(t,e){return t&&t.length?ir(t,$i(e,2),_r):void 0},Dn.mean=function(t){return Se(t,Xa)},Dn.meanBy=function(t,e){return Se(t,$i(e,2))},Dn.min=function(t){return t&&t.length?ir(t,Xa,Er):void 0},Dn.minBy=function(t,e){return t&&t.length?ir(t,$i(e,2),Er):void 0},Dn.stubArray=ou,Dn.stubFalse=su,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=du,Dn.nth=function(t,e){return t&&t.length?Or(t,ia(e)):void 0},Dn.noConflict=function(){return Xt._===this&&(Xt._=Lt),this},Dn.noop=Za,Dn.now=ms,Dn.pad=function(t,e,n){t=ua(t);var r=(e=ia(e))?We(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Ii(tn(i),n)+t+Ii(Qe(i),n)},Dn.padEnd=function(t,e,n){t=ua(t);var r=(e=ia(e))?We(t):0;return e&&r<e?t+Ii(e-r,n):t},Dn.padStart=function(t,e,n){t=ua(t);var r=(e=ia(e))?We(t):0;return e&&r<e?Ii(e-r,n)+t:t},Dn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),hn(ua(t).replace(J,""),e||0)},Dn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&uo(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=ra(t),void 0===e?(e=t,t=0):e=ra(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=ln();return un(t+i*(e-t+Ht("1e-"+((i+"").length-1))),e)}return Br(t,e)},Dn.reduce=function(t,e,n){var r=Ps(t)?_e:Ee,i=arguments.length<3;return r(t,$i(e,4),n,i,er)},Dn.reduceRight=function(t,e,n){var r=Ps(t)?me:Ee,i=arguments.length<3;return r(t,$i(e,4),n,i,nr)},Dn.repeat=function(t,e,n){return e=(n?uo(t,e,n):void 0===e)?1:ia(e),Nr(ua(t),e)},Dn.replace=function(){var t=arguments,e=ua(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Dn.result=function(t,e,n){var r=-1,i=(e=ui(e,t)).length;for(i||(i=1,t=void 0);++r<i;){var o=null==t?void 0:t[Eo(e[r])];void 0===o&&(r=i,o=n),t=Us(o)?o.call(t):o}return t},Dn.round=fu,Dn.runInContext=t,Dn.sample=function(t){return(Ps(t)?Fn:Fr)(t)},Dn.size=function(t){if(null==t)return 0;if(Ys(t))return $s(t)?We(t):t.length;var e=ro(t);return e==_||e==b?t.size:Tr(t).length},Dn.snakeCase=Ba,Dn.some=function(t,e,n){var r=Ps(t)?ye:Xr;return n&&uo(t,e,n)&&(e=void 0),r(t,$i(e,3))},Dn.sortedIndex=function(t,e){return Jr(t,e)},Dn.sortedIndexBy=function(t,e,n){return Kr(t,e,$i(n,2))},Dn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Jr(t,e);if(r<n&&Cs(t[r],e))return r}return-1},Dn.sortedLastIndex=function(t,e){return Jr(t,e,!0)},Dn.sortedLastIndexBy=function(t,e,n){return Kr(t,e,$i(n,2),!0)},Dn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Jr(t,e,!0)-1;if(Cs(t[n],e))return n}return-1},Dn.startCase=Na,Dn.startsWith=function(t,e,n){return t=ua(t),n=null==n?0:qn(ia(n),0,t.length),e=Zr(e),t.slice(n,n+e.length)==e},Dn.subtract=pu,Dn.sum=function(t){return t&&t.length?Le(t,Xa):0},Dn.sumBy=function(t,e){return t&&t.length?Le(t,$i(e,2)):0},Dn.template=function(t,e,n){var r=Dn.templateSettings;n&&uo(t,e,n)&&(e=void 0),t=ua(t),e=la({},e,r,Ui);var i,o,s=la({},e.imports,r.imports,Ui),a=wa(s),u=Oe(s,a),c=0,h=e.interpolate||ht,l="__p += '",d=_t((e.escape||ht).source+"|"+h.source+"|"+(h===G?nt:ht).source+"|"+(e.evaluate||ht).source+"|$","g"),f="//# sourceURL="+(Mt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++jt+"]")+"\n";t.replace(d,(function(e,n,r,s,a,u){return r||(r=s),l+=t.slice(c,u).replace(lt,je),n&&(i=!0,l+="' +\n__e("+n+") +\n'"),a&&(o=!0,l+="';\n"+a+";\n__p += '"),r&&(l+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+e.length,e})),l+="';\n";var p=Mt.call(e,"variable")&&e.variable;if(p){if(tt.test(p))throw new K("Invalid `variable` option passed into `_.template`")}else l="with (obj) {\n"+l+"\n}\n";l=(o?l.replace(I,""):l).replace(P,"$1").replace(R,"$1;"),l="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var _=Ga((function(){return dt(a,f+"return "+l).apply(void 0,u)}));if(_.source=l,Fs(_))throw _;return _},Dn.times=function(t,e){if((t=ia(t))<1||t>9007199254740991)return[];var n=4294967295,r=un(t,4294967295);t-=4294967295;for(var i=De(r,e=$i(e));++n<t;)e(n);return i},Dn.toFinite=ra,Dn.toInteger=ia,Dn.toLength=oa,Dn.toLower=function(t){return ua(t).toLowerCase()},Dn.toNumber=sa,Dn.toSafeInteger=function(t){return t?qn(ia(t),-9007199254740991,9007199254740991):0===t?t:0},Dn.toString=ua,Dn.toUpper=function(t){return ua(t).toUpperCase()},Dn.trim=function(t,e,n){if((t=ua(t))&&(n||void 0===e))return Ce(t);if(!t||!(e=Zr(e)))return t;var r=Xe(t),i=Xe(e);return hi(r,Pe(r,i),Re(r,i)+1).join("")},Dn.trimEnd=function(t,e,n){if((t=ua(t))&&(n||void 0===e))return t.slice(0,Je(t)+1);if(!t||!(e=Zr(e)))return t;var r=Xe(t);return hi(r,0,Re(r,Xe(e))+1).join("")},Dn.trimStart=function(t,e,n){if((t=ua(t))&&(n||void 0===e))return t.replace(J,"");if(!t||!(e=Zr(e)))return t;var r=Xe(t);return hi(r,Pe(r,Xe(e))).join("")},Dn.truncate=function(t,e){var n=30,r="...";if(Vs(e)){var i="separator"in e?e.separator:i;n="length"in e?ia(e.length):n,r="omission"in e?Zr(e.omission):r}var o=(t=ua(t)).length;if(Fe(t)){var s=Xe(t);o=s.length}if(n>=o)return t;var a=n-We(r);if(a<1)return r;var u=s?hi(s,0,a).join(""):t.slice(0,a);if(void 0===i)return u+r;if(s&&(a+=u.length-a),Ks(i)){if(t.slice(a).search(i)){var c,h=u;for(i.global||(i=_t(i.source,ua(rt.exec(i))+"g")),i.lastIndex=0;c=i.exec(h);)var l=c.index;u=u.slice(0,void 0===l?a:l)}}else if(t.indexOf(Zr(i),a)!=a){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},Dn.unescape=function(t){return(t=ua(t))&&N.test(t)?t.replace(Y,Ke):t},Dn.uniqueId=function(t){var e=++St;return ua(t)+e},Dn.upperCase=ja,Dn.upperFirst=Fa,Dn.each=us,Dn.eachRight=cs,Dn.first=Yo,$a(Dn,(lu={},cr(Dn,(function(t,e){Mt.call(Dn.prototype,e)||(lu[e]=t)})),lu),{chain:!1}),Dn.VERSION="4.17.21",ae(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Dn[t].placeholder=Dn})),ae(["drop","take"],(function(t,e){In.prototype[t]=function(n){n=void 0===n?1:an(ia(n),0);var r=this.__filtered__&&!e?new In(this):this.clone();return r.__filtered__?r.__takeCount__=un(n,r.__takeCount__):r.__views__.push({size:un(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},In.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ae(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;In.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:$i(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),ae(["head","last"],(function(t,e){var n="take"+(e?"Right":"");In.prototype[t]=function(){return this[n](1).value()[0]}})),ae(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");In.prototype[t]=function(){return this.__filtered__?new In(this):this[n](1)}})),In.prototype.compact=function(){return this.filter(Xa)},In.prototype.find=function(t){return this.filter(t).head()},In.prototype.findLast=function(t){return this.reverse().find(t)},In.prototype.invokeMap=jr((function(t,e){return"function"==typeof t?new In(this):this.map((function(n){return br(n,t,e)}))})),In.prototype.reject=function(t){return this.filter(Ts($i(t)))},In.prototype.slice=function(t,e){t=ia(t);var n=this;return n.__filtered__&&(t>0||e<0)?new In(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=ia(e))<0?n.dropRight(-e):n.take(e-t)),n)},In.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},In.prototype.toArray=function(){return this.take(4294967295)},cr(In.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Dn[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(Dn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,a=e instanceof In,u=s[0],c=a||Ps(e),h=function(t){var e=i.apply(Dn,pe([t],s));return r&&l?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(a=c=!1);var l=this.__chain__,d=!!this.__actions__.length,f=o&&!l,p=a&&!d;if(!o&&c){e=p?e:new In(this);var _=t.apply(e,s);return _.__actions__.push({func:rs,args:[h],thisArg:void 0}),new On(_,l)}return f&&p?t.apply(this,s):(_=this.thru(h),f?r?_.value()[0]:_.value():_)})})),ae(["pop","push","shift","sort","splice","unshift"],(function(t){var e=vt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Dn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ps(i)?i:[],t)}return this[n]((function(n){return e.apply(Ps(n)?n:[],t)}))}})),cr(In.prototype,(function(t,e){var n=Dn[e];if(n){var r=n.name+"";Mt.call(gn,r)||(gn[r]=[]),gn[r].push({name:e,func:n})}})),gn[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],In.prototype.clone=function(){var t=new In(this.__wrapped__);return t.__actions__=vi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=vi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=vi(this.__views__),t},In.prototype.reverse=function(){if(this.__filtered__){var t=new In(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},In.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ps(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=un(e,t+s);break;case"takeRight":t=an(t,e-s)}}return{start:t,end:e}}(0,i,this.__views__),s=o.start,a=o.end,u=a-s,c=r?a:s-1,h=this.__iteratees__,l=h.length,d=0,f=un(u,this.__takeCount__);if(!n||!r&&i==u&&f==u)return ri(t,this.__actions__);var p=[];t:for(;u--&&d<f;){for(var _=-1,m=t[c+=e];++_<l;){var y=h[_],v=y.iteratee,b=y.type,g=v(m);if(2==b)m=g;else if(!g){if(1==b)continue t;break t}}p[d++]=m}return p},Dn.prototype.at=is,Dn.prototype.chain=function(){return ns(this)},Dn.prototype.commit=function(){return new On(this.value(),this.__chain__)},Dn.prototype.next=function(){void 0===this.__values__&&(this.__values__=na(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Dn.prototype.plant=function(t){for(var e,n=this;n instanceof kn;){var r=Do(n);r.__index__=0,r.__values__=void 0,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Dn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof In){var e=t;return this.__actions__.length&&(e=new In(this)),(e=e.reverse()).__actions__.push({func:rs,args:[Vo],thisArg:void 0}),new On(e,this.__chain__)}return this.thru(Vo)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return ri(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,$t&&(Dn.prototype[$t]=function(){return this}),Dn}();Xt._=qe,void 0===(i=function(){return qe}.call(e,n,e,r))||(r.exports=i)}).call(this)}).call(this,n("pCvA"),n("RoC8")(t))},"A/eZ":function(t,e,n){"use strict";var r=n("upWy"),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=l;var o=Object.create(n("nrnY"));o.inherits=n("wfEq");var s=n("B0Cl"),a=n("g+31");o.inherits(l,s);for(var u=i(a.prototype),c=0;c<u.length;c++){var h=u[c];l.prototype[h]||(l.prototype[h]=a.prototype[h])}function l(t){if(!(this instanceof l))return new l(t);s.call(this,t),a.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),l.prototype._destroy=function(t,e){this.push(null),this.end(),r.nextTick(e,t)}},AIuu:function(t,e,n){"use strict";e.a=function(t){return new this((function(e,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function o(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var s=n.then;if("function"==typeof s)return void s.call(n,(function(e){o(t,e)}),(function(n){r[t]={status:"rejected",reason:n},0==--i&&e(r)}))}r[t]={status:"fulfilled",value:n},0==--i&&e(r)}for(var s=0;s<r.length;s++)o(s,r[s])}))}},AVN5:function(t,e,n){!function(t){"use strict";
  77. //! moment.js locale configuration
  78. t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("TiKg"))},"B/8w":function(t){t.exports=JSON.parse('{"_args":[["axios@0.21.4","/Users/viccg.lin/Documents/projects/2021-09-taiwanpay-bingo"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/","/@line/bot-sdk"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/Users/viccg.lin/Documents/projects/2021-09-taiwanpay-bingo","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')},B0Cl:function(t,e,n){"use strict";(function(e,r){var i=n("upWy");t.exports=b;var o,s=n("kah5");b.ReadableState=v;n("hBZP").EventEmitter;var a=function(t,e){return t.listeners(e).length},u=n("n428"),c=n("pRMk").Buffer,h=e.Uint8Array||function(){};var l=Object.create(n("nrnY"));l.inherits=n("wfEq");var d=n(1),f=void 0;f=d&&d.debuglog?d.debuglog("stream"):function(){};var p,_=n("IPtZ"),m=n("xTpk");l.inherits(b,u);var y=["error","close","destroy","pause","resume"];function v(t,e){t=t||{};var r=e instanceof(o=o||n("A/eZ"));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,s=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new _,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=n("soc2").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function b(t){if(o=o||n("A/eZ"),!(this instanceof b))return new b(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function g(t,e,n,r,i){var o,s=t._readableState;null===e?(s.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,M(t)}(t,s)):(i||(o=function(t,e){var n;r=e,c.isBuffer(r)||r instanceof h||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(s,e)),o?t.emit("error",o):s.objectMode||e&&e.length>0?("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),r?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?w(t,s,e,!1):T(t,s)):w(t,s,e,!1))):r||(s.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(s)}function w(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&M(t)),T(t,e)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),b.prototype.destroy=m.destroy,b.prototype._undestroy=m.undestroy,b.prototype._destroy=function(t,e){this.push(null),e(t)},b.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=c.from(t,e),e=""),n=!0),g(this,t,e,!1,n)},b.prototype.unshift=function(t){return g(this,t,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(t){return p||(p=n("soc2").StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this};function x(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function M(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(S,t):S(t))}function S(t){f("emit readable"),t.emit("readable"),D(t)}function T(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(A,t,e))}function A(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(f("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function E(t){f("readable nexttick read 0"),t.read(0)}function L(t,e){e.reading||(f("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),D(t),e.flowing&&!e.reading&&t.read(0)}function D(t){var e=t._readableState;for(f("flow",e.flowing);e.flowing&&null!==t.read(););}function C(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;t<e.head.data.length?(r=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):r=t===e.head.data.length?e.shift():n?function(t,e){var n=e.head,r=1,i=n.data;t-=i.length;for(;n=n.next;){var o=n.data,s=t>o.length?o.length:t;if(s===o.length?i+=o:i+=o.slice(0,t),0===(t-=s)){s===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));break}++r}return e.length-=r,i}(t,e):function(t,e){var n=c.allocUnsafe(t),r=e.head,i=1;r.data.copy(n),t-=r.data.length;for(;r=r.next;){var o=r.data,s=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,s),0===(t-=s)){s===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(s));break}++i}return e.length-=i,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function k(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(O,e,t))}function O(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function I(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}b.prototype.read=function(t){f("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?k(this):M(this),null;if(0===(t=x(t,e))&&e.ended)return 0===e.length&&k(this),null;var r,i=e.needReadable;return f("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&f("length less than watermark",i=!0),e.ended||e.reading?f("reading or ended",i=!1):i&&(f("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=x(n,e))),null===(r=t>0?C(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&k(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(t,e){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,e);var u=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?h:b;function c(e,r){f("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),t.removeListener("close",y),t.removeListener("finish",v),t.removeListener("drain",l),t.removeListener("error",m),t.removeListener("unpipe",c),n.removeListener("end",h),n.removeListener("end",b),n.removeListener("data",_),d=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function h(){f("onend"),t.end()}o.endEmitted?i.nextTick(u):n.once("end",u),t.on("unpipe",c);var l=function(t){return function(){var e=t._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,D(t))}}(n);t.on("drain",l);var d=!1;var p=!1;function _(e){f("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==I(o.pipes,t))&&!d&&(f("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(e){f("onerror",e),b(),t.removeListener("error",m),0===a(t,"error")&&t.emit("error",e)}function y(){t.removeListener("finish",v),b()}function v(){f("onfinish"),t.removeListener("close",y),b()}function b(){f("unpipe"),n.unpipe(t)}return n.on("data",_),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?s(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",m),t.once("close",y),t.once("finish",v),t.emit("pipe",n),o.flowing||(f("pipe resume"),n.resume()),t},b.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var s=I(e.pipes,t);return-1===s||(e.pipes.splice(s,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},b.prototype.on=function(t,e){var n=u.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&M(this):i.nextTick(E,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(L,t,e))}(this,t)),this},b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(f("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(e.push(i)||(r=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<y.length;o++)t.on(y[o],this.emit.bind(this,y[o]));return this._read=function(e){f("wrapped _read",e),r&&(r=!1,t.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=C}).call(this,n("pCvA"),n("5IsQ"))},B3sb:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.encodeAsn1Signature=e.decodeAsn1Signature=void 0;var i=r(n("EO1s")),o=r(n("+Gs+")),s=r(n("qykS")).default.Buffer,a=o.default.bignum;e.decodeAsn1Signature=function(t,e){var n=s.from(t),r=u.decode(n,"der"),o=i.default.namedCurves[e].payloadSize,a=new Uint8Array(r.r.toArray("be",o)),c=new Uint8Array(r.s.toArray("be",o)),h=new Uint8Array(2*o);return h.set(a),h.set(c,o),h};e.encodeAsn1Signature=function(t,e){var n=i.default.namedCurves[e].payloadSize,r=t.slice(0,n),o=t.slice(n,t.length),s=u.encode({r:new a(r),s:new a(o)},"der");return new Uint8Array(s)};var u=o.default.define("ECDSASignature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},B5O8:function(t,e,n){var r=n("LER9"),i=n("CsW6"),o=n("F1mQ"),s=n("8kJ5"),a=n("5Wkw"),u=n("+oaW"),c=n("HfSF"),h=n("pRMk").Buffer;t.exports=function(t,e,n){var l;l=t.padding?t.padding:n?1:4;var d,f=r(t),p=f.modulus.byteLength();if(e.length>p||new s(e).cmp(f.modulus)>=0)throw new Error("decryption error");d=n?c(new s(e),f):a(e,f);var _=h.alloc(p-d.length);if(d=h.concat([_,d],p),4===l)return function(t,e){var n=t.modulus.byteLength(),r=u("sha1").update(h.alloc(0)).digest(),s=r.length;if(0!==e[0])throw new Error("decryption error");var a=e.slice(1,s+1),c=e.slice(s+1),l=o(a,i(c,s)),d=o(c,i(l,n-s-1));if(function(t,e){t=h.from(t),e=h.from(e);var n=0,r=t.length;t.length!==e.length&&(n++,r=Math.min(t.length,e.length));var i=-1;for(;++i<r;)n+=t[i]^e[i];return n}(r,d.slice(0,s)))throw new Error("decryption error");var f=s;for(;0===d[f];)f++;if(1!==d[f++])throw new Error("decryption error");return d.slice(f)}(f,d);if(1===l)return function(t,e,n){var r=e.slice(0,2),i=2,o=0;for(;0!==e[i++];)if(i>=e.length){o++;break}var s=e.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;s.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,d,n);if(3===l)return d;throw new Error("unknown padding")}},BO39:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJwkFrom=e.fromJwkTo=void 0;var o=i(n("NthX")),s=i(n("e+GP")),a=i(n("fFdx")),u=r(n("8Sms")),c=r(n("kAr8")),h=function(){var t=(0,a.default)(o.default.mark((function t(){var e,n,r,i=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=i.length>0&&void 0!==i[0]?i[0]:"pem",n=i.length>1?i[1]:void 0,r=i.length>2&&void 0!==i[2]?i[2]:{},!(["pem","der","oct"].indexOf(e)<0)){t.next=5;break}throw new Error("InvalidOutputForm");case 5:if("object"===(0,s.default)(n)){t.next=7;break}throw new Error("InvalidJWKAsObject");case 7:if("EC"===n.kty||"RSA"===n.kty){t.next=9;break}throw new Error("UnsupportedKeyType");case 9:if(void 0===r.outputPublic||"boolean"==typeof r.outputPublic){t.next=11;break}throw new Error("outputPublicMustBeBoolean");case 11:if("EC"===n.key&&"boolean"!=typeof r.compact&&(r.compact=!1),"oct"===e&&"string"!==r.output&&(r.output="binary"),void 0===r.encryptParams&&(r.encryptParams={}),"der"!==e&&"pem"!==e||void 0!==r.encryptParams.passphrase||(r.encryptParams.passphrase=""),"der"!==e&&"pem"!==e){t.next=21;break}return t.next=18,u.fromJwk(n,e,{outputPublic:r.outputPublic,compact:r.compact,encOptions:r.encryptParams});case 18:return t.abrupt("return",t.sent);case 21:if("oct"!==e||"EC"!==n.kty){t.next=25;break}return t.abrupt("return",c.fromJwk(n,{outputPublic:r.outputPublic,outputFormat:r.output,compact:r.compact}));case 25:throw new Error("UnsupportedConversion");case 26:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e.fromJwkTo=h;var l=function(){var t=(0,a.default)(o.default.mark((function t(e,n){var r,i=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=i.length>2&&void 0!==i[2]?i[2]:{},!(["pem","der","oct"].indexOf(e)<0)){t.next=3;break}throw new Error("InvalidInputForm");case 3:if("oct"!==e||r.namedCurve){t.next=5;break}throw new Error("InappropriateOptions");case 5:if(void 0===r.outputPublic||"boolean"==typeof r.outputPublic){t.next=7;break}throw new Error("outputPublicMustBeBoolean");case 7:if("der"!==e&&"pem"!==e||void 0!==r.passphrase||(r.passphrase=""),"der"!==e&&"pem"!==e){t.next=14;break}return t.next=11,u.toJwk(n,e,{outputPublic:r.outputPublic,passphrase:r.passphrase});case 11:return t.abrupt("return",t.sent);case 14:if("oct"!==e){t.next=18;break}return t.abrupt("return",c.toJwk(n,r.namedCurve,{outputPublic:r.outputPublic}));case 18:throw new Error("UnsupportedConversion");case 19:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.toJwkFrom=l},BWwv:function(t,e,n){!function(t){"use strict";
  79. //! moment.js locale configuration
  80. t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("TiKg"))},C1tN:function(t,e,n){(function(t){var r=n("cyIN"),i=n("+MGR"),o=n("3Wkq");var s={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var n=new t(i[e].prime,"hex"),r=new t(i[e].gen,"hex");return new o(n,r)},e.createDiffieHellman=e.DiffieHellman=function e(n,i,a,u){return t.isBuffer(i)||void 0===s[i]?e(n,"binary",i,a):(i=i||"binary",u=u||"binary",a=a||new t([2]),t.isBuffer(a)||(a=new t(a,u)),"number"==typeof n?new o(r(n,a),a,!0):(t.isBuffer(n)||(n=new t(n,i)),new o(n,a,!0)))}}).call(this,n("qykS").Buffer)},C9xR:function(t,e,n){t.exports=n("5Ekh").Transform},CZE8:function(t,e,n){!function(t){"use strict";
  81. //! moment.js locale configuration
  82. var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},"Cla+":function(t,e,n){!function(t){"use strict";
  83. //! moment.js locale configuration
  84. var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(t,e,n,r){var i="";if(e)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,t)}t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(t,e){return 12===t&&(t=0),"पहाटे"===e||"सकाळी"===e?t:"दुपारी"===e||"सायंकाळी"===e||"रात्री"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"पहाटे":t<12?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n("TiKg"))},CsW6:function(t,e,n){var r=n("+oaW"),i=n("pRMk").Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var n,s=i.alloc(0),a=0;s.length<e;)n=o(a++),s=i.concat([s,r("sha1").update(t).update(n).digest()]);return s.slice(0,e)}},DCHf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SHA3Hash=e.SHA3=e.Keccak=void 0;var r,i=n("qykS"),o=(r=n("0+hf"))&&r.__esModule?r:{default:r};var s=function(t){var e=t.padding;return function t(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:512;if(!this||this.constructor!==t)return new t(r);var s=new o.default({capacity:r,padding:e});return this.update=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";if(i.Buffer.isBuffer(t))return s.absorb(t),n;if("string"==typeof t)return n.update(i.Buffer.from(t,e));throw new TypeError("Not a string or buffer")},this.digest=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"binary",e=s.squeeze();return t&&"binary"!==t?e.toString(t):e},this.reset=function(){return s.reset(),n},this}},a=s({padding:1});e.Keccak=a;var u=s({padding:6});e.SHA3=u;var c=a;e.SHA3Hash=c,u.SHA3Hash=c;var h=u;e.default=h},DDMh:function(t,e,n){"use strict";var r=n("HpGB"),i=n("siiD");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=t>>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},DPV4:function(t,e){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=r.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var e=[],r=0;r<t.length;r+=3)for(var i=t[r]<<16|t[r+1]<<8|t[r+2],o=0;o<4;o++)8*r+6*o<=8*t.length?e.push(n.charAt(i>>>6*(3-o)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],r=0,i=0;r<t.length;i=++r%4)0!=i&&e.push((n.indexOf(t.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|n.indexOf(t.charAt(r))>>>6-2*i);return e}},t.exports=r},DPpk:function(t,e,n){!function(t){"use strict";
  85. //! moment.js locale configuration
  86. function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},DQGM:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("fOyB"),o=i.assert;function s(t,e){if(t instanceof s)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new r(t.r,16),this.s=new r(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function a(){this.place=0}function u(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,s=e.place;o<r;o++,s++)i<<=8,i|=t[s],i>>>=0;return!(i<=127)&&(e.place=s,i)}function c(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e<n;)e++;return 0===e?t:t.slice(e)}function h(t,e){if(e<128)t.push(e);else{var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=s,s.prototype._importDER=function(t,e){t=i.toArray(t,e);var n=new a;if(48!==t[n.place++])return!1;var o=u(t,n);if(!1===o)return!1;if(o+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var s=u(t,n);if(!1===s)return!1;var c=t.slice(n.place,s+n.place);if(n.place+=s,2!==t[n.place++])return!1;var h=u(t,n);if(!1===h)return!1;if(t.length!==h+n.place)return!1;var l=t.slice(n.place,h+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}return this.r=new r(c),this.s=new r(l),this.recoveryParam=null,!0},s.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=c(e),n=c(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];h(r,e.length),(r=r.concat(e)).push(2),h(r,n.length);var o=r.concat(n),s=[48];return h(s,o.length),s=s.concat(o),i.encode(s,t)}},E9s0:function(t,e,n){var r=n("wfEq");function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,n){var r=this._reporterState;this.exitKey(t),null!==r.obj&&(r.obj[e]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,n=e.obj;return e.obj=t,n},i.prototype.error=function(t){var e,n=this._reporterState,r=t instanceof o;if(e=r?t:new o(n.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!n.options.partial)throw e;return r||n.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},r(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},EO1s:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={namedCurves:{"P-256":{indutnyName:"p256",nodeName:"prime256v1",payloadSize:32},"P-384":{indutnyName:"p384",nodeName:"secp384r1",payloadSize:48},"P-521":{indutnyName:"p521",nodeName:"secp521r1",payloadSize:66},"P-256K":{indutnyName:"secp256k1",nodeName:"secp256k1",payloadSize:32}},hashes:{"SHA-256":{nodeName:"sha256"},"SHA-384":{nodeName:"sha384"},"SHA-512":{nodeName:"sha512"},"SHA-1":{nodeName:"sha1"}}}},ESkz:function(t,e,n){!function(t){"use strict";
  87. //! moment.js locale configuration
  88. t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},EbX1:function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
  89. /*!
  90. * Determine if an object is a Buffer
  91. *
  92. * @author Feross Aboukhadijeh <https://feross.org>
  93. * @license MIT
  94. */
  95. t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},"Eg+Y":function(t,e,n){"use strict";var r=n("HpGB").rotr32;function i(t,e,n){return t&e^~t&n}function o(t,e,n){return t&e^t&n^e&n}function s(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?i(e,n,r):1===t||3===t?s(e,n,r):2===t?o(e,n,r):void 0},e.ch32=i,e.maj32=o,e.p32=s,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},EpfC:function(t,e,n){!function(t){"use strict";
  96. //! moment.js locale configuration
  97. t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n("TiKg"))},EurX:function(t,e,n){!function(t){"use strict";
  98. //! moment.js locale configuration
  99. function e(t,e,n,r){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return r?i[n][0]:i[n][1]}t.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){switch(e){case"D":return t+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}})}(n("TiKg"))},EvBf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={ciphers:{"AES-GCM":{nodePrefix:"aes-",nodeSuffix:"-gcm",ivLength:12,tagLength:16,staticIvLength:!0},"AES-CBC":{nodePrefix:"aes-",nodeSuffix:"-cbc",ivLength:16,staticIvLength:!0},"AES-CTR":{nodePrefix:"aes-",nodeSuffix:"-ctr",ivLength:12,staticIvLength:!1}},wrapKeys:{"AES-KW":{nodePrefix:"id-aes",nodeSuffix:"-wrap",ivLength:8,staticIvLength:!0,defaultIV:new Uint8Array([166,166,166,166,166,166,166,166])}}};e.default=r},F1mQ:function(t,e){t.exports=function(t,e){for(var n=t.length,r=-1;++r<n;)t[r]^=e[r];return t}},"FI+y":function(t,e,n){!function(t){"use strict";
  100. //! moment.js locale configuration
  101. var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(t,e,n,r){var i=t;switch(n){case"s":return r||e?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||e)?" másodperc":" másodperce";case"m":return"egy"+(r||e?" perc":" perce");case"mm":return i+(r||e?" perc":" perce");case"h":return"egy"+(r||e?" óra":" órája");case"hh":return i+(r||e?" óra":" órája");case"d":return"egy"+(r||e?" nap":" napja");case"dd":return i+(r||e?" nap":" napja");case"M":return"egy"+(r||e?" hónap":" hónapja");case"MM":return i+(r||e?" hónap":" hónapja");case"y":return"egy"+(r||e?" év":" éve");case"yy":return i+(r||e?" év":" éve")}return""}function r(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},FPgC:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("fOyB"),o=i.assert,s=i.cachedProperty,a=i.parseBytes;function u(t,e){this.eddsa=t,"object"!=typeof e&&(e=a(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof r&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}s(u,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(u,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(u,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(u,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=u},FaXh:function(t,e){e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,u=(1<<a)-1,c=u>>1,h=-7,l=n?i-1:0,d=n?-1:1,f=t[e+l];for(l+=d,o=f&(1<<-h)-1,f>>=-h,h+=a;h>0;o=256*o+t[e+l],l+=d,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=r;h>0;s=256*s+t[e+l],l+=d,h-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),o-=c}return(f?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,u,c=8*o-i-1,h=(1<<c)-1,l=h>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,_=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+l>=1?d/u:d*Math.pow(2,1-l))*u>=2&&(s++,u/=2),s+l>=h?(a=0,s=h):s+l>=1?(a=(e*u-1)*Math.pow(2,i),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[n+f]=255&a,f+=p,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[n+f]=255&s,f+=p,s/=256,c-=8);t[n+f-p]|=128*_}},Fthy:function(t,e,n){"use strict";n.r(e),n.d(e,"sendMessages",(function(){return u}));var r=n("kp3F"),i=n("eJvy"),o=n("2q8S"),s=function(t){return"object"==typeof t&&null!==t&&function(t){return"string"==typeof t||t instanceof String}(t.type)};function a(t){return Promise.reject(Object(i.j)(r.f,t))}function u(t){if(!function(t){return Array.isArray(t)&&t.every(s)}(t))return a("Parameter 'messages' must be an array of { type, ... }");var e=t.length;return e<1||e>5?a("Number of messages should be in range 1 to 5."):Object(o.a)(Object(o.b)("message"),{method:"POST",body:JSON.stringify({messages:t})})}},FvgC:function(t,e,n){!function(t){"use strict";
  102. //! moment.js locale configuration
  103. var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,n){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("TiKg"))},FyKI:function(t,e,n){!function(t){"use strict";
  104. //! moment.js locale configuration
  105. var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,n){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n("TiKg"))},G2uu:function(t,e,n){t.exports=n("2Mwr")},GNjU:function(t,e,n){"use strict";var r=n("siiD"),i=n("wfEq"),o={};function s(t){r.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var n=Object.keys(o),r=0;r<n.length;r++){var s=n[r];e.prototype[s]=o[s]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new s(this.options.iv);this._cbcState=t},o._update=function(t,e,n,r){var i=this._cbcState,o=this.constructor.super_.prototype,s=i.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)s[a]^=t[e+a];o._update.call(this,s,0,n,r);for(a=0;a<this.blockSize;a++)s[a]=n[r+a]}else{o._update.call(this,t,e,n,r);for(a=0;a<this.blockSize;a++)n[r+a]^=s[a];for(a=0;a<this.blockSize;a++)s[a]=t[e+a]}}},GYWQ:function(t,e){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},Ggl8:function(t,e,n){"use strict";n.r(e),n.d(e,"openWindow",(function(){return h}));var r=n("bb6g"),i=n("kp3F"),o=n("eJvy"),s=n("YaxJ"),a=n("NOeq"),u=n("53ng"),c=n("cAUJ");function h(t){if(!function(t){if(!t||"object"!=typeof t)return!1;var e=t,n=e.url,i=e.external,o=Object(r.e)([typeof n,typeof i],2),s=o[0],a=o[1];return"string"===s&&""!==n&&("undefined"===a||"boolean"===a)}(t))throw Object(o.j)(i.f,"Invalid parameters for liff.openWindow()");var e=Object(u.getLineVersion)();if(Object(s.isInClient)())if(null!==e&&"ios"===Object(a.getOS)()&&Object(o.e)(e,"9.19")>=0||!window._liff.postMessage){var n=t.url,h=t.external,l=void 0!==h&&h;window.open(function(t,e){var n=Object(r.e)(t.split("?"),2),i=n[0],o=n[1],s=Object(r.e)((void 0===o?"":o).split("#"),2),a=s[0],u=s[1];return i+"?is_liff_external_open_window="+!!e+(a?"&"+a.split("&").filter((function(t){return-1===t.indexOf("is_liff_external_open_window")})).join("&").concat(u?"#"+u:""):"")}(n,l))}else Object(c.call)("openWindow",t);else window.open(t.url,"_blank")}},GjBA:function(t,e,n){!function(t){"use strict";
  106. //! moment.js locale configuration
  107. t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("TiKg"))},GyEJ:function(t,e,n){!function(t){"use strict";
  108. //! moment.js locale configuration
  109. t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},"H+sD":function(t,e,n){!function(t){"use strict";
  110. //! moment.js locale configuration
  111. function e(t){return t%100==11||t%10!=1}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return e(t)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},HLui:function(t,e,n){var r=n("wfEq"),i=n("KSsY"),o=n("pRMk").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function h(t){return t<<30|t>>>2}function l(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,d=0;d<16;++d)n[d]=t.readInt32BE(4*d);for(;d<80;++d)n[d]=(e=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|e>>>31;for(var f=0;f<80;++f){var p=~~(f/20),_=c(r)+l(p,i,o,a)+u+n[f]+s[p]|0;u=a,a=o,o=h(i),i=r,r=_}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},HTX9:function(t,e,n){!function(t){"use strict";
  112. //! moment.js locale configuration
  113. t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("TiKg"))},HbDv:function(t,e,n){"use strict";var r=n("HpGB"),i=n("DDMh"),o=n("siiD"),s=r.rotr64_hi,a=r.rotr64_lo,u=r.shr64_hi,c=r.shr64_lo,h=r.sum64,l=r.sum64_hi,d=r.sum64_lo,f=r.sum64_4_hi,p=r.sum64_4_lo,_=r.sum64_5_hi,m=r.sum64_5_lo,y=i.BlockHash,v=[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];function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function g(t,e,n,r,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}function w(t,e,n,r,i,o){var s=e&r^~e&o;return s<0&&(s+=4294967296),s}function x(t,e,n,r,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}function M(t,e,n,r,i,o){var s=e&r^e&o^r&o;return s<0&&(s+=4294967296),s}function S(t,e){var n=s(t,e,28)^s(e,t,2)^s(e,t,7);return n<0&&(n+=4294967296),n}function T(t,e){var n=a(t,e,28)^a(e,t,2)^a(e,t,7);return n<0&&(n+=4294967296),n}function A(t,e){var n=s(t,e,14)^s(t,e,18)^s(e,t,9);return n<0&&(n+=4294967296),n}function E(t,e){var n=a(t,e,14)^a(t,e,18)^a(e,t,9);return n<0&&(n+=4294967296),n}function L(t,e){var n=s(t,e,1)^s(t,e,8)^u(t,e,7);return n<0&&(n+=4294967296),n}function D(t,e){var n=a(t,e,1)^a(t,e,8)^c(t,e,7);return n<0&&(n+=4294967296),n}function C(t,e){var n=s(t,e,19)^s(e,t,29)^u(t,e,6);return n<0&&(n+=4294967296),n}function k(t,e){var n=a(t,e,19)^a(e,t,29)^c(t,e,6);return n<0&&(n+=4294967296),n}r.inherits(b,y),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(t,e){for(var n=this.W,r=0;r<32;r++)n[r]=t[e+r];for(;r<n.length;r+=2){var i=C(n[r-4],n[r-3]),o=k(n[r-4],n[r-3]),s=n[r-14],a=n[r-13],u=L(n[r-30],n[r-29]),c=D(n[r-30],n[r-29]),h=n[r-32],l=n[r-31];n[r]=f(i,o,s,a,u,c,h,l),n[r+1]=p(i,o,s,a,u,c,h,l)}},b.prototype._update=function(t,e){this._prepareBlock(t,e);var n=this.W,r=this.h[0],i=this.h[1],s=this.h[2],a=this.h[3],u=this.h[4],c=this.h[5],f=this.h[6],p=this.h[7],y=this.h[8],v=this.h[9],b=this.h[10],L=this.h[11],D=this.h[12],C=this.h[13],k=this.h[14],O=this.h[15];o(this.k.length===n.length);for(var I=0;I<n.length;I+=2){var P=k,R=O,Y=A(y,v),B=E(y,v),N=g(y,v,b,L,D),j=w(y,v,b,L,D,C),F=this.k[I],U=this.k[I+1],G=n[I],H=n[I+1],V=_(P,R,Y,B,N,j,F,U,G,H),z=m(P,R,Y,B,N,j,F,U,G,H);P=S(r,i),R=T(r,i),Y=x(r,i,s,a,u),B=M(r,i,s,a,u,c);var W=l(P,R,Y,B),X=d(P,R,Y,B);k=D,O=C,D=b,C=L,b=y,L=v,y=l(f,p,V,z),v=d(p,p,V,z),f=u,p=c,u=s,c=a,s=r,a=i,r=l(V,z,W,X),i=d(V,z,W,X)}h(this.h,0,r,i),h(this.h,2,s,a),h(this.h,4,u,c),h(this.h,6,f,p),h(this.h,8,y,v),h(this.h,10,b,L),h(this.h,12,D,C),h(this.h,14,k,O)},b.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},HfSF:function(t,e,n){var r=n("8kJ5"),i=n("pRMk").Buffer;t.exports=function(t,e){return i.from(t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed().toArray())}},HpGB:function(t,e,n){"use strict";var r=n("siiD"),i=n("wfEq");function o(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function s(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function a(t){return 1===t.length?"0"+t:t}function u(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16))}else for(var r=0,i=0;i<t.length;i++){var s=t.charCodeAt(i);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):o(t,i)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i<t.length;i++)n[i]=0|t[i];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=a(t[n].toString(16));return e},e.htonl=s,e.toHex32=function(t,e){for(var n="",r=0;r<t.length;r++){var i=t[r];"little"===e&&(i=s(i)),n+=u(i.toString(16))}return n},e.zero2=a,e.zero8=u,e.join32=function(t,e,n,i){var o=n-e;r(o%4==0);for(var s=new Array(o/4),a=0,u=e;a<s.length;a++,u+=4){var c;c="big"===i?t[u]<<24|t[u+1]<<16|t[u+2]<<8|t[u+3]:t[u+3]<<24|t[u+2]<<16|t[u+1]<<8|t[u],s[a]=c>>>0}return s},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r<t.length;r++,i+=4){var o=t[r];"big"===e?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,i){return t+e+n+r+i>>>0},e.sum64=function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,s=(o<r?1:0)+n+i;t[e]=s>>>0,t[e+1]=o},e.sum64_hi=function(t,e,n,r){return(e+r>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,i,o,s,a){var u=0,c=e;return u+=(c=c+r>>>0)<e?1:0,u+=(c=c+o>>>0)<o?1:0,t+n+i+s+(u+=(c=c+a>>>0)<a?1:0)>>>0},e.sum64_4_lo=function(t,e,n,r,i,o,s,a){return e+r+o+a>>>0},e.sum64_5_hi=function(t,e,n,r,i,o,s,a,u,c){var h=0,l=e;return h+=(l=l+r>>>0)<e?1:0,h+=(l=l+o>>>0)<o?1:0,h+=(l=l+a>>>0)<a?1:0,t+n+i+s+u+(h+=(l=l+c>>>0)<c?1:0)>>>0},e.sum64_5_lo=function(t,e,n,r,i,o,s,a,u,c){return e+r+o+a+c>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},I2oy:function(t,e,n){"use strict";n.r(e),n.d(e,"ModuleContextImpl",(function(){return o})),n.d(e,"ModuleDriverImpl",(function(){return s})),n.d(e,"UseModule",(function(){return a}));var r=n("bb6g"),i=n("QuL7"),o=function(t){var e=this;this.driver=t,this.addHooks=function(t){e.driver.addHooks(t)}},s=function(){function t(){this.modules=new Set,this.hooksSet=new Set}return t.prototype.addHooks=function(t){this.hooksSet.add(t)},t.prototype.addModule=function(t){this.modules.add(t)},t.prototype.hasModule=function(t){return this.modules.has(t)},t.prototype.runHook=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Object(r.b)(this,void 0,void 0,(function(){var n,i,o,s,a,u,c,h;return Object(r.d)(this,(function(l){switch(l.label){case 0:n=[];try{for(i=Object(r.g)(this.hooksSet),o=i.next();!o.done;o=i.next())s=o.value,"function"==typeof(a=s[t])&&(u=a.apply(void 0,Object(r.f)(e)),n.push(u))}catch(t){c={error:t}}finally{try{o&&!o.done&&(h=i.return)&&h.call(i)}finally{if(c)throw c.error}}return[4,Promise.all(n)];case 1:return l.sent(),[2]}}))}))},t.prototype.runSyncHook=function(t){for(var e,n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];try{for(var s=Object(r.g)(this.hooksSet),a=s.next();!a.done;a=s.next()){var u=a.value,c=u[t];"function"==typeof c&&c.apply(void 0,Object(r.f)(i))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}},t}(),a=function(){function t(t,e){this.driver=t,this.option=e}return t.prototype.install=function(t){return this.factory(this.driver,t)},Object.defineProperty(t.prototype,"name",{get:function(){return"use"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultOption",{get:function(){return{namespacePrefix:"$"}},enumerable:!1,configurable:!0}),t.prototype.factory=function(t,e){var n=Object.assign({},this.defaultOption,this.option).namespacePrefix;return function(r,o){if(t.hasModule(r))return this;if(!r||"function"!=typeof r.install||"string"!=typeof r.name)return i.a.warn("To install the plugin, you need to define the `name` property and the `install` method."),this;var s=""+n+r.name,a=r.install.call(r,e,o);return this[""+s]?(i.a.warn("There is a duplicate plugin name. `"+r.name+"` plugin namespace will be override."),this[""+s]=a):void 0!==a&&(this[""+s]=a),t.addModule(r),this}},t}()},IChs:function(t,e,n){"use strict";n.r(e),n.d(e,"getFriendship",(function(){return i}));var r=n("2q8S");function i(){return Object(r.a)(Object(r.b)("friendship"))}},IKWk:function(t,e,n){!function(t){"use strict";
  114. //! moment.js locale configuration
  115. t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})}(n("TiKg"))},IL7q:function(t,e,n){"use strict";
  116. /*
  117. object-assign
  118. (c) Sindre Sorhus
  119. @license MIT
  120. */var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function s(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=s(t),c=1;c<arguments.length;c++){for(var h in n=Object(arguments[c]))i.call(n,h)&&(u[h]=n[h]);if(r){a=r(n);for(var l=0;l<a.length;l++)o.call(n,a[l])&&(u[a[l]]=n[a[l]])}}return u}},IPtZ:function(t,e,n){"use strict";var r=n("pRMk").Buffer,i=n(2);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var e,n,i,o=r.allocUnsafe(t>>>0),s=this.head,a=0;s;)e=s.data,n=o,i=a,e.copy(n,i),a+=s.data.length,s=s.next;return o},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},Igas:function(t,e,n){"use strict";n.r(e),n.d(e,"Headers",(function(){return p})),n.d(e,"Request",(function(){return w})),n.d(e,"Response",(function(){return M})),n.d(e,"DOMException",(function(){return T})),n.d(e,"fetch",(function(){return A}));var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,i="URLSearchParams"in r,o="Symbol"in r&&"iterator"in Symbol,s="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in r,u="ArrayBuffer"in r;if(u)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],h=ArrayBuffer.isView||function(t){return t&&c.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function d(t){return"string"!=typeof t&&(t=String(t)),t}function f(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function _(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function y(t){var e=new FileReader,n=m(e);return e.readAsArrayBuffer(t),n}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:s&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:i&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():u&&s&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(t)||h(t))?this._bodyArrayBuffer=v(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var t=_(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=_(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(y)}),this.text=function(){var t,e,n,r=_(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=m(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(x)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(t,e){t=l(t),e=d(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},p.prototype.delete=function(t){delete this.map[l(t)]},p.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},p.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},p.prototype.set=function(t,e){this.map[l(t)]=d(e)},p.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},p.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),f(t)},p.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),f(t)},p.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),f(t)},o&&(p.prototype[Symbol.iterator]=p.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(t,e){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(e=e||{}).body;if(t instanceof w){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new p(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new p(e.headers)),this.method=(n=e.method||this.method||"GET",r=n.toUpperCase(),g.indexOf(r)>-1?r:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function x(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function M(t,e){if(!(this instanceof M))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},b.call(w.prototype),b.call(M.prototype),M.prototype.clone=function(){return new M(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},M.error=function(){var t=new M(null,{status:0,statusText:""});return t.type="error",t};var S=[301,302,303,307,308];M.redirect=function(t,e){if(-1===S.indexOf(e))throw new RangeError("Invalid status code");return new M(null,{status:e,headers:{location:t}})};var T=r.DOMException;try{new T}catch(t){(T=function(t,e){this.message=t,this.name=e;var n=Error(t);this.stack=n.stack}).prototype=Object.create(Error.prototype),T.prototype.constructor=T}function A(t,e){return new Promise((function(n,i){var o=new w(t,e);if(o.signal&&o.signal.aborted)return i(new T("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();e.append(r,i)}})),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;setTimeout((function(){n(new M(i,r))}),0)},a.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){i(new T("Aborted","AbortError"))}),0)},a.open(o.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&(s?a.responseType="blob":u&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof p?o.headers.forEach((function(t,e){a.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){a.setRequestHeader(t,d(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",c)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}A.polyfill=!0,r.fetch||(r.fetch=A,r.Headers=p,r.Request=w,r.Response=M)},Ih9J:function(t,e,n){var r=n("MIvV"),i=n("Irje"),o=n("w8x0");e.createCipher=e.Cipher=r.createCipher,e.createCipheriv=e.Cipheriv=r.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},"Imh/":function(t,e,n){var r=n("wfEq"),i=n("45vN").Reporter,o=n("qykS").Buffer;function s(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function a(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return t instanceof a||(t=new a(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}r(s,i),e.DecoderBuffer=s,s.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},s.prototype.restore=function(t){var e=new s(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var n=new s(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n},s.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=a,a.prototype.join=function(t,e){return t||(t=new o(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(t,e),e+=n.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},Irje:function(t,e,n){var r=n("xeyG"),i=n("pRMk").Buffer,o=n("89XF"),s=n("6rtq"),a=n("ql4I"),u=n("8gph"),c=n("peDq");function h(t,e,n){a.call(this),this._cache=new l,this._last=void 0,this._cipher=new u.AES(e),this._prev=i.from(n),this._mode=t,this._autopadding=!0}function l(){this.cache=i.allocUnsafe(0)}function d(t,e,n){var a=o[t.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof e&&(e=i.from(e)),e.length!==a.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===a.type?new s(a.module,e,n,!0):"auth"===a.type?new r(a.module,e,n,!0):new h(a.module,e,n)}n("wfEq")(h,a),h.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),r.push(n);return i.concat(r)},h.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var n=-1;for(;++n<e;)if(t[n+(16-e)]!==e)throw new Error("unable to decrypt data");if(16===e)return;return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},h.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},l.prototype.add=function(t){this.cache=i.concat([this.cache,t])},l.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},l.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var n=o[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=c(e,!1,n.key,n.iv);return d(t,r.key,r.iv)},e.createDecipheriv=d},J6Gk:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.deriveSecret=e.verify=e.sign=e.generateKey=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("wQqr")),u=r(n("p8Dw")),c=r(n("jGT8")),h=r(n("YM0L")),l=function(){var t=(0,s.default)(o.default.mark((function t(){var e,n,r,i,s,l,d=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=d.length>0&&void 0!==d[0]?d[0]:"P-256",n=a.getWebCrypto(),r=a.getNodeCrypto(),i=!0,l={},void 0===n||"function"!=typeof n.generateKey||"function"!=typeof n.exportKey){t.next=11;break}return t.next=8,u.generateKey(e,n).catch((function(t){s=t.message,i=!1}));case 8:l=t.sent,t.next=18;break;case 11:if(void 0===r){t.next=17;break}return t.next=14,c.generateKey(e,r).catch((function(t){s=t.message,i=!1}));case 14:l=t.sent,t.next=18;break;case 17:i=!1;case 18:if(!1!==i){t.next=22;break}return t.next=21,h.generateKey(e).catch((function(t){throw s="".concat(s," => ").concat(t.message),new Error("UnsupportedEnvironment: ".concat(s))}));case 21:l=t.sent;case 22:return t.abrupt("return",l);case 23:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e.generateKey=l;var d=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,l,d,f,p,_=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=_.length>2&&void 0!==_[2]?_[2]:"SHA-256","raw"===(i=_.length>3&&void 0!==_[3]?_[3]:"raw")||"der"===i){t.next=4;break}throw new Error("InvalidSignatureFormat");case 4:if(s=a.getWebCrypto(),l=a.getNodeCrypto(),d=!0,void 0===s||"function"!=typeof s.importKey||"function"!=typeof s.sign){t.next=13;break}return t.next=10,u.sign(e,n,r,i,s).catch((function(t){f=t.message,d=!1}));case 10:p=t.sent,t.next=20;break;case 13:if(void 0===l){t.next=19;break}return t.next=16,c.sign(e,n,r,i,l).catch((function(t){f=t.message,d=!1}));case 16:p=t.sent,t.next=20;break;case 19:d=!1;case 20:if(!1!==d){t.next=24;break}return t.next=23,h.sign(e,n,r,i).catch((function(t){throw f="".concat(f," => ").concat(t.message),new Error("UnsupportedEnvironment: ".concat(f))}));case 23:p=t.sent;case 24:return t.abrupt("return",p);case 25:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.sign=d;var f=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,l,d,f,p,_,m=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=m.length>3&&void 0!==m[3]?m[3]:"SHA-256","raw"===(s=m.length>4&&void 0!==m[4]?m[4]:"raw")||"der"===s){t.next=4;break}throw new Error("InvalidSignatureFormat");case 4:if(l=a.getWebCrypto(),d=a.getNodeCrypto(),f=!0,void 0===l||"function"!=typeof l.importKey||"function"!=typeof l.verify){t.next=13;break}return t.next=10,u.verify(e,n,r,i,s,l).catch((function(t){p=t.message,f=!1}));case 10:_=t.sent,t.next=20;break;case 13:if(void 0===d){t.next=19;break}return t.next=16,c.verify(e,n,r,i,s,d).catch((function(t){p=t.message,f=!1}));case 16:_=t.sent,t.next=20;break;case 19:f=!1;case 20:if(!1!==f){t.next=24;break}return t.next=23,h.verify(e,n,r,i,s).catch((function(t){throw p="".concat(p," => ").concat(t.message),new Error("UnsupportedEnvironment: ".concat(p))}));case 23:_=t.sent;case 24:return t.abrupt("return",_);case 25:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.verify=f;var p=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,l,d;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.crv===n.crv){t.next=2;break}throw new Error("UnmatchedCurveName");case 2:if(r=a.getWebCrypto(),i=a.getNodeCrypto(),s=!0,void 0===r||"function"!=typeof r.importKey||"function"!=typeof r.deriveBits){t.next=11;break}return t.next=8,u.deriveSecret(e,n,r).catch((function(t){l=t.message,s=!1}));case 8:d=t.sent,t.next=12;break;case 11:if(void 0!==i)try{d=c.deriveSecret(e,n,i)}catch(t){l=t.message,s=!1}else s=!1;case 12:if(!1!==s){t.next=23;break}return t.prev=13,t.next=16,h.deriveSecret(e,n);case 16:d=t.sent,t.next=23;break;case 19:throw t.prev=19,t.t0=t.catch(13),l="".concat(l," => ").concat(t.t0.message),new Error("UnsupportedEnvironment: ".concat(l));case 23:return t.abrupt("return",d);case 24:case"end":return t.stop()}}),t,null,[[13,19]])})));return function(e,n){return t.apply(this,arguments)}}();e.deriveSecret=p},JNFb:function(t,e,n){!function(t){"use strict";
  121. //! moment.js locale configuration
  122. function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},JZuQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={hashes:{"SHA3-512":{hashSize:64},"SHA3-384":{hashSize:48},"SHA3-256":{hashSize:32},"SHA3-224":{hashSize:28},"SHA-256":{hashSize:32},"SHA-384":{hashSize:48},"SHA-512":{hashSize:64},"SHA-1":{hashSize:20},MD5:{hashSize:16}}}},Jhzd:function(t,e,n){var r=n("pRMk").Buffer;function i(t,e,n){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=r.concat([t._prev.slice(1),r.from([n?e:i])]),i}e.encrypt=function(t,e,n){for(var o=e.length,s=r.allocUnsafe(o),a=-1;++a<o;)s[a]=i(t,e[a],n);return s}},Jlhb:function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},JpNb:function(t,e,n){"use strict";n.r(e),n.d(e,"clean",(function(){return X})),n.d(e,"get",(function(){return h})),n.d(e,"getAId",(function(){return p})),n.d(e,"getAccessToken",(function(){return Y})),n.d(e,"getAppData",(function(){return b})),n.d(e,"getByLiffId",(function(){return c})),n.d(e,"getClientId",(function(){return D})),n.d(e,"getConfig",(function(){return a})),n.d(e,"getContext",(function(){return d})),n.d(e,"getDecodedIDToken",(function(){return z})),n.d(e,"getExpireTime",(function(){return H})),n.d(e,"getFeatureToken",(function(){return O})),n.d(e,"getIDToken",(function(){return P})),n.d(e,"getIsSubsequentLiffApp",(function(){return y})),n.d(e,"getIsVideoAutoPlay",(function(){return _})),n.d(e,"getLoginTmp",(function(){return j})),n.d(e,"getMSIT",(function(){return M})),n.d(e,"getMST",(function(){return T})),n.d(e,"getMSTChallenge",(function(){return E})),n.d(e,"getMSTVerifier",(function(){return w})),n.d(e,"getProfilePlus",(function(){return m})),n.d(e,"getRawContext",(function(){return k})),n.d(e,"remove",(function(){return N})),n.d(e,"removeExpireTime",(function(){return V})),n.d(e,"removeLoginTmp",(function(){return U})),n.d(e,"set",(function(){return l})),n.d(e,"setAccessToken",(function(){return B})),n.d(e,"setAppData",(function(){return g})),n.d(e,"setClientId",(function(){return C})),n.d(e,"setConfig",(function(){return u})),n.d(e,"setContext",(function(){return f})),n.d(e,"setDecodedIDToken",(function(){return W})),n.d(e,"setExpireTime",(function(){return G})),n.d(e,"setFeatureToken",(function(){return I})),n.d(e,"setIDToken",(function(){return R})),n.d(e,"setIsSubsequentLiffApp",(function(){return v})),n.d(e,"setLoginTmp",(function(){return F})),n.d(e,"setMSIT",(function(){return S})),n.d(e,"setMST",(function(){return A})),n.d(e,"setMSTChallenge",(function(){return L})),n.d(e,"setMSTVerifier",(function(){return x}));var r=n("kp3F"),i=n("YaxJ"),o=n("eJvy"),s={};function a(){return s}function u(t){s=t}function c(t,e){if(!e)throw Object(o.j)(r.g,"liffId is necessary for liff.init()");var n=(Object(i.isInClient)()?sessionStorage:localStorage).getItem(r.m+":"+e+":"+t);try{return null===n?null:JSON.parse(n)}catch(t){return null}}function h(t){return c(t,a().liffId)}function l(t,e){var n=a().liffId;if(!n)throw Object(o.j)(r.g,"liffId is necessary for liff.init()");(Object(i.isInClient)()?sessionStorage:localStorage).setItem(r.m+":"+n+":"+t,JSON.stringify(e))}function d(){return h(r.n.CONTEXT)}function f(t){l(r.n.CONTEXT,t)}function p(){return((d()||{}).d||{}).aId}function _(){return((d()||{}).d||{}).autoplay||!1}function m(){return(d()||{}).profilePlus}function y(){return Boolean(h(r.n.IS_SUBSEQUENT_LIFF_APP))}function v(t){l(r.n.IS_SUBSEQUENT_LIFF_APP,t)}function b(){return h(r.n.APP_DATA)}function g(t){l(r.n.APP_DATA,t)}function w(){return h(r.n.MST_VERIFIER)}function x(t){l(r.n.MST_VERIFIER,t)}function M(){return h(r.n.MSIT)}function S(t){l(r.n.MSIT,t)}function T(){return h(r.n.MST)}function A(t){l(r.n.MST,t)}function E(){return h(r.n.MST_CHALLENGE)}function L(t){l(r.n.MST_CHALLENGE,t)}function D(){return h(r.n.CLIENT_ID)}function C(t){l(r.n.CLIENT_ID,t)}function k(){return h(r.n.RAW_CONTEXT)}function O(){return h(r.n.FEATURE_TOKEN)}function I(t){l(r.n.FEATURE_TOKEN,t)}function P(){return h(r.n.ID_TOKEN)}function R(t){l(r.n.ID_TOKEN,t)}function Y(){return h(r.n.ACCESS_TOKEN)}function B(t){l(r.n.ACCESS_TOKEN,t)}function N(t){var e=a().liffId;if(!e)throw Object(o.j)(r.g,"liffId is necessary for liff.init()");(Object(i.isInClient)()?sessionStorage:localStorage).removeItem(r.m+":"+e+":"+t)}function j(){return h(r.n.LOGIN_TMP)}function F(t){l(r.n.LOGIN_TMP,t)}function U(){N(r.n.LOGIN_TMP)}function G(t){var e=a();o.i.set(r.m+":"+r.n.EXPIRES+":"+e.liffId,t.getTime(),{expires:t.toUTCString(),path:"/",secure:null})}function H(){var t=a();return o.i.get(r.m+":"+r.n.EXPIRES+":"+t.liffId)}function V(){var t=a();o.i.remove(r.m+":"+r.n.EXPIRES+":"+t.liffId,{path:"/"})}function z(){return h(r.n.DECODED_ID_TOKEN)}function W(t){l(r.n.DECODED_ID_TOKEN,t)}function X(){Object.keys(r.n).forEach((function(t){N(r.n[t])})),V()}},"K/JZ":function(t,e,n){!function(t){"use strict";
  123. //! moment.js locale configuration
  124. t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},KSsY:function(t,e,n){var r=n("pRMk").Buffer;function i(t,e){this._block=r.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=r.from(t,e));for(var n=this._block,i=this._blockSize,o=t.length,s=this._len,a=0;a<o;){for(var u=s%i,c=Math.min(o-a,i-u),h=0;h<c;h++)n[u+h]=t[a+h];a+=c,(s+=c)%i==0&&this._update(n)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},KZ9t:function(t,e,n){"use strict";function r(){return navigator.language}n.r(e),n.d(e,"getLanguage",(function(){return r}))},KbIP:function(t,e,n){"use strict";n.r(e),n.d(e,"closeWindow",(function(){return a}));var r=n("eJvy"),i=n("NOeq"),o=n("53ng"),s=n("cAUJ");function a(){var t=Object(o.getLineVersion)();null!==t&&("ios"===Object(i.getOS)()&&Object(r.e)(t,"9.19")>=0||"android"===Object(i.getOS)()&&Object(r.e)(t,"11.6.0")>=0)?location.href="liff://close":window._liff&&window._liff.postMessage?null!==t&&Object(r.e)(t,"10.15.0")>=0?"ios"===Object(i.getOS)()?window._liff.postMessage("closeWindow",""):window._liff.postMessage("closeWindow","","",""):Object(s.call)("closeWindow"):window.close()}},KlUR:function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=c(t),s=r[0],a=r[1],u=new o(function(t,e,n){return 3*(e+n)/4-n}(0,s,a)),h=0,l=a>0?s-4:s;for(n=0;n<l;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=255&e;2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[h++]=255&e);1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e);return u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(h(t,s,s+16383>a?a:s+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a<u;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function h(t,e,n){for(var i,o,s=[],a=e;a<n;a+=3)i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),s.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},KxDR:function(t,e,n){!function(t){"use strict";
  125. //! moment.js locale configuration
  126. t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("TiKg"))},L2gJ:function(t,e,n){"use strict";(function(t,r){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=n("pRMk"),s=n("bPso"),a=o.Buffer,u=o.kMaxLength,c=t.crypto||t.msCrypto,h=Math.pow(2,32)-1;function l(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>h||t<0)throw new TypeError("offset must be a uint32");if(t>u||t>e)throw new RangeError("offset out of range")}function d(t,e,n){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>h||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>u)throw new RangeError("buffer too small")}function f(t,e,n,i){if(r.browser){var o=t.buffer,a=new Uint8Array(o,e,n);return c.getRandomValues(a),i?void r.nextTick((function(){i(null,t)})):t}if(!i)return s(n).copy(t,e),t;s(n,(function(n,r){if(n)return i(n);r.copy(t,e),i(null,t)}))}c&&c.getRandomValues||!r.browser?(e.randomFill=function(e,n,r,i){if(!(a.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)i=n,n=0,r=e.length;else if("function"==typeof r)i=r,r=e.length-n;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return l(n,e.length),d(r,n,e.length),f(e,n,r,i)},e.randomFillSync=function(e,n,r){void 0===n&&(n=0);if(!(a.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');l(n,e.length),void 0===r&&(r=e.length-n);return d(r,n,e.length),f(e,n,r)}):(e.randomFill=i,e.randomFillSync=i)}).call(this,n("pCvA"),n("5IsQ"))},LER9:function(t,e,n){var r=n("jnim"),i=n("1qNd"),o=n("wuJa"),s=n("Ih9J"),a=n("hnK/"),u=n("pRMk").Buffer;function c(t){var e;"object"!=typeof t||u.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=u.from(t));var n,c,h=o(t,e),l=h.tag,d=h.data;switch(l){case"CERTIFICATE":c=r.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=r.PublicKey.decode(d,"der")),n=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=r.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+l);case"ENCRYPTED PRIVATE KEY":d=function(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],c=t.algorithm.decrypt.cipher.iv,h=t.subjectPrivateKey,l=parseInt(o.split("-")[1],10)/8,d=a.pbkdf2Sync(e,n,r,l,"sha1"),f=s.createDecipheriv(o,d,c),p=[];return p.push(f.update(h)),p.push(f.final()),u.concat(p)}(d=r.EncryptedPrivateKey.decode(d,"der"),e);case"PRIVATE KEY":switch(n=(c=r.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:r.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=r.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+l);case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=r.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+l)}}t.exports=c,c.signature=r.signature},LRLT:function(t,e,n){"use strict";var r=e;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",n=0;n<t.length;n++)e+=i(t[n].toString(16));return e}r.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"!=typeof t){for(var r=0;r<t.length;r++)n[r]=0|t[r];return n}if("hex"===e){(t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t);for(r=0;r<t.length;r+=2)n.push(parseInt(t[r]+t[r+1],16))}else for(r=0;r<t.length;r++){var i=t.charCodeAt(r),o=i>>8,s=255&i;o?n.push(o,s):n.push(s)}return n},r.zero2=i,r.toHex=o,r.encode=function(t,e){return"hex"===e?o(t):t}},LpNI:function(t,e,n){var r=n("wfEq"),i=n("qykS").Buffer,o=n("+Gs+"),s=o.base,a=o.constants.der;function u(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){s.Node.call(this,"der",t)}function h(t){return t<10?"0"+t:t}t.exports=u,u.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},r(c,s.Node),c.prototype._encodeComposite=function(t,e,n,r){var o,s=function(t,e,n,r){var i;"seqof"===t?t="seq":"setof"===t&&(t="set");if(a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return r.error("Unknown tag: "+t);i=t}if(i>=31)return r.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6}(t,e,n,this.reporter);if(r.length<128)return(o=new i(2))[0]=s,o[1]=r.length,this._createEncoderBuffer([o,r]);for(var u=1,c=r.length;c>=256;c>>=8)u++;(o=new i(2+u))[0]=s,o[1]=128|u;c=1+u;for(var h=r.length;h>0;c--,h>>=8)o[c]=255&h;return this._createEncoderBuffer([o,r])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var n=new i(2*t.length),r=0;r<t.length;r++)n.writeUInt16BE(t.charCodeAt(r),2*r);return this._createEncoderBuffer(n)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},c.prototype._encodeObjid=function(t,e,n){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s\.]+/g);for(var r=0;r<t.length;r++)t[r]|=0}else if(Array.isArray(t)){t=t.slice();for(r=0;r<t.length;r++)t[r]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!n){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}var o=0;for(r=0;r<t.length;r++){var s=t[r];for(o++;s>=128;s>>=7)o++}var a=new i(o),u=a.length-1;for(r=t.length-1;r>=0;r--){s=t[r];for(a[u--]=127&s;(s>>=7)>0;)a[u--]=128|127&s}return this._createEncoderBuffer(a)},c.prototype._encodeTime=function(t,e){var n,r=new Date(t);return"gentime"===e?n=[h(r.getFullYear()),h(r.getUTCMonth()+1),h(r.getUTCDate()),h(r.getUTCHours()),h(r.getUTCMinutes()),h(r.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[h(r.getFullYear()%100),h(r.getUTCMonth()+1),h(r.getUTCDate()),h(r.getUTCHours()),h(r.getUTCMinutes()),h(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){var n=t.toArray();!t.sign&&128&n[0]&&n.unshift(0),t=new i(n)}if(i.isBuffer(t)){var r=t.length;0===t.length&&r++;var o=new i(r);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);r=1;for(var s=t;s>=256;s>>=8)r++;for(s=(o=new Array(r)).length-1;s>=0;s--)o[s]=255&t,t>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,n){var r,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r<o.length;r++)if(o[r]!==i.defaultBuffer[r])return!1;return!0}},Ltnq:function(t,e,n){"use strict";var r=n("siiD"),i=n("wfEq"),o=n("wTN5"),s=n("ta2Q");function a(){this.tmp=new Array(2),this.keys=null}function u(t){s.call(this,t);var e=new a;this._desState=e,this.deriveKeys(e,t.key)}i(u,s),t.exports=u,u.create=function(t){return new u(t)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.prototype.deriveKeys=function(t,e){t.keys=new Array(32),r.equal(e.length,this.blockSize,"Invalid key length");var n=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(n,i,t.tmp,0),n=t.tmp[0],i=t.tmp[1];for(var s=0;s<t.keys.length;s+=2){var a=c[s>>>1];n=o.r28shl(n,a),i=o.r28shl(i,a),o.pc2(n,i,t.keys,s)}},u.prototype._update=function(t,e,n,r){var i=this._desState,s=o.readUInt32BE(t,e),a=o.readUInt32BE(t,e+4);o.ip(s,a,i.tmp,0),s=i.tmp[0],a=i.tmp[1],"encrypt"===this.type?this._encrypt(i,s,a,i.tmp,0):this._decrypt(i,s,a,i.tmp,0),s=i.tmp[0],a=i.tmp[1],o.writeUInt32BE(n,s,r),o.writeUInt32BE(n,a,r+4)},u.prototype._pad=function(t,e){for(var n=t.length-e,r=e;r<t.length;r++)t[r]=n;return!0},u.prototype._unpad=function(t){for(var e=t[t.length-1],n=t.length-e;n<t.length;n++)r.equal(t[n],e);return t.slice(0,t.length-e)},u.prototype._encrypt=function(t,e,n,r,i){for(var s=e,a=n,u=0;u<t.keys.length;u+=2){var c=t.keys[u],h=t.keys[u+1];o.expand(a,t.tmp,0),c^=t.tmp[0],h^=t.tmp[1];var l=o.substitute(c,h),d=a;a=(s^o.permute(l))>>>0,s=d}o.rip(a,s,r,i)},u.prototype._decrypt=function(t,e,n,r,i){for(var s=n,a=e,u=t.keys.length-2;u>=0;u-=2){var c=t.keys[u],h=t.keys[u+1];o.expand(s,t.tmp,0),c^=t.tmp[0],h^=t.tmp[1];var l=o.substitute(c,h),d=s;s=(a^o.permute(l))>>>0,a=d}o.rip(s,a,r,i)}},LxOh:function(t,e,n){"use strict";t.exports=function(t,e){return function(n,r){var i=2*r,o=2*e;n[i]=t[o],n[i+1]=t[o+1]}}},Ly9c:function(t,e,n){!function(t){"use strict";
  127. //! moment.js locale configuration
  128. var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n("TiKg"))},MEmy:function(t,e,n){var r=n("pRMk").Buffer,i=n("cXWM"),o=n("5Wkw"),s=n("6MVH").ec,a=n("8kJ5"),u=n("LER9"),c=n("Jlhb");function h(t,e,n,o){if((t=r.from(t.toArray())).length<e.byteLength()){var s=r.alloc(e.byteLength()-t.length);t=r.concat([s,t])}var a=n.length,u=function(t,e){t=(t=l(t,e)).mod(e);var n=r.from(t.toArray());if(n.length<e.byteLength()){var i=r.alloc(e.byteLength()-n.length);n=r.concat([i,n])}return n}(n,e),c=r.alloc(a);c.fill(1);var h=r.alloc(a);return h=i(o,h).update(c).update(r.from([0])).update(t).update(u).digest(),c=i(o,h).update(c).digest(),{k:h=i(o,h).update(c).update(r.from([1])).update(t).update(u).digest(),v:c=i(o,h).update(c).digest()}}function l(t,e){var n=new a(t),r=(t.length<<3)-e.bitLength();return r>0&&n.ishrn(r),n}function d(t,e,n){var o,s;do{for(o=r.alloc(0);8*o.length<t.bitLength();)e.v=i(n,e.k).update(e.v).digest(),o=r.concat([o,e.v]);s=l(o,t),e.k=i(n,e.k).update(e.v).update(r.from([0])).digest(),e.v=i(n,e.k).update(e.v).digest()}while(-1!==s.cmp(t));return s}function f(t,e,n,r){return t.toRed(a.mont(n)).redPow(e).fromRed().mod(r)}t.exports=function(t,e,n,i,p){var _=u(e);if(_.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var n=c[e.curve.join(".")];if(!n)throw new Error("unknown curve "+e.curve.join("."));var i=new s(n).keyFromPrivate(e.privateKey).sign(t);return r.from(i.toDER())}(t,_)}if("dsa"===_.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,n){var i,o=e.params.priv_key,s=e.params.p,u=e.params.q,c=e.params.g,p=new a(0),_=l(t,u).mod(u),m=!1,y=h(o,u,t,n);for(;!1===m;)i=d(u,y,n),p=f(c,i,s,u),0===(m=i.invm(u).imul(_.add(o.mul(p))).mod(u)).cmpn(0)&&(m=!1,p=new a(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t));128&e[0]&&(e=[0].concat(e));var n=[48,t.length+e.length+4,2,t.length];return n=n.concat(t,[2,e.length],e),r.from(n)}(p,m)}(t,_,n)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=r.concat([p,t]);for(var m=_.modulus.byteLength(),y=[0,1];t.length+y.length+1<m;)y.push(255);y.push(0);for(var v=-1;++v<t.length;)y.push(t[v]);return o(y,_)},t.exports.getKey=h,t.exports.makeKey=d},MIvV:function(t,e,n){var r=n("89XF"),i=n("xeyG"),o=n("pRMk").Buffer,s=n("6rtq"),a=n("ql4I"),u=n("8gph"),c=n("peDq");function h(t,e,n){a.call(this),this._cache=new d,this._cipher=new u.AES(e),this._prev=o.from(n),this._mode=t,this._autopadding=!0}n("wfEq")(h,a),h.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get();)n=this._mode.encrypt(this,e),r.push(n);return o.concat(r)};var l=o.alloc(16,16);function d(){this.cache=o.allocUnsafe(0)}function f(t,e,n){var a=r[t.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=o.from(e)),e.length!==a.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof n&&(n=o.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===a.type?new s(a.module,e,n):"auth"===a.type?new i(a.module,e,n):new h(a.module,e,n)}h.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(l))throw this._cipher.scrub(),new Error("data not multiple of block length")},h.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},d.prototype.add=function(t){this.cache=o.concat([this.cache,t])},d.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},d.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),n=-1;++n<t;)e.writeUInt8(t,n);return o.concat([this.cache,e])},e.createCipheriv=f,e.createCipher=function(t,e){var n=r[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=c(e,!1,n.key,n.iv);return f(t,i.key,i.iv)}},MNOf:function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,o){e=e||"&",n=n||"=";var s={};if("string"!=typeof t||0===t.length)return s;var a=/\+/g;t=t.split(e);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var c=t.length;u>0&&c>u&&(c=u);for(var h=0;h<c;++h){var l,d,f,p,_=t[h].replace(a,"%20"),m=_.indexOf(n);m>=0?(l=_.substr(0,m),d=_.substr(m+1)):(l=_,d=""),f=decodeURIComponent(l),p=decodeURIComponent(d),r(s,f)?i(s[f])?s[f].push(p):s[f]=[s[f],p]:s[f]=p}return s};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},MTcW:function(t,e,n){!function(t){"use strict";
  129. //! moment.js locale configuration
  130. t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("TiKg"))},"MV+h":function(t,e,n){var r=n("pRMk").Buffer;function i(t,e,n){for(var r,i,s=-1,a=0;++s<8;)r=e&1<<7-s?128:0,a+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^r))>>s%8,t._prev=o(t._prev,n?r:i);return a}function o(t,e){var n=t.length,i=-1,o=r.allocUnsafe(t.length);for(t=r.concat([t,r.from([e])]);++i<n;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,n){for(var o=e.length,s=r.allocUnsafe(o),a=-1;++a<o;)s[a]=i(t,e[a],n);return s}},MWI9:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.pbkdf1=e.pbkdf2=void 0;var i=r(n("NthX")),o=r(n("fFdx")),s=r(n("SDgz")),a=r(n("cO3T")),u=r(n("PXYQ")),c=r(n("JZuQ")),h=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,a,h){var d,p,_,m,y,v,b;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(f(e,n,r,a,h),"string"==typeof e&&(e=s.default.encoder.stringToArrayBuffer(e)),d=c.default.hashes[h].hashSize,!(a>(Math.pow(2,32)-1)*d)){t.next=5;break}throw new Error("DerivedKeyTooLong");case 5:for(p=Math.ceil(a/d),_=a-(p-1)*d,m=function(){var t=(0,o.default)(i.default.mark((function t(o){var s,a,c,d;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=new Uint8Array(n.length+4)).set(n),s.set(l(o+1,4),n.length),t.next=5,u.default.compute(e,s,h);case 5:a=t.sent,c=new Uint8Array(a),d=1;case 8:if(!(d<r)){t.next=16;break}return t.next=11,u.default.compute(e,a,h);case 11:a=t.sent,c=a.map((function(t,e){return t^c[e]}));case 13:d++,t.next=8;break;case 16:return t.abrupt("return",{index:o,value:c});case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),y=[],v=new Uint8Array(a),b=0;b<p;b++)y.push(m(b));return t.next=13,Promise.all(y);case 13:return t.sent.forEach((function(t){t.index!==p-1?v.set(t.value,t.index*d):v.set(t.value.slice(0,_),t.index*d)})),t.abrupt("return",v);case 16:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}();e.pbkdf2=h;var l=function(t,e){for(var n=new Uint8Array(e),r=0;r<e;r++)n[r]=t>>8*(e-r-1);return n},d=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o,u){var h,l;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(f(e,n,r,o,u),"string"==typeof e&&(e=s.default.encoder.stringToArrayBuffer(e)),!(o>c.default.hashes[u].hashSize)){t.next=4;break}throw new Error("DerivedKeyTooLong");case 4:(h=new Uint8Array(e.length+n.length)).set(e),h.set(n,e.length),l=0;case 8:if(!(l<r)){t.next=15;break}return t.next=11,a.default.compute(h,u);case 11:h=t.sent;case 12:l++,t.next=8;break;case 15:return t.abrupt("return",h.slice(0,o));case 16:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}();e.pbkdf1=d;var f=function(t,e,n,r,i){if("string"!=typeof t&&!(t instanceof Uint8Array))throw new Error("PasswordIsNotUint8ArrayNorString");if(!(e instanceof Uint8Array))throw new Error("SaltMustBeUint8Array");if("number"!=typeof n||n<=0)throw new Error("InvalidIterationCount");if("number"!=typeof r||r<=0)throw new Error("InvalidDerivedKeyLength");if(Object.keys(c.default.hashes).indexOf(i)<0)throw new Error("UnsupportedHashAlgorithm");return!0}},MX9p:function(t,e,n){!function(t){"use strict";
  131. //! moment.js locale configuration
  132. var e="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function o(t,e,n){var r=t+" ";switch(n){case"ss":return r+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return r+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return r+(i(t)?"godziny":"godzin");case"ww":return r+(i(t)?"tygodnie":"tygodni");case"MM":return r+(i(t)?"miesiące":"miesięcy");case"yy":return r+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,r){return t?/D MMMM/.test(r)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},Mjob:function(t,e,n){"use strict";var r=n("HpGB"),i=n("a/ED");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},N7sV:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.verify=e.compute=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=i(n("WpTu")),u=r(n("wQqr")),c=i(n("cO3T")),h=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,c,h,d,f,p,_,m,y,v=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=v.length>2&&void 0!==v[2]?v[2]:"SHA-256",i=u.getWebCryptoAll(),s=u.getNodeCrypto(),c=!0,void 0===i||"function"!=typeof i.importKey||"function"!=typeof i.sign){t.next=38;break}if(void 0!==window.msCrypto){t.next=21;break}return t.prev=6,t.next=9,i.importKey("raw",e,{name:"HMAC",hash:{name:r}},!1,["sign","verify"]);case 9:return h=t.sent,t.next=12,i.sign({name:"HMAC",hash:{name:r}},h,n);case 12:return d=t.sent,t.abrupt("return",new Uint8Array(d));case 16:t.prev=16,t.t0=t.catch(6),c=!1;case 19:t.next=36;break;case 21:return t.prev=21,f=function(t,e,n,r,o){return new Promise((function(s,a){var u=i.importKey(t,e,n,r,o);u.oncomplete=function(t){s(t.target.result)},u.onerror=function(){a("KeyImportingFailed")}}))},p=function(t,e,n){return new Promise((function(r,o){var s=i.sign({name:"HMAC",hash:{name:t}},e,n);s.oncomplete=function(t){r(new Uint8Array(t.target.result))},s.onerror=function(){o("ComputingHMACFailed")}}))},t.next=26,f("raw",e,{name:"HMAC",hash:{name:r}},!1,["sign","verify"]);case 26:return _=t.sent,t.next=29,p(r,_,n);case 29:return m=t.sent,t.abrupt("return",new Uint8Array(m));case 33:t.prev=33,t.t1=t.catch(21),c=!1;case 36:t.next=50;break;case 38:if(void 0===s){t.next=49;break}return t.prev=39,y=s.createHmac(a.default.hashes[r].nodeName,e),t.abrupt("return",new Uint8Array(y.update(n).digest()));case 44:t.prev=44,t.t2=t.catch(39),c=!1;case 47:t.next=50;break;case 49:c=!1;case 50:if(c){t.next=60;break}return t.prev=51,t.next=54,l(e,n,r);case 54:return t.abrupt("return",t.sent);case 57:throw t.prev=57,t.t3=t.catch(51),new Error("UnsupportedEnvironments");case 60:case"end":return t.stop()}}),t,null,[[6,16],[21,33],[39,44],[51,57]])})));return function(e,n){return t.apply(this,arguments)}}();e.compute=h;var l=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,u,h,l,d,f,p;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=a.default.hashes[r].blockSize,s=a.default.hashes[r].hashSize,!(e.length>i)){t.next=6;break}return t.next=5,c.default.compute(e,r);case 5:e=t.sent;case 6:return(u=new Uint8Array(i)).set(e),h=u.map((function(t){return 255&(54^t)})),l=u.map((function(t){return 255&(92^t)})),(d=new Uint8Array(i+n.length)).set(h),d.set(n,i),t.next=15,c.default.compute(d,r);case 15:return f=t.sent,(p=new Uint8Array(i+s)).set(l),p.set(f,i),t.abrupt("return",c.default.compute(p,r));case 20:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),d=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,a=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=a.length>3&&void 0!==a[3]?a[3]:"SHA-256",r instanceof Uint8Array){t.next=3;break}throw new Error("InvalidInputMac");case 3:return t.next=5,h(e,n,i);case 5:return s=t.sent,t.abrupt("return",r.toString()===s.toString());case 7:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.verify=d},NOeq:function(t,e,n){"use strict";var r;function i(){if(!r){var t=window.navigator.userAgent.toLowerCase();r=/iphone|ipad|ipod/.test(t)?"ios":/android/.test(t)?"android":"web"}return r}function o(){r=void 0}n.r(e),n.d(e,"_cleanupCachedOS",(function(){return o})),n.d(e,"getOS",(function(){return i}))},NQcR:function(t,e,n){!function(t){"use strict";
  133. //! moment.js locale configuration
  134. t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("TiKg"))},NToG:function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},NYr8:function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},NthX:function(t,e,n){t.exports=n("wcNg")},Nx06:function(t,e,n){!function(t){"use strict";
  135. //! moment.js locale configuration
  136. var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(t){return"ös"===t||"ÖS"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var r=t%10;return t+(e[r]||e[t%100-r]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("TiKg"))},O477:function(t,e,n){"use strict";var r=n("tFbo"),i=n("LRLT"),o=n("siiD");function s(t){if(!(this instanceof s))return new s(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),n=i.toArray(t.nonce,t.nonceEnc||"hex"),r=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,r)}t.exports=s,s.prototype._init=function(t,e,n){var r=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},s.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},s.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},s.prototype.reseed=function(t,e,n,r){"string"!=typeof e&&(r=n,n=e,e=null),t=i.toArray(t,e),n=i.toArray(n,r),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},s.prototype.generate=function(t,e,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(r=n,n=e,e=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var s=o.slice(0,t);return this._update(n),this._reseed++,i.encode(s,e)}},OBDY:function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},ODEr:function(t,e,n){var r=n("ql4I"),i=n("oBSY"),o=n("wfEq"),s=n("pRMk").Buffer,a={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function u(t){r.call(this);var e,n=t.mode.toLowerCase(),i=a[n];e=t.decrypt?"decrypt":"encrypt";var o=t.key;s.isBuffer(o)||(o=s.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=s.concat([o,o.slice(0,8)]));var u=t.iv;s.isBuffer(u)||(u=s.from(u)),this._des=i.create({key:o,iv:u,type:e})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],t.exports=u,o(u,r),u.prototype._update=function(t){return s.from(this._des.update(t))},u.prototype._final=function(){return s.from(this._des.final())}},OHXD:function(t,e,n){"use strict";var r=n("tImM");function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},OLMR:function(t,e,n){"use strict";t.exports=o;var r=n("+t3Y"),i=Object.create(n("nrnY"));function o(t){if(!(this instanceof o))return new o(t);r.call(this,t)}i.inherits=n("wfEq"),i.inherits(o,r),o.prototype._transform=function(t,e,n){n(null,t)}},OOa2:function(t,e,n){"use strict";n.r(e),n.d(e,"getAppData",(function(){return H})),n.d(e,"getMSTByMSIT",(function(){return G})),n.d(e,"getMainWindowOrigin",(function(){return C})),n.d(e,"setMainWindowOrigin",(function(){return D})),n.d(e,"subWindow",(function(){return V}));var r=n("kp3F"),i=n("eJvy"),o=n("YaxJ"),s=n("YVk5"),a=n("bb6g"),u=n("QuL7"),c=n("NOeq"),h=n("2q8S"),l=n("JpNb"),d=n("bI9i"),f=n("KbIP");function p(t){var e=Object(h.b)("subWindowGetOrigin");return Object(h.a)(e(t))}var _={};function m(t,e){t&&_[t]&&_[t].forEach((function(t){t(e)}))}var y,v,b,g,w=function(){function t(t){this.storage=t}return t.prototype.getItem=function(t){return this.storage.getItem(this.getKeyPrefix()+":"+t)},t.prototype.setItem=function(t,e){this.storage.setItem(this.getKeyPrefix()+":"+t,e)},t.prototype.removeItem=function(t){this.storage.removeItem(this.getKeyPrefix()+":"+t)},t.prototype.clear=function(){this.storage.clear()},t.prototype.getKeyPrefix=function(){return r.m+":"+this.getLiffId()},t.prototype.getLiffId=function(){var t=Object(l.getConfig)().liffId;if(!t)throw Object(i.j)(r.g,"liffId is necessary for liff.init()");return t},t}(),x=new w(i.o);function M(){var t=x.getItem("subWindowStatusUpdated");return null!==t&&JSON.parse(t)}function S(t){x.setItem("subWindowStatusUpdated",String(t))}function T(t){y=t}function A(){return y}function E(){return b}var L=new w(window.sessionStorage);function D(t){L.setItem("mainWindowOrigin",t)}function C(){return L.getItem("mainWindowOrigin")}function k(t,e){return void 0===e&&(e={}),Object(a.b)(this,void 0,void 0,(function(){var n,o,s,c,h,d,f;return Object(a.d)(this,(function(a){switch(a.label){case 0:if(n=Object(l.getConfig)().liffId,o=C(),!window.opener||!o||!n)throw Object(i.j)(r.c);s=!1,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,p(n)];case 2:return c=a.sent(),s=c.subwindowCommonModule,[3,4];case 3:throw h=a.sent(),u.a.debug(h),Object(i.j)(r.c);case 4:return d=JSON.stringify(e),f=s?o:location.origin,window.opener.postMessage({status:t,result:d},f),[2,{status:t,result:d}]}}))}))}function O(t){var e=g;if(t.origin===e){var n=t.data;if(n){var i,o=n.status,s=n.result;try{i=JSON.parse(s||"{}")}catch(t){i={}}switch(o){case r.t:window.clearInterval(E());break;case r.p:case r.x:S(!0),window.clearInterval(E()),window.removeEventListener("message",O),m(o,i);break;default:u.a.debug("unexpected message")}}}}function I(){window.clearInterval(v),window.clearInterval(E()),window.removeEventListener("message",O)}function P(t){return Object(a.b)(this,void 0,void 0,(function(){var e,n,o,s,u,c,l,d,f,p,_;return Object(a.d)(this,(function(a){switch(a.label){case 0:e=t.msit,n=t.mstChallenge,o=t.onSuccess,s=t.onError,u=t.reconnectCount,c=void 0===u?0:u,a.label=1;case 1:return a.trys.push([1,3,,6]),[4,Object(h.c)(Object(h.b)("subWindowSubscribe"),{method:"POST",body:JSON.stringify({msit:e,mstChallenge:n})})];case 2:return l=a.sent(),[3,6];case 3:return a.sent(),[4,R()];case 4:return a.sent(),[4,B(P,{msit:e,mstChallenge:n,onSuccess:o,onError:s,reconnectCount:c+=1})];case 5:return a.sent(),[2];case 6:return l.status>=500?[4,R()]:[3,9];case 7:return a.sent(),[4,B(P,{msit:e,mstChallenge:n,onSuccess:o,onError:s,reconnectCount:c+=1})];case 8:return a.sent(),[3,20];case 9:return l.status>=400&&500>l.status?[4,Y(l)]:[3,11];case 10:return(f=a.sent())?(d=f.errorDetail,s(Object(i.j)(r.f,d))):s(Object(i.j)(r.z,"Some error happened in the server")),[3,20];case 11:return 200!==l.status?[3,19]:[4,Y(l)];case 12:return(f=a.sent())?[3,13]:(s(Object(i.j)(r.z,"Some error happened in the server")),[3,18]);case 13:switch(p=f.status,_=f.result,p){case r.r:return[3,14];case r.q:case r.p:case r.x:return[3,16]}return[3,17];case 14:return[4,B(P,{msit:e,mstChallenge:n,onSuccess:o,onError:s,reconnectCount:c})];case 15:return a.sent(),[3,18];case 16:return o(p,_),[3,18];case 17:s(Object(i.j)(r.z,"Some error happened in the server")),a.label=18;case 18:return[3,20];case 19:s(Object(i.j)(r.z,"Some error happened in the server")),a.label=20;case 20:return[2]}}))}))}function R(){return new Promise((function(t){return setTimeout(t,1e3)}))}function Y(t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t.json()];case 1:return[2,e.sent()];case 2:return e.sent(),[2,null];case 3:return[2]}}))}))}function B(t,e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){switch(n.label){case 0:return e.reconnectCount>=10?(e.onError(Object(i.j)(r.z,"Failed to connect")),[3,3]):[3,1];case 1:return[4,t(e)];case 2:n.sent(),n.label=3;case 3:return[2]}}))}))}function N(t){var e={};return Object.keys(t).forEach((function(n){"closeButtonColor"===n?"white"===t[n]?e[n]="#ffffff":e[n]="#000000":e[n]=t[n]})),e}var j={height:"full",closeButtonPosition:"right",closeButtonColor:"black",closeButtonLabel:""};function F(){if(!Object(d.isSubWindow)())throw Object(i.j)(r.y,"this api can be only called in child window")}function U(t){if(!t.mst||!t.status)return Promise.reject(Object(i.j)(r.f,"no proper argument"));var e=JSON.stringify(t);return Object(h.a)(Object(h.b)("subWindowPost"),{method:"POST",body:e})}function G(t){var e=t.msit,n=t.mstVerifier;return e&&n?Object(h.a)(Object(h.b)("subWindowGetMSTByMSIT"),{method:"POST",body:JSON.stringify({msit:e,mstVerifier:n})}):Promise.reject(Object(i.j)(r.f,"no proper argument"))}function H(t){var e=t.mst;return e?Object(h.a)(Object(h.b)("subWindowGetAppData"),{method:"POST",body:JSON.stringify({mst:e})}):Promise.reject(Object(i.j)(r.f,"no proper argument"))}var V={on:function(t,e){_[t]||(_[t]=[]),_[t].push(e)},off:function(t,e){if(_[t]){var n=_[t].indexOf(e);n>=0&&_[t].splice(n,1)}},open:function(t){if(!Object(s.isApiAvailable)("subwindowOpen"))throw Object(i.j)(r.d,"No permission for liff.subWindow.open()");return function(){if(Object(d.isSubWindow)())throw Object(i.j)(r.y,"this api can be only called in parent window")}(),Object(o.isInClient)()?function(t){var e=t.appData,n=t.native,o=Object(l.getConfig)().liffId,s=Object(l.getMSTChallenge)(),a=Object(i.l)(t.url);if(!o)return Promise.reject(Object(i.j)(r.y,"liffId is invalid"));if(!s)return Promise.reject(Object(i.j)(r.y,"mst_challenge is invalid"));if(!a)return Promise.reject(Object(i.j)(r.f,"params.url must be liff url"));var u=Object.assign({},j,n);return function(t){var e=t.mainLiffId,n=t.subLiffId,o=t.mstChallenge,s=t.appData,a=t.view;return e&&o?Object(h.a)(Object(h.b)("subWindowGetMSIT"),{method:"POST",body:JSON.stringify({mainLiffId:e,subLiffId:n,mstChallenge:o,appData:s,view:a})}):Promise.reject(Object(i.j)(r.f,"no proper argument"))}({mainLiffId:o,subLiffId:a,mstChallenge:s,appData:e,view:N(u)}).then((function(e){var n=e.msit;P({msit:n,mstChallenge:s,onSuccess:function(t,e){m(t,e)},onError:function(t){m(r.r,t)}}),function(t,e){var n=t.url,i=new URLSearchParams;i.set("msit",e),location.href=r.v+"?url="+encodeURIComponent(n)+"&"+i.toString()}(t,n)}))}(t):function(t){var e=Object(i.l)(t.url);if(!e)return Promise.reject(Object(i.j)(r.f,"params.url must be liff url"));!function(){I(),S(!1);var t=A();t&&(t.close(),T(null))}();var n,o,s,u,h=t.url,l=t.appData,d=new URL(h);d.searchParams.append(r.u,"true"),d.hostname=(n=d.hostname,s=(o=Object(a.e)(n.split(".")))[0],u=o.slice(1),Object(a.f)([s+"-ext"],u).join("."));var f=d.toString();return T("ios"!==Object(c.getOS)()||Object(i.p)()?window.open("","liffsubwindow","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):window.open()),p(e).then((function(t){var e,n=t.origin,o=t.subwindowCommonModule,s=A();if(!s)throw Object(i.j)(r.a);o?(function(t){g=t}(n),window.addEventListener("message",O),s.location.href=f,e=function(t,e){var n=A(),i={type:r.t};return e&&(i.message=JSON.stringify(e)),window.setInterval((function(){null==n||n.postMessage(i,t)}),r.s)}(n,l),b=e,function(t){v=t}(window.setInterval((function(){var t=A();t&&t.closed&&(I(),T(null),!1===M()&&(S(!0),m(r.q,{})))}),r.w))):s.close()}))}(t)},cancel:function(t){return void 0===t&&(t={}),F(),Object(o.isInClient)()?function(t){return void 0===t&&(t={}),Object(a.b)(this,void 0,void 0,(function(){var e,n;return Object(a.d)(this,(function(o){switch(o.label){case 0:return(e=Object(l.getMST)())?[4,U({mst:e,status:r.p,result:t})]:[2,Promise.reject(Object(i.j)(r.y,"mst is invalid"))];case 1:return n=o.sent(),S(!0),[2,n]}}))}))}(t):function(t){return void 0===t&&(t={}),k(r.p,t)}(t)},submit:function(t){return void 0===t&&(t={}),F(),Object(o.isInClient)()?function(t){return void 0===t&&(t={}),Object(a.b)(this,void 0,void 0,(function(){var e,n;return Object(a.d)(this,(function(o){switch(o.label){case 0:return(e=Object(l.getMST)())?[4,U({mst:e,status:r.x,result:t})]:[2,Promise.reject(Object(i.j)(r.y,"mst is invalid"))];case 1:return n=o.sent(),S(!0),[2,n]}}))}))}(t):function(t){return void 0===t&&(t={}),k(r.x,t)}(t)},close:function(){return F(),Object(o.isInClient)()?function(){return Object(a.b)(this,void 0,void 0,(function(){var t;return Object(a.d)(this,(function(e){switch(e.label){case 0:return!1!==M()?[3,2]:(t=Object(l.getMST)())?[4,U({mst:t,status:r.q,result:{}})]:[2,Promise.reject(Object(i.j)(r.y,"mst is invalid"))];case 1:e.sent(),e.label=2;case 2:return Object(f.closeWindow)(),[2]}}))}))}():(Object(f.closeWindow)(),Promise.resolve())},getAppData:function(){return F(),function(){var t,e=Object(l.getAppData)();try{t=e?JSON.parse(e):{}}catch(e){t={}}return Promise.resolve(t)}()}}},Odsn:function(t,e,n){!function(t){"use strict";
  137. //! moment.js locale configuration
  138. t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},Of5m:function(t,e,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},Olfb:function(t,e,n){"use strict";var r=n("qykS").Buffer,i=n("wfEq"),o=n("ThzV"),s=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],l=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function f(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function _(t,e,n,r,i,o,s,a){return p(t+(e^n^r)+o+s|0,a)+i|0}function m(t,e,n,r,i,o,s,a){return p(t+(e&n|~e&r)+o+s|0,a)+i|0}function y(t,e,n,r,i,o,s,a){return p(t+((e|~n)^r)+o+s|0,a)+i|0}function v(t,e,n,r,i,o,s,a){return p(t+(e&r|n&~r)+o+s|0,a)+i|0}function b(t,e,n,r,i,o,s,a){return p(t+(e^(n|~r))+o+s|0,a)+i|0}i(f,o),f.prototype._update=function(){for(var t=s,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,f=0|this._e,g=0|this._a,w=0|this._b,x=0|this._c,M=0|this._d,S=0|this._e,T=0;T<80;T+=1){var A,E;T<16?(A=_(n,r,i,o,f,t[a[T]],l[0],c[T]),E=b(g,w,x,M,S,t[u[T]],d[0],h[T])):T<32?(A=m(n,r,i,o,f,t[a[T]],l[1],c[T]),E=v(g,w,x,M,S,t[u[T]],d[1],h[T])):T<48?(A=y(n,r,i,o,f,t[a[T]],l[2],c[T]),E=y(g,w,x,M,S,t[u[T]],d[2],h[T])):T<64?(A=v(n,r,i,o,f,t[a[T]],l[3],c[T]),E=m(g,w,x,M,S,t[u[T]],d[3],h[T])):(A=b(n,r,i,o,f,t[a[T]],l[4],c[T]),E=_(g,w,x,M,S,t[u[T]],d[4],h[T])),n=f,f=o,o=p(i,10),i=r,r=A,g=S,S=M,M=p(x,10),x=w,w=E}var L=this._b+i+M|0;this._b=this._c+o+S|0,this._c=this._d+f+g|0,this._d=this._e+n+w|0,this._e=this._a+r+x|0,this._a=L},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=r.alloc?r.alloc(20):new r(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=f},OmE2:function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},PXYQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"compute",{enumerable:!0,get:function(){return r.compute}}),Object.defineProperty(e,"verify",{enumerable:!0,get:function(){return r.verify}}),e.default=void 0;var r=n("N7sV"),i={compute:r.compute,verify:r.verify};e.default=i},Pfmo:function(t,e,n){!function(t){"use strict";
  139. //! moment.js locale configuration
  140. var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("TiKg"))},PunD:function(t,e){var n=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!=e)throw new TypeError("Bad key length")}},Pyak:function(t,e,n){"use strict";n.r(e),n.d(e,"PermissionModule",(function(){return w})),n.d(e,"attachChecker",(function(){return g})),n.d(e,"module",(function(){return x}));var r=n("bb6g"),i=n("kp3F"),o=n("eJvy"),s=n("JpNb"),a=n("2q8S"),u=n("YaxJ"),c=n("OOa2"),h=n("YVk5");function l(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,u,c,h,l,d;return Object(r.d)(this,(function(f){switch(f.label){case 0:return function(t){if(!i.l.includes(t))throw Object(o.j)(i.f,"Unexpected permission name.");var e=Object(s.getContext)();return!!(null==e?void 0:e.scope.includes(t))}(t)?(e=Object(s.getAccessToken)())?[4,Object(a.d)(e)]:[3,2]:[2,{state:"unavailable"}];case 1:n=f.sent(),u=unescape(n.scope).split(" ");try{for(c=Object(r.g)(u),h=c.next();!h.done;h=c.next())if(h.value.includes(t))return[2,{state:"granted"}]}catch(t){l={error:t}}finally{try{h&&!h.done&&(d=c.return)&&d.call(c)}finally{if(l)throw l.error}}return[2,{state:"prompt"}];case 2:throw Object(o.j)(i.y,"LiffId is not found.")}}))}))}function d(){var t,e,n=Object(s.getContext)();return!!n&&"square_chat"!==n.type&&(Object(h.isApiAvailable)("skipChannelVerificationScreen")||!Object(u.isInClient)()&&(null===(e=null===(t=n.availability)||void 0===t?void 0:t.skipChannelVerificationScreen)||void 0===e?void 0:e.permission))}function f(){var t=Object(s.getConfig)().liffId;if(t)return Object(a.a)(Object(a.b)("unauthorizedPermissions")+"?liffId="+t,{headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer "+Object(s.getAccessToken)()}});throw Object(o.j)(i.y,"liffId is required")}var p,_=c.subWindow.on,m=c.subWindow.off,y=c.subWindow.open,v=function(){function t(t,e){var n=this;this.onSubmit=function(t){var e=t.newAccessToken,s=t.error;return Object(r.b)(n,void 0,void 0,(function(){return Object(r.d)(this,(function(t){return e?this.resolve({newAccessToken:e}):s&&this.reject(Object(o.j)(i.z,s)),this.teardown(),[2]}))}))},this.onClose=function(){return Object(r.b)(n,void 0,void 0,(function(){return Object(r.d)(this,(function(t){return this.reject(Object(o.j)(i.y,"user didn't allow the agreement")),this.teardown(),[2]}))}))},this.onCancel=function(){return Object(r.b)(n,void 0,void 0,(function(){return Object(r.d)(this,(function(t){return this.reject(Object(o.j)(i.y,"user didn't allow the agreement")),this.teardown(),[2]}))}))},this.onError=function(t){return Object(r.b)(n,void 0,void 0,(function(){return Object(r.d)(this,(function(e){return this.reject(t),this.teardown(),[2]}))}))},this.resolve=t,this.reject=e,this.setup()}return t.prototype.setup=function(){_("submit",this.onSubmit),_("close",this.onClose),_("cancel",this.onCancel),_("error",this.onError)},t.prototype.teardown=function(){m("submit",this.onSubmit),m("close",this.onClose),m("cancel",this.onCancel),m("error",this.onError),p=void 0},t.prototype.open=function(){var t=Object(s.getConfig)().liffId;t?y({url:"https://liff.line.me/1656032314-Xgrw5Pmk",appData:{liffId:t,channelId:Object(o.k)(t),accessToken:Object(s.getAccessToken)()}}):this.reject(Object(o.j)(i.y,"liffId is required"))},t}();function b(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){switch(n.label){case 0:if(!d())throw Object(o.j)(i.d,"SkipChannelVerificationScreen is unavailable.");return p&&p.teardown(),[4,f()];case 1:return t=n.sent(),(Object(u.isInClient)()?t:t.filter((function(t){return"chat_message.write"!==t}))).length>0?[4,new Promise((function(t,e){(p=new v(t,e)).open()}))]:[3,3];case 2:return e=n.sent().newAccessToken,Object(s.setAccessToken)(e),[3,4];case 3:throw Object(o.j)(i.d,"All permissions have already been approved.");case 4:return[2]}}))}))}function g(t,e){var n=this;return function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];return Object(r.b)(n,void 0,void 0,(function(){var n,a,c;return Object(r.d)(this,(function(h){switch(h.label){case 0:return n=(s.length>0?s[s.length-1]:{}).ignorePermissionCheck,a=void 0!==n&&n,[4,l(e)];case 1:if("unavailable"!==(c=h.sent().state))return[3,2];throw Object(o.j)(i.d,"The permission is not in LIFF app scope.");case 2:return"prompt"!==c||!d()||a||!Object(u.isInClient)()&&"chat_message.write"===e?[3,4]:[4,b()];case 3:return h.sent(),[3,5];case 4:a&&s.pop(),h.label=5;case 5:return[4,t.apply(void 0,Object(r.f)(s))];case 6:return[2,h.sent()]}}))}))}}var w=function(){function t(){this.name="permission"}return t.prototype.install=function(){return{query:l,requestAll:b}},t}(),x=new w},"Q6g+":function(t,e,n){(function(e){var r=n("6MVH"),i=n("8kJ5");t.exports=function(t){return new s(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function a(t,n,r){Array.isArray(t)||(t=t.toArray());var i=new e(t);if(r&&i.length<r){var o=new e(r-i.length);o.fill(0),i=e.concat([o,i])}return n?i.toString(n):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,s.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},s.prototype.computeSecret=function(t,n,r){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),a(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},s.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(n[n.length-1]%2?n[0]=7:n[0]=6),a(n,t)},s.prototype.getPrivateKey=function(t){return a(this.keys.getPrivate(),t)},s.prototype.setPublicKey=function(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this.keys._importPublic(t),this},s.prototype.setPrivateKey=function(t,n){n=n||"utf8",e.isBuffer(t)||(t=new e(t,n));var r=new i(t);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}).call(this,n("qykS").Buffer)},QEnC:function(t,e,n){var r=n("ODEr"),i=n("Ih9J"),o=n("89XF"),s=n("NYr8"),a=n("peDq");function u(t,e,n){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,n);if(s[t])return new r({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function c(t,e,n){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,n);if(s[t])return new r({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!s[t])throw new TypeError("invalid suite type");n=8*s[t].key,r=s[t].iv}var i=a(e,!1,n,r);return u(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=u,e.createDecipher=e.Decipher=function(t,e){var n,r;if(t=t.toLowerCase(),o[t])n=o[t].key,r=o[t].iv;else{if(!s[t])throw new TypeError("invalid suite type");n=8*s[t].key,r=s[t].iv}var i=a(e,!1,n,r);return c(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=c,e.listCiphers=e.getCiphers=function(){return Object.keys(s).concat(i.getCiphers())}},QKC2:function(t,e){t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}},QWm9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=[10,7,11,17,18,3,5,16,8,21,24,4,15,23,19,13,12,2,20,14,22,9,6,1];e.default=r},QuL7:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r,i,o=n("bb6g");(i=r||(r={}))[i.DEBUG=1]="DEBUG",i[i.INFO=2]="INFO",i[i.WARN=3]="WARN",i[i.ERROR=4]="ERROR";var s=new(function(){function t(t){void 0===t&&(t=r.INFO),this.logLevel=t,this._debug=console.debug,this._info=console.info,this._warn=console.warn,this._error=console.error}return t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.logLevel<=r.DEBUG&&(t.unshift("[DEBUG]"),this._debug.apply(this,Object(o.f)(t)))},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.logLevel<=r.INFO&&(t.unshift("[INFO]"),this._info.apply(this,Object(o.f)(t)))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.logLevel<=r.WARN&&(t.unshift("[WARN]"),this._warn.apply(this,Object(o.f)(t)))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.logLevel<=r.ERROR&&(t.unshift("[ERROR]"),this._error.apply(this,Object(o.f)(t)))},t}())(Number("3"))},RfOT:function(t,e,n){var r=n("Xr9Y");e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=r._reverse(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=r._reverse(e.tag)},RmWi:function(t,e,n){!function(t){"use strict";
  141. //! moment.js locale configuration
  142. var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("TiKg"))},RoC8:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Rs7L:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.decrypt=e.encrypt=e.unwrapKey=e.wrapKey=void 0;var i=r(n("EvBf"));e.wrapKey=function(t,e,n,r){var i=n.name,s=void 0===i?"AES-KW":i,a=n.iv;return o(t,e,{name:s,iv:a},r,!0)};e.unwrapKey=function(t,e,n,r){var i=n.name,o=void 0===i?"AES-KW":i,a=n.iv;return s(t,e,{name:o,iv:a},r,!0)};var o=function(t,e,n,r){var o,s,u,c,h=n.name,l=n.iv,d=n.additionalData,f=n.tagLength,p=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_=a(h,e.byteLength,p?i.default.wrapKeys:i.default.ciphers);switch(h){case"AES-GCM":(o=r.createCipheriv(_,e,l,{authTagLength:f})).setAAD(d);break;case"AES-CTR":if(0===l.length||l.length>16)throw new Error("InvalidIVLength");var m=new Uint8Array(16);m.set(l),m[15]+=1,o=r.createCipheriv(_,e,m);break;default:o=r.createCipheriv(_,e,l)}try{s=new Uint8Array(o.update(t)),u=new Uint8Array(o.final()),c=new Uint8Array([]),"AES-GCM"===h&&(c=new Uint8Array(o.getAuthTag()))}catch(t){throw new Error("NodeCrypto_EncryptionFailure")}var y=new Uint8Array(s.length+u.length+c.length);return y.set(s),y.set(u,s.length),y.set(c,s.length+u.length),y};e.encrypt=o;var s=function(t,e,n,r){var o,s,u,c,h=n.name,l=n.iv,d=n.additionalData,f=n.tagLength,p=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_=a(h,e.byteLength,p?i.default.wrapKeys:i.default.ciphers);switch(h){case"AES-GCM":(o=r.createDecipheriv(_,e,l,{authTagLength:f})).setAAD(d),s=t.slice(0,t.length-f);var m=t.slice(t.length-f);o.setAuthTag(m);break;case"AES-CTR":if(0===l.length||l.length>16)throw new Error("InvalidIVLength");var y=new Uint8Array(16);y.set(l),y[15]+=1,o=r.createDecipheriv(_,e,y),s=t;break;default:o=r.createDecipheriv(_,e,l),s=t}try{u=o.update(s),c=o.final()}catch(t){throw new Error("NodeCrypto_DecryptionFailure")}var v=new Uint8Array(c.length+u.length);return v.set(u),v.set(c,u.length),v};e.decrypt=s;var a=function(t,e,n){var r=n[t].nodePrefix;return(r="".concat(r).concat((8*e).toString()))+n[t].nodeSuffix}},Rvex:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Key",{enumerable:!0,get:function(){return r.Key}}),e.default=void 0;var r=n("dIx8"),i={Key:r.Key};e.default=i},Rzld:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},S2bg:function(t,e,n){var r=n("pRMk").Buffer,i=r.alloc(16,0);function o(t){var e=r.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function s(t){this.h=t,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},s.prototype._multiply=function(){for(var t,e,n,r=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],s=-1;++s<128;){for(0!=(this.state[~~(s/8)]&1<<7-s%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},s.prototype.update=function(t){var e;for(this.cache=r.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},s.prototype.final=function(t,e){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=s},SDJZ:function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},SDgz:function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("X9FS"));e.encoder=i;var o=r(n("WFt6"));e.formatter=o,e.default={encoder:i,formatter:o}},SKOl:function(t,e,n){!function(t){"use strict";
  143. //! moment.js locale configuration
  144. var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n("TiKg"))},SPmb:function(t,e,n){"use strict";var r=n("+Gs+"),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())})),u=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=r.define("RDNSequence",(function(){this.seqof(u)})),h=r.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),l=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),f=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(h),this.key("validity").use(l),this.key("subject").use(h),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())}));t.exports=p},SRLO:function(t,e,n){!function(t){"use strict";
  145. //! moment.js locale configuration
  146. var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var r=t%10;return t+(e[r]||e[t%100-r]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("TiKg"))},SUNt:function(t,e,n){var r=n("nIf0"),i=n("Olfb"),o=n("thXI"),s=n("pRMk").Buffer,a=n("PunD"),u=n("cDjl"),c=n("h07j"),h=s.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(t,e,n){var a=function(t){function e(e){return o(t).update(e).digest()}return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?r:e}(t),u="sha512"===t||"sha384"===t?128:64;e.length>u?e=a(e):e.length<u&&(e=s.concat([e,h],u));for(var c=s.allocUnsafe(u+l[t]),d=s.allocUnsafe(u+l[t]),f=0;f<u;f++)c[f]=54^e[f],d[f]=92^e[f];var p=s.allocUnsafe(u+n+4);c.copy(p,0,0,u),this.ipad1=p,this.ipad2=c,this.opad=d,this.alg=t,this.blocksize=u,this.hash=a,this.size=l[t]}d.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,n,r,i){a(n,r);var o=new d(i=i||"sha1",t=c(t,u,"Password"),(e=c(e,u,"Salt")).length),h=s.allocUnsafe(r),f=s.allocUnsafe(e.length+4);e.copy(f,0,0,e.length);for(var p=0,_=l[i],m=Math.ceil(r/_),y=1;y<=m;y++){f.writeUInt32BE(y,e.length);for(var v=o.run(f,o.ipad1),b=v,g=1;g<n;g++){b=o.run(b,o.ipad2);for(var w=0;w<_;w++)v[w]^=b[w]}v.copy(h,p),p+=_}return h}},SvlV:function(t,e,n){"use strict";
  147. /*!
  148. * vue-router v3.3.2
  149. * (c) 2020 Evan You
  150. * @license MIT
  151. */function r(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function i(t,e){return r(t)&&t._isRouter&&(null==e||t.type===e)}function o(t,e){for(var n in e)t[n]=e[n];return t}var s={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,s=e.data;s.routerView=!0;for(var u=i.$createElement,c=n.name,h=i.$route,l=i._routerViewCache||(i._routerViewCache={}),d=0,f=!1;i&&i._routerRoot!==i;){var p=i.$vnode?i.$vnode.data:{};p.routerView&&d++,p.keepAlive&&i._directInactive&&i._inactive&&(f=!0),i=i.$parent}if(s.routerViewDepth=d,f){var _=l[c],m=_&&_.component;return m?(_.configProps&&a(m,s,_.route,_.configProps),u(m,s,r)):u()}var y=h.matched[d],v=y&&y.components[c];if(!y||!v)return l[c]=null,u();l[c]={component:v},s.registerRouteInstance=function(t,e){var n=y.instances[c];(e&&n!==t||!e&&n===t)&&(y.instances[c]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){y.instances[c]=e.componentInstance},s.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==y.instances[c]&&(y.instances[c]=t.componentInstance)};var b=y.props&&y.props[c];return b&&(o(l[c],{route:h,configProps:b}),a(v,s,h,b)),u(v,s,r)}};function a(t,e,n,r){var i=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(n,r);if(i){i=e.props=o({},i);var s=e.attrs=e.attrs||{};for(var a in i)t.props&&a in t.props||(s[a]=i[a],delete i[a])}}var u=/[!'()*]/g,c=function(t){return"%"+t.charCodeAt(0).toString(16)},h=/%2C/g,l=function(t){return encodeURIComponent(t).replace(u,c).replace(h,",")},d=decodeURIComponent;function f(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=d(n.shift()),i=n.length>0?d(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function p(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return l(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(l(e)):r.push(l(e)+"="+l(t)))})),r.join("&")}return l(e)+"="+l(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var _=/\/?$/;function m(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=y(o)}catch(t){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:g(e,i),matched:t?b(t):[]};return n&&(s.redirectedFrom=g(n,i)),Object.freeze(s)}function y(t){if(Array.isArray(t))return t.map(y);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=y(t[n]);return e}return t}var v=m(null,{path:"/"});function b(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function g(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||p)(r)+i}function w(t,e){return e===v?t===e:!!e&&(t.path&&e.path?t.path.replace(_,"")===e.path.replace(_,"")&&t.hash===e.hash&&x(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&x(t.query,e.query)&&x(t.params,e.params)))}function x(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((function(n){var r=t[n],i=e[n];return"object"==typeof r&&"object"==typeof i?x(r,i):String(r)===String(i)}))}function M(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),s=0;s<o.length;s++){var a=o[s];".."===a?i.pop():"."!==a&&i.push(a)}return""!==i[0]&&i.unshift(""),i.join("/")}function S(t){return t.replace(/\/\//g,"/")}var T=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},A=F,E=O,L=function(t,e){return P(O(t,e),e)},D=P,C=j,k=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function O(t,e){for(var n,r=[],i=0,o=0,s="",a=e&&e.delimiter||"/";null!=(n=k.exec(t));){var u=n[0],c=n[1],h=n.index;if(s+=t.slice(o,h),o=h+u.length,c)s+=c[1];else{var l=t[o],d=n[2],f=n[3],p=n[4],_=n[5],m=n[6],y=n[7];s&&(r.push(s),s="");var v=null!=d&&null!=l&&l!==d,b="+"===m||"*"===m,g="?"===m||"*"===m,w=n[2]||a,x=p||_;r.push({name:f||i++,prefix:d||"",delimiter:w,optional:g,repeat:b,partial:v,asterisk:!!y,pattern:x?Y(x):y?".*":"[^"+R(w)+"]+?"})}}return o<t.length&&(s+=t.substr(o)),s&&r.push(s),r}function I(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function P(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",N(e)));return function(e,r){for(var i="",o=e||{},s=(r||{}).pretty?I:encodeURIComponent,a=0;a<t.length;a++){var u=t[a];if("string"!=typeof u){var c,h=o[u.name];if(null==h){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(T(h)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var l=0;l<h.length;l++){if(c=s(h[l]),!n[a].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");i+=(0===l?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?encodeURI(h).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):s(h),!n[a].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');i+=u.prefix+c}}else i+=u}return i}}function R(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Y(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function B(t,e){return t.keys=e,t}function N(t){return t&&t.sensitive?"":"i"}function j(t,e,n){T(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",s=0;s<t.length;s++){var a=t[s];if("string"==typeof a)o+=R(a);else{var u=R(a.prefix),c="(?:"+a.pattern+")";e.push(a),a.repeat&&(c+="(?:"+u+c+")*"),o+=c=a.optional?a.partial?u+"("+c+")?":"(?:"+u+"("+c+"))?":u+"("+c+")"}}var h=R(n.delimiter||"/"),l=o.slice(-h.length)===h;return r||(o=(l?o.slice(0,-h.length):o)+"(?:"+h+"(?=$))?"),o+=i?"$":r&&l?"":"(?="+h+"|$)",B(new RegExp("^"+o,N(n)),e)}function F(t,e,n){return T(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return B(t,e)}(t,e):T(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(F(t[i],e,n).source);return B(new RegExp("(?:"+r.join("|")+")",N(n)),e)}(t,e,n):function(t,e,n){return j(O(t,n),e,n)}(t,e,n)}A.parse=E,A.compile=L,A.tokensToFunction=D,A.tokensToRegExp=C;var U=Object.create(null);function G(t,e,n){e=e||{};try{var r=U[t]||(U[t]=A.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function H(t,e,n,r){var i="string"==typeof t?{path:t}:t;if(i._normalized)return i;if(i.name){var s=(i=o({},t)).params;return s&&"object"==typeof s&&(i.params=o({},s)),i}if(!i.path&&i.params&&e){(i=o({},i))._normalized=!0;var a=o(o({},e.params),i.params);if(e.name)i.name=e.name,i.params=a;else if(e.matched.length){var u=e.matched[e.matched.length-1].path;i.path=G(u,a,e.path)}else 0;return i}var c=function(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(i.path||""),h=e&&e.path||"/",l=c.path?M(c.path,h,n||i.append):h,d=function(t,e,n){void 0===e&&(e={});var r,i=n||f;try{r=i(t||"")}catch(t){r={}}for(var o in e)r[o]=e[o];return r}(c.query,i.query,r&&r.options.parseQuery),p=i.hash||c.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:l,query:d,hash:p}}var V,z=function(){},W={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),s=i.location,a=i.route,u=i.href,c={},h=n.options.linkActiveClass,l=n.options.linkExactActiveClass,d=null==h?"router-link-active":h,f=null==l?"router-link-exact-active":l,p=null==this.activeClass?d:this.activeClass,y=null==this.exactActiveClass?f:this.exactActiveClass,v=a.redirectedFrom?m(null,H(a.redirectedFrom),null,n):a;c[y]=w(r,v),c[p]=this.exact?c[y]:function(t,e){return 0===t.path.replace(_,"/").indexOf(e.path.replace(_,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var b=c[y]?this.ariaCurrentValue:null,g=function(t){X(t)&&(e.replace?n.replace(s,z):n.push(s,z))},x={click:X};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=g})):x[this.event]=g;var M={class:c},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:a,navigate:g,isActive:c[p],isExactActive:c[y]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)M.on=x,M.attrs={href:u,"aria-current":b};else{var T=function t(e){var n;if(e)for(var r=0;r<e.length;r++){if("a"===(n=e[r]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(T){T.isStatic=!1;var A=T.data=o({},T.data);for(var E in A.on=A.on||{},A.on){var L=A.on[E];E in x&&(A.on[E]=Array.isArray(L)?L:[L])}for(var D in x)D in A.on?A.on[D].push(x[D]):A.on[D]=g;var C=T.data.attrs=o({},T.data.attrs);C.href=u,C["aria-current"]=b}else M.on=x}return t(this.tag,M,this.$slots.default)}};function X(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var J="undefined"!=typeof window;function K(t,e,n,r){var i=e||[],o=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){!function t(e,n,r,i,o,s){var a=i.path,u=i.name;0;var c=i.pathToRegexpOptions||{},h=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return S(e.path+"/"+t)}(a,o,c.strict);"boolean"==typeof i.caseSensitive&&(c.sensitive=i.caseSensitive);var l={path:h,regex:q(h,c),components:i.components||{default:i.component},instances:{},name:u,parent:o,matchAs:s,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};i.children&&i.children.forEach((function(i){var o=s?S(s+"/"+i.path):void 0;t(e,n,r,i,l,o)}));n[l.path]||(e.push(l.path),n[l.path]=l);if(void 0!==i.alias)for(var d=Array.isArray(i.alias)?i.alias:[i.alias],f=0;f<d.length;++f){0;var p={path:d[f],children:i.children};t(e,n,r,p,o,l.path||"/")}u&&(r[u]||(r[u]=l))}(i,o,s,t)}));for(var a=0,u=i.length;a<u;a++)"*"===i[a]&&(i.push(i.splice(a,1)[0]),u--,a--);return{pathList:i,pathMap:o,nameMap:s}}function q(t,e){return A(t,[],e)}function $(t,e){var n=K(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function s(t,n,s){var a=H(t,n,!1,e),c=a.name;if(c){var h=o[c];if(!h)return u(null,a);var l=h.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof a.params&&(a.params={}),n&&"object"==typeof n.params)for(var d in n.params)!(d in a.params)&&l.indexOf(d)>-1&&(a.params[d]=n.params[d]);return a.path=G(h.path,a.params),u(h,a,s)}if(a.path){a.params={};for(var f=0;f<r.length;f++){var p=r[f],_=i[p];if(Z(_.regex,a.path,a.params))return u(_,a,s)}}return u(null,a)}function a(t,n){var r=t.redirect,i="function"==typeof r?r(m(t,n,null,e)):r;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return u(null,n);var a=i,c=a.name,h=a.path,l=n.query,d=n.hash,f=n.params;if(l=a.hasOwnProperty("query")?a.query:l,d=a.hasOwnProperty("hash")?a.hash:d,f=a.hasOwnProperty("params")?a.params:f,c){o[c];return s({_normalized:!0,name:c,query:l,hash:d,params:f},void 0,n)}if(h){var p=function(t,e){return M(t,e.parent?e.parent.path:"/",!0)}(h,t);return s({_normalized:!0,path:G(p,f),query:l,hash:d},void 0,n)}return u(null,n)}function u(t,n,r){return t&&t.redirect?a(t,r||n):t&&t.matchAs?function(t,e,n){var r=s({_normalized:!0,path:G(n,e.params)});if(r){var i=r.matched,o=i[i.length-1];return e.params=r.params,u(o,e)}return u(null,e)}(0,n,t.matchAs):m(t,n,r,e)}return{match:s,addRoutes:function(t){K(t,r,i,o)}}}function Z(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var s=t.keys[i-1],a="string"==typeof r[i]?decodeURIComponent(r[i]):r[i];s&&(n[s.name||"pathMatch"]=a)}return!0}var Q=J&&window.performance&&window.performance.now?window.performance:Date;function tt(){return Q.now().toFixed(3)}var et=tt();function nt(){return et}function rt(t){return et=t}var it=Object.create(null);function ot(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=o({},window.history.state);return n.key=nt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ut),function(){window.removeEventListener("popstate",ut)}}function st(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=function(){var t=nt();if(t)return it[t]}(),s=i.call(t,e,n,r?o:null);s&&("function"==typeof s.then?s.then((function(t){ft(t,o)})).catch((function(t){0})):ft(s,o))}))}}function at(){var t=nt();t&&(it[t]={x:window.pageXOffset,y:window.pageYOffset})}function ut(t){at(),t.state&&t.state.key&&rt(t.state.key)}function ct(t){return lt(t.x)||lt(t.y)}function ht(t){return{x:lt(t.x)?t.x:window.pageXOffset,y:lt(t.y)?t.y:window.pageYOffset}}function lt(t){return"number"==typeof t}var dt=/^#\d/;function ft(t,e){var n,r="object"==typeof t;if(r&&"string"==typeof t.selector){var i=dt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(i,o={x:lt((n=o).x)?n.x:0,y:lt(n.y)?n.y:0})}else ct(t)&&(e=ht(t))}else r&&ct(t)&&(e=ht(t));e&&window.scrollTo(e.x,e.y)}var pt,_t=J&&((-1===(pt=window.navigator.userAgent).indexOf("Android 2.")&&-1===pt.indexOf("Android 4.0")||-1===pt.indexOf("Mobile Safari")||-1!==pt.indexOf("Chrome")||-1!==pt.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function mt(t,e){at();var n=window.history;try{if(e){var r=o({},n.state);r.key=nt(),n.replaceState(r,"",t)}else n.pushState({key:rt(tt())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function yt(t){mt(t,!0)}function vt(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}function bt(t){return function(e,n,i){var o=!1,s=0,a=null;gt(t,(function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){o=!0,s++;var c,h=Mt((function(e){var r;((r=e).__esModule||xt&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:V.extend(e),n.components[u]=e,--s<=0&&i()})),l=Mt((function(t){var e="Failed to resolve async component "+u+": "+t;a||(a=r(t)?t:new Error(e),i(a))}));try{c=t(h,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(h,l);else{var d=c.component;d&&"function"==typeof d.then&&d.then(h,l)}}})),o||i()}}function gt(t,e){return wt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function wt(t){return Array.prototype.concat.apply([],t)}var xt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Mt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var St=1,Tt=2,At=3,Et=4;function Lt(t,e){return Ct(t,e,St,'Redirected from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return kt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function Dt(t,e){return Ct(t,e,At,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ct(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var kt=["params","query","hash"];var Ot=function(t,e){this.router=t,this.base=function(t){if(!t)if(J){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function It(t,e,n,r){var i=gt(t,(function(t,r,i,o){var s=function(t,e){"function"!=typeof t&&(t=V.extend(t));return t.options[e]}(t,e);if(s)return Array.isArray(s)?s.map((function(t){return n(t,r,i,o)})):n(s,r,i,o)}));return wt(r?i.reverse():i)}function Pt(t,e){if(e)return function(){return t.apply(e,arguments)}}Ot.prototype.listen=function(t){this.cb=t},Ot.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Ot.prototype.onError=function(t){this.errorCbs.push(t)},Ot.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,(function(){var t=r.current;r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach((function(e){e&&e(i,t)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)})))}))},Ot.prototype.confirmTransition=function(t,e,n){var o,s=this,a=this.current,u=function(t){!i(t)&&r(t)&&(s.errorCbs.length?s.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)};if(w(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),u(Ct(o=a,t,Et,'Avoided redundant navigation to current location: "'+o.fullPath+'".'));var c=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),h=c.updated,l=c.deactivated,d=c.activated,f=[].concat(function(t){return It(t,"beforeRouteLeave",Pt,!0)}(l),this.router.beforeHooks,function(t){return It(t,"beforeRouteUpdate",Pt)}(h),d.map((function(t){return t.beforeEnter})),bt(d));this.pending=t;var p=function(e,n){if(s.pending!==t)return u(Dt(a,t));try{e(t,a,(function(e){!1===e?(s.ensureURL(!0),u(function(t,e){return Ct(t,e,Tt,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(a,t))):r(e)?(s.ensureURL(!0),u(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(u(Lt(a,t)),"object"==typeof e&&e.replace?s.replace(e):s.push(e)):n(e)}))}catch(t){u(t)}};vt(f,p,(function(){var n=[];vt(function(t,e,n){return It(t,"beforeRouteEnter",(function(t,r,i,o){return function(t,e,n,r,i){return function(o,s,a){return t(o,s,(function(t){"function"==typeof t&&r.push((function(){!function t(e,n,r,i){n[r]&&!n[r]._isBeingDestroyed?e(n[r]):i()&&setTimeout((function(){t(e,n,r,i)}),16)}(t,e.instances,n,i)})),a(t)}))}}(t,i,o,e,n)}))}(d,n,(function(){return s.current===t})).concat(s.router.resolveHooks),p,(function(){if(s.pending!==t)return u(Dt(a,t));s.pending=null,e(t),s.router.app&&s.router.app.$nextTick((function(){n.forEach((function(t){t()}))}))}))}))},Ot.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Ot.prototype.setupListeners=function(){},Ot.prototype.teardownListeners=function(){this.listeners.forEach((function(t){t()})),this.listeners=[]};var Rt=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Yt(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=_t&&n;r&&this.listeners.push(ot());var i=function(){var n=t.current,i=Yt(t.base);t.current===v&&i===t._startLocation||t.transitionTo(i,(function(t){r&&st(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){mt(S(r.base+t.fullPath)),st(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){yt(S(r.base+t.fullPath)),st(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Yt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?mt(e):yt(e)}},e.prototype.getCurrentLocation=function(){return Yt(this.base)},e}(Ot);function Yt(t){var e=decodeURI(window.location.pathname);return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Bt=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Yt(t);if(!/^\/#/.test(e))return window.location.replace(S(t+"/#"+e)),!0}(this.base)||Nt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=_t&&e;n&&this.listeners.push(ot());var r=function(){var e=t.current;Nt()&&t.transitionTo(jt(),(function(r){n&&st(t.router,r,e,!0),_t||Gt(r.fullPath)}))},i=_t?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Ut(t.fullPath),st(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Gt(t.fullPath),st(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;jt()!==e&&(t?Ut(e):Gt(e))},e.prototype.getCurrentLocation=function(){return jt()},e}(Ot);function Nt(){var t=jt();return"/"===t.charAt(0)||(Gt("/"+t),!1)}function jt(){var t=window.location.href,e=t.indexOf("#");if(e<0)return"";var n=(t=t.slice(e+1)).indexOf("?");if(n<0){var r=t.indexOf("#");t=r>-1?decodeURI(t.slice(0,r))+t.slice(r):decodeURI(t)}else t=decodeURI(t.slice(0,n))+t.slice(n);return t}function Ft(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ut(t){_t?mt(Ft(t)):window.location.hash=t}function Gt(t){_t?yt(Ft(t)):window.location.replace(Ft(t))}var Ht=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){e.index=n,e.updateRoute(r)}),(function(t){i(t,Et)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ot),Vt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=$(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!_t&&!1!==t.fallback,this.fallback&&(e="hash"),J||(e="abstract"),this.mode=e,e){case"history":this.history=new Rt(this,t.base);break;case"hash":this.history=new Bt(this,t.base,this.fallback);break;case"abstract":this.history=new Ht(this,t.base);break;default:0}},zt={currentRoute:{configurable:!0}};function Wt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Vt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},zt.currentRoute.get=function(){return this.history&&this.history.current},Vt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardownListeners()})),!this.app){this.app=t;var n=this.history;if(n instanceof Rt||n instanceof Bt){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Vt.prototype.beforeEach=function(t){return Wt(this.beforeHooks,t)},Vt.prototype.beforeResolve=function(t){return Wt(this.resolveHooks,t)},Vt.prototype.afterEach=function(t){return Wt(this.afterHooks,t)},Vt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Vt.prototype.onError=function(t){this.history.onError(t)},Vt.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Vt.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Vt.prototype.go=function(t){this.history.go(t)},Vt.prototype.back=function(){this.go(-1)},Vt.prototype.forward=function(){this.go(1)},Vt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Vt.prototype.resolve=function(t,e,n){var r=H(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Vt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Vt.prototype,zt),Vt.install=function t(e){if(!t.installed||V!==e){t.installed=!0,V=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",s),e.component("RouterLink",W);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Vt.version="3.3.2",J&&window.Vue&&window.Vue.use(Vt),e.a=Vt},T1e2:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},T9ox:function(t,e,n){!function(t){"use strict";
  152. //! moment.js locale configuration
  153. t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},TDIH:function(t,e,n){"use strict";var r=n("ovh1"),i=n("5QbJ"),o=n("uahg"),s=n("Zrjs");function a(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=a(n("bRtl"));u.Axios=o,u.create=function(t){return a(s(u.defaults,t))},u.Cancel=n("tImM"),u.CancelToken=n("OHXD"),u.isCancel=n("e5jZ"),u.all=function(t){return Promise.all(t)},u.spread=n("6s8r"),u.isAxiosError=n("OBDY"),t.exports=u,t.exports.default=u},THQi:function(t,e,n){"use strict";var r=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,a){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?o(s(t),(function(s){var a=encodeURIComponent(r(s))+n;return i(t[s])?o(t[s],(function(t){return a+encodeURIComponent(r(t))})).join(e):a+encodeURIComponent(r(t[s]))})).join(e):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var s=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},TQ38:function(t,e,n){!function(t){"use strict";
  154. //! moment.js locale configuration
  155. t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("TiKg"))},ThzV:function(t,e,n){"use strict";var r=n("pRMk").Buffer,i=n("5Ekh").Transform;function o(t){i.call(this),this._block=r.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n("wfEq")(o,i),o.prototype._transform=function(t,e,n){var r=null;try{this.update(t,e)}catch(t){r=t}n(r)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!r.isBuffer(t)&&"string"!=typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(t)||(t=r.from(t,e));for(var n=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)n[this._blockOffset++]=t[i++];for(var s=0,a=8*t.length;a>0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},TiKg:function(t,e,n){(function(t){t.exports=function(){"use strict";var e,r;function i(){return e.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(a(t,e))return!1;return!0}function c(t){return void 0===t}function h(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function f(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,r){return Te(t,e,n,r,!0).utc()}function _(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var e=_(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function y(t){var e=p(NaN);return null!=t?f(_(e),t):_(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),r=n.length>>>0;for(e=0;e<r;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var v=i.momentProperties=[],b=!1;function g(t,e){var n,r,i;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=_(e)),c(e._locale)||(t._locale=e._locale),v.length>0)for(n=0;n<v.length;n++)c(i=e[r=v[n]])||(t[r]=i);return t}function w(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function x(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function M(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,e){var n=!0;return f((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){var r,o,s,u=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(s in r+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(r+=s+": "+arguments[0][s]+", ");r=r.slice(0,-2)}else r=arguments[o];u.push(r)}M(t+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var T,A={};function E(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),A[t]||(M(e),A[t]=!0)}function L(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function D(t,e){var n,r=f({},t);for(n in e)a(e,n)&&(s(t[n])&&s(e[n])?(r[n]={},f(r[n],t[n]),f(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)a(t,n)&&!a(e,n)&&s(t[n])&&(r[n]=f({},r[n]));return r}function C(t){null!=t&&this.set(t)}function k(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)a(t,e)&&n.push(e);return n};var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},R={};function Y(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(R[t]=i),e&&(R[e[0]]=function(){return k(i.apply(this,arguments),e[1],e[2])}),n&&(R[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function B(t,e){return t.isValid()?(e=N(e,t.localeData()),P[e]=P[e]||function(t){var e,n,r,i=t.match(O);for(e=0,n=i.length;e<n;e++)R[i[e]]?i[e]=R[i[e]]:i[e]=(r=i[e]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(e){var r,o="";for(r=0;r<n;r++)o+=L(i[r])?i[r].call(e,t):i[r];return o}}(e),P[e](t)):t.localeData().invalidDate()}function N(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(I.lastIndex=0;n>=0&&I.test(t);)t=t.replace(I,r),I.lastIndex=0,n-=1;return t}var j={};function F(t,e){var n=t.toLowerCase();j[n]=j[n+"s"]=j[e]=t}function U(t){return"string"==typeof t?j[t]||j[t.toLowerCase()]:void 0}function G(t){var e,n,r={};for(n in t)a(t,n)&&(e=U(n))&&(r[e]=t[n]);return r}var H={};function V(t,e){H[t]=e}function z(t){return t%4==0&&t%100!=0||t%400==0}function W(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function X(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=W(e)),n}function J(t,e){return function(n){return null!=n?(q(this,t,n),i.updateOffset(this,e),this):K(this,t)}}function K(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function q(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&z(t.year())&&1===t.month()&&29===t.date()?(n=X(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),xt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var $,Z=/\d/,Q=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,rt=/\d\d?/,it=/\d\d\d\d?/,ot=/\d\d\d\d\d\d?/,st=/\d{1,3}/,at=/\d{1,4}/,ut=/[+-]?\d{1,6}/,ct=/\d+/,ht=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,dt=/Z|[+-]\d\d(?::?\d\d)?/gi,ft=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pt(t,e,n){$[t]=L(e)?e:function(t,r){return t&&n?n:e}}function _t(t,e){return a($,t)?$[t](e._strict,e._locale):new RegExp(mt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i}))))}function mt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}$={};var yt,vt={};function bt(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),h(e)&&(r=function(t,n){n[e]=X(t)}),n=0;n<t.length;n++)vt[t[n]]=r}function gt(t,e){bt(t,(function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)}))}function wt(t,e,n){null!=e&&a(vt,t)&&vt[t](e,n._a,n,t)}function xt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,r=(e%(n=12)+n)%n;return t+=(e-r)/12,1===r?z(t)?29:28:31-r%7%2}yt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},Y("M",["MM",2],"Mo",(function(){return this.month()+1})),Y("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Y("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),F("month","M"),V("month",8),pt("M",rt),pt("MM",rt,Q),pt("MMM",(function(t,e){return e.monthsShortRegex(t)})),pt("MMMM",(function(t,e){return e.monthsRegex(t)})),bt(["M","MM"],(function(t,e){e[1]=X(t)-1})),bt(["MMM","MMMM"],(function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[1]=i:_(n).invalidMonth=t}));var Mt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),St="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Tt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,At=ft,Et=ft;function Lt(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=yt.call(this._shortMonthsParse,s))?i:null:-1!==(i=yt.call(this._longMonthsParse,s))?i:null:"MMM"===e?-1!==(i=yt.call(this._shortMonthsParse,s))||-1!==(i=yt.call(this._longMonthsParse,s))?i:null:-1!==(i=yt.call(this._longMonthsParse,s))||-1!==(i=yt.call(this._shortMonthsParse,s))?i:null}function Dt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=X(e);else if(!h(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),xt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Ct(t){return null!=t?(Dt(this,t),i.updateOffset(this,!0),this):K(this,"Month")}function kt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=p([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=mt(r[e]),i[e]=mt(i[e]);for(e=0;e<24;e++)o[e]=mt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ot(t){return z(t)?366:365}Y("Y",0,0,(function(){var t=this.year();return t<=9999?k(t,4):"+"+t})),Y(0,["YY",2],0,(function(){return this.year()%100})),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),F("year","y"),V("year",1),pt("Y",ht),pt("YY",rt,Q),pt("YYYY",at,et),pt("YYYYY",ut,nt),pt("YYYYYY",ut,nt),bt(["YYYYY","YYYYYY"],0),bt("YYYY",(function(t,e){e[0]=2===t.length?i.parseTwoDigitYear(t):X(t)})),bt("YY",(function(t,e){e[0]=i.parseTwoDigitYear(t)})),bt("Y",(function(t,e){e[0]=parseInt(t,10)})),i.parseTwoDigitYear=function(t){return X(t)+(X(t)>68?1900:2e3)};var It=J("FullYear",!0);function Pt(t,e,n,r,i,o,s){var a;return t<100&&t>=0?(a=new Date(t+400,e,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,r,i,o,s),a}function Rt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Yt(t,e,n){var r=7+e-n;return-(7+Rt(t,0,r).getUTCDay()-e)%7+r-1}function Bt(t,e,n,r,i){var o,s,a=1+7*(e-1)+(7+n-r)%7+Yt(t,r,i);return a<=0?s=Ot(o=t-1)+a:a>Ot(t)?(o=t+1,s=a-Ot(t)):(o=t,s=a),{year:o,dayOfYear:s}}function Nt(t,e,n){var r,i,o=Yt(t.year(),e,n),s=Math.floor((t.dayOfYear()-o-1)/7)+1;return s<1?r=s+jt(i=t.year()-1,e,n):s>jt(t.year(),e,n)?(r=s-jt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function jt(t,e,n){var r=Yt(t,e,n),i=Yt(t+1,e,n);return(Ot(t)-r+i)/7}function Ft(t,e){return t.slice(e,7).concat(t.slice(0,e))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),V("week",5),V("isoWeek",5),pt("w",rt),pt("ww",rt,Q),pt("W",rt),pt("WW",rt,Q),gt(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=X(t)})),Y("d",0,"do","day"),Y("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Y("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Y("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),pt("d",rt),pt("e",rt),pt("E",rt),pt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),pt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),pt("dddd",(function(t,e){return e.weekdaysRegex(t)})),gt(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:_(n).invalidWeekday=t})),gt(["d","e","E"],(function(t,e,n,r){e[r]=X(t)}));var Ut="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ht="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Vt=ft,zt=ft,Wt=ft;function Xt(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=yt.call(this._weekdaysParse,s))?i:null:"ddd"===e?-1!==(i=yt.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=yt.call(this._minWeekdaysParse,s))?i:null:"dddd"===e?-1!==(i=yt.call(this._weekdaysParse,s))||-1!==(i=yt.call(this._shortWeekdaysParse,s))||-1!==(i=yt.call(this._minWeekdaysParse,s))?i:null:"ddd"===e?-1!==(i=yt.call(this._shortWeekdaysParse,s))||-1!==(i=yt.call(this._weekdaysParse,s))||-1!==(i=yt.call(this._minWeekdaysParse,s))?i:null:-1!==(i=yt.call(this._minWeekdaysParse,s))||-1!==(i=yt.call(this._weekdaysParse,s))||-1!==(i=yt.call(this._shortWeekdaysParse,s))?i:null}function Jt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,s=[],a=[],u=[],c=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),r=mt(this.weekdaysMin(n,"")),i=mt(this.weekdaysShort(n,"")),o=mt(this.weekdays(n,"")),s.push(r),a.push(i),u.push(o),c.push(r),c.push(i),c.push(o);s.sort(t),a.sort(t),u.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Kt(){return this.hours()%12||12}function qt(t,e){Y(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function $t(t,e){return e._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Kt),Y("k",["kk",2],0,(function(){return this.hours()||24})),Y("hmm",0,0,(function(){return""+Kt.apply(this)+k(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+Kt.apply(this)+k(this.minutes(),2)+k(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+k(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+k(this.minutes(),2)+k(this.seconds(),2)})),qt("a",!0),qt("A",!1),F("hour","h"),V("hour",13),pt("a",$t),pt("A",$t),pt("H",rt),pt("h",rt),pt("k",rt),pt("HH",rt,Q),pt("hh",rt,Q),pt("kk",rt,Q),pt("hmm",it),pt("hmmss",ot),pt("Hmm",it),pt("Hmmss",ot),bt(["H","HH"],3),bt(["k","kk"],(function(t,e,n){var r=X(t);e[3]=24===r?0:r})),bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),bt(["h","hh"],(function(t,e,n){e[3]=X(t),_(n).bigHour=!0})),bt("hmm",(function(t,e,n){var r=t.length-2;e[3]=X(t.substr(0,r)),e[4]=X(t.substr(r)),_(n).bigHour=!0})),bt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=X(t.substr(0,r)),e[4]=X(t.substr(r,2)),e[5]=X(t.substr(i)),_(n).bigHour=!0})),bt("Hmm",(function(t,e,n){var r=t.length-2;e[3]=X(t.substr(0,r)),e[4]=X(t.substr(r))})),bt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=X(t.substr(0,r)),e[4]=X(t.substr(r,2)),e[5]=X(t.substr(i))}));var Zt,Qt=J("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Mt,monthsShort:St,week:{dow:0,doy:6},weekdays:Ut,weekdaysMin:Ht,weekdaysShort:Gt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function re(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function ie(t){return t?t.toLowerCase().replace("_","-"):t}function oe(e){var r=null;if(void 0===ee[e]&&void 0!==t&&t&&t.exports)try{r=Zt._abbr,n("D9WN")("./"+e),se(r)}catch(t){ee[e]=null}return ee[e]}function se(t,e){var n;return t&&((n=c(e)?ue(t):ae(t,e))?Zt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Zt._abbr}function ae(t,e){if(null!==e){var n,r=te;if(e.abbr=t,null!=ee[t])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])r=ee[e.parentLocale]._config;else{if(null==(n=oe(e.parentLocale)))return ne[e.parentLocale]||(ne[e.parentLocale]=[]),ne[e.parentLocale].push({name:t,config:e}),null;r=n._config}return ee[t]=new C(D(r,e)),ne[t]&&ne[t].forEach((function(t){ae(t.name,t.config)})),se(t),ee[t]}return delete ee[t],null}function ue(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Zt;if(!o(t)){if(e=oe(t))return e;t=[t]}return function(t){for(var e,n,r,i,o=0;o<t.length;){for(e=(i=ie(t[o]).split("-")).length,n=(n=ie(t[o+1]))?n.split("-"):null;e>0;){if(r=oe(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&re(i,n)>=e-1)break;e--}o++}return Zt}(t)}function ce(t){var e,n=t._a;return n&&-2===_(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>xt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,_(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),_(t)._overflowWeeks&&-1===e&&(e=7),_(t)._overflowWeekday&&-1===e&&(e=8),_(t).overflow=e),t}var he=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,le=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,de=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_e=/^\/?Date\((-?\d+)/i,me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ye={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ve(t){var e,n,r,i,o,s,a=t._i,u=he.exec(a)||le.exec(a);if(u){for(_(t).iso=!0,e=0,n=fe.length;e<n;e++)if(fe[e][1].exec(u[1])){i=fe[e][0],r=!1!==fe[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(u[3])){o=(u[2]||" ")+pe[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!de.exec(u[4]))return void(t._isValid=!1);s="Z"}t._f=i+(o||"")+(s||""),Me(t)}else t._isValid=!1}function be(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function ge(t){var e,n,r,i,o,s,a,u,c=me.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],i=c[2],o=c[5],s=c[6],a=c[7],u=[be(n),St.indexOf(r),parseInt(i,10),parseInt(o,10),parseInt(s,10)],a&&u.push(parseInt(a,10)),e=u,!function(t,e,n){return!t||Gt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(_(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],e,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return ye[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(c[8],c[9],c[10]),t._d=Rt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_(t).rfc2822=!0}else t._isValid=!1}function we(t,e,n){return null!=t?t:null!=e?e:n}function xe(t){var e,n,r,o,s,a=[];if(!t._d){for(r=function(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,r,i,o,s,a,u,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,s=4,n=we(e.GG,t._a[0],Nt(Ae(),1,4).year),r=we(e.W,1),((i=we(e.E,1))<1||i>7)&&(u=!0)):(o=t._locale._week.dow,s=t._locale._week.doy,c=Nt(Ae(),o,s),n=we(e.gg,t._a[0],c.year),r=we(e.w,c.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o),r<1||r>jt(n,o,s)?_(t)._overflowWeeks=!0:null!=u?_(t)._overflowWeekday=!0:(a=Bt(n,r,i,o,s),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(s=we(t._a[0],r[0]),(t._dayOfYear>Ot(s)||0===t._dayOfYear)&&(_(t)._overflowDayOfYear=!0),n=Rt(s,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:Pt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(_(t).weekdayMismatch=!0)}}function Me(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],_(t).empty=!0;var e,n,r,o,s,a,u=""+t._i,c=u.length,h=0;for(r=N(t._f,t._locale).match(O)||[],e=0;e<r.length;e++)o=r[e],(n=(u.match(_t(o,t))||[])[0])&&((s=u.substr(0,u.indexOf(n))).length>0&&_(t).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),h+=n.length),R[o]?(n?_(t).empty=!1:_(t).unusedTokens.push(o),wt(o,n,t)):t._strict&&!n&&_(t).unusedTokens.push(o);_(t).charsLeftOver=c-h,u.length>0&&_(t).unusedInput.push(u),t._a[3]<=12&&!0===_(t).bigHour&&t._a[3]>0&&(_(t).bigHour=void 0),_(t).parsedDateParts=t._a.slice(0),_(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(a=_(t).era)&&(t._a[0]=t._locale.erasConvertYear(a,t._a[0])),xe(t),ce(t)}else ge(t);else ve(t)}function Se(t){var e=t._i,n=t._f;return t._locale=t._locale||ue(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new w(ce(e)):(l(e)?t._d=e:o(n)?function(t){var e,n,r,i,o,s,a=!1;if(0===t._f.length)return _(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,s=!1,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Me(e),m(e)&&(s=!0),o+=_(e).charsLeftOver,o+=10*_(e).unusedTokens.length,_(e).score=o,a?o<r&&(r=o,n=e):(null==r||o<r||s)&&(r=o,n=e,s&&(a=!0));f(t,n||e)}(t):n?Me(t):function(t){var e=t._i;c(e)?t._d=new Date(i.now()):l(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=_e.exec(t._i);null===e?(ve(t),!1===t._isValid&&(delete t._isValid,ge(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:i.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):o(e)?(t._a=d(e.slice(0),(function(t){return parseInt(t,10)})),xe(t)):s(e)?function(t){if(!t._d){var e=G(t._i),n=void 0===e.day?e.date:e.day;t._a=d([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),xe(t)}}(t):h(e)?t._d=new Date(e):i.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function Te(t,e,n,r,i){var a,c={};return!0!==e&&!1!==e||(r=e,e=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(t)&&u(t)||o(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=i,c._l=n,c._i=t,c._f=e,c._strict=r,(a=new w(ce(Se(c))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Ae(t,e,n,r){return Te(t,e,n,r,!1)}i.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ee=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ae.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()})),Le=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ae.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:y()}));function De(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ae();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}var Ce=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ke(t){var e=G(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,s=e.day||0,u=e.hour||0,c=e.minute||0,h=e.second||0,l=e.millisecond||0;this._isValid=function(t){var e,n,r=!1;for(e in t)if(a(t,e)&&(-1===yt.call(Ce,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Ce.length;++n)if(t[Ce[n]]){if(r)return!1;parseFloat(t[Ce[n]])!==X(t[Ce[n]])&&(r=!0)}return!0}(e),this._milliseconds=+l+1e3*h+6e4*c+1e3*u*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ue(),this._bubble()}function Oe(t){return t instanceof ke}function Ie(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Pe(t,e){Y(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+k(~~(t/60),2)+e+k(~~t%60,2)}))}Pe("Z",":"),Pe("ZZ",""),pt("Z",dt),pt("ZZ",dt),bt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Ye(dt,t)}));var Re=/([\+\-]|\d\d)/gi;function Ye(t,e){var n,r,i=(e||"").match(t);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(Re)||["-",0,0])[1]+X(n[2]))?0:"+"===n[0]?r:-r}function Be(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(x(t)||l(t)?t.valueOf():Ae(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Ae(t).local()}function Ne(t){return-Math.round(t._d.getTimezoneOffset())}function je(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Fe=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ue=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ge(t,e){var n,r,i,o,s,u,c=t,l=null;return Oe(t)?c={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(c={},e?c[e]=+t:c.milliseconds=+t):(l=Fe.exec(t))?(n="-"===l[1]?-1:1,c={y:0,d:X(l[2])*n,h:X(l[3])*n,m:X(l[4])*n,s:X(l[5])*n,ms:X(Ie(1e3*l[6]))*n}):(l=Ue.exec(t))?(n="-"===l[1]?-1:1,c={y:He(l[2],n),M:He(l[3],n),w:He(l[4],n),d:He(l[5],n),h:He(l[6],n),m:He(l[7],n),s:He(l[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Ae(c.from),s=Ae(c.to),i=o.isValid()&&s.isValid()?(s=Be(s,o),o.isBefore(s)?u=Ve(o,s):((u=Ve(s,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(c={}).ms=i.milliseconds,c.M=i.months),r=new ke(c),Oe(t)&&a(t,"_locale")&&(r._locale=t._locale),Oe(t)&&a(t,"_isValid")&&(r._isValid=t._isValid),r}function He(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ve(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function ze(t,e){return function(n,r){var i;return null===r||isNaN(+r)||(E(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),We(this,Ge(n,r),t),this}}function We(t,e,n,r){var o=e._milliseconds,s=Ie(e._days),a=Ie(e._months);t.isValid()&&(r=null==r||r,a&&Dt(t,K(t,"Month")+a*n),s&&q(t,"Date",K(t,"Date")+s*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&i.updateOffset(t,s||a))}Ge.fn=ke.prototype,Ge.invalid=function(){return Ge(NaN)};var Xe=ze(1,"add"),Je=ze(-1,"subtract");function Ke(t){return"string"==typeof t||t instanceof String}function qe(t){return x(t)||l(t)||Ke(t)||h(t)||function(t){var e=o(t),n=!1;return e&&(n=0===t.filter((function(e){return!h(e)&&Ke(t)})).length),e&&n}(t)||function(t){var e,n,r=s(t)&&!u(t),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<o.length;e+=1)n=o[e],i=i||a(t,n);return r&&i}(t)||null==t}function $e(t){var e,n=s(t)&&!u(t),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<i.length;e+=1)r=r||a(t,i[e]);return n&&r}function Ze(t,e){if(t.date()<e.date())return-Ze(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(n+1,"months")-r)))||0}function Qe(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ue(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tn=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function en(){return this._locale}function nn(t,e){return(t%e+e)%e}function rn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function on(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function sn(t,e){return e.erasAbbrRegex(t)}function an(){var t,e,n=[],r=[],i=[],o=[],s=this.eras();for(t=0,e=s.length;t<e;++t)r.push(mt(s[t].name)),n.push(mt(s[t].abbr)),i.push(mt(s[t].narrow)),o.push(mt(s[t].name)),o.push(mt(s[t].abbr)),o.push(mt(s[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function un(t,e){Y(0,[t,t.length],0,e)}function cn(t,e,n,r,i){var o;return null==t?Nt(this,r,i).year:(e>(o=jt(t,r,i))&&(e=o),hn.call(this,t,e,n,r,i))}function hn(t,e,n,r,i){var o=Bt(t,e,n,r,i),s=Rt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),pt("N",sn),pt("NN",sn),pt("NNN",sn),pt("NNNN",(function(t,e){return e.erasNameRegex(t)})),pt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?_(n).era=i:_(n).invalidEra=t})),pt("y",ct),pt("yy",ct),pt("yyy",ct),pt("yyyy",ct),pt("yo",(function(t,e){return e._eraYearOrdinalRegex||ct})),bt(["y","yy","yyy","yyyy"],0),bt(["yo"],(function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[0]=n._locale.eraYearOrdinalParse(t,i):e[0]=parseInt(t,10)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),pt("G",ht),pt("g",ht),pt("GG",rt,Q),pt("gg",rt,Q),pt("GGGG",at,et),pt("gggg",at,et),pt("GGGGG",ut,nt),pt("ggggg",ut,nt),gt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=X(t)})),gt(["gg","GG"],(function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)})),Y("Q",0,"Qo","quarter"),F("quarter","Q"),V("quarter",7),pt("Q",Z),bt("Q",(function(t,e){e[1]=3*(X(t)-1)})),Y("D",["DD",2],"Do","date"),F("date","D"),V("date",9),pt("D",rt),pt("DD",rt,Q),pt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),bt(["D","DD"],2),bt("Do",(function(t,e){e[2]=X(t.match(rt)[0])}));var ln=J("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),V("dayOfYear",4),pt("DDD",st),pt("DDDD",tt),bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=X(t)})),Y("m",["mm",2],0,"minute"),F("minute","m"),V("minute",14),pt("m",rt),pt("mm",rt,Q),bt(["m","mm"],4);var dn=J("Minutes",!1);Y("s",["ss",2],0,"second"),F("second","s"),V("second",15),pt("s",rt),pt("ss",rt,Q),bt(["s","ss"],5);var fn,pn,_n=J("Seconds",!1);for(Y("S",0,0,(function(){return~~(this.millisecond()/100)})),Y(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Y(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Y(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Y(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Y(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Y(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),F("millisecond","ms"),V("millisecond",16),pt("S",st,Z),pt("SS",st,Q),pt("SSS",st,tt),fn="SSSS";fn.length<=9;fn+="S")pt(fn,ct);function mn(t,e){e[6]=X(1e3*("0."+t))}for(fn="S";fn.length<=9;fn+="S")bt(fn,mn);pn=J("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var yn=w.prototype;function vn(t){return t}yn.add=Xe,yn.calendar=function(t,e){1===arguments.length&&(arguments[0]?qe(arguments[0])?(t=arguments[0],e=void 0):$e(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ae(),r=Be(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",s=e&&(L(e[o])?e[o].call(this,n):e[o]);return this.format(s||this.localeData().calendar(o,this,Ae(n)))},yn.clone=function(){return new w(this)},yn.diff=function(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Be(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=U(e)){case"year":o=Ze(this,r)/12;break;case"month":o=Ze(this,r);break;case"quarter":o=Ze(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:W(o)},yn.endOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?on:rn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-nn(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-nn(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-nn(e,1e3)-1}return this._d.setTime(e),i.updateOffset(this,!0),this},yn.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=B(this,t);return this.localeData().postformat(e)},yn.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ae(t).isValid())?Ge({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yn.fromNow=function(t){return this.from(Ae(),t)},yn.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ae(t).isValid())?Ge({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yn.toNow=function(t){return this.to(Ae(),t)},yn.get=function(t){return L(this[t=U(t)])?this[t]():this},yn.invalidAt=function(){return _(this).overflow},yn.isAfter=function(t,e){var n=x(t)?t:Ae(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},yn.isBefore=function(t,e){var n=x(t)?t:Ae(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},yn.isBetween=function(t,e,n,r){var i=x(t)?t:Ae(t),o=x(e)?e:Ae(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))},yn.isSame=function(t,e){var n,r=x(t)?t:Ae(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},yn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},yn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},yn.isValid=function(){return m(this)},yn.lang=tn,yn.locale=Qe,yn.localeData=en,yn.max=Le,yn.min=Ee,yn.parsingFlags=function(){return f({},_(this))},yn.set=function(t,e){if("object"==typeof t){var n,r=function(t){var e,n=[];for(e in t)a(t,e)&&n.push({unit:e,priority:H[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}(t=G(t));for(n=0;n<r.length;n++)this[r[n].unit](t[r[n].unit])}else if(L(this[t=U(t)]))return this[t](e);return this},yn.startOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?on:rn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=nn(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=nn(e,6e4);break;case"second":e=this._d.valueOf(),e-=nn(e,1e3)}return this._d.setTime(e),i.updateOffset(this,!0),this},yn.subtract=Je,yn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},yn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},yn.toDate=function(){return new Date(this.valueOf())},yn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(yn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yn.toJSON=function(){return this.isValid()?this.toISOString():null},yn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yn.unix=function(){return Math.floor(this.valueOf()/1e3)},yn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yn.eraName=function(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].name;if(r[t].until<=n&&n<=r[t].since)return r[t].name}return""},yn.eraNarrow=function(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].narrow;if(r[t].until<=n&&n<=r[t].since)return r[t].narrow}return""},yn.eraAbbr=function(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until)return r[t].abbr;if(r[t].until<=n&&n<=r[t].since)return r[t].abbr}return""},yn.eraYear=function(){var t,e,n,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(n=o[t].since<=o[t].until?1:-1,r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return(this.year()-i(o[t].since).year())*n+o[t].offset;return this.year()},yn.year=It,yn.isLeapYear=function(){return z(this.year())},yn.weekYear=function(t){return cn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},yn.isoWeekYear=function(t){return cn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},yn.quarter=yn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},yn.month=Ct,yn.daysInMonth=function(){return xt(this.year(),this.month())},yn.week=yn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},yn.isoWeek=yn.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},yn.weeksInYear=function(){var t=this.localeData()._week;return jt(this.year(),t.dow,t.doy)},yn.weeksInWeekYear=function(){var t=this.localeData()._week;return jt(this.weekYear(),t.dow,t.doy)},yn.isoWeeksInYear=function(){return jt(this.year(),1,4)},yn.isoWeeksInISOWeekYear=function(){return jt(this.isoWeekYear(),1,4)},yn.date=ln,yn.day=yn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},yn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},yn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},yn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},yn.hour=yn.hours=Qt,yn.minute=yn.minutes=dn,yn.second=yn.seconds=_n,yn.millisecond=yn.milliseconds=pn,yn.utcOffset=function(t,e,n){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ye(dt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=Ne(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?We(this,Ge(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ne(this)},yn.utc=function(t){return this.utcOffset(0,t)},yn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ne(this),"m")),this},yn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ye(lt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},yn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ae(t).utcOffset():0,(this.utcOffset()-t)%60==0)},yn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yn.isLocal=function(){return!!this.isValid()&&!this._isUTC},yn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yn.isUtc=je,yn.isUTC=je,yn.zoneAbbr=function(){return this._isUTC?"UTC":""},yn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yn.dates=S("dates accessor is deprecated. Use date instead.",ln),yn.months=S("months accessor is deprecated. Use month instead",Ct),yn.years=S("years accessor is deprecated. Use year instead",It),yn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),yn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return g(e,this),(e=Se(e))._a?(t=e._isUTC?p(e._a):Ae(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&X(t[r])!==X(e[r]))&&s++;return s+o}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var bn=C.prototype;function gn(t,e,n,r){var i=ue(),o=p().set(r,e);return i[n](o,t)}function wn(t,e,n){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return gn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=gn(t,r,n,"month");return i}function xn(t,e,n,r){"boolean"==typeof t?(h(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,h(e)&&(n=e,e=void 0),e=e||"");var i,o=ue(),s=t?o._week.dow:0,a=[];if(null!=n)return gn(e,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=gn(e,(i+s)%7,r,"day");return a}bn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return L(r)?r.call(e,n):r},bn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(O).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(t){return this._ordinal.replace("%d",t)},bn.preparse=vn,bn.postformat=vn,bn.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return L(i)?i(t,e,n,r):i.replace(/%d/i,t)},bn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return L(n)?n(e):n.replace(/%s/i,e)},bn.set=function(t){var e,n;for(n in t)a(t,n)&&(L(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.eras=function(t,e){var n,r,o,s=this._eras||ue("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":o=i(s[n].since).startOf("day"),s[n].since=o.valueOf()}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":o=i(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}}return s},bn.erasParse=function(t,e,n){var r,i,o,s,a,u=this.eras();for(t=t.toUpperCase(),r=0,i=u.length;r<i;++r)if(o=u[r].name.toUpperCase(),s=u[r].abbr.toUpperCase(),a=u[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(s===t)return u[r];break;case"NNNN":if(o===t)return u[r];break;case"NNNNN":if(a===t)return u[r]}else if([o,s,a].indexOf(t)>=0)return u[r]},bn.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n},bn.erasAbbrRegex=function(t){return a(this,"_erasAbbrRegex")||an.call(this),t?this._erasAbbrRegex:this._erasRegex},bn.erasNameRegex=function(t){return a(this,"_erasNameRegex")||an.call(this),t?this._erasNameRegex:this._erasRegex},bn.erasNarrowRegex=function(t){return a(this,"_erasNarrowRegex")||an.call(this),t?this._erasNarrowRegex:this._erasRegex},bn.months=function(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Tt).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone},bn.monthsShort=function(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Tt.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(t,e,n){var r,i,o;if(this._monthsParseExact)return Lt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},bn.monthsRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||kt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||kt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=At),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ft(n,this._week.dow):t?n[t.day()]:n},bn.weekdaysMin=function(t){return!0===t?Ft(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},bn.weekdaysShort=function(t){return!0===t?Ft(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},bn.weekdaysParse=function(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Xt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},bn.weekdaysRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=zt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Wt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},bn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},se("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===X(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",se),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ue);var Mn=Math.abs;function Sn(t,e,n,r){var i=Ge(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Tn(t){return t<0?Math.floor(t):Math.ceil(t)}function An(t){return 4800*t/146097}function En(t){return 146097*t/4800}function Ln(t){return function(){return this.as(t)}}var Dn=Ln("ms"),Cn=Ln("s"),kn=Ln("m"),On=Ln("h"),In=Ln("d"),Pn=Ln("w"),Rn=Ln("M"),Yn=Ln("Q"),Bn=Ln("y");function Nn(t){return function(){return this.isValid()?this._data[t]:NaN}}var jn=Nn("milliseconds"),Fn=Nn("seconds"),Un=Nn("minutes"),Gn=Nn("hours"),Hn=Nn("days"),Vn=Nn("months"),zn=Nn("years"),Wn=Math.round,Xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Jn(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}var Kn=Math.abs;function qn(t){return(t>0)-(t<0)||+t}function $n(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,o,s,a,u=Kn(this._milliseconds)/1e3,c=Kn(this._days),h=Kn(this._months),l=this.asSeconds();return l?(t=W(u/60),e=W(t/60),u%=60,t%=60,n=W(h/12),h%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=l<0?"-":"",o=qn(this._months)!==qn(l)?"-":"",s=qn(this._days)!==qn(l)?"-":"",a=qn(this._milliseconds)!==qn(l)?"-":"",i+"P"+(n?o+n+"Y":"")+(h?o+h+"M":"")+(c?s+c+"D":"")+(e||t||u?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(u?a+r+"S":"")):"P0D"}var Zn=ke.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var t=this._data;return this._milliseconds=Mn(this._milliseconds),this._days=Mn(this._days),this._months=Mn(this._months),t.milliseconds=Mn(t.milliseconds),t.seconds=Mn(t.seconds),t.minutes=Mn(t.minutes),t.hours=Mn(t.hours),t.months=Mn(t.months),t.years=Mn(t.years),this},Zn.add=function(t,e){return Sn(this,t,e,1)},Zn.subtract=function(t,e){return Sn(this,t,e,-1)},Zn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=U(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+An(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(En(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Zn.asMilliseconds=Dn,Zn.asSeconds=Cn,Zn.asMinutes=kn,Zn.asHours=On,Zn.asDays=In,Zn.asWeeks=Pn,Zn.asMonths=Rn,Zn.asQuarters=Yn,Zn.asYears=Bn,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*X(this._months/12):NaN},Zn._bubble=function(){var t,e,n,r,i,o=this._milliseconds,s=this._days,a=this._months,u=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Tn(En(a)+s),s=0,a=0),u.milliseconds=o%1e3,t=W(o/1e3),u.seconds=t%60,e=W(t/60),u.minutes=e%60,n=W(e/60),u.hours=n%24,s+=W(n/24),i=W(An(s)),a+=i,s-=Tn(En(i)),r=W(a/12),a%=12,u.days=s,u.months=a,u.years=r,this},Zn.clone=function(){return Ge(this)},Zn.get=function(t){return t=U(t),this.isValid()?this[t+"s"]():NaN},Zn.milliseconds=jn,Zn.seconds=Fn,Zn.minutes=Un,Zn.hours=Gn,Zn.days=Hn,Zn.weeks=function(){return W(this.days()/7)},Zn.months=Vn,Zn.years=zn,Zn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=Xn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(o=Object.assign({},Xn,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),n=this.localeData(),r=function(t,e,n,r){var i=Ge(t).abs(),o=Wn(i.as("s")),s=Wn(i.as("m")),a=Wn(i.as("h")),u=Wn(i.as("d")),c=Wn(i.as("M")),h=Wn(i.as("w")),l=Wn(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(d=d||h<=1&&["w"]||h<n.w&&["ww",h]),(d=d||c<=1&&["M"]||c<n.M&&["MM",c]||l<=1&&["y"]||["yy",l])[2]=e,d[3]=+t>0,d[4]=r,Jn.apply(null,d)}(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},Zn.toISOString=$n,Zn.toString=$n,Zn.toJSON=$n,Zn.locale=Qe,Zn.localeData=en,Zn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$n),Zn.lang=tn,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),pt("x",ht),pt("X",/[+-]?\d+(\.\d{1,3})?/),bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),bt("x",(function(t,e,n){n._d=new Date(X(t))})),
  156. //! moment.js
  157. i.version="2.29.1",e=Ae,i.fn=yn,i.min=function(){var t=[].slice.call(arguments,0);return De("isBefore",t)},i.max=function(){var t=[].slice.call(arguments,0);return De("isAfter",t)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=p,i.unix=function(t){return Ae(1e3*t)},i.months=function(t,e){return wn(t,e,"months")},i.isDate=l,i.locale=se,i.invalid=y,i.duration=Ge,i.isMoment=x,i.weekdays=function(t,e,n){return xn(t,e,n,"weekdays")},i.parseZone=function(){return Ae.apply(null,arguments).parseZone()},i.localeData=ue,i.isDuration=Oe,i.monthsShort=function(t,e){return wn(t,e,"monthsShort")},i.weekdaysMin=function(t,e,n){return xn(t,e,n,"weekdaysMin")},i.defineLocale=ae,i.updateLocale=function(t,e){if(null!=e){var n,r,i=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(D(ee[t]._config,e)):(null!=(r=oe(t))&&(i=r._config),e=D(i,e),null==r&&(e.abbr=t),(n=new C(e)).parentLocale=ee[t],ee[t]=n),se(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===se()&&se(t)):null!=ee[t]&&delete ee[t]);return ee[t]},i.locales=function(){return T(ee)},i.weekdaysShort=function(t,e,n){return xn(t,e,n,"weekdaysShort")},i.normalizeUnits=U,i.relativeTimeRounding=function(t){return void 0===t?Wn:"function"==typeof t&&(Wn=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==Xn[t]&&(void 0===e?Xn[t]:(Xn[t]=e,"s"===t&&(Xn.ss=e-1),!0))},i.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=yn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n("RoC8")(t))},U5Cp:function(t,e,n){!function(t){"use strict";
  158. //! moment.js locale configuration
  159. t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,r=this._calendarEl[t],i=e&&e.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(e)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n("TiKg"))},UKIa:function(t,e,n){!function(t){"use strict";
  160. //! moment.js locale configuration
  161. t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("TiKg"))},UKnr:function(t,e,n){"use strict";e.decode=e.parse=n("MNOf"),e.encode=e.stringify=n("THQi")},UZ6Q:function(t,e,n){!function(t){"use strict";
  162. //! moment.js locale configuration
  163. var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("TiKg"))},Ueyn:function(t,e,n){!function(t){"use strict";
  164. //! moment.js locale configuration
  165. t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n("TiKg"))},Ux2S:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.getEnvBtoa=function(){return"undefined"!=typeof window?window.btoa:n},e.getEnvAtob=function(){return"undefined"!=typeof window?window.atob:r};var n=function(e){if(void 0===t)throw new Error("UnsupportedEnvironment");var n=Object.prototype.toString.call(e).slice(8,-1);return(t.isBuffer(e)?e:["ArrayBuffer","TypedArray","Uint8Array","Int8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"].indexOf(n)>=0?t.from(e):t.from(e.toString(),"binary")).toString("base64")},r=function(e){if(void 0===t)throw new Error("UnsupportedEnvironment");return t.from(e,"base64").toString("binary")}}).call(this,n("qykS").Buffer)},Uz2K:function(t,e,n){!function(t){"use strict";
  166. //! moment.js locale configuration
  167. var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n("TiKg"))},VCFo:function(t,e,n){!function(t){"use strict";
  168. //! moment.js locale configuration
  169. var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(n("TiKg"))},VVP3:function(t,e,n){!function(t){"use strict";
  170. //! moment.js locale configuration
  171. t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},Vbbc:function(t,e,n){!function(t){"use strict";
  172. //! moment.js locale configuration
  173. t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("TiKg"))},Vtn2:function(t,e,n){!function(t){"use strict";
  174. //! moment.js locale configuration
  175. var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n("TiKg"))},WFt6:function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("X9FS")),o={public:"PUBLIC KEY",private:"PRIVATE KEY",encryptedPrivate:"ENCRYPTED PRIVATE KEY",certificate:"CERTIFICATE",certRequest:"CERTIFICATE REQUEST"};e.pemToBin=function(t){var e=a(t);return i.decodeBase64(e)},e.binToPem=function(t,e){var n=i.encodeBase64(t);return s(n,e)};var s=function(t,e){if(Object.keys(o).indexOf(e)<0)throw new Error("Unsupported type");for(var n=o[e],r="-----BEGIN "+n+"-----\n";t.length>0;)r+=t.substring(0,64)+"\n",t=t.substring(64);return r=r+"-----END "+n+"-----"},a=function(t){var e=RegExp("^-----[s]*BEGIN[^-]*-----$","gm"),n=RegExp("^-----[s]*END[^-]*-----$","gm");try{var r=t.split(e)[1].split(n)[0];return r=r.replace(/\r?\n/g,"")}catch(t){throw new Error("Invalid format as PEM")}}},WXVf:function(t,e,n){!function(t){"use strict";
  176. //! moment.js locale configuration
  177. t.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(t,e,n){return"ი"===n?e+"ში":e+n+"ში"}))},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):t},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(n("TiKg"))},WeoI:function(t,e,n){var r=n("smmp"),i=n("pRMk").Buffer,o=n("3qw6");function s(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var n=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*n)]);for(var a=0;a<n;a++){var u=s(t),c=o+16*a;t._cache.writeUInt32BE(u[0],c+0),t._cache.writeUInt32BE(u[1],c+4),t._cache.writeUInt32BE(u[2],c+8),t._cache.writeUInt32BE(u[3],c+12)}var h=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),r(e,h)}},WnjQ:function(t,e,n){!function(t){"use strict";
  178. //! moment.js locale configuration
  179. t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("TiKg"))},WpTu:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64,blockSize:72},"SHA3-384":{nodeName:"sha3-384",hashSize:48,blockSize:104},"SHA3-256":{nodeName:"sha3-256",hashSize:32,blockSize:136},"SHA3-224":{nodeName:"sha3-224",hashSize:28,blockSize:144},"SHA-256":{nodeName:"sha256",hashSize:32,blockSize:64},"SHA-384":{nodeName:"sha384",hashSize:48,blockSize:128},"SHA-512":{nodeName:"sha512",hashSize:64,blockSize:128},"SHA-1":{nodeName:"sha1",hashSize:20,blockSize:64},MD5:{nodeName:"md5",hashSize:16,blockSize:64}}}},Wxe8:function(t,e,n){var r;function i(t){this.rand=t}if(t.exports=function(t){return r||(r=new i(null)),r.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),n=0;n<e.length;n++)e[n]=this.rand.getByte();return e},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=n(4);if("function"!=typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(t){return o.randomBytes(t)}}catch(t){}},X9FS:function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("Ux2S"));e.encodeBase64=function(t){var n="";return n="string"==typeof t?t:e.arrayBufferToString(t),i.getEnvBtoa()(n)},e.decodeBase64=function(t){var n=i.getEnvAtob()(t),r=e.stringToArrayBuffer(n);return s(r)};var o=function(t){if(t instanceof Uint8Array)return t;if(ArrayBuffer.isView(t)&&void 0!==t.buffer)return new Uint8Array(t.buffer);if(t instanceof ArrayBuffer)return new Uint8Array(t);throw new Error("Input must be an ArrayBuffer or a TypedArray")},s=function(t){for(var e=!0,n=0;n<t.length;n++)if(t[n]>126||t[n]<32&&13!==t[n]&&10!==t[n]){e=!1;break}var r=null;if(e){r="";for(n=0;n<t.length;n++)r+=String.fromCharCode(t[n])}else r=t;return r};e.encodeBase64Url=function(t){return e.encodeBase64(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},e.decodeBase64Url=function(t){return t=t.replace(/-/g,"+").replace(/_/g,"/"),e.decodeBase64(t)},e.arrayBufferToHexString=function(t){for(var e=o(t),n="",r=0;r<e.length;r++){var i=(255&e[r]).toString(16);n+=i=1===i.length?"0"+i:i}return n},e.hexStringToArrayBuffer=function(t){for(var e=[],n=t.length,r=0;r<n;r+=2)e.push(parseInt(t.substr(r,2),16));return new Uint8Array(e)},e.arrayBufferToString=function(t){var e=o(t),n=new Array(e.length);return e.forEach((function(t,e){n[e]=t})),String.fromCharCode.apply(null,n)},e.stringToArrayBuffer=function(t){return new Uint8Array(t.length).map((function(e,n){return t.charCodeAt(n)}))}},XLIu:function(t,e,n){!function(t){"use strict";
  180. //! moment.js locale configuration
  181. var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("TiKg"))},XOZl:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
  182. /*!
  183. * GSAP 3.7.1
  184. * https://greensock.com
  185. *
  186. * @license Copyright 2008-2021, GreenSock. All rights reserved.
  187. * Subject to the terms at https://greensock.com/standard-license or for
  188. * Club GreenSock members, the agreement issued with that membership.
  189. * @author: Jack Doyle, jack@greensock.com
  190. */n.d(e,"b",(function(){return Dr})),n.d(e,"a",(function(){return Dr}));var o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M,S,T,A,E,L,D,C,k,O,I={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},P={duration:.5,overwrite:!1,delay:0},R=1e8,Y=2*Math.PI,B=Y/4,N=0,j=Math.sqrt,F=Math.cos,U=Math.sin,G=function(t){return"string"==typeof t},H=function(t){return"function"==typeof t},V=function(t){return"number"==typeof t},z=function(t){return void 0===t},W=function(t){return"object"==typeof t},X=function(t){return!1!==t},J=function(){return"undefined"!=typeof window},K=function(t){return H(t)||G(t)},q="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,Z=/(?:-?\.?\d|\.)+/gi,Q=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,tt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,et=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,nt=/[+-]=-?[.\d]+/,rt=/[^,'"\[\]\s]+/gi,it=/[\d.+\-=]+(?:e[-+]\d*)*/i,ot={},st={},at=function(t){return(st=Ot(t,ot))&&yn},ut=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ct=function(t,e){return!e&&console.warn(t)},ht=function(t,e){return t&&(ot[t]=e)&&st&&(st[t]=e)||ot},lt=function(){return 0},dt={},ft=[],pt={},_t={},mt={},yt=30,vt=[],bt="",gt=function(t){var e,n,r=t[0];if(W(r)||H(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(n=vt.length;n--&&!vt[n].targetTest(r););e=vt[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new Ue(t[n],e)))||t.splice(n,1);return t},wt=function(t){return t._gsap||gt(ae(t))[0]._gsap},xt=function(t,e,n){return(n=t[e])&&H(n)?t[e]():z(n)&&t.getAttribute&&t.getAttribute(e)||n},Mt=function(t,e){return(t=t.split(",")).forEach(e)||t},St=function(t){return Math.round(1e5*t)/1e5||0},Tt=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},At=function(){var t,e,n=ft.length,r=ft.slice(0);for(pt={},ft.length=0,t=0;t<n;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Et=function(t,e,n,r){ft.length&&At(),t.render(e,n,r),ft.length&&At()},Lt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(rt).length<2?e:G(t)?t.trim():t},Dt=function(t){return t},Ct=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},kt=function(t,e){for(var n in e)n in t||"duration"===n||"ease"===n||(t[n]=e[n])},Ot=function(t,e){for(var n in e)t[n]=e[n];return t},It=function t(e,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=W(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Pt=function(t,e){var n,r={};for(n in t)n in e||(r[n]=t[n]);return r},Rt=function(t){var e=t.parent||s,n=t.keyframes?kt:Ct;if(X(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},Yt=function(t,e,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=e._prev,o=e._next;i?i._next=o:t[n]===e&&(t[n]=o),o?o._prev=i:t[r]===e&&(t[r]=i),e._next=e._prev=e.parent=null},Bt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},Nt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},jt=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ft=function(t){return t._repeat?Ut(t._tTime,t=t.duration()+t._rDelay)*t:0},Ut=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},Gt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ht=function(t){return t._end=St(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},Vt=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=St(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ht(t),n._dirty||Nt(n,t)),t},zt=function(t,e){var n;if((e._time||e._initted&&!e._dur)&&(n=Gt(t.rawTime(),e),(!e._dur||ne(0,e.totalDuration(),n)-e._tTime>1e-8)&&e.render(n,!0)),Nt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},Wt=function(t,e,n,r){return e.parent&&Bt(e),e._start=St((V(n)?n:n||t!==s?Qt(t,n,e):t._time)+e._delay),e._end=St(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var o,s=t[r];if(i)for(o=e[i];s&&s[i]>o;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),Kt(e)||(t._recent=e),r||zt(t,e),t},Xt=function(t,e){return(ot.ScrollTrigger||ut("scrollTrigger",e))&&ot.ScrollTrigger.create(e,t)},Jt=function(t,e,n,r){return Je(t,e),t._initted?!n&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&l!==Le.frame?(ft.push(t),t._lazy=[e,r],1):void 0:1},Kt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},qt=function(t,e,n,r){var i=t._repeat,o=St(e)||0,s=t._tTime/t._tDur;return s&&!r&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:St(o*(i+1)+t._rDelay*i):o,s&&!r?Vt(t,t._tTime=t._tDur*s):t.parent&&Ht(t),n||Nt(t.parent,t),t},$t=function(t){return t instanceof He?Nt(t):qt(t,t._dur)},Zt={_start:0,endTime:lt,totalDuration:lt},Qt=function t(e,n,r){var i,o,s,a=e.labels,u=e._recent||Zt,c=e.duration()>=R?u.endTime(!1):e._dur;return G(n)&&(isNaN(n)||n in a)?(o=n.charAt(0),s="%"===n.substr(-1),i=n.indexOf("="),"<"===o||">"===o?(i>=0&&(n=n.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(i<0?u:r).totalDuration()/100:1)):i<0?(n in a||(a[n]=c),a[n]):(o=parseFloat(n.charAt(i-1)+n.substr(i+1)),s&&r&&(o=o/100*($(r)?r[0]:r).totalDuration()),i>1?t(e,n.substr(0,i-1),r)+o:c+o)):null==n?c:+n},te=function(t,e,n){var r,i,o=V(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=n,t){for(r=a,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=X(i.vars.inherit)&&i.parent;a.immediateRender=X(r.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Ze(e[0],a,e[s+1])},ee=function(t,e){return t||0===t?e(t):e},ne=function(t,e,n){return n<t?t:n>e?e:n},re=function(t){if("string"!=typeof t)return"";var e=it.exec(t);return e?t.substr(e.index+e[0].length):""},ie=[].slice,oe=function(t,e){return t&&W(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&W(t[0]))&&!t.nodeType&&t!==a},se=function(t,e,n){return void 0===n&&(n=[]),t.forEach((function(t){var r;return G(t)&&!e||oe(t,1)?(r=n).push.apply(r,ae(t)):n.push(t)}))||n},ae=function(t,e,n){return!G(t)||n||!u&&De()?$(t)?se(t,n):oe(t)?ie.call(t,0):t?[t]:[]:ie.call((e||c).querySelectorAll(t),0)},ue=function(t){return t.sort((function(){return.5-Math.random()}))},ce=function(t){if(H(t))return t;var e=W(t)?t:{each:t},n=Ye(e.ease),r=e.from||0,i=parseFloat(e.base)||0,o={},s=r>0&&r<1,a=isNaN(r)||s,u=e.axis,c=r,h=r;return G(r)?c=h={center:.5,edges:.5,end:1}[r]||0:!s&&a&&(c=r[0],h=r[1]),function(t,s,l){var d,f,p,_,m,y,v,b,g,w=(l||e).length,x=o[w];if(!x){if(!(g="auto"===e.grid?0:(e.grid||[1,R])[1])){for(v=-R;v<(v=l[g++].getBoundingClientRect().left)&&g<w;);g--}for(x=o[w]=[],d=a?Math.min(g,w)*c-.5:r%g,f=a?w*h/g-.5:r/g|0,v=0,b=R,y=0;y<w;y++)p=y%g-d,_=f-(y/g|0),x[y]=m=u?Math.abs("y"===u?_:p):j(p*p+_*_),m>v&&(v=m),m<b&&(b=m);"random"===r&&ue(x),x.max=v-b,x.min=b,x.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(g>w?w-1:u?"y"===u?w/g:g:Math.max(g,w/g))||0)*("edges"===r?-1:1),x.b=w<0?i-w:i,x.u=re(e.amount||e.each)||0,n=n&&w<0?Pe(n):n}return w=(x[t]-x.min)/x.max||0,St(x.b+(n?n(w):w)*x.v)+x.u}},he=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){var r=Math.round(parseFloat(n)/t)*t*e;return(r-r%1)/e+(V(n)?0:re(n))}},le=function(t,e){var n,r,i=$(t);return!i&&W(t)&&(n=i=t.radius||R,t.values?(t=ae(t.values),(r=!V(t[0]))&&(n*=n)):t=he(t.increment)),ee(e,i?H(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,o,s=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),u=R,c=0,h=t.length;h--;)(i=r?(i=t[h].x-s)*i+(o=t[h].y-a)*o:Math.abs(t[h]-s))<u&&(u=i,c=h);return c=!n||u<=n?t[c]:e,r||c===e||V(e)?c:c+re(e)}:he(t))},de=function(t,e,n,r){return ee($(t)?!e:!0===n?!!(n=0):!r,(function(){return $(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*r)/r}))},fe=function(t,e,n){return ee(n,(function(n){return t[~~e(n)]}))},pe=function(t){for(var e,n,r,i,o=0,s="";~(e=t.indexOf("random(",o));)r=t.indexOf(")",e),i="["===t.charAt(e+7),n=t.substr(e+7,r-e-7).match(i?rt:Z),s+=t.substr(o,e-o)+de(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),o=r+1;return s+t.substr(o,t.length-o)},_e=function(t,e,n,r,i){var o=e-t,s=r-n;return ee(i,(function(e){return n+((e-t)/o*s||0)}))},me=function(t,e,n){var r,i,o,s=t.labels,a=R;for(r in s)(i=s[r]-e)<0==!!n&&i&&a>(i=Math.abs(i))&&(o=r,a=i);return o},ye=function(t,e,n){var r,i,o=t.vars,s=o[e];if(s)return r=o[e+"Params"],i=o.callbackScope||t,n&&ft.length&&At(),r?s.apply(i,r):s.call(i)},ve=function(t){return Bt(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&ye(t,"onInterrupt"),t},be=function(t){var e=(t=!t.name&&t.default||t).name,n=H(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:lt,render:un,add:We,kill:hn,modifier:cn,rawVars:0},o={targetTest:0,get:0,getSetter:rn,aliases:{},register:0};if(De(),t!==r){if(_t[e])return;Ct(r,Ct(Pt(t,i),o)),Ot(r.prototype,Ot(i,Pt(t,o))),_t[r.prop=e]=r,t.targetTest&&(vt.push(r),dt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ht(e,r),t.register&&t.register(yn,r,fn)},ge={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},we=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},xe=function(t,e,n){var r,i,o,s,a,u,c,h,l,d,f=t?V(t)?[t>>16,t>>8&255,255&t]:0:ge.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ge[t])f=ge[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+r+r+i+i+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&255,255&f,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(f=d=t.match(Z),e){if(~t.indexOf("="))return f=t.match(Q),n&&f.length<4&&(f[3]=1),f}else s=+f[0]%360/360,a=+f[1]/100,r=2*(u=+f[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),f.length>3&&(f[3]*=1),f[0]=we(s+1/3,r,i),f[1]=we(s,r,i),f[2]=we(s-1/3,r,i);else f=t.match(Z)||ge.transparent;f=f.map(Number)}return e&&!d&&(r=f[0]/255,i=f[1]/255,o=f[2]/255,u=((c=Math.max(r,i,o))+(h=Math.min(r,i,o)))/2,c===h?s=a=0:(l=c-h,a=u>.5?l/(2-c-h):l/(c+h),s=c===r?(i-o)/l+(i<o?6:0):c===i?(o-r)/l+2:(r-i)/l+4,s*=60),f[0]=~~(s+.5),f[1]=~~(100*a+.5),f[2]=~~(100*u+.5)),n&&f.length<4&&(f[3]=1),f},Me=function(t){var e=[],n=[],r=-1;return t.split(Te).forEach((function(t){var i=t.match(tt)||[];e.push.apply(e,i),n.push(r+=i.length+1)})),e.c=n,e},Se=function(t,e,n){var r,i,o,s,a="",u=(t+a).match(Te),c=e?"hsla(":"rgba(",h=0;if(!u)return t;if(u=u.map((function(t){return(t=xe(t,e,1))&&c+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),n&&(o=Me(t),(r=n.c).join(a)!==o.c.join(a)))for(s=(i=t.replace(Te,"1").split(tt)).length-1;h<s;h++)a+=i[h]+(~r.indexOf(h)?u.shift()||c+"0,0,0,0)":(o.length?o:u.length?u:n).shift());if(!i)for(s=(i=t.split(Te)).length-1;h<s;h++)a+=i[h]+u[h];return a+i[s]},Te=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in ge)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Ae=/hsl[a]?\(/,Ee=function(t){var e,n=t.join(" ");if(Te.lastIndex=0,Te.test(n))return e=Ae.test(n),t[1]=Se(t[1],e),t[0]=Se(t[0],e,Me(t[1])),!0},Le=(g=Date.now,w=500,x=33,M=g(),S=M,A=T=1e3/240,L=function t(e){var n,r,i,o,s=g()-S,a=!0===e;if(s>w&&(M+=s-x),((n=(i=(S+=s)-M)-A)>0||a)&&(o=++y.frame,v=i-1e3*y.time,y.time=i/=1e3,A+=n+(n>=T?4:T-n),r=1),a||(p=_(t)),r)for(b=0;b<E.length;b++)E[b](i,v,o,e)},y={time:0,frame:0,tick:function(){L(!0)},deltaRatio:function(t){return v/(1e3/(t||60))},wake:function(){h&&(!u&&J()&&(a=u=window,c=a.document||{},ot.gsap=yn,(a.gsapVersions||(a.gsapVersions=[])).push(yn.version),at(st||a.GreenSockGlobals||!a.gsap&&a||{}),m=a.requestAnimationFrame),p&&y.sleep(),_=m||function(t){return setTimeout(t,A-1e3*y.time+1|0)},f=1,L(2))},sleep:function(){(m?a.cancelAnimationFrame:clearTimeout)(p),f=0,_=lt},lagSmoothing:function(t,e){w=t||1/1e-8,x=Math.min(e,w,0)},fps:function(t){T=1e3/(t||240),A=1e3*y.time+T},add:function(t){E.indexOf(t)<0&&E.push(t),De()},remove:function(t){var e;~(e=E.indexOf(t))&&E.splice(e,1)&&b>=e&&b--},_listeners:E=[]}),De=function(){return!f&&Le.wake()},Ce={},ke=/^[\d.\-M][\d.\-,\s]/,Oe=/["']/g,Ie=function(t){for(var e,n,r,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a<u;a++)n=o[a],e=a!==u-1?n.lastIndexOf(","):n.length,r=n.substr(0,e),i[s]=isNaN(r)?r.replace(Oe,"").trim():+r,s=n.substr(e+1).trim();return i},Pe=function(t){return function(e){return 1-t(1-e)}},Re=function t(e,n){for(var r,i=e._first;i;)i instanceof He?t(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?t(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},Ye=function(t,e){return t&&(H(t)?t:Ce[t]||function(t){var e,n,r,i,o=(t+"").split("("),s=Ce[o[0]];return s&&o.length>1&&s.config?s.config.apply(null,~t.indexOf("{")?[Ie(o[1])]:(e=t,n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n),e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)).split(",").map(Lt)):Ce._CE&&ke.test(t)?Ce._CE("",t):s}(t))||e},Be=function(t,e,n,r){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,o={easeIn:e,easeOut:n,easeInOut:r};return Mt(t,(function(t){for(var e in Ce[t]=ot[t]=o,Ce[i=t.toLowerCase()]=n,o)Ce[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ce[t+"."+e]=o[e]})),o},Ne=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},je=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/Y*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*U((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Ne(a);return o=Y/o,u.config=function(n,r){return t(e,n,r)},u},Fe=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:Ne(r);return i.config=function(n){return t(e,n)},i};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var n=e<5?e+1:e;Be(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},(function(t){return 1-Math.pow(1-t,n)}),(function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2}))})),Ce.Linear.easeNone=Ce.none=Ce.Linear.easeIn,Be("Elastic",je("in"),je("out"),je()),D=7.5625,k=1/(C=2.75),Be("Bounce",(function(t){return 1-O(1-t)}),O=function(t){return t<k?D*t*t:t<.7272727272727273?D*Math.pow(t-1.5/C,2)+.75:t<.9090909090909092?D*(t-=2.25/C)*t+.9375:D*Math.pow(t-2.625/C,2)+.984375}),Be("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),Be("Circ",(function(t){return-(j(1-t*t)-1)})),Be("Sine",(function(t){return 1===t?1:1-F(t*B)})),Be("Back",Fe("in"),Fe("out"),Fe()),Ce.SteppedEase=Ce.steps=ot.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,r=t+(e?0:1),i=e?1:0;return function(t){return((r*ne(0,1-1e-8,t)|0)+i)*n}}},P.ease=Ce["quad.out"],Mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return bt+=t+","+t+"Params,"}));var Ue=function(t,e){this.id=N++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:xt,this.set=e?e.getSetter:rn},Ge=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,qt(this,+t.duration,1,1),this.data=t.data,f||Le.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,qt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(De(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Vt(this,t),!n._dp||n.parent||zt(n,this);n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Wt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Et(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ft(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ft(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?Ut(this._tTime,n)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Gt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,jt(this.totalTime(ne(-this._delay,this._tDur,e),!0))},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(De(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Wt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(X(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Gt(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(e._ts||1),e=e._dp;return n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,$t(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,$t(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Qt(this,t),X(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,X(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-1e-8))},e.eventCallback=function(t,e,n){var r=this.vars;return arguments.length>1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(n){var r=H(t)?t:Dt,i=function(){var t=e.then;e.then=null,H(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){ve(this)},t}();Ct(Ge.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var He=function(t){function e(e,n){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=X(e.sortChildren),s&&Wt(e.parent||s,r(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Xt(r(i),e.scrollTrigger),i}i(e,t);var n=e.prototype;return n.to=function(t,e,n){return te(0,arguments,this),this},n.from=function(t,e,n){return te(1,arguments,this),this},n.fromTo=function(t,e,n,r){return te(2,arguments,this),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,Rt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ze(t,e,Qt(this,n),1),this},n.call=function(t,e,n){return Wt(this,Ze.delayedCall(0,t,e),n)},n.staggerTo=function(t,e,n,r,i,o,s){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=o,n.onCompleteParams=s,n.parent=this,new Ze(t,n,Qt(this,i)),this},n.staggerFrom=function(t,e,n,r,i,o,s){return n.runBackwards=1,Rt(n).immediateRender=X(n.immediateRender),this.staggerTo(t,e,n,r,i,o,s)},n.staggerFromTo=function(t,e,n,r,i,o,s,a){return r.startAt=n,Rt(r).immediateRender=X(r.immediateRender),this.staggerTo(t,e,r,i,o,s,a)},n.render=function(t,e,n){var r,i,o,a,u,c,h,l,d,f,p,_,m=this._time,y=this._dirty?this.totalDuration():this._tDur,v=this._dur,b=this!==s&&t>y-1e-8&&t>=0?y:t<1e-8?0:t,g=this._zTime<0!=t<0&&(this._initted||!v);if(b!==this._tTime||n||g){if(m!==this._time&&v&&(b+=this._time-m,t+=this._time-m),r=b,d=this._start,c=!(l=this._ts),g&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,u=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,n);if(r=St(b%u),b===y?(a=this._repeat,r=v):((a=~~(b/u))&&a===b/u&&(r=v,a--),r>v&&(r=v)),f=Ut(this._tTime,u),!m&&this._tTime&&f!==a&&(f=a),p&&1&a&&(r=v-r,_=1),a!==f&&!this._lock){var w=p&&1&f,x=w===(p&&1&a);if(a<f&&(w=!w),m=w?0:v,this._lock=1,this.render(m||(_?0:St(a*u)),e,!v)._lock=0,this._tTime=b,!e&&this.parent&&ye(this,"onRepeat"),this.vars.repeatRefresh&&!_&&(this.invalidate()._lock=1),m&&m!==this._time||c!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,y=this._tDur,x&&(this._lock=2,m=w?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!_&&this.invalidate()),this._lock=0,!this._ts&&!c)return this;Re(this,_)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if(!r._dur&&"isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if(!r._dur&&"isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,St(m),St(r)))&&(b-=r-(r=h._start)),this._tTime=b,this._time=r,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&r&&!e&&(ye(this,"onStart"),this._tTime!==b))return this;if(r>=m&&t>=0)for(i=this._first;i;){if(o=i._next,(i._act||r>=i._start)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!c){h=0,o&&(b+=this._zTime=-1e-8);break}}i=o}else{i=this._last;for(var M=t<0?t:r;i;){if(o=i._prev,(i._act||M<=i._end)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(M-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(M-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!c){h=0,o&&(b+=this._zTime=M?-1e-8:1e-8);break}}i=o}}if(h&&!e&&(this.pause(),h.render(r>=m?0:-1e-8)._zTime=r>=m?1:-1,this._ts))return this._start=d,Ht(this),this.render(t,e,n);this._onUpdate&&!e&&ye(this,"onUpdate",!0),(b===y&&y>=this.totalDuration()||!b&&m)&&(d!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||((t||!v)&&(b===y&&this._ts>0||!b&&this._ts<0)&&Bt(this,1),e||t<0&&!m||!b&&!m&&y||(ye(this,b===y&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(b<y&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(V(e)||(e=Qt(this,e,t)),!(t instanceof Ge)){if($(t))return t.forEach((function(t){return n.add(t,e)})),this;if(G(t))return this.addLabel(t,e);if(!H(t))return this;t=Ze.delayedCall(0,t)}return this!==t?Wt(this,t,e):this},n.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-R);for(var i=[],o=this._first;o;)o._start>=r&&(o instanceof Ze?e&&i.push(o):(n&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,n)))),o=o._next;return i},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return G(t)?this.removeLabel(t):H(t)?this.killTweensOf(t):(Yt(this,t),t===this._recent&&(this._recent=this._last),Nt(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=St(Le.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=Qt(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var r=Ze.delayedCall(0,e||lt,n);return r.data="isPause",this._hasPause=1,Wt(this,r,Qt(this,t))},n.removePause=function(t){var e=this._first;for(t=Qt(this,t);e;)e._start===t&&"isPause"===e.data&&Bt(e),e=e._next},n.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)Ve!==r[i]&&r[i].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,r=[],i=ae(t),o=this._first,s=V(e);o;)o instanceof Ze?Tt(o._targets,i)&&(s?(!Ve||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&r.push(o):(n=o.getTweensOf(i,e)).length&&r.push.apply(r,n),o=o._next;return r},n.tweenTo=function(t,e){e=e||{};var n,r=this,i=Qt(r,t),o=e,s=o.startAt,a=o.onStart,u=o.onStartParams,c=o.immediateRender,h=Ze.to(r,Ct({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale())||1e-8,onStart:function(){if(r.pause(),!n){var t=e.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale());h._dur!==t&&qt(h,t,0,1).render(h._time,!0,!0),n=1}a&&a.apply(h,u||[])}},e));return c?h.render(0):h},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,Ct({startAt:{time:Qt(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),me(this,Qt(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),me(this,Qt(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,o=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in o)o[r]>=n&&(o[r]+=t);return Nt(this)},n.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Nt(this)},n.totalDuration=function(t){var e,n,r,i=0,o=this,a=o._last,u=R;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(r=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,Wt(o,a,n-a._delay,1)._lock=0):u=n,n<0&&a._ts&&(i-=n,(!r&&!o._dp||r&&r.smoothChildTiming)&&(o._start+=n/o._ts,o._time-=n,o._tTime-=n),o.shiftChildren(-n,!1,-Infinity),u=0),a._end>i&&a._ts&&(i=a._end),a=e;qt(o,o===s&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(t){if(s._ts&&(Et(s,Gt(t,s)),l=Le.frame),Le.frame>=yt){yt+=I.autoSleep||120;var e=s._first;if((!e||!e._ts)&&I.autoSleep&&Le._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Le.sleep()}}},e}(Ge);Ct(He.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ve,ze=function(t,e,n,r,i,o,s){var a,u,c,h,l,d,f,p,_=new fn(this._pt,t,e,0,1,an,null,i),m=0,y=0;for(_.b=n,_.e=r,n+="",(f=~(r+="").indexOf("random("))&&(r=pe(r)),o&&(o(p=[n,r],t,e),n=p[0],r=p[1]),u=n.match(et)||[];a=et.exec(r);)h=a[0],l=r.substring(m,a.index),c?c=(c+1)%5:"rgba("===l.substr(-5)&&(c=1),h!==u[y++]&&(d=parseFloat(u[y-1])||0,_._pt={_next:_._pt,p:l||1===y?l:",",s:d,c:"="===h.charAt(1)?parseFloat(h.substr(2))*("-"===h.charAt(0)?-1:1):parseFloat(h)-d,m:c&&c<4?Math.round:0},m=et.lastIndex);return _.c=m<r.length?r.substring(m,r.length):"",_.fp=s,(nt.test(r)||f)&&(_.e=0),this._pt=_,_},We=function(t,e,n,r,i,o,s,a,u){H(r)&&(r=r(i||0,t,o));var c,h=t[e],l="get"!==n?n:H(h)?u?t[e.indexOf("set")||!H(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():h,d=H(h)?u?en:tn:Qe;if(G(r)&&(~r.indexOf("random(")&&(r=pe(r)),"="===r.charAt(1)&&((c=parseFloat(l)+parseFloat(r.substr(2))*("-"===r.charAt(0)?-1:1)+(re(l)||0))||0===c)&&(r=c)),l!==r)return isNaN(l*r)||""===r?(!h&&!(e in t)&&ut(e,r),ze.call(this,t,e,l,r,d,a||I.stringFilter,u)):(c=new fn(this._pt,t,e,+l||0,r-(l||0),"boolean"==typeof h?sn:on,0,d),u&&(c.fp=u),s&&c.modifier(s,this,t),this._pt=c)},Xe=function(t,e,n,r,i,o){var s,a,u,c;if(_t[t]&&!1!==(s=new _t[t]).init(i,s.rawVars?e[t]:function(t,e,n,r,i){if(H(t)&&(t=Ke(t,i,e,n,r)),!W(t)||t.style&&t.nodeType||$(t)||q(t))return G(t)?Ke(t,i,e,n,r):t;var o,s={};for(o in t)s[o]=Ke(t[o],i,e,n,r);return s}(e[t],r,i,o,n),n,r,o)&&(n._pt=a=new fn(n._pt,i,t,0,1,s.render,s,0,s.priority),n!==d))for(u=n._ptLookup[n._targets.indexOf(i)],c=s._props.length;c--;)u[s._props[c]]=a;return s},Je=function t(e,n){var r,i,a,u,c,h,l,d,f,p,_,m,y,v=e.vars,b=v.ease,g=v.startAt,w=v.immediateRender,x=v.lazy,M=v.onUpdate,S=v.onUpdateParams,T=v.callbackScope,A=v.runBackwards,E=v.yoyoEase,L=v.keyframes,D=v.autoRevert,C=e._dur,k=e._startAt,O=e._targets,I=e.parent,R=I&&"nested"===I.data?I.parent._targets:O,Y="auto"===e._overwrite&&!o,B=e.timeline;if(B&&(!L||!b)&&(b="none"),e._ease=Ye(b,P.ease),e._yEase=E?Pe(Ye(!0===E?b:E,P.ease)):0,E&&e._yoyo&&!e._repeat&&(E=e._yEase,e._yEase=e._ease,e._ease=E),e._from=!B&&!!v.runBackwards,!B){if(m=(d=O[0]?wt(O[0]).harness:0)&&v[d.prop],r=Pt(v,dt),k&&k.render(-1,!0).kill(),g)if(Bt(e._startAt=Ze.set(O,Ct({data:"isStart",overwrite:!1,parent:I,immediateRender:!0,lazy:X(x),startAt:null,delay:0,onUpdate:M,onUpdateParams:S,callbackScope:T,stagger:0},g))),n<0&&!w&&!D&&e._startAt.render(-1,!0),w){if(n>0&&!D&&(e._startAt=0),C&&n<=0)return void(n&&(e._zTime=n))}else!1===D&&(e._startAt=0);else if(A&&C)if(k)!D&&(e._startAt=0);else if(n&&(w=!1),a=Ct({overwrite:!1,data:"isFromStart",lazy:w&&X(x),immediateRender:w,stagger:0,parent:I},r),m&&(a[d.prop]=m),Bt(e._startAt=Ze.set(O,a)),n<0&&e._startAt.render(-1,!0),w){if(!n)return}else t(e._startAt,1e-8);for(e._pt=0,x=C&&X(x)||x&&!C,i=0;i<O.length;i++){if(l=(c=O[i])._gsap||gt(O)[i]._gsap,e._ptLookup[i]=p={},pt[l.id]&&ft.length&&At(),_=R===O?i:R.indexOf(c),d&&!1!==(f=new d).init(c,m||r,e,_,R)&&(e._pt=u=new fn(e._pt,c,f.name,0,1,f.render,f,0,f.priority),f._props.forEach((function(t){p[t]=u})),f.priority&&(h=1)),!d||m)for(a in r)_t[a]&&(f=Xe(a,r,e,_,c,R))?f.priority&&(h=1):p[a]=u=We.call(e,c,a,"get",r[a],_,R,0,v.stringFilter);e._op&&e._op[i]&&e.kill(c,e._op[i]),Y&&e._pt&&(Ve=e,s.killTweensOf(c,p,e.globalTime(0)),y=!e.parent,Ve=0),e._pt&&x&&(pt[l.id]=1)}h&&dn(e),e._onInit&&e._onInit(e)}e._onUpdate=M,e._initted=(!e._op||e._pt)&&!y},Ke=function(t,e,n,r,i){return H(t)?t.call(e,n,r,i):G(t)&&~t.indexOf("random(")?pe(t):t},qe=bt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",$e=(qe+",id,stagger,delay,duration,paused,scrollTrigger").split(","),Ze=function(t){function e(e,n,i,a){var u;"number"==typeof n&&(i.duration=n,n=i,i=null);var c,h,l,d,f,p,_,m,y=(u=t.call(this,a?n:Rt(n))||this).vars,v=y.duration,b=y.delay,g=y.immediateRender,w=y.stagger,x=y.overwrite,M=y.keyframes,S=y.defaults,T=y.scrollTrigger,A=y.yoyoEase,E=n.parent||s,L=($(e)||q(e)?V(e[0]):"length"in n)?[e]:ae(e);if(u._targets=L.length?gt(L):ct("GSAP target "+e+" not found. https://greensock.com",!I.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=x,M||w||K(v)||K(b)){if(n=u.vars,(c=u.timeline=new He({data:"nested",defaults:S||{}})).kill(),c.parent=c._dp=r(u),c._start=0,M)Ct(c.vars.defaults,{ease:"none"}),w?L.forEach((function(t,e){return M.forEach((function(n,r){return c.to(t,n,r?">":e*w)}))})):M.forEach((function(t){return c.to(L,t,">")}));else{if(d=L.length,_=w?ce(w):lt,W(w))for(f in w)~qe.indexOf(f)&&(m||(m={}),m[f]=w[f]);for(h=0;h<d;h++){for(f in l={},n)$e.indexOf(f)<0&&(l[f]=n[f]);l.stagger=0,A&&(l.yoyoEase=A),m&&Ot(l,m),p=L[h],l.duration=+Ke(v,r(u),h,p,L),l.delay=(+Ke(b,r(u),h,p,L)||0)-u._delay,!w&&1===d&&l.delay&&(u._delay=b=l.delay,u._start+=b,l.delay=0),c.to(p,l,_(h,p,L))}c.duration()?v=b=0:u.timeline=0}v||u.duration(v=c.duration())}else u.timeline=0;return!0!==x||o||(Ve=r(u),s.killTweensOf(L),Ve=0),Wt(E,r(u),i),n.reversed&&u.reverse(),n.paused&&u.paused(!0),(g||!v&&!M&&u._start===St(E._time)&&X(g)&&function t(e){return!e||e._ts&&t(e.parent)}(r(u))&&"nested"!==E.data)&&(u._tTime=-1e-8,u.render(Math.max(0,-b))),T&&Xt(r(u),T),u}i(e,t);var n=e.prototype;return n.render=function(t,e,n){var r,i,o,s,a,u,c,h,l,d=this._time,f=this._tDur,p=this._dur,_=t>f-1e-8&&t>=0?f:t<1e-8?0:t;if(p){if(_!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(r=_,h=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*s+t,e,n);if(r=St(_%s),_===f?(o=this._repeat,r=p):((o=~~(_/s))&&o===_/s&&(r=p,o--),r>p&&(r=p)),(u=this._yoyo&&1&o)&&(l=this._yEase,r=p-r),a=Ut(this._tTime,s),r===d&&!n&&this._initted)return this;o!==a&&(h&&this._yEase&&Re(h,u),!this.vars.repeatRefresh||u||this._lock||(this._lock=n=1,this.render(St(s*o),!0).invalidate()._lock=0))}if(!this._initted){if(Jt(this,t<0?t:r,n,e))return this._tTime=0,this;if(p!==this._dur)return this.render(t,e,n)}if(this._tTime=_,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(l||this._ease)(r/p),this._from&&(this.ratio=c=1-c),r&&!d&&!e&&(ye(this,"onStart"),this._tTime!==_))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;h&&h.render(t<0?t:!r&&u?-1e-8:h._dur*c,e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,n),ye(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&ye(this,"onRepeat"),_!==this._tDur&&_||this._tTime!==_||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!p)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Bt(this,1),e||t<0&&!d||!_&&!d||(ye(this,_===f?"onComplete":"onReverseComplete",!0),this._prom&&!(_<f&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,r){var i,o,s,a=t.ratio,u=e<0||!e&&(!t._start&&function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))}(t)&&(t._initted||!Kt(t))||(t._ts<0||t._dp._ts<0)&&!Kt(t))?0:1,c=t._rDelay,h=0;if(c&&t._repeat&&(h=ne(0,t._tDur,e),o=Ut(h,c),s=Ut(t._tTime,c),t._yoyo&&1&o&&(u=1-u),o!==s&&(a=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==a||r||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&Jt(t,e,r,n))return;for(s=t._zTime,t._zTime=e||(n?1e-8:0),n||(n=e&&!s),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=h,i=t._pt;i;)i.r(u,i.d),i=i._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!n&&ye(t,"onUpdate"),h&&t._repeat&&!n&&t.parent&&ye(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Bt(t,1),n||(ye(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ve(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ve&&!0!==Ve.vars.overwrite)._first||ve(this),this.parent&&n!==this.timeline.totalDuration()&&qt(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,o,s,a,u,c,h=this._targets,l=t?ae(t):h,d=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(h,l))return"all"===e&&(this._pt=0),ve(this);for(r=this._op=this._op||[],"all"!==e&&(G(e)&&(a={},Mt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var n,r,i,o,s=t[0]?wt(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(r in n=Ot({},e),a)if(r in n)for(i=(o=a[r].split(",")).length;i--;)n[o[i]]=n[r];return n}(h,e)),c=h.length;c--;)if(~l.indexOf(h[c]))for(a in i=d[c],"all"===e?(r[c]=e,s=i,o={}):(o=r[c]=r[c]||{},s=e),s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Yt(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&f&&ve(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,e){return te(1,arguments)},e.delayedCall=function(t,n,r,i){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},e.fromTo=function(t,e,n){return te(2,arguments)},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return s.killTweensOf(t,e,n)},e}(Ge);Ct(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Mt("staggerTo,staggerFrom,staggerFromTo",(function(t){Ze[t]=function(){var e=new He,n=ie.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}}));var Qe=function(t,e,n){return t[e]=n},tn=function(t,e,n){return t[e](n)},en=function(t,e,n,r){return t[e](r.fp,n)},nn=function(t,e,n){return t.setAttribute(e,n)},rn=function(t,e){return H(t[e])?tn:z(t[e])&&t.setAttribute?nn:Qe},on=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},sn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},an=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},un=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},cn=function(t,e,n,r){for(var i,o=this._pt;o;)i=o._next,o.p===r&&o.modifier(t,e,n),o=i},hn=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?Yt(this,r,"_pt"):r.dep||(e=1),r=n;return!e},ln=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},dn=function(t){for(var e,n,r,i,o=t._pt;o;){for(e=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:i)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:i=o,o=e}t._pt=r},fn=function(){function t(t,e,n,r,i,o,s,a,u){this.t=e,this.s=r,this.c=i,this.p=n,this.r=o||on,this.d=s||this,this.set=a||Qe,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=ln,this.m=t,this.mt=n,this.tween=e},t}();Mt(bt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return dt[t]=1})),ot.TweenMax=ot.TweenLite=Ze,ot.TimelineLite=ot.TimelineMax=He,s=new He({sortChildren:!1,defaults:P,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),I.stringFilter=Ee;var pn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach((function(t){return be(t)}))},timeline:function(t){return new He(t)},getTweensOf:function(t,e){return s.getTweensOf(t,e)},getProperty:function(t,e,n,r){G(t)&&(t=ae(t)[0]);var i=wt(t||{}).get,o=n?Dt:Lt;return"native"===n&&(n=""),t?e?o((_t[e]&&_t[e].get||i)(t,e,n,r)):function(e,n,r){return o((_t[e]&&_t[e].get||i)(t,e,n,r))}:t},quickSetter:function(t,e,n){if((t=ae(t)).length>1){var r=t.map((function(t){return yn.quickSetter(t,e,n)})),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}t=t[0]||{};var o=_t[e],s=wt(t),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var r=new o;d._pt=0,r.init(t,n?e+n:e,d,0,[t]),r.render(1,r),d._pt&&un(1,d)}:s.set(t,a);return o?u:function(e){return u(t,a,n?e+n:e,s,1)}},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ye(t.ease,P.ease)),It(P,t||{})},config:function(t){return It(I,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.plugins,i=t.defaults,o=t.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!_t[t]&&!ot[t]&&ct(e+" effect requires "+t+" plugin.")})),mt[e]=function(t,e,r){return n(ae(t),Ct(e||{},i),r)},o&&(He.prototype[e]=function(t,n,r){return this.add(mt[e](t,W(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){Ce[t]=Ye(e)},parseEase:function(t,e){return arguments.length?Ye(t,e):Ce},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new He(t);for(i.smoothChildTiming=X(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,n=s._first;n;)r=n._next,!e&&!n._dur&&n instanceof Ze&&n.vars.onComplete===n._targets[0]||Wt(i,n,n._start-n._delay),n=r;return Wt(s,i,0),i},utils:{wrap:function t(e,n,r){var i=n-e;return $(e)?fe(e,t(0,e.length),n):ee(r,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,n,r){var i=n-e,o=2*i;return $(e)?fe(e,t(0,e.length-1),n):ee(r,(function(t){return e+((t=(o+(t-e)%o)%o||0)>i?o-t:t)}))},distribute:ce,random:de,snap:le,normalize:function(t,e,n){return _e(t,e,0,1,n)},getUnit:re,clamp:function(t,e,n){return ee(n,(function(n){return ne(t,e,n)}))},splitColor:xe,toArray:ae,selector:function(t){return t=ae(t)[0]||ct("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return ae(e,n.querySelectorAll?n:n===t?ct("Invalid scope")||c.createElement("div"):t)}},mapRange:_e,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(n){return t(parseFloat(n))+(e||re(n))}},interpolate:function t(e,n,r,i){var o=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!o){var s,a,u,c,h,l=G(e),d={};if(!0===r&&(i=1)&&(r=null),l)e={p:e},n={p:n};else if($(e)&&!$(n)){for(u=[],c=e.length,h=c-2,a=1;a<c;a++)u.push(t(e[a-1],e[a]));c--,o=function(t){t*=c;var e=Math.min(h,~~t);return u[e](t-e)},r=n}else i||(e=Ot($(e)?[]:{},e));if(!u){for(s in n)We.call(d,e,s,"get",n[s]);o=function(t){return un(t,d)||(l?e.p:e)}}}return ee(r,o)},shuffle:ue},install:at,effects:mt,ticker:Le,updateRoot:He.updateRoot,plugins:_t,globalTimeline:s,core:{PropTween:fn,globals:ht,Tween:Ze,Timeline:He,Animation:Ge,getCache:wt,_removeLinkedListItem:Yt,suppressOverwrites:function(t){return o=t}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return pn[t]=Ze[t]})),Le.add(He.updateRoot),d=pn.to({},{duration:0});var _n=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},mn=function(t,e){return{name:t,rawVars:1,init:function(t,n,r){r._onInit=function(t){var r,i;if(G(n)&&(r={},Mt(n,(function(t){return r[t]=1})),n=r),e){for(i in r={},n)r[i]=e(n[i]);n=r}!function(t,e){var n,r,i,o=t._targets;for(n in e)for(r=o.length;r--;)(i=t._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=_n(i,n)),i&&i.modifier&&i.modifier(e[n],t,o[r],n))}(t,n)}}}},yn=pn.registerPlugin({name:"attr",init:function(t,e,n,r,i){var o,s;for(o in e)(s=this.add(t,"setAttribute",(t.getAttribute(o)||0)+"",e[o],r,i,0,0,o))&&(s.op=o),this._props.push(o)}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n])}},mn("roundProps",he),mn("modifiers"),mn("snap",le))||pn;Ze.version=He.version=yn.version="3.7.1",h=1,J()&&De();Ce.Power0,Ce.Power1,Ce.Power2,Ce.Power3,Ce.Power4,Ce.Linear,Ce.Quad,Ce.Cubic,Ce.Quart,Ce.Quint,Ce.Strong,Ce.Elastic,Ce.Back,Ce.SteppedEase,Ce.Bounce,Ce.Sine,Ce.Expo,Ce.Circ;
  191. /*!
  192. * CSSPlugin 3.7.1
  193. * https://greensock.com
  194. *
  195. * Copyright 2008-2021, GreenSock. All rights reserved.
  196. * Subject to the terms at https://greensock.com/standard-license or for
  197. * Club GreenSock members, the agreement issued with that membership.
  198. * @author: Jack Doyle, jack@greensock.com
  199. */var vn,bn,gn,wn,xn,Mn,Sn,Tn={},An=180/Math.PI,En=Math.PI/180,Ln=Math.atan2,Dn=/([A-Z])/g,Cn=/(?:left|right|width|margin|padding|x)/i,kn=/[\s,\(]\S/,On={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},In=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Pn=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Rn=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Yn=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},Bn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Nn=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},jn=function(t,e,n){return t.style[e]=n},Fn=function(t,e,n){return t.style.setProperty(e,n)},Un=function(t,e,n){return t._gsap[e]=n},Gn=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},Hn=function(t,e,n,r,i){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)},Vn=function(t,e,n,r,i){var o=t._gsap;o[e]=n,o.renderTransform(i,o)},zn="transform",Wn=zn+"Origin",Xn=function(t,e){var n=bn.createElementNS?bn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):bn.createElement(t);return n.style?n:bn.createElement(t)},Jn=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(Dn,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,qn(n)||n,1)||""},Kn="O,Moz,ms,Ms,Webkit".split(","),qn=function(t,e,n){var r=(e||xn).style,i=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(Kn[i]+t in r););return i<0?null:(3===i?"ms":i>=0?Kn[i]:"")+t},$n=function(){"undefined"!=typeof window&&window.document&&(vn=window,bn=vn.document,gn=bn.documentElement,xn=Xn("div")||{style:{}},Xn("div"),zn=qn(zn),Wn=zn+"Origin",xn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Sn=!!qn("perspective"),wn=1)},Zn=function t(e){var n,r=Xn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(gn.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),gn.removeChild(r),this.style.cssText=s,n},Qn=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},tr=function(t){var e;try{e=t.getBBox()}catch(n){e=Zn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Zn||(e=Zn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Qn(t,["x","cx","x1"])||0,y:+Qn(t,["y","cy","y1"])||0,width:0,height:0}},er=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!tr(t))},nr=function(t,e){if(e){var n=t.style;e in Tn&&e!==Wn&&(e=zn),n.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty(e.replace(Dn,"-$1").toLowerCase())):n.removeAttribute(e)}},rr=function(t,e,n,r,i,o){var s=new fn(t._pt,e,n,0,1,o?Nn:Bn);return t._pt=s,s.b=r,s.e=i,t._props.push(n),s},ir={deg:1,rad:1,turn:1},or=function t(e,n,r,i){var o,s,a,u,c=parseFloat(r)||0,h=(r+"").trim().substr((c+"").length)||"px",l=xn.style,d=Cn.test(n),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(d?"Width":"Height"),_="px"===i,m="%"===i;return i===h||!c||ir[i]||ir[h]?c:("px"!==h&&!_&&(c=t(e,n,r,"px")),u=e.getCTM&&er(e),!m&&"%"!==h||!Tn[n]&&!~n.indexOf("adius")?(l[d?"width":"height"]=100+(_?h:i),s=~n.indexOf("adius")||"em"===i&&e.appendChild&&!f?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==bn&&s.appendChild||(s=bn.body),(a=s._gsap)&&m&&a.width&&d&&a.time===Le.time?St(c/a.width*100):((m||"%"===h)&&(l.position=Jn(e,"position")),s===e&&(l.position="static"),s.appendChild(xn),o=xn[p],s.removeChild(xn),l.position="absolute",d&&m&&((a=wt(s)).time=Le.time,a.width=s[p]),St(_?o*c/100:o&&c?100/o*c:0))):(o=u?e.getBBox()[d?"width":"height"]:e[p],St(m?c/o*100:c/100*o)))},sr=function(t,e,n,r){var i;return wn||$n(),e in On&&"transform"!==e&&~(e=On[e]).indexOf(",")&&(e=e.split(",")[0]),Tn[e]&&"transform"!==e?(i=yr(t,r),i="transformOrigin"!==e?i[e]:i.svg?i.origin:vr(Jn(t,Wn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=hr[e]&&hr[e](t,e,n)||Jn(t,e)||xt(t,e)||("opacity"===e?1:0)),n&&!~(i+"").trim().indexOf(" ")?or(t,e,i,n)+n:i},ar=function(t,e,n,r){if(!n||"none"===n){var i=qn(e,t,1),o=i&&Jn(t,i,1);o&&o!==n?(e=i,n=o):"borderColor"===e&&(n=Jn(t,"borderTopColor"))}var s,a,u,c,h,l,d,f,p,_,m,y,v=new fn(this._pt,t.style,e,0,1,an),b=0,g=0;if(v.b=n,v.e=r,n+="","auto"===(r+="")&&(t.style[e]=r,r=Jn(t,e)||r,t.style[e]=n),Ee(s=[n,r]),r=s[1],u=(n=s[0]).match(tt)||[],(r.match(tt)||[]).length){for(;a=tt.exec(r);)d=a[0],p=r.substring(b,a.index),h?h=(h+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(h=1),d!==(l=u[g++]||"")&&(c=parseFloat(l)||0,m=l.substr((c+"").length),(y="="===d.charAt(1)?+(d.charAt(0)+"1"):0)&&(d=d.substr(2)),f=parseFloat(d),_=d.substr((f+"").length),b=tt.lastIndex-_.length,_||(_=_||I.units[e]||m,b===r.length&&(r+=_,v.e+=_)),m!==_&&(c=or(t,e,l,_)||0),v._pt={_next:v._pt,p:p||1===g?p:",",s:c,c:y?y*f:f-c,m:h&&h<4||"zIndex"===e?Math.round:0});v.c=b<r.length?r.substring(b,r.length):""}else v.r="display"===e&&"none"===r?Nn:Bn;return nt.test(r)&&(v.e=0),this._pt=v,v},ur={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cr=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,r,i,o=e.t,s=o.style,a=e.u,u=o._gsap;if("all"===a||!0===a)s.cssText="",r=1;else for(i=(a=a.split(",")).length;--i>-1;)n=a[i],Tn[n]&&(r=1,n="transformOrigin"===n?Wn:zn),nr(o,n);r&&(nr(o,zn),u&&(u.svg&&o.removeAttribute("transform"),yr(o,1),u.uncache=1))}},hr={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var o=t._pt=new fn(t._pt,e,n,0,0,cr);return o.u=r,o.pr=-10,o.tween=i,t._props.push(n),1}}},lr=[1,0,0,1,0,0],dr={},fr=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},pr=function(t){var e=Jn(t,zn);return fr(e)?lr:e.substr(7).match(Q).map(St)},_r=function(t,e){var n,r,i,o,s=t._gsap||wt(t),a=t.style,u=pr(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?lr:u:(u!==lr||t.offsetParent||t===gn||s.svg||(i=a.display,a.display="block",(n=t.parentNode)&&t.offsetParent||(o=1,r=t.nextSibling,gn.appendChild(t)),u=pr(t),i?a.display=i:nr(t,"display"),o&&(r?n.insertBefore(t,r):n?n.appendChild(t):gn.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},mr=function(t,e,n,r,i,o){var s,a,u,c=t._gsap,h=i||_r(t,!0),l=c.xOrigin||0,d=c.yOrigin||0,f=c.xOffset||0,p=c.yOffset||0,_=h[0],m=h[1],y=h[2],v=h[3],b=h[4],g=h[5],w=e.split(" "),x=parseFloat(w[0])||0,M=parseFloat(w[1])||0;n?h!==lr&&(a=_*v-m*y)&&(u=x*(-m/a)+M*(_/a)-(_*g-m*b)/a,x=x*(v/a)+M*(-y/a)+(y*g-v*b)/a,M=u):(x=(s=tr(t)).x+(~w[0].indexOf("%")?x/100*s.width:x),M=s.y+(~(w[1]||w[0]).indexOf("%")?M/100*s.height:M)),r||!1!==r&&c.smooth?(b=x-l,g=M-d,c.xOffset=f+(b*_+g*y)-b,c.yOffset=p+(b*m+g*v)-g):c.xOffset=c.yOffset=0,c.xOrigin=x,c.yOrigin=M,c.smooth=!!r,c.origin=e,c.originIsAbsolute=!!n,t.style[Wn]="0px 0px",o&&(rr(o,c,"xOrigin",l,x),rr(o,c,"yOrigin",d,M),rr(o,c,"xOffset",f,c.xOffset),rr(o,c,"yOffset",p,c.yOffset)),t.setAttribute("data-svg-origin",x+" "+M)},yr=function(t,e){var n=t._gsap||new Ue(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M,S,T,A,E,L,D,C,k,O,P,R,Y=t.style,B=n.scaleX<0,N=Jn(t,Wn)||"0";return r=i=o=u=c=h=l=d=f=0,s=a=1,n.svg=!(!t.getCTM||!er(t)),m=_r(t,n.svg),n.svg&&(A=(!n.uncache||"0px 0px"===N)&&!e&&t.getAttribute("data-svg-origin"),mr(t,A||N,!!A||n.originIsAbsolute,!1!==n.smooth,m)),p=n.xOrigin||0,_=n.yOrigin||0,m!==lr&&(g=m[0],w=m[1],x=m[2],M=m[3],r=S=m[4],i=T=m[5],6===m.length?(s=Math.sqrt(g*g+w*w),a=Math.sqrt(M*M+x*x),u=g||w?Ln(w,g)*An:0,(l=x||M?Ln(x,M)*An+u:0)&&(a*=Math.abs(Math.cos(l*En))),n.svg&&(r-=p-(p*g+_*x),i-=_-(p*w+_*M))):(R=m[6],O=m[7],D=m[8],C=m[9],k=m[10],P=m[11],r=m[12],i=m[13],o=m[14],c=(y=Ln(R,k))*An,y&&(A=S*(v=Math.cos(-y))+D*(b=Math.sin(-y)),E=T*v+C*b,L=R*v+k*b,D=S*-b+D*v,C=T*-b+C*v,k=R*-b+k*v,P=O*-b+P*v,S=A,T=E,R=L),h=(y=Ln(-x,k))*An,y&&(v=Math.cos(-y),P=M*(b=Math.sin(-y))+P*v,g=A=g*v-D*b,w=E=w*v-C*b,x=L=x*v-k*b),u=(y=Ln(w,g))*An,y&&(A=g*(v=Math.cos(y))+w*(b=Math.sin(y)),E=S*v+T*b,w=w*v-g*b,T=T*v-S*b,g=A,S=E),c&&Math.abs(c)+Math.abs(u)>359.9&&(c=u=0,h=180-h),s=St(Math.sqrt(g*g+w*w+x*x)),a=St(Math.sqrt(T*T+R*R)),y=Ln(S,T),l=Math.abs(y)>2e-4?y*An:0,f=P?1/(P<0?-P:P):0),n.svg&&(A=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!fr(Jn(t,zn)),A&&t.setAttribute("transform",A))),Math.abs(l)>90&&Math.abs(l)<270&&(B?(s*=-1,l+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,l+=l<=0?180:-180)),n.x=r-((n.xPercent=r&&(n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+"px",n.z=o+"px",n.scaleX=St(s),n.scaleY=St(a),n.rotation=St(u)+"deg",n.rotationX=St(c)+"deg",n.rotationY=St(h)+"deg",n.skewX=l+"deg",n.skewY=d+"deg",n.transformPerspective=f+"px",(n.zOrigin=parseFloat(N.split(" ")[2])||0)&&(Y[Wn]=vr(N)),n.xOffset=n.yOffset=0,n.force3D=I.force3D,n.renderTransform=n.svg?xr:Sn?wr:gr,n.uncache=0,n},vr=function(t){return(t=t.split(" "))[0]+" "+t[1]},br=function(t,e,n){var r=re(e);return St(parseFloat(e)+parseFloat(or(t,"x",n+"px",r)))+r},gr=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,wr(t,e)},wr=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,o=n.x,s=n.y,a=n.z,u=n.rotation,c=n.rotationY,h=n.rotationX,l=n.skewX,d=n.skewY,f=n.scaleX,p=n.scaleY,_=n.transformPerspective,m=n.force3D,y=n.target,v=n.zOrigin,b="",g="auto"===m&&t&&1!==t||!0===m;if(v&&("0deg"!==h||"0deg"!==c)){var w,x=parseFloat(c)*En,M=Math.sin(x),S=Math.cos(x);x=parseFloat(h)*En,w=Math.cos(x),o=br(y,o,M*w*-v),s=br(y,s,-Math.sin(x)*-v),a=br(y,a,S*w*-v+v)}"0px"!==_&&(b+="perspective("+_+") "),(r||i)&&(b+="translate("+r+"%, "+i+"%) "),(g||"0px"!==o||"0px"!==s||"0px"!==a)&&(b+="0px"!==a||g?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+") "),"0deg"!==u&&(b+="rotate("+u+") "),"0deg"!==c&&(b+="rotateY("+c+") "),"0deg"!==h&&(b+="rotateX("+h+") "),"0deg"===l&&"0deg"===d||(b+="skew("+l+", "+d+") "),1===f&&1===p||(b+="scale("+f+", "+p+") "),y.style[zn]=b||"translate(0, 0)"},xr=function(t,e){var n,r,i,o,s,a=e||this,u=a.xPercent,c=a.yPercent,h=a.x,l=a.y,d=a.rotation,f=a.skewX,p=a.skewY,_=a.scaleX,m=a.scaleY,y=a.target,v=a.xOrigin,b=a.yOrigin,g=a.xOffset,w=a.yOffset,x=a.forceCSS,M=parseFloat(h),S=parseFloat(l);d=parseFloat(d),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),d+=p),d||f?(d*=En,f*=En,n=Math.cos(d)*_,r=Math.sin(d)*_,i=Math.sin(d-f)*-m,o=Math.cos(d-f)*m,f&&(p*=En,s=Math.tan(f-p),i*=s=Math.sqrt(1+s*s),o*=s,p&&(s=Math.tan(p),n*=s=Math.sqrt(1+s*s),r*=s)),n=St(n),r=St(r),i=St(i),o=St(o)):(n=_,o=m,r=i=0),(M&&!~(h+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(M=or(y,"x",h,"px"),S=or(y,"y",l,"px")),(v||b||g||w)&&(M=St(M+v-(v*n+b*i)+g),S=St(S+b-(v*r+b*o)+w)),(u||c)&&(s=y.getBBox(),M=St(M+u/100*s.width),S=St(S+c/100*s.height)),s="matrix("+n+","+r+","+i+","+o+","+M+","+S+")",y.setAttribute("transform",s),x&&(y.style[zn]=s)},Mr=function(t,e,n,r,i,o){var s,a,u=G(i),c=parseFloat(i)*(u&&~i.indexOf("rad")?An:1),h=o?c*o:c-r,l=r+h+"deg";return u&&("short"===(s=i.split("_")[1])&&(h%=360)!==h%180&&(h+=h<0?360:-360),"cw"===s&&h<0?h=(h+36e9)%360-360*~~(h/360):"ccw"===s&&h>0&&(h=(h-36e9)%360-360*~~(h/360))),t._pt=a=new fn(t._pt,e,n,r,h,Pn),a.e=l,a.u="deg",t._props.push(n),a},Sr=function(t,e){for(var n in e)t[n]=e[n];return t},Tr=function(t,e,n){var r,i,o,s,a,u,c,h=Sr({},n._gsap),l=n.style;for(i in h.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),l[zn]=e,r=yr(n,1),nr(n,zn),n.setAttribute("transform",o)):(o=getComputedStyle(n)[zn],l[zn]=e,r=yr(n,1),l[zn]=o),Tn)(o=h[i])!==(s=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=re(o)!==(c=re(s))?or(n,i,o,c):parseFloat(o),u=parseFloat(s),t._pt=new fn(t._pt,r,i,a,u-a,In),t._pt.u=c||0,t._props.push(i));Sr(r,h)};Mt("padding,margin,Width,Radius",(function(t,e){var n="Top",r="Right",i="Bottom",o="Left",s=(e<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map((function(n){return e<2?t+n:"border"+n+t}));hr[e>1?"border"+t:t]=function(t,e,n,r,i){var o,a;if(arguments.length<4)return o=s.map((function(e){return sr(t,e,n)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(r+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,i)}}));var Ar,Er,Lr={name:"css",register:$n,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M,S=this._props,T=t.style,A=n.vars.startAt;for(l in wn||$n(),e)if("autoRound"!==l&&(s=e[l],!_t[l]||!Xe(l,e,n,r,t,i)))if(c=typeof s,h=hr[l],"function"===c&&(c=typeof(s=s.call(n,r,t,i))),"string"===c&&~s.indexOf("random(")&&(s=pe(s)),h)h(this,t,l,s,n)&&(b=1);else if("--"===l.substr(0,2))o=(getComputedStyle(t).getPropertyValue(l)+"").trim(),s+="",Te.lastIndex=0,Te.test(o)||(d=re(o),f=re(s)),f?d!==f&&(o=or(t,l,o,f)+f):d&&(s+=d),this.add(T,"setProperty",o,s,r,i,0,0,l),S.push(l);else if("undefined"!==c){if(A&&l in A?(o="function"==typeof A[l]?A[l].call(n,r,t,i):A[l],l in I.units&&!re(o)&&(o+=I.units[l]),"="===(o+"").charAt(1)&&(o=sr(t,l))):o=sr(t,l),u=parseFloat(o),(p="string"===c&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),a=parseFloat(s),l in On&&("autoAlpha"===l&&(1===u&&"hidden"===sr(t,"visibility")&&a&&(u=0),rr(this,T,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==l&&"transform"!==l&&~(l=On[l]).indexOf(",")&&(l=l.split(",")[0])),_=l in Tn)if(m||((y=t._gsap).renderTransform&&!e.parseTransform||yr(t,e.parseTransform),v=!1!==e.smoothOrigin&&y.smooth,(m=this._pt=new fn(this._pt,T,zn,0,1,y.renderTransform,y,0,-1)).dep=1),"scale"===l)this._pt=new fn(this._pt,y,"scaleY",y.scaleY,(p?p*a:a-y.scaleY)||0),S.push("scaleY",l),l+="X";else{if("transformOrigin"===l){w=void 0,x=void 0,M=void 0,w=(g=s).split(" "),x=w[0],M=w[1]||"50%","top"!==x&&"bottom"!==x&&"left"!==M&&"right"!==M||(g=x,x=M,M=g),w[0]=ur[x]||x,w[1]=ur[M]||M,s=w.join(" "),y.svg?mr(t,s,0,v,0,this):((f=parseFloat(s.split(" ")[2])||0)!==y.zOrigin&&rr(this,y,"zOrigin",y.zOrigin,f),rr(this,T,l,vr(o),vr(s)));continue}if("svgOrigin"===l){mr(t,s,1,v,0,this);continue}if(l in dr){Mr(this,y,l,u,s,p);continue}if("smoothOrigin"===l){rr(this,y,"smooth",y.smooth,s);continue}if("force3D"===l){y[l]=s;continue}if("transform"===l){Tr(this,s,t);continue}}else l in T||(l=qn(l)||l);if(_||(a||0===a)&&(u||0===u)&&!kn.test(s)&&l in T)a||(a=0),(d=(o+"").substr((u+"").length))!==(f=re(s)||(l in I.units?I.units[l]:d))&&(u=or(t,l,o,f)),this._pt=new fn(this._pt,_?y:T,l,u,p?p*a:a-u,_||"px"!==f&&"zIndex"!==l||!1===e.autoRound?In:Yn),this._pt.u=f||0,d!==f&&(this._pt.b=o,this._pt.r=Rn);else if(l in T)ar.call(this,t,l,o,s);else{if(!(l in t)){ut(l,s);continue}this.add(t,l,o||t[l],s,r,i)}S.push(l)}b&&dn(this)},get:sr,aliases:On,getSetter:function(t,e,n){var r=On[e];return r&&r.indexOf(",")<0&&(e=r),e in Tn&&e!==Wn&&(t._gsap.x||sr(t,"x"))?n&&Mn===n?"scale"===e?Gn:Un:(Mn=n||{})&&("scale"===e?Hn:Vn):t.style&&!z(t.style[e])?jn:~e.indexOf("-")?Fn:rn(t,e)},core:{_removeProperty:nr,_getMatrix:_r}};yn.utils.checkPrefix=qn,Er=Mt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(Ar="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Tn[t]=1})),Mt(Ar,(function(t){I.units[t]="deg",dr[t]=1})),On[Er[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Ar,Mt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");On[e[1]]=Er[e[0]]})),Mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){I.units[t]="px"})),yn.registerPlugin(Lr);var Dr=yn.registerPlugin(Lr)||yn;Dr.core.Tween},XdjO:function(t,e,n){!function(t){"use strict";
  200. //! moment.js locale configuration
  201. var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e?t<4?t:t+12:"ভোর"===e||"সকাল"===e?t:"দুপুর"===e?t>=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n("TiKg"))},Xr9Y:function(t,e,n){var r=e;r._reverse=function(t){var e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);var r=t[n];e[r]=n})),e},r.der=n("RfOT")},Y9G6:function(t,e,n){var r=n("wfEq"),i=n("2ozp"),o=n("KSsY"),s=n("pRMk").Buffer,a=new Array(160);function u(){this.init(),this._w=a,o.call(this,128,112)}r(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var t=s.allocUnsafe(48);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=u},YIvA:function(t,e,n){!function(t){"use strict";
  202. //! moment.js locale configuration
  203. var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(t){return t>1&&t<5}function i(t,e,n,i){var o=t+" ";switch(n){case"s":return e||i?"pár sekúnd":"pár sekundami";case"ss":return e||i?o+(r(t)?"sekundy":"sekúnd"):o+"sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?o+(r(t)?"minúty":"minút"):o+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?o+(r(t)?"hodiny":"hodín"):o+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?o+(r(t)?"dni":"dní"):o+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?o+(r(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?o+(r(t)?"roky":"rokov"):o+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},YL9C:function(t,e,n){!function(t){"use strict";
  204. //! moment.js locale configuration
  205. var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n("TiKg"))},YM0L:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.deriveSecret=e.verify=e.sign=e.generateKey=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=i(n("EO1s")),u=r(n("B3sb")),c=i(n("6yG2")),h=i(n("cO3T")),l=n("Rvex"),d=i(n("SDgz")),f=i(n("6MVH")).default.ec,p=function(){var t=(0,s.default)(o.default.mark((function t(e){var n,r,i,s,u,h,p,_,m,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.default.namedCurves[e].indutnyName,r=new f(n),t.t0=r,t.t1=d.default.encoder,t.next=6,c.default.getRandomBytes(32);case 6:if(t.t2=t.sent,t.t3=t.t1.arrayBufferToString.call(t.t1,t.t2),t.t4={entropy:t.t3},i=t.t0.genKeyPair.call(t.t0,t.t4),s=a.default.namedCurves[e].payloadSize,u=new Uint8Array(i.getPublic("array")),h=new Uint8Array(i.getPrivate().toArray("be",s)),!(p=new l.Key("oct",u,{namedCurve:e})).isPrivate){t.next=16;break}throw new Error("NotPublicKeyForECCKeyGenPureJS");case 16:return t.next=18,p.export("jwk",{outputPublic:!0});case 18:if(_=t.sent,(m=new l.Key("oct",h,{namedCurve:e})).isPrivate){t.next=22;break}throw new Error("NotPrivateKeyForECCKeyGenPureJS");case 22:return t.next=24,m.export("jwk");case 24:return y=t.sent,t.abrupt("return",{publicKey:_,privateKey:y});case 26:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.generateKey=p;var _=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i){var s,c,d,p,_,m,y,v,b,g,w,x;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=n.crv,c=a.default.namedCurves[s].indutnyName,d=new f(c),(p=new l.Key("jwk",n)).isPrivate){t.next=6;break}throw new Error("NotPrivateKeyForECCSignPureJS");case 6:return t.next=8,p.export("oct");case 8:return _=t.sent,m=d.keyFromPrivate(_),t.next=12,h.default.compute(e,r);case 12:return y=t.sent,v=m.sign(y),b=a.default.namedCurves[s].payloadSize,g=new Uint8Array(v.r.toArray("be",b)),w=new Uint8Array(v.s.toArray("be",b)),(x=new Uint8Array(g.length+w.length)).set(g),x.set(w,g.length),t.abrupt("return","raw"===i?x:u.encodeAsn1Signature(x,s));case 21:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.sign=_;var m=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s){var c,d,p,_,m,y,v,b,g,w;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=r.crv,d=a.default.namedCurves[c].indutnyName,p=new f(d),!(_=new l.Key("jwk",r)).isPrivate){t.next=6;break}throw new Error("NotPublicKeyForECCVerifyPureJS");case 6:return t.next=8,_.export("oct",{compact:!1,outputPublic:!0});case 8:return m=t.sent,y=p.keyFromPublic(m),v=a.default.namedCurves[c].payloadSize,n instanceof Uint8Array||(n=new Uint8Array(n)),n="raw"===s?n:u.decodeAsn1Signature(n,c),b=n.slice(0,v),g=n.slice(v,v+b.length),t.next=17,h.default.compute(e,i);case 17:return w=t.sent,t.next=20,y.verify(w,{s:g,r:b});case 20:return t.abrupt("return",t.sent);case 21:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}();e.verify=m;var y=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,u,c,h,d,p,_,m;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n.crv,i=a.default.namedCurves[r].indutnyName,s=new f(i),(u=new l.Key("jwk",n)).isPrivate){t.next=6;break}throw new Error("NotPrivateKeyForECCSDeriveKeyPureJS");case 6:return t.next=8,u.export("oct");case 8:if(c=t.sent,!(h=new l.Key("jwk",e)).isPrivate){t.next=12;break}throw new Error("NotPublicKeyForECCDeriveKeyPureJS");case 12:return t.next=14,h.export("oct",{compact:!1,outputPublic:!0});case 14:return d=t.sent,p=s.keyFromPrivate(c),_=s.keyFromPublic(d),m=a.default.namedCurves[r].payloadSize,t.abrupt("return",new Uint8Array(p.derive(_.getPublic()).toArray("be",m)));case 19:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.deriveSecret=y},YVk5:function(t,e,n){"use strict";n.r(e),n.d(e,"isApiAvailable",(function(){return p}));var r=n("kp3F"),i=n("eJvy"),o=n("JpNb"),s=n("YaxJ"),a=n("hGkD"),u=n("53ng"),c=["subwindowOpen","shareTargetPicker","multipleLiffTransition","scanCode","getAdvertisingId","addToHomeScreen","bluetoothLeFunction","skipChannelVerificationScreen"];function h(t){var e,n=Object(o.getContext)();return null===(e=null==n?void 0:n.availability)||void 0===e?void 0:e[t]}function l(t,e){var n=Object(u.getLineVersion)();return!!n&&!(e&&Object(i.e)(n,e)>0)&&Object(i.e)(n,t)>=0}function d(t){var e=h(t);if(!e)return!1;var n=e.permission,r=e.minVer,i=e.unsupportedFromVer;return!!n&&!!Object(s.isInClient)()&&l(r,i)}var f={shareTargetPicker:function(){if(!Object(a.isLoggedIn)())return!1;var t=h("shareTargetPicker");if(!t)return!1;var e=t.permission,n=t.minVer;if(!e)return!1;if(Object(s.isInClient)()){var r=Object(u.getLineVersion)();return null!==r&&Object(i.e)(r,n)>=0}return!0},multipleLiffTransition:function(){var t=h("multipleLiffTransition");if(!t)return!1;var e=t.permission;return Object(s.isInClient)()&&e},subwindowOpen:function(){var t=h("subwindowOpen");return!(!t||!t.permission)&&(!Object(s.isInClient)()||l(t.minVer,t.unsupportedFromVer))},scanCode:function(){return d("scanCode")},getAdvertisingId:function(){return d("getAdvertisingId")},addToHomeScreen:function(){return d("addToHomeScreen")},bluetoothLeFunction:function(){return d("bluetoothLeFunction")},skipChannelVerificationScreen:function(){return d("skipChannelVerificationScreen")}};function p(t){if(!c.includes(t))throw Object(i.j)(r.f,"Unexpected API name.");var e=f[t];return!e||e()}},YaxJ:function(t,e,n){"use strict";n.r(e),n.d(e,"_cleanupCachedIsInClient",(function(){return a})),n.d(e,"isInClient",(function(){return s}));var r=n("kp3F"),i=n("eJvy"),o=null;function s(){return null===o&&(o=Object(i.q)()||Object(i.r)()&&/[#|&]access_token=/.test(location.hash)||"1"===sessionStorage.getItem(r.m+":"+r.o),sessionStorage.setItem(r.m+":"+r.o,o?"1":"0")),!!o}function a(){o=null}},YkvB:function(t,e,n){!function(t){"use strict";
  206. //! moment.js locale configuration
  207. t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},YmdP:function(t,e,n){!function(t){"use strict";
  208. //! moment.js locale configuration
  209. t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},"Z+yf":function(t,e,n){var r=n("pRMk").Buffer,i=n("+oaW"),o=n("5Ekh"),s=n("wfEq"),a=n("MEmy"),u=n("qXhl"),c=n("2Mwr");function h(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function l(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function d(t){return new h(t)}function f(t){return new l(t)}Object.keys(c).forEach((function(t){c[t].id=r.from(c[t].id,"hex"),c[t.toLowerCase()]=c[t]})),s(h,o.Writable),h.prototype._write=function(t,e,n){this._hash.update(t),n()},h.prototype.update=function(t,e){return"string"==typeof t&&(t=r.from(t,e)),this._hash.update(t),this},h.prototype.sign=function(t,e){this.end();var n=this._hash.digest(),r=a(n,t,this._hashType,this._signType,this._tag);return e?r.toString(e):r},s(l,o.Writable),l.prototype._write=function(t,e,n){this._hash.update(t),n()},l.prototype.update=function(t,e){return"string"==typeof t&&(t=r.from(t,e)),this._hash.update(t),this},l.prototype.verify=function(t,e,n){"string"==typeof e&&(e=r.from(e,n)),this.end();var i=this._hash.digest();return u(e,i,t,this._signType,this._tag)},t.exports={Sign:d,Verify:f,createSign:d,createVerify:f}},Z3s7:function(t,e,n){"use strict";e.a=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))}},Z4ft:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("wfEq"),o=n("7ZyU"),s=n("fOyB");function a(t){o.call(this,"mont",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(t,e,n){o.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(e,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,o),t.exports=a,a.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),r=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===r.redSqrt().redSqr().cmp(r)},i(u,o.BasePoint),a.prototype.decodePoint=function(t,e){return this.point(s.toArray(t,e),1)},a.prototype.point=function(t,e){return new u(this,t,e)},a.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(t,e){return new u(t,e[0],e[1]||t.one)},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),r=t.redMul(e),i=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(n),s=i.redMul(r),a=e.z.redMul(o.redAdd(s).redSqr()),u=e.x.redMul(o.redISub(s).redSqr());return this.curve.point(a,u)},u.prototype.mul=function(t){for(var e=t.clone(),n=this,r=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},ZG6w:function(t,e,n){t.exports=i;var r=n("hBZP").EventEmitter;function i(){r.call(this)}n("wfEq")(i,r),i.Readable=n("5Ekh"),i.Writable=n("hmUS"),i.Duplex=n("yuDq"),i.Transform=n("C9xR"),i.PassThrough=n("t5Qd"),i.Stream=i,i.prototype.pipe=function(t,e){var n=this;function i(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(n.on("end",a),n.on("close",u));var s=!1;function a(){s||(s=!0,t.end())}function u(){s||(s=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){if(h(),0===r.listenerCount(this,"error"))throw t}function h(){n.removeListener("data",i),t.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",u),n.removeListener("error",c),t.removeListener("error",c),n.removeListener("end",h),n.removeListener("close",h),t.removeListener("close",h)}return n.on("error",c),t.on("error",c),n.on("end",h),n.on("close",h),t.on("close",h),t.emit("pipe",n),t}},ZIm7:function(t,e,n){"use strict";n.r(e),n.d(e,"done",(function(){return r})),n.d(e,"ready",(function(){return i}));var r,i=new Promise((function(t){r=t}))},ZPeb:function(t,e,n){!function(t){"use strict";
  210. //! moment.js locale configuration
  211. t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n("TiKg"))},Zf0h:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n("LxOh"))&&r.__esModule?r:{default:r};var o=function(t){for(var e=t.A,n=t.C,r=0;r<25;r+=5){for(var o=0;o<5;o++)(0,i.default)(e,r+o)(n,o);for(var s=0;s<5;s++){var a=2*(r+s),u=(s+1)%5*2,c=(s+2)%5*2;e[a]^=~n[u]&n[c],e[a+1]^=~n[u+1]&n[c+1]}}};e.default=o},Zov1:function(t,e,n){!function(t){"use strict";
  212. //! moment.js locale configuration
  213. t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n("TiKg"))},Zrjs:function(t,e,n){"use strict";var r=n("ovh1");t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function u(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(o,c),r.forEach(s,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(void 0,e[i])})),r.forEach(a,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var h=i.concat(o).concat(s).concat(a),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===h.indexOf(t)}));return r.forEach(l,c),n}},ZuGE:function(t,e,n){!function(t){"use strict";
  214. //! moment.js locale configuration
  215. var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("TiKg"))},ZxHn:function(t,e,n){!function(t){"use strict";
  216. //! moment.js locale configuration
  217. t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(n("TiKg"))},"a/Al":function(t,e,n){var r=n("wfEq"),i=n("qykS").Buffer,o=n("eIKn");function s(t){o.call(this,t),this.enc="pem"}r(s,o),t.exports=s,s.prototype.decode=function(t,e){for(var n=t.toString().split(/[\r\n]+/g),r=e.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,u=-1,c=0;c<n.length;c++){var h=n[c].match(s);if(null!==h&&h[2]===r){if(-1!==a){if("END"!==h[1])break;u=c;break}if("BEGIN"!==h[1])break;a=c}}if(-1===a||-1===u)throw new Error("PEM section not found for: "+r);var l=n.slice(a+1,u).join("");l.replace(/[^a-z0-9\+\/=]+/gi,"");var d=new i(l,"base64");return o.prototype.decode.call(this,d,e)}},"a/ED":function(t,e,n){"use strict";var r=n("HpGB"),i=n("DDMh"),o=n("Eg+Y"),s=n("siiD"),a=r.sum32,u=r.sum32_4,c=r.sum32_5,h=o.ch32,l=o.maj32,d=o.s0_256,f=o.s1_256,p=o.g0_256,_=o.g1_256,m=i.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}r.inherits(v,m),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=u(_(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],m=this.h[2],y=this.h[3],v=this.h[4],b=this.h[5],g=this.h[6],w=this.h[7];for(s(this.k.length===n.length),r=0;r<n.length;r++){var x=c(w,f(v),h(v,b,g),this.k[r],n[r]),M=a(d(i),l(i,o,m));w=g,g=b,b=v,v=a(y,x),y=m,m=o,o=i,i=a(x,M)}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],m),this.h[3]=a(this.h[3],y),this.h[4]=a(this.h[4],v),this.h[5]=a(this.h[5],b),this.h[6]=a(this.h[6],g),this.h[7]=a(this.h[7],w)},v.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},a1x9:function(t,e,n){!function(t){"use strict";
  218. //! moment.js locale configuration
  219. t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n("TiKg"))},a8jK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"encrypt",{enumerable:!0,get:function(){return r.encrypt}}),Object.defineProperty(e,"decrypt",{enumerable:!0,get:function(){return r.decrypt}}),Object.defineProperty(e,"wrapKey",{enumerable:!0,get:function(){return r.wrapKey}}),Object.defineProperty(e,"unwrapKey",{enumerable:!0,get:function(){return r.unwrapKey}}),e.default=void 0;var r=n("ta/H"),i={encrypt:r.encrypt,decrypt:r.decrypt,wrapKey:r.wrapKey,unwrapKey:r.unwrapKey};e.default=i},aAq9:function(t,e,n){"use strict";var r=e;r.base=n("7ZyU"),r.short=n("cfHP"),r.mont=n("Z4ft"),r.edwards=n("48B7")},aECo:function(t,e,n){"use strict";var r=n("2KG9");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},afE2:function(t,e,n){!function(t){"use strict";
  220. //! moment.js locale configuration
  221. function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,i=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:i,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:i,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("TiKg"))},arkH:function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},b1YN:function(t,e,n){!function(t){"use strict";
  222. //! moment.js locale configuration
  223. t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},bI9i:function(t,e,n){"use strict";n.r(e),n.d(e,"IsSubWindowModule",(function(){return c})),n.d(e,"isSubWindow",(function(){return l})),n.d(e,"module",(function(){return h}));var r=n("kp3F"),i=n("eJvy"),o=n("JpNb"),s=n("YaxJ"),a=function(){function t(){}return t.prototype.invoke=function(){return Object(i.s)()},t}(),u=function(){function t(t){this.storage=t}return Object.defineProperty(t,"IN_SUB_WINDOW_KEY",{get:function(){return"inSubWindow"},enumerable:!1,configurable:!0}),t.prototype.invoke=function(){return!!this.getInSubWindow()||!!new URLSearchParams(window.location.search).has(r.u)&&(this.setInSubWindow(!0),!0)},t.prototype.getInSubWindow=function(){var e=this.storage.getItem(r.m+":"+this.getLiffId()+":"+t.IN_SUB_WINDOW_KEY);return null!==e&&JSON.parse(e)},t.prototype.setInSubWindow=function(e){this.storage.setItem(r.m+":"+this.getLiffId()+":"+t.IN_SUB_WINDOW_KEY,String(e))},t.prototype.getLiffId=function(){var t=Object(o.getConfig)().liffId;if(!t)throw Object(i.j)(r.g,"liffId is necessary for liff.init()");return t},t}(),c=function(){function t(){Object(s.isInClient)()?this.impl=new a:this.impl=new u(window.sessionStorage)}return Object.defineProperty(t.prototype,"name",{get:function(){return"isSubWindow"},enumerable:!1,configurable:!0}),t.prototype.install=function(){return this.impl.invoke.bind(this.impl)},t}(),h=new c,l=h.install()},bPso:function(t,e,n){"use strict";(function(e,r){var i=n("pRMk").Buffer,o=e.crypto||e.msCrypto;o&&o.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(t);if(t>0)if(t>65536)for(var s=0;s<t;s+=65536)o.getRandomValues(n.slice(s,s+65536));else o.getRandomValues(n);if("function"==typeof e)return r.nextTick((function(){e(null,n)}));return n}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,n("pCvA"),n("5IsQ"))},bRtl:function(t,e,n){"use strict";(function(e){var r=n("ovh1"),i=n("71kK"),o=n("OmE2"),s={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(u=n("zf4f")),u),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(a(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw o(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(s)})),t.exports=c}).call(this,n("5IsQ"))},bb6g:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return h}));
  224. /*! *****************************************************************************
  225. Copyright (c) Microsoft Corporation.
  226. Permission to use, copy, modify, and/or distribute this software for any
  227. purpose with or without fee is hereby granted.
  228. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  229. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  230. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  231. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  232. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  233. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  234. PERFORMANCE OF THIS SOFTWARE.
  235. ***************************************************************************** */
  236. var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}u((r=r.apply(t,e||[])).next())}))}function a(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function u(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function h(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t}},bwlJ:function(t,e,n){"use strict";var r={};!function(t,e){function n(){}t.inherit=function(t,e){var r=t;n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=r},t.generateCallback=function(t,e){return function(){e.apply(t,arguments)}},t.NVector=function(t){void 0===t&&(t=0);for(var e=new Array(t||0),n=0;n<t;++n)e[n]=0;return e},t.is=function(t,e){return null!==t&&(e instanceof Function&&t instanceof e||!(null==t.constructor.__implements||!t.constructor.__implements[e]))},t.parseUInt=function(t){return Math.abs(parseInt(t))}}(r);var i,o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M,S,T,A,E,L,D,C,k,O,I,P,R,Y,B,N,j,F,U,G,H,V=Array,z=r.NVector;for(void 0===r&&(r={}),void 0===r.Collision&&(r.Collision={}),void 0===r.Collision.Shapes&&(r.Collision.Shapes={}),void 0===r.Common&&(r.Common={}),void 0===r.Common.Math&&(r.Common.Math={}),void 0===r.Dynamics&&(r.Dynamics={}),void 0===r.Dynamics.Contacts&&(r.Dynamics.Contacts={}),void 0===r.Dynamics.Controllers&&(r.Dynamics.Controllers={}),void 0===r.Dynamics.Joints&&(r.Dynamics.Joints={}),r.Collision.IBroadPhase="Box2D.Collision.IBroadPhase",r.Collision.b2AABB=function t(){t.b2AABB.apply(this,arguments)},r.Collision.b2Bound=function t(){t.b2Bound.apply(this,arguments)},r.Collision.b2BoundValues=function t(){t.b2BoundValues.apply(this,arguments),this.constructor===t&&this.b2BoundValues.apply(this,arguments)},r.Collision.b2Collision=function t(){t.b2Collision.apply(this,arguments)},r.Collision.b2ContactID=function t(){t.b2ContactID.apply(this,arguments),this.constructor===t&&this.b2ContactID.apply(this,arguments)},r.Collision.b2ContactPoint=function t(){t.b2ContactPoint.apply(this,arguments)},r.Collision.b2Distance=function t(){t.b2Distance.apply(this,arguments)},r.Collision.b2DistanceInput=function t(){t.b2DistanceInput.apply(this,arguments)},r.Collision.b2DistanceOutput=function t(){t.b2DistanceOutput.apply(this,arguments)},r.Collision.b2DistanceProxy=function t(){t.b2DistanceProxy.apply(this,arguments)},r.Collision.b2DynamicTree=function t(){t.b2DynamicTree.apply(this,arguments),this.constructor===t&&this.b2DynamicTree.apply(this,arguments)},r.Collision.b2DynamicTreeBroadPhase=function t(){t.b2DynamicTreeBroadPhase.apply(this,arguments)},r.Collision.b2DynamicTreeNode=function t(){t.b2DynamicTreeNode.apply(this,arguments)},r.Collision.b2DynamicTreePair=function t(){t.b2DynamicTreePair.apply(this,arguments)},r.Collision.b2Manifold=function t(){t.b2Manifold.apply(this,arguments),this.constructor===t&&this.b2Manifold.apply(this,arguments)},r.Collision.b2ManifoldPoint=function t(){t.b2ManifoldPoint.apply(this,arguments),this.constructor===t&&this.b2ManifoldPoint.apply(this,arguments)},r.Collision.b2Point=function t(){t.b2Point.apply(this,arguments)},r.Collision.b2RayCastInput=function t(){t.b2RayCastInput.apply(this,arguments),this.constructor===t&&this.b2RayCastInput.apply(this,arguments)},r.Collision.b2RayCastOutput=function t(){t.b2RayCastOutput.apply(this,arguments)},r.Collision.b2Segment=function t(){t.b2Segment.apply(this,arguments)},r.Collision.b2SeparationFunction=function t(){t.b2SeparationFunction.apply(this,arguments)},r.Collision.b2Simplex=function t(){t.b2Simplex.apply(this,arguments),this.constructor===t&&this.b2Simplex.apply(this,arguments)},r.Collision.b2SimplexCache=function t(){t.b2SimplexCache.apply(this,arguments)},r.Collision.b2SimplexVertex=function t(){t.b2SimplexVertex.apply(this,arguments)},r.Collision.b2TimeOfImpact=function t(){t.b2TimeOfImpact.apply(this,arguments)},r.Collision.b2TOIInput=function t(){t.b2TOIInput.apply(this,arguments)},r.Collision.b2WorldManifold=function t(){t.b2WorldManifold.apply(this,arguments),this.constructor===t&&this.b2WorldManifold.apply(this,arguments)},r.Collision.ClipVertex=function t(){t.ClipVertex.apply(this,arguments)},r.Collision.Features=function t(){t.Features.apply(this,arguments)},r.Collision.Shapes.b2CircleShape=function t(){t.b2CircleShape.apply(this,arguments),this.constructor===t&&this.b2CircleShape.apply(this,arguments)},r.Collision.Shapes.b2EdgeChainDef=function t(){t.b2EdgeChainDef.apply(this,arguments),this.constructor===t&&this.b2EdgeChainDef.apply(this,arguments)},r.Collision.Shapes.b2EdgeShape=function t(){t.b2EdgeShape.apply(this,arguments),this.constructor===t&&this.b2EdgeShape.apply(this,arguments)},r.Collision.Shapes.b2MassData=function t(){t.b2MassData.apply(this,arguments)},r.Collision.Shapes.b2PolygonShape=function t(){t.b2PolygonShape.apply(this,arguments),this.constructor===t&&this.b2PolygonShape.apply(this,arguments)},r.Collision.Shapes.b2Shape=function t(){t.b2Shape.apply(this,arguments),this.constructor===t&&this.b2Shape.apply(this,arguments)},r.Common.b2internal="Box2D.Common.b2internal",r.Common.b2Color=function t(){t.b2Color.apply(this,arguments),this.constructor===t&&this.b2Color.apply(this,arguments)},r.Common.b2Settings=function t(){t.b2Settings.apply(this,arguments)},r.Common.Math.b2Mat22=function t(){t.b2Mat22.apply(this,arguments),this.constructor===t&&this.b2Mat22.apply(this,arguments)},r.Common.Math.b2Mat33=function t(){t.b2Mat33.apply(this,arguments),this.constructor===t&&this.b2Mat33.apply(this,arguments)},r.Common.Math.b2Math=function t(){t.b2Math.apply(this,arguments)},r.Common.Math.b2Sweep=function t(){t.b2Sweep.apply(this,arguments)},r.Common.Math.b2Transform=function t(){t.b2Transform.apply(this,arguments),this.constructor===t&&this.b2Transform.apply(this,arguments)},r.Common.Math.b2Vec2=function t(){t.b2Vec2.apply(this,arguments),this.constructor===t&&this.b2Vec2.apply(this,arguments)},r.Common.Math.b2Vec3=function t(){t.b2Vec3.apply(this,arguments),this.constructor===t&&this.b2Vec3.apply(this,arguments)},r.Dynamics.b2Body=function t(){t.b2Body.apply(this,arguments),this.constructor===t&&this.b2Body.apply(this,arguments)},r.Dynamics.b2BodyDef=function t(){t.b2BodyDef.apply(this,arguments),this.constructor===t&&this.b2BodyDef.apply(this,arguments)},r.Dynamics.b2ContactFilter=function t(){t.b2ContactFilter.apply(this,arguments)},r.Dynamics.b2ContactImpulse=function t(){t.b2ContactImpulse.apply(this,arguments)},r.Dynamics.b2ContactListener=function t(){t.b2ContactListener.apply(this,arguments)},r.Dynamics.b2ContactManager=function t(){t.b2ContactManager.apply(this,arguments),this.constructor===t&&this.b2ContactManager.apply(this,arguments)},r.Dynamics.b2DebugDraw=function t(){t.b2DebugDraw.apply(this,arguments),this.constructor===t&&this.b2DebugDraw.apply(this,arguments)},r.Dynamics.b2DestructionListener=function t(){t.b2DestructionListener.apply(this,arguments)},r.Dynamics.b2FilterData=function t(){t.b2FilterData.apply(this,arguments)},r.Dynamics.b2Fixture=function t(){t.b2Fixture.apply(this,arguments),this.constructor===t&&this.b2Fixture.apply(this,arguments)},r.Dynamics.b2FixtureDef=function t(){t.b2FixtureDef.apply(this,arguments),this.constructor===t&&this.b2FixtureDef.apply(this,arguments)},r.Dynamics.b2Island=function t(){t.b2Island.apply(this,arguments),this.constructor===t&&this.b2Island.apply(this,arguments)},r.Dynamics.b2TimeStep=function t(){t.b2TimeStep.apply(this,arguments)},r.Dynamics.b2World=function t(){t.b2World.apply(this,arguments),this.constructor===t&&this.b2World.apply(this,arguments)},r.Dynamics.Contacts.b2CircleContact=function t(){t.b2CircleContact.apply(this,arguments)},r.Dynamics.Contacts.b2Contact=function t(){t.b2Contact.apply(this,arguments),this.constructor===t&&this.b2Contact.apply(this,arguments)},r.Dynamics.Contacts.b2ContactConstraint=function t(){t.b2ContactConstraint.apply(this,arguments),this.constructor===t&&this.b2ContactConstraint.apply(this,arguments)},r.Dynamics.Contacts.b2ContactConstraintPoint=function t(){t.b2ContactConstraintPoint.apply(this,arguments)},r.Dynamics.Contacts.b2ContactEdge=function t(){t.b2ContactEdge.apply(this,arguments)},r.Dynamics.Contacts.b2ContactFactory=function t(){t.b2ContactFactory.apply(this,arguments),this.constructor===t&&this.b2ContactFactory.apply(this,arguments)},r.Dynamics.Contacts.b2ContactRegister=function t(){t.b2ContactRegister.apply(this,arguments)},r.Dynamics.Contacts.b2ContactResult=function t(){t.b2ContactResult.apply(this,arguments)},r.Dynamics.Contacts.b2ContactSolver=function t(){t.b2ContactSolver.apply(this,arguments),this.constructor===t&&this.b2ContactSolver.apply(this,arguments)},r.Dynamics.Contacts.b2EdgeAndCircleContact=function t(){t.b2EdgeAndCircleContact.apply(this,arguments)},r.Dynamics.Contacts.b2NullContact=function t(){t.b2NullContact.apply(this,arguments),this.constructor===t&&this.b2NullContact.apply(this,arguments)},r.Dynamics.Contacts.b2PolyAndCircleContact=function t(){t.b2PolyAndCircleContact.apply(this,arguments)},r.Dynamics.Contacts.b2PolyAndEdgeContact=function t(){t.b2PolyAndEdgeContact.apply(this,arguments)},r.Dynamics.Contacts.b2PolygonContact=function t(){t.b2PolygonContact.apply(this,arguments)},r.Dynamics.Contacts.b2PositionSolverManifold=function t(){t.b2PositionSolverManifold.apply(this,arguments),this.constructor===t&&this.b2PositionSolverManifold.apply(this,arguments)},r.Dynamics.Controllers.b2BuoyancyController=function t(){t.b2BuoyancyController.apply(this,arguments)},r.Dynamics.Controllers.b2ConstantAccelController=function t(){t.b2ConstantAccelController.apply(this,arguments)},r.Dynamics.Controllers.b2ConstantForceController=function t(){t.b2ConstantForceController.apply(this,arguments)},r.Dynamics.Controllers.b2Controller=function t(){t.b2Controller.apply(this,arguments)},r.Dynamics.Controllers.b2ControllerEdge=function t(){t.b2ControllerEdge.apply(this,arguments)},r.Dynamics.Controllers.b2GravityController=function t(){t.b2GravityController.apply(this,arguments)},r.Dynamics.Controllers.b2TensorDampingController=function t(){t.b2TensorDampingController.apply(this,arguments)},r.Dynamics.Joints.b2DistanceJoint=function t(){t.b2DistanceJoint.apply(this,arguments),this.constructor===t&&this.b2DistanceJoint.apply(this,arguments)},r.Dynamics.Joints.b2DistanceJointDef=function t(){t.b2DistanceJointDef.apply(this,arguments),this.constructor===t&&this.b2DistanceJointDef.apply(this,arguments)},r.Dynamics.Joints.b2FrictionJoint=function t(){t.b2FrictionJoint.apply(this,arguments),this.constructor===t&&this.b2FrictionJoint.apply(this,arguments)},r.Dynamics.Joints.b2FrictionJointDef=function t(){t.b2FrictionJointDef.apply(this,arguments),this.constructor===t&&this.b2FrictionJointDef.apply(this,arguments)},r.Dynamics.Joints.b2GearJoint=function t(){t.b2GearJoint.apply(this,arguments),this.constructor===t&&this.b2GearJoint.apply(this,arguments)},r.Dynamics.Joints.b2GearJointDef=function t(){t.b2GearJointDef.apply(this,arguments),this.constructor===t&&this.b2GearJointDef.apply(this,arguments)},r.Dynamics.Joints.b2Jacobian=function t(){t.b2Jacobian.apply(this,arguments)},r.Dynamics.Joints.b2Joint=function t(){t.b2Joint.apply(this,arguments),this.constructor===t&&this.b2Joint.apply(this,arguments)},r.Dynamics.Joints.b2JointDef=function t(){t.b2JointDef.apply(this,arguments),this.constructor===t&&this.b2JointDef.apply(this,arguments)},r.Dynamics.Joints.b2JointEdge=function t(){t.b2JointEdge.apply(this,arguments)},r.Dynamics.Joints.b2LineJoint=function t(){t.b2LineJoint.apply(this,arguments),this.constructor===t&&this.b2LineJoint.apply(this,arguments)},r.Dynamics.Joints.b2LineJointDef=function t(){t.b2LineJointDef.apply(this,arguments),this.constructor===t&&this.b2LineJointDef.apply(this,arguments)},r.Dynamics.Joints.b2MouseJoint=function t(){t.b2MouseJoint.apply(this,arguments),this.constructor===t&&this.b2MouseJoint.apply(this,arguments)},r.Dynamics.Joints.b2MouseJointDef=function t(){t.b2MouseJointDef.apply(this,arguments),this.constructor===t&&this.b2MouseJointDef.apply(this,arguments)},r.Dynamics.Joints.b2PrismaticJoint=function t(){t.b2PrismaticJoint.apply(this,arguments),this.constructor===t&&this.b2PrismaticJoint.apply(this,arguments)},r.Dynamics.Joints.b2PrismaticJointDef=function t(){t.b2PrismaticJointDef.apply(this,arguments),this.constructor===t&&this.b2PrismaticJointDef.apply(this,arguments)},r.Dynamics.Joints.b2PulleyJoint=function t(){t.b2PulleyJoint.apply(this,arguments),this.constructor===t&&this.b2PulleyJoint.apply(this,arguments)},r.Dynamics.Joints.b2PulleyJointDef=function t(){t.b2PulleyJointDef.apply(this,arguments),this.constructor===t&&this.b2PulleyJointDef.apply(this,arguments)},r.Dynamics.Joints.b2RevoluteJoint=function t(){t.b2RevoluteJoint.apply(this,arguments),this.constructor===t&&this.b2RevoluteJoint.apply(this,arguments)},r.Dynamics.Joints.b2RevoluteJointDef=function t(){t.b2RevoluteJointDef.apply(this,arguments),this.constructor===t&&this.b2RevoluteJointDef.apply(this,arguments)},r.Dynamics.Joints.b2WeldJoint=function t(){t.b2WeldJoint.apply(this,arguments),this.constructor===t&&this.b2WeldJoint.apply(this,arguments)},r.Dynamics.Joints.b2WeldJointDef=function t(){t.b2WeldJointDef.apply(this,arguments),this.constructor===t&&this.b2WeldJointDef.apply(this,arguments)},r.postDefs=[],i=r.Collision.Shapes.b2CircleShape,r.Collision.Shapes.b2EdgeChainDef,r.Collision.Shapes.b2EdgeShape,r.Collision.Shapes.b2MassData,o=r.Collision.Shapes.b2PolygonShape,s=r.Collision.Shapes.b2Shape,r.Common.b2Color,r.Common.b2internal,a=r.Common.b2Settings,r.Common.Math.b2Mat22,r.Common.Math.b2Mat33,u=r.Common.Math.b2Math,c=r.Common.Math.b2Sweep,h=r.Common.Math.b2Transform,l=r.Common.Math.b2Vec2,r.Common.Math.b2Vec3,d=r.Collision.b2AABB,f=r.Collision.b2Bound,p=r.Collision.b2BoundValues,_=r.Collision.b2Collision,m=r.Collision.b2ContactID,y=r.Collision.b2ContactPoint,v=r.Collision.b2Distance,b=r.Collision.b2DistanceInput,g=r.Collision.b2DistanceOutput,w=r.Collision.b2DistanceProxy,x=r.Collision.b2DynamicTree,M=r.Collision.b2DynamicTreeBroadPhase,S=r.Collision.b2DynamicTreeNode,T=r.Collision.b2DynamicTreePair,A=r.Collision.b2Manifold,E=r.Collision.b2ManifoldPoint,L=r.Collision.b2Point,D=r.Collision.b2RayCastInput,C=r.Collision.b2RayCastOutput,k=r.Collision.b2Segment,O=r.Collision.b2SeparationFunction,I=r.Collision.b2Simplex,P=r.Collision.b2SimplexCache,R=r.Collision.b2SimplexVertex,Y=r.Collision.b2TimeOfImpact,B=r.Collision.b2TOIInput,N=r.Collision.b2WorldManifold,j=r.Collision.ClipVertex,F=r.Collision.Features,U=r.Collision.IBroadPhase,d.b2AABB=function(){this.lowerBound=new l,this.upperBound=new l},d.prototype.IsValid=function(){var t=this.upperBound.x-this.lowerBound.x,e=this.upperBound.y-this.lowerBound.y,n=t>=0&&e>=0;return n=n&&this.lowerBound.IsValid()&&this.upperBound.IsValid()},d.prototype.GetCenter=function(){return new l((this.lowerBound.x+this.upperBound.x)/2,(this.lowerBound.y+this.upperBound.y)/2)},d.prototype.GetExtents=function(){return new l((this.upperBound.x-this.lowerBound.x)/2,(this.upperBound.y-this.lowerBound.y)/2)},d.prototype.Contains=function(t){var e=!0;return e=(e=(e=(e=e&&this.lowerBound.x<=t.lowerBound.x)&&this.lowerBound.y<=t.lowerBound.y)&&t.upperBound.x<=this.upperBound.x)&&t.upperBound.y<=this.upperBound.y},d.prototype.RayCast=function(t,e){var n=-Number.MAX_VALUE,r=Number.MAX_VALUE,i=e.p1.x,o=e.p1.y,s=e.p2.x-e.p1.x,a=e.p2.y-e.p1.y,u=Math.abs(s),c=Math.abs(a),h=t.normal,l=0,d=0,f=0,p=0,_=0;if(u<Number.MIN_VALUE){if(i<this.lowerBound.x||this.upperBound.x<i)return!1}else if(l=1/s,_=-1,(d=(this.lowerBound.x-i)*l)>(f=(this.upperBound.x-i)*l)&&(p=d,d=f,f=p,_=1),d>n&&(h.x=_,h.y=0,n=d),n>(r=Math.min(r,f)))return!1;if(c<Number.MIN_VALUE){if(o<this.lowerBound.y||this.upperBound.y<o)return!1}else if(l=1/a,_=-1,(d=(this.lowerBound.y-o)*l)>(f=(this.upperBound.y-o)*l)&&(p=d,d=f,f=p,_=1),d>n&&(h.y=_,h.x=0,n=d),n>(r=Math.min(r,f)))return!1;return t.fraction=n,!0},d.prototype.TestOverlap=function(t){var e=t.lowerBound.x-this.upperBound.x,n=t.lowerBound.y-this.upperBound.y,r=this.lowerBound.x-t.upperBound.x,i=this.lowerBound.y-t.upperBound.y;return!(e>0||n>0||r>0||i>0)},d.Combine=function(t,e){var n=new d;return n.Combine(t,e),n},d.prototype.Combine=function(t,e){this.lowerBound.x=Math.min(t.lowerBound.x,e.lowerBound.x),this.lowerBound.y=Math.min(t.lowerBound.y,e.lowerBound.y),this.upperBound.x=Math.max(t.upperBound.x,e.upperBound.x),this.upperBound.y=Math.max(t.upperBound.y,e.upperBound.y)},f.b2Bound=function(){},f.prototype.IsLower=function(){return 0==(1&this.value)},f.prototype.IsUpper=function(){return 1==(1&this.value)},f.prototype.Swap=function(t){var e=this.value,n=this.proxy,r=this.stabbingCount;this.value=t.value,this.proxy=t.proxy,this.stabbingCount=t.stabbingCount,t.value=e,t.proxy=n,t.stabbingCount=r},p.b2BoundValues=function(){},p.prototype.b2BoundValues=function(){this.lowerValues=new z,this.lowerValues[0]=0,this.lowerValues[1]=0,this.upperValues=new z,this.upperValues[0]=0,this.upperValues[1]=0},_.b2Collision=function(){},_.ClipSegmentToLine=function(t,e,n,r){var i;void 0===r&&(r=0);var o=0,s=(i=e[0]).v,a=(i=e[1]).v,u=n.x*s.x+n.y*s.y-r,c=n.x*a.x+n.y*a.y-r;if(u<=0&&t[o++].Set(e[0]),c<=0&&t[o++].Set(e[1]),u*c<0){var h,l=u/(u-c),d=(i=t[o]).v;d.x=s.x+l*(a.x-s.x),d.y=s.y+l*(a.y-s.y),i=t[o],u>0?(h=e[0],i.id=h.id):(h=e[1],i.id=h.id),++o}return o},_.EdgeSeparation=function(t,e,n,r,i){void 0===n&&(n=0),parseInt(t.m_vertexCount);var o,s,a=t.m_vertices,u=t.m_normals,c=parseInt(r.m_vertexCount),h=r.m_vertices;o=e.R,s=u[n];for(var l=o.col1.x*s.x+o.col2.x*s.y,d=o.col1.y*s.x+o.col2.y*s.y,f=(o=i.R).col1.x*l+o.col1.y*d,p=o.col2.x*l+o.col2.y*d,_=0,m=Number.MAX_VALUE,y=0;y<c;++y){var v=(s=h[y]).x*f+s.y*p;v<m&&(m=v,_=y)}s=a[n],o=e.R;var b=e.position.x+(o.col1.x*s.x+o.col2.x*s.y),g=e.position.y+(o.col1.y*s.x+o.col2.y*s.y);s=h[_],o=i.R;var w=i.position.x+(o.col1.x*s.x+o.col2.x*s.y),x=i.position.y+(o.col1.y*s.x+o.col2.y*s.y);return(w-=b)*l+(x-=g)*d},_.FindMaxSeparation=function(t,e,n,r,i){var o,s,a=parseInt(e.m_vertexCount),u=e.m_normals;s=i.R,o=r.m_centroid;var c=i.position.x+(s.col1.x*o.x+s.col2.x*o.y),h=i.position.y+(s.col1.y*o.x+s.col2.y*o.y);s=n.R,o=e.m_centroid,c-=n.position.x+(s.col1.x*o.x+s.col2.x*o.y),h-=n.position.y+(s.col1.y*o.x+s.col2.y*o.y);for(var l=c*n.R.col1.x+h*n.R.col1.y,d=c*n.R.col2.x+h*n.R.col2.y,f=0,p=-Number.MAX_VALUE,m=0;m<a;++m){var y=(o=u[m]).x*l+o.y*d;y>p&&(p=y,f=m)}var v=_.EdgeSeparation(e,n,f,r,i),b=parseInt(f-1>=0?f-1:a-1),g=_.EdgeSeparation(e,n,b,r,i),w=parseInt(f+1<a?f+1:0),x=_.EdgeSeparation(e,n,w,r,i),M=0,S=0,T=0;if(g>v&&g>x)T=-1,M=b,S=g;else{if(!(x>v))return t[0]=f,v;T=1,M=w,S=x}for(;f=-1==T?M-1>=0?M-1:a-1:M+1<a?M+1:0,(v=_.EdgeSeparation(e,n,f,r,i))>S;)M=f,S=v;return t[0]=M,S},_.FindIncidentEdge=function(t,e,n,r,i,o){void 0===r&&(r=0),parseInt(e.m_vertexCount);var s,a,u=e.m_normals,c=parseInt(i.m_vertexCount),h=i.m_vertices,l=i.m_normals;s=n.R,a=u[r];var d=s.col1.x*a.x+s.col2.x*a.y,f=s.col1.y*a.x+s.col2.y*a.y,p=(s=o.R).col1.x*d+s.col1.y*f;f=s.col2.x*d+s.col2.y*f,d=p;for(var _,m=0,y=Number.MAX_VALUE,v=0;v<c;++v){var b=d*(a=l[v]).x+f*a.y;b<y&&(y=b,m=v)}var g=parseInt(m),w=parseInt(g+1<c?g+1:0);_=t[0],a=h[g],s=o.R,_.v.x=o.position.x+(s.col1.x*a.x+s.col2.x*a.y),_.v.y=o.position.y+(s.col1.y*a.x+s.col2.y*a.y),_.id.features.referenceEdge=r,_.id.features.incidentEdge=g,_.id.features.incidentVertex=0,_=t[1],a=h[w],s=o.R,_.v.x=o.position.x+(s.col1.x*a.x+s.col2.x*a.y),_.v.y=o.position.y+(s.col1.y*a.x+s.col2.y*a.y),_.id.features.referenceEdge=r,_.id.features.incidentEdge=w,_.id.features.incidentVertex=1},_.MakeClipPointVector=function(){var t=new V(2);return t[0]=new j,t[1]=new j,t},_.CollidePolygons=function(t,e,n,r,i){var o;t.m_pointCount=0;var s=e.m_radius+r.m_radius,u=0;_.s_edgeAO[0]=u;var c=_.FindMaxSeparation(_.s_edgeAO,e,n,r,i);if(u=_.s_edgeAO[0],!(c>s)){var h=0;_.s_edgeBO[0]=h;var l=_.FindMaxSeparation(_.s_edgeBO,r,i,e,n);if(h=_.s_edgeBO[0],!(l>s)){var d,f,p,m,y,v=0,b=0;l>.98*c+.001?(d=r,f=e,p=i,m=n,v=h,t.m_type=A.e_faceB,b=1):(d=e,f=r,p=n,m=i,v=u,t.m_type=A.e_faceA,b=0);var g=_.s_incidentEdge;_.FindIncidentEdge(g,d,p,v,f,m);var w,x=parseInt(d.m_vertexCount),M=d.m_vertices,S=M[v];w=v+1<x?M[parseInt(v+1)]:M[0];var T=_.s_localTangent;T.Set(w.x-S.x,w.y-S.y),T.Normalize();var E=_.s_localNormal;E.x=T.y,E.y=-T.x;var L=_.s_planePoint;L.Set(.5*(S.x+w.x),.5*(S.y+w.y));var D=_.s_tangent;y=p.R,D.x=y.col1.x*T.x+y.col2.x*T.y,D.y=y.col1.y*T.x+y.col2.y*T.y;var C=_.s_tangent2;C.x=-D.x,C.y=-D.y;var k=_.s_normal;k.x=D.y,k.y=-D.x;var O=_.s_v11,I=_.s_v12;O.x=p.position.x+(y.col1.x*S.x+y.col2.x*S.y),O.y=p.position.y+(y.col1.y*S.x+y.col2.y*S.y),I.x=p.position.x+(y.col1.x*w.x+y.col2.x*w.y),I.y=p.position.y+(y.col1.y*w.x+y.col2.y*w.y);var P=k.x*O.x+k.y*O.y,R=-D.x*O.x-D.y*O.y+s,Y=D.x*I.x+D.y*I.y+s,B=_.s_clipPoints1,N=_.s_clipPoints2;if(!(_.ClipSegmentToLine(B,g,C,R)<2||_.ClipSegmentToLine(N,B,D,Y)<2)){t.m_localPlaneNormal.SetV(E),t.m_localPoint.SetV(L);for(var j=0,F=0;F<a.b2_maxManifoldPoints;++F)if(o=N[F],k.x*o.v.x+k.y*o.v.y-P<=s){var U=t.m_points[j];y=m.R;var G=o.v.x-m.position.x,H=o.v.y-m.position.y;U.m_localPoint.x=G*y.col1.x+H*y.col1.y,U.m_localPoint.y=G*y.col2.x+H*y.col2.y,U.m_id.Set(o.id),U.m_id.features.flip=b,++j}t.m_pointCount=j}}}},_.CollideCircles=function(t,e,n,r,i){var o,s;t.m_pointCount=0,o=n.R,s=e.m_p;var a=n.position.x+(o.col1.x*s.x+o.col2.x*s.y),u=n.position.y+(o.col1.y*s.x+o.col2.y*s.y);o=i.R,s=r.m_p;var c=i.position.x+(o.col1.x*s.x+o.col2.x*s.y)-a,h=i.position.y+(o.col1.y*s.x+o.col2.y*s.y)-u,l=c*c+h*h,d=e.m_radius+r.m_radius;l>d*d||(t.m_type=A.e_circles,t.m_localPoint.SetV(e.m_p),t.m_localPlaneNormal.SetZero(),t.m_pointCount=1,t.m_points[0].m_localPoint.SetV(r.m_p),t.m_points[0].m_id.key=0)},_.CollidePolygonAndCircle=function(t,e,n,r,i){t.m_pointCount=0;var o,s,a=0,u=0;s=i.R,o=r.m_p;var c=i.position.x+(s.col1.x*o.x+s.col2.x*o.y),h=i.position.y+(s.col1.y*o.x+s.col2.y*o.y);a=c-n.position.x,u=h-n.position.y;for(var l=a*(s=n.R).col1.x+u*s.col1.y,d=a*s.col2.x+u*s.col2.y,f=0,p=-Number.MAX_VALUE,_=e.m_radius+r.m_radius,m=parseInt(e.m_vertexCount),y=e.m_vertices,v=e.m_normals,b=0;b<m;++b){a=l-(o=y[b]).x,u=d-o.y;var g=(o=v[b]).x*a+o.y*u;if(g>_)return;g>p&&(p=g,f=b)}var w=parseInt(f),x=parseInt(w+1<m?w+1:0),M=y[w],S=y[x];if(p<Number.MIN_VALUE)return t.m_pointCount=1,t.m_type=A.e_faceA,t.m_localPlaneNormal.SetV(v[f]),t.m_localPoint.x=.5*(M.x+S.x),t.m_localPoint.y=.5*(M.y+S.y),t.m_points[0].m_localPoint.SetV(r.m_p),void(t.m_points[0].m_id.key=0);var T=(l-M.x)*(S.x-M.x)+(d-M.y)*(S.y-M.y),E=(l-S.x)*(M.x-S.x)+(d-S.y)*(M.y-S.y);if(T<=0){if((l-M.x)*(l-M.x)+(d-M.y)*(d-M.y)>_*_)return;t.m_pointCount=1,t.m_type=A.e_faceA,t.m_localPlaneNormal.x=l-M.x,t.m_localPlaneNormal.y=d-M.y,t.m_localPlaneNormal.Normalize(),t.m_localPoint.SetV(M),t.m_points[0].m_localPoint.SetV(r.m_p),t.m_points[0].m_id.key=0}else if(E<=0){if((l-S.x)*(l-S.x)+(d-S.y)*(d-S.y)>_*_)return;t.m_pointCount=1,t.m_type=A.e_faceA,t.m_localPlaneNormal.x=l-S.x,t.m_localPlaneNormal.y=d-S.y,t.m_localPlaneNormal.Normalize(),t.m_localPoint.SetV(S),t.m_points[0].m_localPoint.SetV(r.m_p),t.m_points[0].m_id.key=0}else{var L=.5*(M.x+S.x),D=.5*(M.y+S.y);if((p=(l-L)*v[w].x+(d-D)*v[w].y)>_)return;t.m_pointCount=1,t.m_type=A.e_faceA,t.m_localPlaneNormal.x=v[w].x,t.m_localPlaneNormal.y=v[w].y,t.m_localPlaneNormal.Normalize(),t.m_localPoint.Set(L,D),t.m_points[0].m_localPoint.SetV(r.m_p),t.m_points[0].m_id.key=0}},_.TestOverlap=function(t,e){var n=e.lowerBound,r=t.upperBound,i=n.x-r.x,o=n.y-r.y;n=t.lowerBound,r=e.upperBound;var s=n.x-r.x,a=n.y-r.y;return!(i>0||o>0||s>0||a>0)},r.postDefs.push((function(){r.Collision.b2Collision.s_incidentEdge=_.MakeClipPointVector(),r.Collision.b2Collision.s_clipPoints1=_.MakeClipPointVector(),r.Collision.b2Collision.s_clipPoints2=_.MakeClipPointVector(),r.Collision.b2Collision.s_edgeAO=new z(1),r.Collision.b2Collision.s_edgeBO=new z(1),r.Collision.b2Collision.s_localTangent=new l,r.Collision.b2Collision.s_localNormal=new l,r.Collision.b2Collision.s_planePoint=new l,r.Collision.b2Collision.s_normal=new l,r.Collision.b2Collision.s_tangent=new l,r.Collision.b2Collision.s_tangent2=new l,r.Collision.b2Collision.s_v11=new l,r.Collision.b2Collision.s_v12=new l,r.Collision.b2Collision.b2CollidePolyTempVec=new l,r.Collision.b2Collision.b2_nullFeature=255})),m.b2ContactID=function(){this.features=new F},m.prototype.b2ContactID=function(){this.features._m_id=this},m.prototype.Set=function(t){this.key=t._key},m.prototype.Copy=function(){var t=new m;return t.key=this.key,t},Object.defineProperty(m.prototype,"key",{enumerable:!1,configurable:!0,get:function(){return this._key}}),Object.defineProperty(m.prototype,"key",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._key=t,this.features._referenceEdge=255&this._key,this.features._incidentEdge=(65280&this._key)>>8&255,this.features._incidentVertex=(16711680&this._key)>>16&255,this.features._flip=(4278190080&this._key)>>24&255}}),y.b2ContactPoint=function(){this.position=new l,this.velocity=new l,this.normal=new l,this.id=new m},v.b2Distance=function(){},v.Distance=function(t,e,n){++v.b2_gjkCalls;var r=n.proxyA,i=n.proxyB,o=n.transformA,s=n.transformB,c=v.s_simplex;c.ReadCache(e,r,o,i,s);for(var h,d=c.m_vertices,f=v.s_saveA,p=v.s_saveB,_=0,m=(c.GetClosestPoint().LengthSquared(),0),y=0;y<20;){for(_=c.m_count,m=0;m<_;m++)f[m]=d[m].indexA,p[m]=d[m].indexB;switch(c.m_count){case 1:break;case 2:c.Solve2();break;case 3:c.Solve3();break;default:a.b2Assert(!1)}if(3==c.m_count)break;(h=c.GetClosestPoint()).LengthSquared();var b=c.GetSearchDirection();if(b.LengthSquared()<Number.MIN_VALUE*Number.MIN_VALUE)break;var g=d[c.m_count];g.indexA=r.GetSupport(u.MulTMV(o.R,b.GetNegative())),g.wA=u.MulX(o,r.GetVertex(g.indexA)),g.indexB=i.GetSupport(u.MulTMV(s.R,b)),g.wB=u.MulX(s,i.GetVertex(g.indexB)),g.w=u.SubtractVV(g.wB,g.wA),++y,++v.b2_gjkIters;var w=!1;for(m=0;m<_;m++)if(g.indexA==f[m]&&g.indexB==p[m]){w=!0;break}if(w)break;++c.m_count}if(v.b2_gjkMaxIters=u.Max(v.b2_gjkMaxIters,y),c.GetWitnessPoints(t.pointA,t.pointB),t.distance=u.SubtractVV(t.pointA,t.pointB).Length(),t.iterations=y,c.WriteCache(e),n.useRadii){var x=r.m_radius,M=i.m_radius;if(t.distance>x+M&&t.distance>Number.MIN_VALUE){t.distance-=x+M;var S=u.SubtractVV(t.pointB,t.pointA);S.Normalize(),t.pointA.x+=x*S.x,t.pointA.y+=x*S.y,t.pointB.x-=M*S.x,t.pointB.y-=M*S.y}else(h=new l).x=.5*(t.pointA.x+t.pointB.x),h.y=.5*(t.pointA.y+t.pointB.y),t.pointA.x=t.pointB.x=h.x,t.pointA.y=t.pointB.y=h.y,t.distance=0}},r.postDefs.push((function(){r.Collision.b2Distance.s_simplex=new I,r.Collision.b2Distance.s_saveA=new z(3),r.Collision.b2Distance.s_saveB=new z(3)})),b.b2DistanceInput=function(){},g.b2DistanceOutput=function(){this.pointA=new l,this.pointB=new l},w.b2DistanceProxy=function(){},w.prototype.Set=function(t){switch(t.GetType()){case s.e_circleShape:var e=t instanceof i?t:null;this.m_vertices=new V(1,!0),this.m_vertices[0]=e.m_p,this.m_count=1,this.m_radius=e.m_radius;break;case s.e_polygonShape:var n=t instanceof o?t:null;this.m_vertices=n.m_vertices,this.m_count=n.m_vertexCount,this.m_radius=n.m_radius;break;default:a.b2Assert(!1)}},w.prototype.GetSupport=function(t){for(var e=0,n=this.m_vertices[0].x*t.x+this.m_vertices[0].y*t.y,r=1;r<this.m_count;++r){var i=this.m_vertices[r].x*t.x+this.m_vertices[r].y*t.y;i>n&&(e=r,n=i)}return e},w.prototype.GetSupportVertex=function(t){for(var e=0,n=this.m_vertices[0].x*t.x+this.m_vertices[0].y*t.y,r=1;r<this.m_count;++r){var i=this.m_vertices[r].x*t.x+this.m_vertices[r].y*t.y;i>n&&(e=r,n=i)}return this.m_vertices[e]},w.prototype.GetVertexCount=function(){return this.m_count},w.prototype.GetVertex=function(t){return void 0===t&&(t=0),a.b2Assert(0<=t&&t<this.m_count),this.m_vertices[t]},x.b2DynamicTree=function(){},x.prototype.b2DynamicTree=function(){this.m_root=null,this.m_freeList=null,this.m_path=0,this.m_insertionCount=0},x.prototype.CreateProxy=function(t,e){var n=this.AllocateNode(),r=a.b2_aabbExtension,i=a.b2_aabbExtension;return n.aabb.lowerBound.x=t.lowerBound.x-r,n.aabb.lowerBound.y=t.lowerBound.y-i,n.aabb.upperBound.x=t.upperBound.x+r,n.aabb.upperBound.y=t.upperBound.y+i,n.userData=e,this.InsertLeaf(n),n},x.prototype.DestroyProxy=function(t){this.RemoveLeaf(t),this.FreeNode(t)},x.prototype.MoveProxy=function(t,e,n){if(a.b2Assert(t.IsLeaf()),t.aabb.Contains(e))return!1;this.RemoveLeaf(t);var r=a.b2_aabbExtension+a.b2_aabbMultiplier*(n.x>0?n.x:-n.x),i=a.b2_aabbExtension+a.b2_aabbMultiplier*(n.y>0?n.y:-n.y);return t.aabb.lowerBound.x=e.lowerBound.x-r,t.aabb.lowerBound.y=e.lowerBound.y-i,t.aabb.upperBound.x=e.upperBound.x+r,t.aabb.upperBound.y=e.upperBound.y+i,this.InsertLeaf(t),!0},x.prototype.Rebalance=function(t){if(void 0===t&&(t=0),null!=this.m_root)for(var e=0;e<t;e++){for(var n=this.m_root,r=0;0==n.IsLeaf();)n=this.m_path>>r&1?n.child2:n.child1,r=r+1&31;++this.m_path,this.RemoveLeaf(n),this.InsertLeaf(n)}},x.prototype.GetFatAABB=function(t){return t.aabb},x.prototype.GetUserData=function(t){return t.userData},x.prototype.Query=function(t,e){if(null!=this.m_root){var n=new V,r=0;for(n[r++]=this.m_root;r>0;){var i=n[--r];if(i.aabb.TestOverlap(e))if(i.IsLeaf()){if(!t(i))return}else n[r++]=i.child1,n[r++]=i.child2}}},x.prototype.RayCast=function(t,e){if(null!=this.m_root){var n=e.p1,r=e.p2,i=u.SubtractVV(n,r);i.Normalize();var o=u.CrossFV(1,i),s=u.AbsV(o),a=e.maxFraction,c=new d,h=0,l=0;h=n.x+a*(r.x-n.x),l=n.y+a*(r.y-n.y),c.lowerBound.x=Math.min(n.x,h),c.lowerBound.y=Math.min(n.y,l),c.upperBound.x=Math.max(n.x,h),c.upperBound.y=Math.max(n.y,l);var f=new V,p=0;for(f[p++]=this.m_root;p>0;){var _=f[--p];if(0!=_.aabb.TestOverlap(c)){var m=_.aabb.GetCenter(),y=_.aabb.GetExtents();if(!(Math.abs(o.x*(n.x-m.x)+o.y*(n.y-m.y))-s.x*y.x-s.y*y.y>0))if(_.IsLeaf()){var v=new D;if(v.p1=e.p1,v.p2=e.p2,v.maxFraction=e.maxFraction,0==(a=t(v,_)))return;a>0&&(h=n.x+a*(r.x-n.x),l=n.y+a*(r.y-n.y),c.lowerBound.x=Math.min(n.x,h),c.lowerBound.y=Math.min(n.y,l),c.upperBound.x=Math.max(n.x,h),c.upperBound.y=Math.max(n.y,l))}else f[p++]=_.child1,f[p++]=_.child2}}}},x.prototype.AllocateNode=function(){if(this.m_freeList){var t=this.m_freeList;return this.m_freeList=t.parent,t.parent=null,t.child1=null,t.child2=null,t}return new S},x.prototype.FreeNode=function(t){t.parent=this.m_freeList,this.m_freeList=t},x.prototype.InsertLeaf=function(t){if(++this.m_insertionCount,null==this.m_root)return this.m_root=t,void(this.m_root.parent=null);var e=t.aabb.GetCenter(),n=this.m_root;if(0==n.IsLeaf())do{var r=n.child1,i=n.child2;n=Math.abs((r.aabb.lowerBound.x+r.aabb.upperBound.x)/2-e.x)+Math.abs((r.aabb.lowerBound.y+r.aabb.upperBound.y)/2-e.y)<Math.abs((i.aabb.lowerBound.x+i.aabb.upperBound.x)/2-e.x)+Math.abs((i.aabb.lowerBound.y+i.aabb.upperBound.y)/2-e.y)?r:i}while(0==n.IsLeaf());var o=n.parent,s=this.AllocateNode();if(s.parent=o,s.userData=null,s.aabb.Combine(t.aabb,n.aabb),o){n.parent.child1==n?o.child1=s:o.child2=s,s.child1=n,s.child2=t,n.parent=s,t.parent=s;do{if(o.aabb.Contains(s.aabb))break;o.aabb.Combine(o.child1.aabb,o.child2.aabb),s=o,o=o.parent}while(o)}else s.child1=n,s.child2=t,n.parent=s,t.parent=s,this.m_root=s},x.prototype.RemoveLeaf=function(t){if(t!=this.m_root){var e,n=t.parent,r=n.parent;if(e=n.child1==t?n.child2:n.child1,r)for(r.child1==n?r.child1=e:r.child2=e,e.parent=r,this.FreeNode(n);r;){var i=r.aabb;if(r.aabb=d.Combine(r.child1.aabb,r.child2.aabb),i.Contains(r.aabb))break;r=r.parent}else this.m_root=e,e.parent=null,this.FreeNode(n)}else this.m_root=null},M.b2DynamicTreeBroadPhase=function(){this.m_tree=new x,this.m_moveBuffer=new V,this.m_pairBuffer=new V,this.m_pairCount=0},M.prototype.CreateProxy=function(t,e){var n=this.m_tree.CreateProxy(t,e);return++this.m_proxyCount,this.BufferMove(n),n},M.prototype.DestroyProxy=function(t){this.UnBufferMove(t),--this.m_proxyCount,this.m_tree.DestroyProxy(t)},M.prototype.MoveProxy=function(t,e,n){this.m_tree.MoveProxy(t,e,n)&&this.BufferMove(t)},M.prototype.TestOverlap=function(t,e){var n=this.m_tree.GetFatAABB(t),r=this.m_tree.GetFatAABB(e);return n.TestOverlap(r)},M.prototype.GetUserData=function(t){return this.m_tree.GetUserData(t)},M.prototype.GetFatAABB=function(t){return this.m_tree.GetFatAABB(t)},M.prototype.GetProxyCount=function(){return this.m_proxyCount},M.prototype.UpdatePairs=function(t){var e=this;e.m_pairCount=0;var n,r=0;function i(t){if(t==n)return!0;e.m_pairCount==e.m_pairBuffer.length&&(e.m_pairBuffer[e.m_pairCount]=new T);var r=e.m_pairBuffer[e.m_pairCount];return r.proxyA=t<n?t:n,r.proxyB=t>=n?t:n,++e.m_pairCount,!0}for(r=0;r<e.m_moveBuffer.length;++r){n=e.m_moveBuffer[r];var o=e.m_tree.GetFatAABB(n);e.m_tree.Query(i,o)}for(e.m_moveBuffer.length=0,r=0;r<e.m_pairCount;){var s=e.m_pairBuffer[r];for(t(e.m_tree.GetUserData(s.proxyA),e.m_tree.GetUserData(s.proxyB)),++r;r<e.m_pairCount;){var a=e.m_pairBuffer[r];if(a.proxyA!=s.proxyA||a.proxyB!=s.proxyB)break;++r}}},M.prototype.Query=function(t,e){this.m_tree.Query(t,e)},M.prototype.RayCast=function(t,e){this.m_tree.RayCast(t,e)},M.prototype.Validate=function(){},M.prototype.Rebalance=function(t){void 0===t&&(t=0),this.m_tree.Rebalance(t)},M.prototype.BufferMove=function(t){this.m_moveBuffer[this.m_moveBuffer.length]=t},M.prototype.UnBufferMove=function(t){var e=parseInt(this.m_moveBuffer.indexOf(t));this.m_moveBuffer.splice(e,1)},M.prototype.ComparePairs=function(t,e){return 0},M.__implements={},M.__implements[U]=!0,S.b2DynamicTreeNode=function(){this.aabb=new d},S.prototype.IsLeaf=function(){return null==this.child1},T.b2DynamicTreePair=function(){},A.b2Manifold=function(){this.m_pointCount=0},A.prototype.b2Manifold=function(){this.m_points=new V(a.b2_maxManifoldPoints);for(var t=0;t<a.b2_maxManifoldPoints;t++)this.m_points[t]=new E;this.m_localPlaneNormal=new l,this.m_localPoint=new l},A.prototype.Reset=function(){for(var t=0;t<a.b2_maxManifoldPoints;t++)(this.m_points[t]instanceof E?this.m_points[t]:null).Reset();this.m_localPlaneNormal.SetZero(),this.m_localPoint.SetZero(),this.m_type=0,this.m_pointCount=0},A.prototype.Set=function(t){this.m_pointCount=t.m_pointCount;for(var e=0;e<a.b2_maxManifoldPoints;e++)(this.m_points[e]instanceof E?this.m_points[e]:null).Set(t.m_points[e]);this.m_localPlaneNormal.SetV(t.m_localPlaneNormal),this.m_localPoint.SetV(t.m_localPoint),this.m_type=t.m_type},A.prototype.Copy=function(){var t=new A;return t.Set(this),t},r.postDefs.push((function(){r.Collision.b2Manifold.e_circles=1,r.Collision.b2Manifold.e_faceA=2,r.Collision.b2Manifold.e_faceB=4})),E.b2ManifoldPoint=function(){this.m_localPoint=new l,this.m_id=new m},E.prototype.b2ManifoldPoint=function(){this.Reset()},E.prototype.Reset=function(){this.m_localPoint.SetZero(),this.m_normalImpulse=0,this.m_tangentImpulse=0,this.m_id.key=0},E.prototype.Set=function(t){this.m_localPoint.SetV(t.m_localPoint),this.m_normalImpulse=t.m_normalImpulse,this.m_tangentImpulse=t.m_tangentImpulse,this.m_id.Set(t.m_id)},L.b2Point=function(){this.p=new l},L.prototype.Support=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=0),this.p},L.prototype.GetFirstVertex=function(t){return this.p},D.b2RayCastInput=function(){this.p1=new l,this.p2=new l},D.prototype.b2RayCastInput=function(t,e,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=1),t&&this.p1.SetV(t),e&&this.p2.SetV(e),this.maxFraction=n},C.b2RayCastOutput=function(){this.normal=new l},k.b2Segment=function(){this.p1=new l,this.p2=new l},k.prototype.TestSegment=function(t,e,n,r){void 0===r&&(r=0);var i=n.p1,o=n.p2.x-i.x,s=n.p2.y-i.y,a=this.p2.x-this.p1.x,u=this.p2.y-this.p1.y,c=-a,h=100*Number.MIN_VALUE,l=-(o*u+s*c);if(l>h){var d=i.x-this.p1.x,f=i.y-this.p1.y,p=d*u+f*c;if(0<=p&&p<=r*l){var _=-o*f+s*d;if(-h*l<=_&&_<=l*(1+h)){p/=l;var m=Math.sqrt(u*u+c*c);return u/=m,c/=m,t[0]=p,e.Set(u,c),!0}}}return!1},k.prototype.Extend=function(t){this.ExtendForward(t),this.ExtendBackward(t)},k.prototype.ExtendForward=function(t){var e=this.p2.x-this.p1.x,n=this.p2.y-this.p1.y,r=Math.min(e>0?(t.upperBound.x-this.p1.x)/e:e<0?(t.lowerBound.x-this.p1.x)/e:Number.POSITIVE_INFINITY,n>0?(t.upperBound.y-this.p1.y)/n:n<0?(t.lowerBound.y-this.p1.y)/n:Number.POSITIVE_INFINITY);this.p2.x=this.p1.x+e*r,this.p2.y=this.p1.y+n*r},k.prototype.ExtendBackward=function(t){var e=-this.p2.x+this.p1.x,n=-this.p2.y+this.p1.y,r=Math.min(e>0?(t.upperBound.x-this.p2.x)/e:e<0?(t.lowerBound.x-this.p2.x)/e:Number.POSITIVE_INFINITY,n>0?(t.upperBound.y-this.p2.y)/n:n<0?(t.lowerBound.y-this.p2.y)/n:Number.POSITIVE_INFINITY);this.p1.x=this.p2.x+e*r,this.p1.y=this.p2.y+n*r},O.b2SeparationFunction=function(){this.m_localPoint=new l,this.m_axis=new l},O.prototype.Initialize=function(t,e,n,r,i){this.m_proxyA=e,this.m_proxyB=r;var o,s,c,h,d,f,p=parseInt(t.count);a.b2Assert(0<p&&p<3);var _,m,y=0,v=0,b=0,g=0,w=0,x=0,M=0;if(1==p)this.m_type=O.e_points,o=this.m_proxyA.GetVertex(t.indexA[0]),h=this.m_proxyB.GetVertex(t.indexB[0]),m=o,_=n.R,y=n.position.x+(_.col1.x*m.x+_.col2.x*m.y),v=n.position.y+(_.col1.y*m.x+_.col2.y*m.y),m=h,_=i.R,b=i.position.x+(_.col1.x*m.x+_.col2.x*m.y),g=i.position.y+(_.col1.y*m.x+_.col2.y*m.y),this.m_axis.x=b-y,this.m_axis.y=g-v,this.m_axis.Normalize();else if(t.indexB[0]==t.indexB[1])this.m_type=O.e_faceA,s=this.m_proxyA.GetVertex(t.indexA[0]),c=this.m_proxyA.GetVertex(t.indexA[1]),h=this.m_proxyB.GetVertex(t.indexB[0]),this.m_localPoint.x=.5*(s.x+c.x),this.m_localPoint.y=.5*(s.y+c.y),this.m_axis=u.CrossVF(u.SubtractVV(c,s),1),this.m_axis.Normalize(),m=this.m_axis,w=(_=n.R).col1.x*m.x+_.col2.x*m.y,x=_.col1.y*m.x+_.col2.y*m.y,m=this.m_localPoint,_=n.R,y=n.position.x+(_.col1.x*m.x+_.col2.x*m.y),v=n.position.y+(_.col1.y*m.x+_.col2.y*m.y),m=h,_=i.R,(M=((b=i.position.x+(_.col1.x*m.x+_.col2.x*m.y))-y)*w+((g=i.position.y+(_.col1.y*m.x+_.col2.y*m.y))-v)*x)<0&&this.m_axis.NegativeSelf();else if(t.indexA[0]==t.indexA[0])this.m_type=O.e_faceB,d=this.m_proxyB.GetVertex(t.indexB[0]),f=this.m_proxyB.GetVertex(t.indexB[1]),o=this.m_proxyA.GetVertex(t.indexA[0]),this.m_localPoint.x=.5*(d.x+f.x),this.m_localPoint.y=.5*(d.y+f.y),this.m_axis=u.CrossVF(u.SubtractVV(f,d),1),this.m_axis.Normalize(),m=this.m_axis,w=(_=i.R).col1.x*m.x+_.col2.x*m.y,x=_.col1.y*m.x+_.col2.y*m.y,m=this.m_localPoint,_=i.R,b=i.position.x+(_.col1.x*m.x+_.col2.x*m.y),g=i.position.y+(_.col1.y*m.x+_.col2.y*m.y),m=o,_=n.R,(M=((y=n.position.x+(_.col1.x*m.x+_.col2.x*m.y))-b)*w+((v=n.position.y+(_.col1.y*m.x+_.col2.y*m.y))-g)*x)<0&&this.m_axis.NegativeSelf();else{s=this.m_proxyA.GetVertex(t.indexA[0]),c=this.m_proxyA.GetVertex(t.indexA[1]),d=this.m_proxyB.GetVertex(t.indexB[0]),f=this.m_proxyB.GetVertex(t.indexB[1]),u.MulX(n,o);var S=u.MulMV(n.R,u.SubtractVV(c,s)),T=(u.MulX(i,h),u.MulMV(i.R,u.SubtractVV(f,d))),A=S.x*S.x+S.y*S.y,E=T.x*T.x+T.y*T.y,L=u.SubtractVV(T,S),D=S.x*L.x+S.y*L.y,C=T.x*L.x+T.y*L.y,k=S.x*T.x+S.y*T.y,I=A*E-k*k;M=0,0!=I&&(M=u.Clamp((k*C-D*E)/I,0,1));var P=(k*M+C)/E;P<0&&(P=0,M=u.Clamp((k-D)/A,0,1)),(o=new l).x=s.x+M*(c.x-s.x),o.y=s.y+M*(c.y-s.y),(h=new l).x=d.x+M*(f.x-d.x),h.y=d.y+M*(f.y-d.y),0==M||1==M?(this.m_type=O.e_faceB,this.m_axis=u.CrossVF(u.SubtractVV(f,d),1),this.m_axis.Normalize(),this.m_localPoint=h,m=this.m_axis,w=(_=i.R).col1.x*m.x+_.col2.x*m.y,x=_.col1.y*m.x+_.col2.y*m.y,m=this.m_localPoint,_=i.R,b=i.position.x+(_.col1.x*m.x+_.col2.x*m.y),g=i.position.y+(_.col1.y*m.x+_.col2.y*m.y),m=o,_=n.R,y=n.position.x+(_.col1.x*m.x+_.col2.x*m.y),v=n.position.y+(_.col1.y*m.x+_.col2.y*m.y),M<0&&this.m_axis.NegativeSelf()):(this.m_type=O.e_faceA,this.m_axis=u.CrossVF(u.SubtractVV(c,s),1),this.m_localPoint=o,m=this.m_axis,w=(_=n.R).col1.x*m.x+_.col2.x*m.y,x=_.col1.y*m.x+_.col2.y*m.y,m=this.m_localPoint,_=n.R,y=n.position.x+(_.col1.x*m.x+_.col2.x*m.y),v=n.position.y+(_.col1.y*m.x+_.col2.y*m.y),m=h,_=i.R,b=i.position.x+(_.col1.x*m.x+_.col2.x*m.y),g=i.position.y+(_.col1.y*m.x+_.col2.y*m.y),M<0&&this.m_axis.NegativeSelf())}},O.prototype.Evaluate=function(t,e){var n,r,i,o,s,c,h;switch(this.m_type){case O.e_points:return n=u.MulTMV(t.R,this.m_axis),r=u.MulTMV(e.R,this.m_axis.GetNegative()),i=this.m_proxyA.GetSupportVertex(n),o=this.m_proxyB.GetSupportVertex(r),s=u.MulX(t,i),((c=u.MulX(e,o)).x-s.x)*this.m_axis.x+(c.y-s.y)*this.m_axis.y;case O.e_faceA:return h=u.MulMV(t.R,this.m_axis),s=u.MulX(t,this.m_localPoint),r=u.MulTMV(e.R,h.GetNegative()),o=this.m_proxyB.GetSupportVertex(r),((c=u.MulX(e,o)).x-s.x)*h.x+(c.y-s.y)*h.y;case O.e_faceB:return h=u.MulMV(e.R,this.m_axis),c=u.MulX(e,this.m_localPoint),n=u.MulTMV(t.R,h.GetNegative()),i=this.m_proxyA.GetSupportVertex(n),((s=u.MulX(t,i)).x-c.x)*h.x+(s.y-c.y)*h.y;default:return a.b2Assert(!1),0}},r.postDefs.push((function(){r.Collision.b2SeparationFunction.e_points=1,r.Collision.b2SeparationFunction.e_faceA=2,r.Collision.b2SeparationFunction.e_faceB=4})),I.b2Simplex=function(){this.m_v1=new R,this.m_v2=new R,this.m_v3=new R,this.m_vertices=new V(3)},I.prototype.b2Simplex=function(){this.m_vertices[0]=this.m_v1,this.m_vertices[1]=this.m_v2,this.m_vertices[2]=this.m_v3},I.prototype.ReadCache=function(t,e,n,r,i){var o,s;a.b2Assert(0<=t.count&&t.count<=3),this.m_count=t.count;for(var c=this.m_vertices,h=0;h<this.m_count;h++){var l=c[h];l.indexA=t.indexA[h],l.indexB=t.indexB[h],o=e.GetVertex(l.indexA),s=r.GetVertex(l.indexB),l.wA=u.MulX(n,o),l.wB=u.MulX(i,s),l.w=u.SubtractVV(l.wB,l.wA),l.a=0}if(this.m_count>1){var d=t.metric,f=this.GetMetric();(f<.5*d||2*d<f||f<Number.MIN_VALUE)&&(this.m_count=0)}0==this.m_count&&((l=c[0]).indexA=0,l.indexB=0,o=e.GetVertex(0),s=r.GetVertex(0),l.wA=u.MulX(n,o),l.wB=u.MulX(i,s),l.w=u.SubtractVV(l.wB,l.wA),this.m_count=1)},I.prototype.WriteCache=function(t){t.metric=this.GetMetric(),t.count=r.parseUInt(this.m_count);for(var e=this.m_vertices,n=0;n<this.m_count;n++)t.indexA[n]=r.parseUInt(e[n].indexA),t.indexB[n]=r.parseUInt(e[n].indexB)},I.prototype.GetSearchDirection=function(){switch(this.m_count){case 1:return this.m_v1.w.GetNegative();case 2:var t=u.SubtractVV(this.m_v2.w,this.m_v1.w);return u.CrossVV(t,this.m_v1.w.GetNegative())>0?u.CrossFV(1,t):u.CrossVF(t,1);default:return a.b2Assert(!1),new l}},I.prototype.GetClosestPoint=function(){switch(this.m_count){case 0:return a.b2Assert(!1),new l;case 1:return this.m_v1.w;case 2:return new l(this.m_v1.a*this.m_v1.w.x+this.m_v2.a*this.m_v2.w.x,this.m_v1.a*this.m_v1.w.y+this.m_v2.a*this.m_v2.w.y);default:return a.b2Assert(!1),new l}},I.prototype.GetWitnessPoints=function(t,e){switch(this.m_count){case 0:a.b2Assert(!1);break;case 1:t.SetV(this.m_v1.wA),e.SetV(this.m_v1.wB);break;case 2:t.x=this.m_v1.a*this.m_v1.wA.x+this.m_v2.a*this.m_v2.wA.x,t.y=this.m_v1.a*this.m_v1.wA.y+this.m_v2.a*this.m_v2.wA.y,e.x=this.m_v1.a*this.m_v1.wB.x+this.m_v2.a*this.m_v2.wB.x,e.y=this.m_v1.a*this.m_v1.wB.y+this.m_v2.a*this.m_v2.wB.y;break;case 3:e.x=t.x=this.m_v1.a*this.m_v1.wA.x+this.m_v2.a*this.m_v2.wA.x+this.m_v3.a*this.m_v3.wA.x,e.y=t.y=this.m_v1.a*this.m_v1.wA.y+this.m_v2.a*this.m_v2.wA.y+this.m_v3.a*this.m_v3.wA.y;break;default:a.b2Assert(!1)}},I.prototype.GetMetric=function(){switch(this.m_count){case 0:return a.b2Assert(!1),0;case 1:return 0;case 2:return u.SubtractVV(this.m_v1.w,this.m_v2.w).Length();case 3:return u.CrossVV(u.SubtractVV(this.m_v2.w,this.m_v1.w),u.SubtractVV(this.m_v3.w,this.m_v1.w));default:return a.b2Assert(!1),0}},I.prototype.Solve2=function(){var t=this.m_v1.w,e=this.m_v2.w,n=u.SubtractVV(e,t),r=-(t.x*n.x+t.y*n.y);if(r<=0)return this.m_v1.a=1,void(this.m_count=1);var i=e.x*n.x+e.y*n.y;if(i<=0)return this.m_v2.a=1,this.m_count=1,void this.m_v1.Set(this.m_v2);var o=1/(i+r);this.m_v1.a=i*o,this.m_v2.a=r*o,this.m_count=2},I.prototype.Solve3=function(){var t=this.m_v1.w,e=this.m_v2.w,n=this.m_v3.w,r=u.SubtractVV(e,t),i=u.Dot(t,r),o=u.Dot(e,r),s=-i,a=u.SubtractVV(n,t),c=u.Dot(t,a),h=u.Dot(n,a),l=-c,d=u.SubtractVV(n,e),f=u.Dot(e,d),p=u.Dot(n,d),_=-f,m=u.CrossVV(r,a),y=m*u.CrossVV(e,n),v=m*u.CrossVV(n,t),b=m*u.CrossVV(t,e);if(s<=0&&l<=0)return this.m_v1.a=1,void(this.m_count=1);if(o>0&&s>0&&b<=0){var g=1/(o+s);return this.m_v1.a=o*g,this.m_v2.a=s*g,void(this.m_count=2)}if(h>0&&l>0&&v<=0){var w=1/(h+l);return this.m_v1.a=h*w,this.m_v3.a=l*w,this.m_count=2,void this.m_v2.Set(this.m_v3)}if(o<=0&&_<=0)return this.m_v2.a=1,this.m_count=1,void this.m_v1.Set(this.m_v2);if(h<=0&&p<=0)return this.m_v3.a=1,this.m_count=1,void this.m_v1.Set(this.m_v3);if(p>0&&_>0&&y<=0){var x=1/(p+_);return this.m_v2.a=p*x,this.m_v3.a=_*x,this.m_count=2,void this.m_v1.Set(this.m_v3)}var M=1/(y+v+b);this.m_v1.a=y*M,this.m_v2.a=v*M,this.m_v3.a=b*M,this.m_count=3},P.b2SimplexCache=function(){this.indexA=new z(3),this.indexB=new z(3)},R.b2SimplexVertex=function(){},R.prototype.Set=function(t){this.wA.SetV(t.wA),this.wB.SetV(t.wB),this.w.SetV(t.w),this.a=t.a,this.indexA=t.indexA,this.indexB=t.indexB},Y.b2TimeOfImpact=function(){},Y.TimeOfImpact=function(t){++Y.b2_toiCalls;var e=t.proxyA,n=t.proxyB,r=t.sweepA,i=t.sweepB;a.b2Assert(r.t0==i.t0),a.b2Assert(1-r.t0>Number.MIN_VALUE);var o=e.m_radius+n.m_radius,s=t.tolerance,c=0,h=0,l=0;for(Y.s_cache.count=0,Y.s_distanceInput.useRadii=!1;;){if(r.GetTransform(Y.s_xfA,c),i.GetTransform(Y.s_xfB,c),Y.s_distanceInput.proxyA=e,Y.s_distanceInput.proxyB=n,Y.s_distanceInput.transformA=Y.s_xfA,Y.s_distanceInput.transformB=Y.s_xfB,v.Distance(Y.s_distanceOutput,Y.s_cache,Y.s_distanceInput),Y.s_distanceOutput.distance<=0){c=1;break}Y.s_fcn.Initialize(Y.s_cache,e,Y.s_xfA,n,Y.s_xfB);var d=Y.s_fcn.Evaluate(Y.s_xfA,Y.s_xfB);if(d<=0){c=1;break}if(0==h&&(l=d>o?u.Max(o-s,.75*o):u.Max(d-s,.02*o)),d-l<.5*s){if(0==h){c=1;break}break}var f=c,p=c,_=1,m=d;r.GetTransform(Y.s_xfA,_),i.GetTransform(Y.s_xfB,_);var y=Y.s_fcn.Evaluate(Y.s_xfA,Y.s_xfB);if(y>=l){c=1;break}for(var b=0;;){var g=0;g=1&b?p+(l-m)*(_-p)/(y-m):.5*(p+_),r.GetTransform(Y.s_xfA,g),i.GetTransform(Y.s_xfB,g);var w=Y.s_fcn.Evaluate(Y.s_xfA,Y.s_xfB);if(u.Abs(w-l)<.025*s){f=g;break}if(w>l?(p=g,m=w):(_=g,y=w),++b,++Y.b2_toiRootIters,50==b)break}if(Y.b2_toiMaxRootIters=u.Max(Y.b2_toiMaxRootIters,b),f<(1+100*Number.MIN_VALUE)*c)break;if(c=f,h++,++Y.b2_toiIters,1e3==h)break}return Y.b2_toiMaxIters=u.Max(Y.b2_toiMaxIters,h),c},r.postDefs.push((function(){r.Collision.b2TimeOfImpact.b2_toiCalls=0,r.Collision.b2TimeOfImpact.b2_toiIters=0,r.Collision.b2TimeOfImpact.b2_toiMaxIters=0,r.Collision.b2TimeOfImpact.b2_toiRootIters=0,r.Collision.b2TimeOfImpact.b2_toiMaxRootIters=0,r.Collision.b2TimeOfImpact.s_cache=new P,r.Collision.b2TimeOfImpact.s_distanceInput=new b,r.Collision.b2TimeOfImpact.s_xfA=new h,r.Collision.b2TimeOfImpact.s_xfB=new h,r.Collision.b2TimeOfImpact.s_fcn=new O,r.Collision.b2TimeOfImpact.s_distanceOutput=new g})),B.b2TOIInput=function(){this.proxyA=new w,this.proxyB=new w,this.sweepA=new c,this.sweepB=new c},N.b2WorldManifold=function(){this.m_normal=new l},N.prototype.b2WorldManifold=function(){this.m_points=new V(a.b2_maxManifoldPoints);for(var t=0;t<a.b2_maxManifoldPoints;t++)this.m_points[t]=new l},N.prototype.Initialize=function(t,e,n,r,i){if(void 0===n&&(n=0),void 0===i&&(i=0),0!=t.m_pointCount){var o,s,a=0,u=0,c=0,h=0,l=0,d=0,f=0;switch(t.m_type){case A.e_circles:s=e.R,o=t.m_localPoint;var p=e.position.x+s.col1.x*o.x+s.col2.x*o.y,_=e.position.y+s.col1.y*o.x+s.col2.y*o.y;s=r.R,o=t.m_points[0].m_localPoint;var m=r.position.x+s.col1.x*o.x+s.col2.x*o.y,y=r.position.y+s.col1.y*o.x+s.col2.y*o.y,v=m-p,b=y-_,g=v*v+b*b;if(g>Number.MIN_VALUE*Number.MIN_VALUE){var w=Math.sqrt(g);this.m_normal.x=v/w,this.m_normal.y=b/w}else this.m_normal.x=1,this.m_normal.y=0;var x=p+n*this.m_normal.x,M=_+n*this.m_normal.y,S=m-i*this.m_normal.x,T=y-i*this.m_normal.y;this.m_points[0].x=.5*(x+S),this.m_points[0].y=.5*(M+T);break;case A.e_faceA:for(s=e.R,o=t.m_localPlaneNormal,u=s.col1.x*o.x+s.col2.x*o.y,c=s.col1.y*o.x+s.col2.y*o.y,s=e.R,o=t.m_localPoint,h=e.position.x+s.col1.x*o.x+s.col2.x*o.y,l=e.position.y+s.col1.y*o.x+s.col2.y*o.y,this.m_normal.x=u,this.m_normal.y=c,a=0;a<t.m_pointCount;a++)s=r.R,o=t.m_points[a].m_localPoint,d=r.position.x+s.col1.x*o.x+s.col2.x*o.y,f=r.position.y+s.col1.y*o.x+s.col2.y*o.y,this.m_points[a].x=d+.5*(n-(d-h)*u-(f-l)*c-i)*u,this.m_points[a].y=f+.5*(n-(d-h)*u-(f-l)*c-i)*c;break;case A.e_faceB:for(s=r.R,o=t.m_localPlaneNormal,u=s.col1.x*o.x+s.col2.x*o.y,c=s.col1.y*o.x+s.col2.y*o.y,s=r.R,o=t.m_localPoint,h=r.position.x+s.col1.x*o.x+s.col2.x*o.y,l=r.position.y+s.col1.y*o.x+s.col2.y*o.y,this.m_normal.x=-u,this.m_normal.y=-c,a=0;a<t.m_pointCount;a++)s=e.R,o=t.m_points[a].m_localPoint,d=e.position.x+s.col1.x*o.x+s.col2.x*o.y,f=e.position.y+s.col1.y*o.x+s.col2.y*o.y,this.m_points[a].x=d+.5*(i-(d-h)*u-(f-l)*c-n)*u,this.m_points[a].y=f+.5*(i-(d-h)*u-(f-l)*c-n)*c}}},j.ClipVertex=function(){this.v=new l,this.id=new m},j.prototype.Set=function(t){this.v.SetV(t.v),this.id.Set(t.id)},F.Features=function(){},Object.defineProperty(F.prototype,"referenceEdge",{enumerable:!1,configurable:!0,get:function(){return this._referenceEdge}}),Object.defineProperty(F.prototype,"referenceEdge",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._referenceEdge=t,this._m_id._key=4294967040&this._m_id._key|255&this._referenceEdge}}),Object.defineProperty(F.prototype,"incidentEdge",{enumerable:!1,configurable:!0,get:function(){return this._incidentEdge}}),Object.defineProperty(F.prototype,"incidentEdge",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._incidentEdge=t,this._m_id._key=4294902015&this._m_id._key|this._incidentEdge<<8&65280}}),Object.defineProperty(F.prototype,"incidentVertex",{enumerable:!1,configurable:!0,get:function(){return this._incidentVertex}}),Object.defineProperty(F.prototype,"incidentVertex",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._incidentVertex=t,this._m_id._key=4278255615&this._m_id._key|this._incidentVertex<<16&16711680}}),Object.defineProperty(F.prototype,"flip",{enumerable:!1,configurable:!0,get:function(){return this._flip}}),Object.defineProperty(F.prototype,"flip",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._flip=t,this._m_id._key=16777215&this._m_id._key|this._flip<<24&4278190080}}),function(){r.Common.b2Color,r.Common.b2internal;var t=r.Common.b2Settings,e=r.Collision.Shapes.b2CircleShape,n=r.Collision.Shapes.b2EdgeChainDef,i=r.Collision.Shapes.b2EdgeShape,o=r.Collision.Shapes.b2MassData,s=r.Collision.Shapes.b2PolygonShape,a=r.Collision.Shapes.b2Shape,u=r.Common.Math.b2Mat22,c=(r.Common.Math.b2Mat33,r.Common.Math.b2Math),h=(r.Common.Math.b2Sweep,r.Common.Math.b2Transform),l=r.Common.Math.b2Vec2,d=(r.Common.Math.b2Vec3,r.Dynamics.b2Body,r.Dynamics.b2BodyDef,r.Dynamics.b2ContactFilter,r.Dynamics.b2ContactImpulse,r.Dynamics.b2ContactListener,r.Dynamics.b2ContactManager,r.Dynamics.b2DebugDraw,r.Dynamics.b2DestructionListener,r.Dynamics.b2FilterData,r.Dynamics.b2Fixture,r.Dynamics.b2FixtureDef,r.Dynamics.b2Island,r.Dynamics.b2TimeStep,r.Dynamics.b2World,r.Collision.b2AABB,r.Collision.b2Bound,r.Collision.b2BoundValues,r.Collision.b2Collision,r.Collision.b2ContactID,r.Collision.b2ContactPoint,r.Collision.b2Distance),f=r.Collision.b2DistanceInput,p=r.Collision.b2DistanceOutput,_=r.Collision.b2DistanceProxy,m=(r.Collision.b2DynamicTree,r.Collision.b2DynamicTreeBroadPhase,r.Collision.b2DynamicTreeNode,r.Collision.b2DynamicTreePair,r.Collision.b2Manifold,r.Collision.b2ManifoldPoint,r.Collision.b2Point,r.Collision.b2RayCastInput,r.Collision.b2RayCastOutput,r.Collision.b2Segment,r.Collision.b2SeparationFunction,r.Collision.b2Simplex,r.Collision.b2SimplexCache);r.Collision.b2SimplexVertex,r.Collision.b2TimeOfImpact,r.Collision.b2TOIInput,r.Collision.b2WorldManifold,r.Collision.ClipVertex,r.Collision.Features,r.Collision.IBroadPhase;r.inherit(e,r.Collision.Shapes.b2Shape),e.prototype.__super=r.Collision.Shapes.b2Shape.prototype,e.b2CircleShape=function(){r.Collision.Shapes.b2Shape.b2Shape.apply(this,arguments),this.m_p=new l},e.prototype.Copy=function(){var t=new e;return t.Set(this),t},e.prototype.Set=function(t){if(this.__super.Set.call(this,t),r.is(t,e)){var n=t instanceof e?t:null;this.m_p.SetV(n.m_p)}},e.prototype.TestPoint=function(t,e){var n=t.R,r=t.position.x+(n.col1.x*this.m_p.x+n.col2.x*this.m_p.y),i=t.position.y+(n.col1.y*this.m_p.x+n.col2.y*this.m_p.y);return(r=e.x-r)*r+(i=e.y-i)*i<=this.m_radius*this.m_radius},e.prototype.RayCast=function(t,e,n){var r=n.R,i=n.position.x+(r.col1.x*this.m_p.x+r.col2.x*this.m_p.y),o=n.position.y+(r.col1.y*this.m_p.x+r.col2.y*this.m_p.y),s=e.p1.x-i,a=e.p1.y-o,u=s*s+a*a-this.m_radius*this.m_radius,c=e.p2.x-e.p1.x,h=e.p2.y-e.p1.y,l=s*c+a*h,d=c*c+h*h,f=l*l-d*u;if(f<0||d<Number.MIN_VALUE)return!1;var p=-(l+Math.sqrt(f));return 0<=p&&p<=e.maxFraction*d&&(p/=d,t.fraction=p,t.normal.x=s+p*c,t.normal.y=a+p*h,t.normal.Normalize(),!0)},e.prototype.ComputeAABB=function(t,e){var n=e.R,r=e.position.x+(n.col1.x*this.m_p.x+n.col2.x*this.m_p.y),i=e.position.y+(n.col1.y*this.m_p.x+n.col2.y*this.m_p.y);t.lowerBound.Set(r-this.m_radius,i-this.m_radius),t.upperBound.Set(r+this.m_radius,i+this.m_radius)},e.prototype.ComputeMass=function(e,n){void 0===n&&(n=0),e.mass=n*t.b2_pi*this.m_radius*this.m_radius,e.center.SetV(this.m_p),e.I=e.mass*(.5*this.m_radius*this.m_radius+(this.m_p.x*this.m_p.x+this.m_p.y*this.m_p.y))},e.prototype.ComputeSubmergedArea=function(t,e,n,r){void 0===e&&(e=0);var i=c.MulX(n,this.m_p),o=-(c.Dot(t,i)-e);if(o<-this.m_radius+Number.MIN_VALUE)return 0;if(o>this.m_radius)return r.SetV(i),Math.PI*this.m_radius*this.m_radius;var s=this.m_radius*this.m_radius,a=o*o,u=s*(Math.asin(o/this.m_radius)+Math.PI/2)+o*Math.sqrt(s-a),h=-2/3*Math.pow(s-a,1.5)/u;return r.x=i.x+t.x*h,r.y=i.y+t.y*h,u},e.prototype.GetLocalPosition=function(){return this.m_p},e.prototype.SetLocalPosition=function(t){this.m_p.SetV(t)},e.prototype.GetRadius=function(){return this.m_radius},e.prototype.SetRadius=function(t){void 0===t&&(t=0),this.m_radius=t},e.prototype.b2CircleShape=function(t){void 0===t&&(t=0),this.__super.b2Shape.call(this),this.m_type=a.e_circleShape,this.m_radius=t},n.b2EdgeChainDef=function(){},n.prototype.b2EdgeChainDef=function(){this.vertexCount=0,this.isALoop=!0,this.vertices=[]},r.inherit(i,r.Collision.Shapes.b2Shape),i.prototype.__super=r.Collision.Shapes.b2Shape.prototype,i.b2EdgeShape=function(){r.Collision.Shapes.b2Shape.b2Shape.apply(this,arguments),this.s_supportVec=new l,this.m_v1=new l,this.m_v2=new l,this.m_coreV1=new l,this.m_coreV2=new l,this.m_normal=new l,this.m_direction=new l,this.m_cornerDir1=new l,this.m_cornerDir2=new l},i.prototype.TestPoint=function(t,e){return!1},i.prototype.RayCast=function(t,e,n){var r,i=e.p2.x-e.p1.x,o=e.p2.y-e.p1.y;r=n.R;var s=n.position.x+(r.col1.x*this.m_v1.x+r.col2.x*this.m_v1.y),a=n.position.y+(r.col1.y*this.m_v1.x+r.col2.y*this.m_v1.y),u=n.position.y+(r.col1.y*this.m_v2.x+r.col2.y*this.m_v2.y)-a,c=-(n.position.x+(r.col1.x*this.m_v2.x+r.col2.x*this.m_v2.y)-s),h=100*Number.MIN_VALUE,l=-(i*u+o*c);if(l>h){var d=e.p1.x-s,f=e.p1.y-a,p=d*u+f*c;if(0<=p&&p<=e.maxFraction*l){var _=-i*f+o*d;if(-h*l<=_&&_<=l*(1+h)){p/=l,t.fraction=p;var m=Math.sqrt(u*u+c*c);return t.normal.x=u/m,t.normal.y=c/m,!0}}}return!1},i.prototype.ComputeAABB=function(t,e){var n=e.R,r=e.position.x+(n.col1.x*this.m_v1.x+n.col2.x*this.m_v1.y),i=e.position.y+(n.col1.y*this.m_v1.x+n.col2.y*this.m_v1.y),o=e.position.x+(n.col1.x*this.m_v2.x+n.col2.x*this.m_v2.y),s=e.position.y+(n.col1.y*this.m_v2.x+n.col2.y*this.m_v2.y);r<o?(t.lowerBound.x=r,t.upperBound.x=o):(t.lowerBound.x=o,t.upperBound.x=r),i<s?(t.lowerBound.y=i,t.upperBound.y=s):(t.lowerBound.y=s,t.upperBound.y=i)},i.prototype.ComputeMass=function(t,e){void 0===e&&(e=0),t.mass=0,t.center.SetV(this.m_v1),t.I=0},i.prototype.ComputeSubmergedArea=function(t,e,n,r){void 0===e&&(e=0);var i=new l(t.x*e,t.y*e),o=c.MulX(n,this.m_v1),s=c.MulX(n,this.m_v2),a=c.Dot(t,o)-e,u=c.Dot(t,s)-e;if(a>0){if(u>0)return 0;o.x=-u/(a-u)*o.x+a/(a-u)*s.x,o.y=-u/(a-u)*o.y+a/(a-u)*s.y}else u>0&&(s.x=-u/(a-u)*o.x+a/(a-u)*s.x,s.y=-u/(a-u)*o.y+a/(a-u)*s.y);return r.x=(i.x+o.x+s.x)/3,r.y=(i.y+o.y+s.y)/3,.5*((o.x-i.x)*(s.y-i.y)-(o.y-i.y)*(s.x-i.x))},i.prototype.GetLength=function(){return this.m_length},i.prototype.GetVertex1=function(){return this.m_v1},i.prototype.GetVertex2=function(){return this.m_v2},i.prototype.GetCoreVertex1=function(){return this.m_coreV1},i.prototype.GetCoreVertex2=function(){return this.m_coreV2},i.prototype.GetNormalVector=function(){return this.m_normal},i.prototype.GetDirectionVector=function(){return this.m_direction},i.prototype.GetCorner1Vector=function(){return this.m_cornerDir1},i.prototype.GetCorner2Vector=function(){return this.m_cornerDir2},i.prototype.Corner1IsConvex=function(){return this.m_cornerConvex1},i.prototype.Corner2IsConvex=function(){return this.m_cornerConvex2},i.prototype.GetFirstVertex=function(t){var e=t.R;return new l(t.position.x+(e.col1.x*this.m_coreV1.x+e.col2.x*this.m_coreV1.y),t.position.y+(e.col1.y*this.m_coreV1.x+e.col2.y*this.m_coreV1.y))},i.prototype.GetNextEdge=function(){return this.m_nextEdge},i.prototype.GetPrevEdge=function(){return this.m_prevEdge},i.prototype.Support=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=0);var r=t.R,i=t.position.x+(r.col1.x*this.m_coreV1.x+r.col2.x*this.m_coreV1.y),o=t.position.y+(r.col1.y*this.m_coreV1.x+r.col2.y*this.m_coreV1.y),s=t.position.x+(r.col1.x*this.m_coreV2.x+r.col2.x*this.m_coreV2.y),a=t.position.y+(r.col1.y*this.m_coreV2.x+r.col2.y*this.m_coreV2.y);return i*e+o*n>s*e+a*n?(this.s_supportVec.x=i,this.s_supportVec.y=o):(this.s_supportVec.x=s,this.s_supportVec.y=a),this.s_supportVec},i.prototype.b2EdgeShape=function(e,n){this.__super.b2Shape.call(this),this.m_type=a.e_edgeShape,this.m_prevEdge=null,this.m_nextEdge=null,this.m_v1=e,this.m_v2=n,this.m_direction.Set(this.m_v2.x-this.m_v1.x,this.m_v2.y-this.m_v1.y),this.m_length=this.m_direction.Normalize(),this.m_normal.Set(this.m_direction.y,-this.m_direction.x),this.m_coreV1.Set(-t.b2_toiSlop*(this.m_normal.x-this.m_direction.x)+this.m_v1.x,-t.b2_toiSlop*(this.m_normal.y-this.m_direction.y)+this.m_v1.y),this.m_coreV2.Set(-t.b2_toiSlop*(this.m_normal.x+this.m_direction.x)+this.m_v2.x,-t.b2_toiSlop*(this.m_normal.y+this.m_direction.y)+this.m_v2.y),this.m_cornerDir1=this.m_normal,this.m_cornerDir2.Set(-this.m_normal.x,-this.m_normal.y)},i.prototype.SetPrevEdge=function(t,e,n,r){this.m_prevEdge=t,this.m_coreV1=e,this.m_cornerDir1=n,this.m_cornerConvex1=r},i.prototype.SetNextEdge=function(t,e,n,r){this.m_nextEdge=t,this.m_coreV2=e,this.m_cornerDir2=n,this.m_cornerConvex2=r},o.b2MassData=function(){this.mass=0,this.center=new l(0,0),this.I=0},r.inherit(s,r.Collision.Shapes.b2Shape),s.prototype.__super=r.Collision.Shapes.b2Shape.prototype,s.b2PolygonShape=function(){r.Collision.Shapes.b2Shape.b2Shape.apply(this,arguments)},s.prototype.Copy=function(){var t=new s;return t.Set(this),t},s.prototype.Set=function(t){if(this.__super.Set.call(this,t),r.is(t,s)){var e=t instanceof s?t:null;this.m_centroid.SetV(e.m_centroid),this.m_vertexCount=e.m_vertexCount,this.Reserve(this.m_vertexCount);for(var n=0;n<this.m_vertexCount;n++)this.m_vertices[n].SetV(e.m_vertices[n]),this.m_normals[n].SetV(e.m_normals[n])}},s.prototype.SetAsArray=function(t,e){void 0===e&&(e=0);var n,r=new V,i=0;for(i=0;i<t.length;++i)n=t[i],r.push(n);this.SetAsVector(r,e)},s.AsArray=function(t,e){void 0===e&&(e=0);var n=new s;return n.SetAsArray(t,e),n},s.prototype.SetAsVector=function(e,n){void 0===n&&(n=0),0==n&&(n=e.length),t.b2Assert(2<=n),this.m_vertexCount=n,this.Reserve(n);var r=0;for(r=0;r<this.m_vertexCount;r++)this.m_vertices[r].SetV(e[r]);for(r=0;r<this.m_vertexCount;++r){var i=parseInt(r),o=parseInt(r+1<this.m_vertexCount?r+1:0),a=c.SubtractVV(this.m_vertices[o],this.m_vertices[i]);t.b2Assert(a.LengthSquared()>Number.MIN_VALUE),this.m_normals[r].SetV(c.CrossVF(a,1)),this.m_normals[r].Normalize()}this.m_centroid=s.ComputeCentroid(this.m_vertices,this.m_vertexCount)},s.AsVector=function(t,e){void 0===e&&(e=0);var n=new s;return n.SetAsVector(t,e),n},s.prototype.SetAsBox=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.m_vertexCount=4,this.Reserve(4),this.m_vertices[0].Set(-t,-e),this.m_vertices[1].Set(t,-e),this.m_vertices[2].Set(t,e),this.m_vertices[3].Set(-t,e),this.m_normals[0].Set(0,-1),this.m_normals[1].Set(1,0),this.m_normals[2].Set(0,1),this.m_normals[3].Set(-1,0),this.m_centroid.SetZero()},s.AsBox=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var n=new s;return n.SetAsBox(t,e),n},s.prototype.SetAsOrientedBox=function(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=null),void 0===r&&(r=0),this.m_vertexCount=4,this.Reserve(4),this.m_vertices[0].Set(-t,-e),this.m_vertices[1].Set(t,-e),this.m_vertices[2].Set(t,e),this.m_vertices[3].Set(-t,e),this.m_normals[0].Set(0,-1),this.m_normals[1].Set(1,0),this.m_normals[2].Set(0,1),this.m_normals[3].Set(-1,0),this.m_centroid=n;var i=new h;i.position=n,i.R.Set(r);for(var o=0;o<this.m_vertexCount;++o)this.m_vertices[o]=c.MulX(i,this.m_vertices[o]),this.m_normals[o]=c.MulMV(i.R,this.m_normals[o])},s.AsOrientedBox=function(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=null),void 0===r&&(r=0);var i=new s;return i.SetAsOrientedBox(t,e,n,r),i},s.prototype.SetAsEdge=function(t,e){this.m_vertexCount=2,this.Reserve(2),this.m_vertices[0].SetV(t),this.m_vertices[1].SetV(e),this.m_centroid.x=.5*(t.x+e.x),this.m_centroid.y=.5*(t.y+e.y),this.m_normals[0]=c.CrossVF(c.SubtractVV(e,t),1),this.m_normals[0].Normalize(),this.m_normals[1].x=-this.m_normals[0].x,this.m_normals[1].y=-this.m_normals[0].y},s.AsEdge=function(t,e){var n=new s;return n.SetAsEdge(t,e),n},s.prototype.TestPoint=function(t,e){for(var n,r=t.R,i=e.x-t.position.x,o=e.y-t.position.y,s=i*r.col1.x+o*r.col1.y,a=i*r.col2.x+o*r.col2.y,u=0;u<this.m_vertexCount;++u){if(i=s-(n=this.m_vertices[u]).x,o=a-n.y,(n=this.m_normals[u]).x*i+n.y*o>0)return!1}return!0},s.prototype.RayCast=function(t,e,n){var r,i,o=0,s=e.maxFraction,a=0,u=0;a=e.p1.x-n.position.x,u=e.p1.y-n.position.y;var c=a*(r=n.R).col1.x+u*r.col1.y,h=a*r.col2.x+u*r.col2.y;a=e.p2.x-n.position.x,u=e.p2.y-n.position.y;for(var l=a*(r=n.R).col1.x+u*r.col1.y-c,d=a*r.col2.x+u*r.col2.y-h,f=parseInt(-1),p=0;p<this.m_vertexCount;++p){a=(i=this.m_vertices[p]).x-c,u=i.y-h;var _=(i=this.m_normals[p]).x*a+i.y*u,m=i.x*l+i.y*d;if(0==m){if(_<0)return!1}else m<0&&_<o*m?(o=_/m,f=p):m>0&&_<s*m&&(s=_/m);if(s<o-Number.MIN_VALUE)return!1}return f>=0&&(t.fraction=o,r=n.R,i=this.m_normals[f],t.normal.x=r.col1.x*i.x+r.col2.x*i.y,t.normal.y=r.col1.y*i.x+r.col2.y*i.y,!0)},s.prototype.ComputeAABB=function(t,e){for(var n=e.R,r=this.m_vertices[0],i=e.position.x+(n.col1.x*r.x+n.col2.x*r.y),o=e.position.y+(n.col1.y*r.x+n.col2.y*r.y),s=i,a=o,u=1;u<this.m_vertexCount;++u){r=this.m_vertices[u];var c=e.position.x+(n.col1.x*r.x+n.col2.x*r.y),h=e.position.y+(n.col1.y*r.x+n.col2.y*r.y);i=i<c?i:c,o=o<h?o:h,s=s>c?s:c,a=a>h?a:h}t.lowerBound.x=i-this.m_radius,t.lowerBound.y=o-this.m_radius,t.upperBound.x=s+this.m_radius,t.upperBound.y=a+this.m_radius},s.prototype.ComputeMass=function(t,e){if(void 0===e&&(e=0),2==this.m_vertexCount)return t.center.x=.5*(this.m_vertices[0].x+this.m_vertices[1].x),t.center.y=.5*(this.m_vertices[0].y+this.m_vertices[1].y),t.mass=0,void(t.I=0);for(var n=0,r=0,i=0,o=0,s=0;s<this.m_vertexCount;++s){var a=this.m_vertices[s],u=s+1<this.m_vertexCount?this.m_vertices[parseInt(s+1)]:this.m_vertices[0],c=a.x-0,h=a.y-0,l=u.x-0,d=u.y-0,f=c*d-h*l,p=.5*f;i+=p,n+=p*(1/3)*(0+a.x+u.x),r+=p*(1/3)*(0+a.y+u.y);o+=f*(1/3*(.25*(c*c+l*c+l*l)+(0*c+0*l))+0+(1/3*(.25*(h*h+d*h+d*d)+(0*h+0*d))+0))}t.mass=e*i,n*=1/i,r*=1/i,t.center.Set(n,r),t.I=e*o},s.prototype.ComputeSubmergedArea=function(t,e,n,r){void 0===e&&(e=0);var i=c.MulTMV(n.R,t),s=e-c.Dot(t,n.position),a=new z,u=0,h=parseInt(-1),d=parseInt(-1),f=!1,p=0;for(p=0;p<this.m_vertexCount;++p){a[p]=c.Dot(i,this.m_vertices[p])-s;var _=a[p]<-Number.MIN_VALUE;p>0&&(_?f||(h=p-1,u++):f&&(d=p-1,u++)),f=_}switch(u){case 0:if(f){var m=new o;return this.ComputeMass(m,1),r.SetV(c.MulX(n,m.center)),m.mass}return 0;case 1:-1==h?h=this.m_vertexCount-1:d=this.m_vertexCount-1}var y,v=parseInt((h+1)%this.m_vertexCount),b=parseInt((d+1)%this.m_vertexCount),g=(0-a[h])/(a[v]-a[h]),w=(0-a[d])/(a[b]-a[d]),x=new l(this.m_vertices[h].x*(1-g)+this.m_vertices[v].x*g,this.m_vertices[h].y*(1-g)+this.m_vertices[v].y*g),M=new l(this.m_vertices[d].x*(1-w)+this.m_vertices[b].x*w,this.m_vertices[d].y*(1-w)+this.m_vertices[b].y*w),S=0,T=new l,A=this.m_vertices[v];for(p=v;p!=b;){y=(p=(p+1)%this.m_vertexCount)==b?M:this.m_vertices[p];var E=.5*((A.x-x.x)*(y.y-x.y)-(A.y-x.y)*(y.x-x.x));S+=E,T.x+=E*(x.x+A.x+y.x)/3,T.y+=E*(x.y+A.y+y.y)/3,A=y}return T.Multiply(1/S),r.SetV(c.MulX(n,T)),S},s.prototype.GetVertexCount=function(){return this.m_vertexCount},s.prototype.GetVertices=function(){return this.m_vertices},s.prototype.GetNormals=function(){return this.m_normals},s.prototype.GetSupport=function(t){for(var e=0,n=this.m_vertices[0].x*t.x+this.m_vertices[0].y*t.y,r=1;r<this.m_vertexCount;++r){var i=this.m_vertices[r].x*t.x+this.m_vertices[r].y*t.y;i>n&&(e=r,n=i)}return e},s.prototype.GetSupportVertex=function(t){for(var e=0,n=this.m_vertices[0].x*t.x+this.m_vertices[0].y*t.y,r=1;r<this.m_vertexCount;++r){var i=this.m_vertices[r].x*t.x+this.m_vertices[r].y*t.y;i>n&&(e=r,n=i)}return this.m_vertices[e]},s.prototype.Validate=function(){return!1},s.prototype.b2PolygonShape=function(){this.__super.b2Shape.call(this),this.m_type=a.e_polygonShape,this.m_centroid=new l,this.m_vertices=new V,this.m_normals=new V},s.prototype.Reserve=function(t){void 0===t&&(t=0);for(var e=parseInt(this.m_vertices.length);e<t;e++)this.m_vertices[e]=new l,this.m_normals[e]=new l},s.ComputeCentroid=function(t,e){void 0===e&&(e=0);for(var n=new l,r=0,i=0;i<e;++i){var o=t[i],s=i+1<e?t[parseInt(i+1)]:t[0],a=o.x-0,u=o.y-0,c=s.x-0,h=.5*(a*(s.y-0)-u*c);r+=h,n.x+=h*(1/3)*(0+o.x+s.x),n.y+=h*(1/3)*(0+o.y+s.y)}return n.x*=1/r,n.y*=1/r,n},s.ComputeOBB=function(t,e,n){void 0===n&&(n=0);var r=0,i=new V(n+1);for(r=0;r<n;++r)i[r]=e[r];i[n]=i[0];var o=Number.MAX_VALUE;for(r=1;r<=n;++r){for(var s=i[parseInt(r-1)],a=i[r].x-s.x,u=i[r].y-s.y,c=Math.sqrt(a*a+u*u),h=-(u/=c),l=a/=c,d=Number.MAX_VALUE,f=Number.MAX_VALUE,p=-Number.MAX_VALUE,_=-Number.MAX_VALUE,m=0;m<n;++m){var y=i[m].x-s.x,v=i[m].y-s.y,b=a*y+u*v,g=h*y+l*v;b<d&&(d=b),g<f&&(f=g),b>p&&(p=b),g>_&&(_=g)}var w=(p-d)*(_-f);if(w<.95*o){o=w,t.R.col1.x=a,t.R.col1.y=u,t.R.col2.x=h,t.R.col2.y=l;var x=.5*(d+p),M=.5*(f+_),S=t.R;t.center.x=s.x+(S.col1.x*x+S.col2.x*M),t.center.y=s.y+(S.col1.y*x+S.col2.y*M),t.extents.x=.5*(p-d),t.extents.y=.5*(_-f)}}},r.postDefs.push((function(){r.Collision.Shapes.b2PolygonShape.s_mat=new u})),a.b2Shape=function(){},a.prototype.Copy=function(){return null},a.prototype.Set=function(t){this.m_radius=t.m_radius},a.prototype.GetType=function(){return this.m_type},a.prototype.TestPoint=function(t,e){return!1},a.prototype.RayCast=function(t,e,n){return!1},a.prototype.ComputeAABB=function(t,e){},a.prototype.ComputeMass=function(t,e){void 0===e&&(e=0)},a.prototype.ComputeSubmergedArea=function(t,e,n,r){return void 0===e&&(e=0),0},a.TestOverlap=function(t,e,n,r){var i=new f;i.proxyA=new _,i.proxyA.Set(t),i.proxyB=new _,i.proxyB.Set(n),i.transformA=e,i.transformB=r,i.useRadii=!0;var o=new m;o.count=0;var s=new p;return d.Distance(s,o,i),s.distance<10*Number.MIN_VALUE},a.prototype.b2Shape=function(){this.m_type=a.e_unknownShape,this.m_radius=t.b2_linearSlop},r.postDefs.push((function(){r.Collision.Shapes.b2Shape.e_unknownShape=parseInt(-1),r.Collision.Shapes.b2Shape.e_circleShape=0,r.Collision.Shapes.b2Shape.e_polygonShape=1,r.Collision.Shapes.b2Shape.e_edgeShape=2,r.Collision.Shapes.b2Shape.e_shapeTypeCount=3,r.Collision.Shapes.b2Shape.e_hitCollide=1,r.Collision.Shapes.b2Shape.e_missCollide=0,r.Collision.Shapes.b2Shape.e_startsInsideCollide=parseInt(-1)}))}(),function(){var t=r.Common.b2Color,e=(r.Common.b2internal,r.Common.b2Settings),n=(r.Common.Math.b2Mat22,r.Common.Math.b2Mat33,r.Common.Math.b2Math);r.Common.Math.b2Sweep,r.Common.Math.b2Transform,r.Common.Math.b2Vec2,r.Common.Math.b2Vec3;t.b2Color=function(){this._r=0,this._g=0,this._b=0},t.prototype.b2Color=function(t,e,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),this._r=r.parseUInt(255*n.Clamp(t,0,1)),this._g=r.parseUInt(255*n.Clamp(e,0,1)),this._b=r.parseUInt(255*n.Clamp(i,0,1))},t.prototype.Set=function(t,e,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),this._r=r.parseUInt(255*n.Clamp(t,0,1)),this._g=r.parseUInt(255*n.Clamp(e,0,1)),this._b=r.parseUInt(255*n.Clamp(i,0,1))},Object.defineProperty(t.prototype,"r",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._r=r.parseUInt(255*n.Clamp(t,0,1))}}),Object.defineProperty(t.prototype,"g",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._g=r.parseUInt(255*n.Clamp(t,0,1))}}),Object.defineProperty(t.prototype,"b",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._b=r.parseUInt(255*n.Clamp(t,0,1))}}),Object.defineProperty(t.prototype,"color",{enumerable:!1,configurable:!0,get:function(){return this._r<<16|this._g<<8|this._b}}),e.b2Settings=function(){},e.b2MixFriction=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),Math.sqrt(t*e)},e.b2MixRestitution=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),t>e?t:e},e.b2Assert=function(t){if(!t)throw"Assertion Failed"},r.postDefs.push((function(){r.Common.b2Settings.VERSION="2.1alpha",r.Common.b2Settings.USHRT_MAX=65535,r.Common.b2Settings.b2_pi=Math.PI,r.Common.b2Settings.b2_maxManifoldPoints=2,r.Common.b2Settings.b2_aabbExtension=.1,r.Common.b2Settings.b2_aabbMultiplier=2,r.Common.b2Settings.b2_polygonRadius=2*e.b2_linearSlop,r.Common.b2Settings.b2_linearSlop=.005,r.Common.b2Settings.b2_angularSlop=2/180*e.b2_pi,r.Common.b2Settings.b2_toiSlop=8*e.b2_linearSlop,r.Common.b2Settings.b2_maxTOIContactsPerIsland=32,r.Common.b2Settings.b2_maxTOIJointsPerIsland=32,r.Common.b2Settings.b2_velocityThreshold=1,r.Common.b2Settings.b2_maxLinearCorrection=.2,r.Common.b2Settings.b2_maxAngularCorrection=8/180*e.b2_pi,r.Common.b2Settings.b2_maxTranslation=2,r.Common.b2Settings.b2_maxTranslationSquared=e.b2_maxTranslation*e.b2_maxTranslation,r.Common.b2Settings.b2_maxRotation=.5*e.b2_pi,r.Common.b2Settings.b2_maxRotationSquared=e.b2_maxRotation*e.b2_maxRotation,r.Common.b2Settings.b2_contactBaumgarte=.2,r.Common.b2Settings.b2_timeToSleep=.5,r.Common.b2Settings.b2_linearSleepTolerance=.01,r.Common.b2Settings.b2_angularSleepTolerance=2/180*e.b2_pi}))}(),function(){r.Collision.b2AABB,r.Common.b2Color,r.Common.b2internal,r.Common.b2Settings;var t=r.Common.Math.b2Mat22,e=r.Common.Math.b2Mat33,n=r.Common.Math.b2Math,i=r.Common.Math.b2Sweep,o=r.Common.Math.b2Transform,s=r.Common.Math.b2Vec2,a=r.Common.Math.b2Vec3;t.b2Mat22=function(){this.col1=new s,this.col2=new s},t.prototype.b2Mat22=function(){this.SetIdentity()},t.FromAngle=function(e){void 0===e&&(e=0);var n=new t;return n.Set(e),n},t.FromVV=function(e,n){var r=new t;return r.SetVV(e,n),r},t.prototype.Set=function(t){void 0===t&&(t=0);var e=Math.cos(t),n=Math.sin(t);this.col1.x=e,this.col2.x=-n,this.col1.y=n,this.col2.y=e},t.prototype.SetVV=function(t,e){this.col1.SetV(t),this.col2.SetV(e)},t.prototype.Copy=function(){var e=new t;return e.SetM(this),e},t.prototype.SetM=function(t){this.col1.SetV(t.col1),this.col2.SetV(t.col2)},t.prototype.AddM=function(t){this.col1.x+=t.col1.x,this.col1.y+=t.col1.y,this.col2.x+=t.col2.x,this.col2.y+=t.col2.y},t.prototype.SetIdentity=function(){this.col1.x=1,this.col2.x=0,this.col1.y=0,this.col2.y=1},t.prototype.SetZero=function(){this.col1.x=0,this.col2.x=0,this.col1.y=0,this.col2.y=0},t.prototype.GetAngle=function(){return Math.atan2(this.col1.y,this.col1.x)},t.prototype.GetInverse=function(t){var e=this.col1.x,n=this.col2.x,r=this.col1.y,i=this.col2.y,o=e*i-n*r;return 0!=o&&(o=1/o),t.col1.x=o*i,t.col2.x=-o*n,t.col1.y=-o*r,t.col2.y=o*e,t},t.prototype.Solve=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=0);var r=this.col1.x,i=this.col2.x,o=this.col1.y,s=this.col2.y,a=r*s-i*o;return 0!=a&&(a=1/a),t.x=a*(s*e-i*n),t.y=a*(r*n-o*e),t},t.prototype.Abs=function(){this.col1.Abs(),this.col2.Abs()},e.b2Mat33=function(){this.col1=new a,this.col2=new a,this.col3=new a},e.prototype.b2Mat33=function(t,e,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=null),t||e||n?(this.col1.SetV(t),this.col2.SetV(e),this.col3.SetV(n)):(this.col1.SetZero(),this.col2.SetZero(),this.col3.SetZero())},e.prototype.SetVVV=function(t,e,n){this.col1.SetV(t),this.col2.SetV(e),this.col3.SetV(n)},e.prototype.Copy=function(){return new e(this.col1,this.col2,this.col3)},e.prototype.SetM=function(t){this.col1.SetV(t.col1),this.col2.SetV(t.col2),this.col3.SetV(t.col3)},e.prototype.AddM=function(t){this.col1.x+=t.col1.x,this.col1.y+=t.col1.y,this.col1.z+=t.col1.z,this.col2.x+=t.col2.x,this.col2.y+=t.col2.y,this.col2.z+=t.col2.z,this.col3.x+=t.col3.x,this.col3.y+=t.col3.y,this.col3.z+=t.col3.z},e.prototype.SetIdentity=function(){this.col1.x=1,this.col2.x=0,this.col3.x=0,this.col1.y=0,this.col2.y=1,this.col3.y=0,this.col1.z=0,this.col2.z=0,this.col3.z=1},e.prototype.SetZero=function(){this.col1.x=0,this.col2.x=0,this.col3.x=0,this.col1.y=0,this.col2.y=0,this.col3.y=0,this.col1.z=0,this.col2.z=0,this.col3.z=0},e.prototype.Solve22=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=0);var r=this.col1.x,i=this.col2.x,o=this.col1.y,s=this.col2.y,a=r*s-i*o;return 0!=a&&(a=1/a),t.x=a*(s*e-i*n),t.y=a*(r*n-o*e),t},e.prototype.Solve33=function(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0);var i=this.col1.x,o=this.col1.y,s=this.col1.z,a=this.col2.x,u=this.col2.y,c=this.col2.z,h=this.col3.x,l=this.col3.y,d=this.col3.z,f=i*(u*d-c*l)+o*(c*h-a*d)+s*(a*l-u*h);return 0!=f&&(f=1/f),t.x=f*(e*(u*d-c*l)+n*(c*h-a*d)+r*(a*l-u*h)),t.y=f*(i*(n*d-r*l)+o*(r*h-e*d)+s*(e*l-n*h)),t.z=f*(i*(u*r-c*n)+o*(c*e-a*r)+s*(a*n-u*e)),t},n.b2Math=function(){},n.IsValid=function(t){return void 0===t&&(t=0),isFinite(t)},n.Dot=function(t,e){return t.x*e.x+t.y*e.y},n.CrossVV=function(t,e){return t.x*e.y-t.y*e.x},n.CrossVF=function(t,e){return void 0===e&&(e=0),new s(e*t.y,-e*t.x)},n.CrossFV=function(t,e){return void 0===t&&(t=0),new s(-t*e.y,t*e.x)},n.MulMV=function(t,e){return new s(t.col1.x*e.x+t.col2.x*e.y,t.col1.y*e.x+t.col2.y*e.y)},n.MulTMV=function(t,e){return new s(n.Dot(e,t.col1),n.Dot(e,t.col2))},n.MulX=function(t,e){var r=n.MulMV(t.R,e);return r.x+=t.position.x,r.y+=t.position.y,r},n.MulXT=function(t,e){var r=n.SubtractVV(e,t.position),i=r.x*t.R.col1.x+r.y*t.R.col1.y;return r.y=r.x*t.R.col2.x+r.y*t.R.col2.y,r.x=i,r},n.AddVV=function(t,e){return new s(t.x+e.x,t.y+e.y)},n.SubtractVV=function(t,e){return new s(t.x-e.x,t.y-e.y)},n.Distance=function(t,e){var n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)},n.DistanceSquared=function(t,e){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},n.MulFV=function(t,e){return void 0===t&&(t=0),new s(t*e.x,t*e.y)},n.AddMM=function(e,r){return t.FromVV(n.AddVV(e.col1,r.col1),n.AddVV(e.col2,r.col2))},n.MulMM=function(e,r){return t.FromVV(n.MulMV(e,r.col1),n.MulMV(e,r.col2))},n.MulTMM=function(e,r){var i=new s(n.Dot(e.col1,r.col1),n.Dot(e.col2,r.col1)),o=new s(n.Dot(e.col1,r.col2),n.Dot(e.col2,r.col2));return t.FromVV(i,o)},n.Abs=function(t){return void 0===t&&(t=0),t>0?t:-t},n.AbsV=function(t){return new s(n.Abs(t.x),n.Abs(t.y))},n.AbsM=function(e){return t.FromVV(n.AbsV(e.col1),n.AbsV(e.col2))},n.Min=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),t<e?t:e},n.MinV=function(t,e){return new s(n.Min(t.x,e.x),n.Min(t.y,e.y))},n.Max=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),t>e?t:e},n.MaxV=function(t,e){return new s(n.Max(t.x,e.x),n.Max(t.y,e.y))},n.Clamp=function(t,e,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),t<e?e:t>n?n:t},n.ClampV=function(t,e,r){return n.MaxV(e,n.MinV(t,r))},n.Swap=function(t,e){var n=t[0];t[0]=e[0],e[0]=n},n.Random=function(){return 2*Math.random()-1},n.RandomRange=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var n=Math.random();return n=(e-t)*n+t},n.NextPowerOfTwo=function(t){return void 0===t&&(t=0),t|=t>>1&2147483647,t|=t>>2&1073741823,t|=t>>4&268435455,t|=t>>8&16777215,(t|=t>>16&65535)+1},n.IsPowerOfTwo=function(t){return void 0===t&&(t=0),t>0&&0==(t&t-1)},r.postDefs.push((function(){r.Common.Math.b2Math.b2Vec2_zero=new s(0,0),r.Common.Math.b2Math.b2Mat22_identity=t.FromVV(new s(1,0),new s(0,1)),r.Common.Math.b2Math.b2Transform_identity=new o(n.b2Vec2_zero,n.b2Mat22_identity)})),i.b2Sweep=function(){this.localCenter=new s,this.c0=new s,this.c=new s},i.prototype.Set=function(t){this.localCenter.SetV(t.localCenter),this.c0.SetV(t.c0),this.c.SetV(t.c),this.a0=t.a0,this.a=t.a,this.t0=t.t0},i.prototype.Copy=function(){var t=new i;return t.localCenter.SetV(this.localCenter),t.c0.SetV(this.c0),t.c.SetV(this.c),t.a0=this.a0,t.a=this.a,t.t0=this.t0,t},i.prototype.GetTransform=function(t,e){void 0===e&&(e=0),t.position.x=(1-e)*this.c0.x+e*this.c.x,t.position.y=(1-e)*this.c0.y+e*this.c.y;var n=(1-e)*this.a0+e*this.a;t.R.Set(n);var r=t.R;t.position.x-=r.col1.x*this.localCenter.x+r.col2.x*this.localCenter.y,t.position.y-=r.col1.y*this.localCenter.x+r.col2.y*this.localCenter.y},i.prototype.Advance=function(t){if(void 0===t&&(t=0),this.t0<t&&1-this.t0>Number.MIN_VALUE){var e=(t-this.t0)/(1-this.t0);this.c0.x=(1-e)*this.c0.x+e*this.c.x,this.c0.y=(1-e)*this.c0.y+e*this.c.y,this.a0=(1-e)*this.a0+e*this.a,this.t0=t}},o.b2Transform=function(){this.position=new s,this.R=new t},o.prototype.b2Transform=function(t,e){void 0===t&&(t=null),void 0===e&&(e=null),t&&(this.position.SetV(t),this.R.SetM(e))},o.prototype.Initialize=function(t,e){this.position.SetV(t),this.R.SetM(e)},o.prototype.SetIdentity=function(){this.position.SetZero(),this.R.SetIdentity()},o.prototype.Set=function(t){this.position.SetV(t.position),this.R.SetM(t.R)},o.prototype.GetAngle=function(){return Math.atan2(this.R.col1.y,this.R.col1.x)},s.b2Vec2=function(){},s.prototype.b2Vec2=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=t,this.y=e},s.prototype.SetZero=function(){this.x=0,this.y=0},s.prototype.Set=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=t,this.y=e},s.prototype.SetV=function(t){this.x=t.x,this.y=t.y},s.prototype.GetNegative=function(){return new s(-this.x,-this.y)},s.prototype.NegativeSelf=function(){this.x=-this.x,this.y=-this.y},s.Make=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),new s(t,e)},s.prototype.Copy=function(){return new s(this.x,this.y)},s.prototype.Add=function(t){this.x+=t.x,this.y+=t.y},s.prototype.Subtract=function(t){this.x-=t.x,this.y-=t.y},s.prototype.Multiply=function(t){void 0===t&&(t=0),this.x*=t,this.y*=t},s.prototype.MulM=function(t){var e=this.x;this.x=t.col1.x*e+t.col2.x*this.y,this.y=t.col1.y*e+t.col2.y*this.y},s.prototype.MulTM=function(t){var e=n.Dot(this,t.col1);this.y=n.Dot(this,t.col2),this.x=e},s.prototype.CrossVF=function(t){void 0===t&&(t=0);var e=this.x;this.x=t*this.y,this.y=-t*e},s.prototype.CrossFV=function(t){void 0===t&&(t=0);var e=this.x;this.x=-t*this.y,this.y=t*e},s.prototype.MinV=function(t){this.x=this.x<t.x?this.x:t.x,this.y=this.y<t.y?this.y:t.y},s.prototype.MaxV=function(t){this.x=this.x>t.x?this.x:t.x,this.y=this.y>t.y?this.y:t.y},s.prototype.Abs=function(){this.x<0&&(this.x=-this.x),this.y<0&&(this.y=-this.y)},s.prototype.Length=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},s.prototype.LengthSquared=function(){return this.x*this.x+this.y*this.y},s.prototype.Normalize=function(){var t=Math.sqrt(this.x*this.x+this.y*this.y);if(t<Number.MIN_VALUE)return 0;var e=1/t;return this.x*=e,this.y*=e,t},s.prototype.IsValid=function(){return n.IsValid(this.x)&&n.IsValid(this.y)},a.b2Vec3=function(){},a.prototype.b2Vec3=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.z=n},a.prototype.SetZero=function(){this.x=this.y=this.z=0},a.prototype.Set=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.z=n},a.prototype.SetV=function(t){this.x=t.x,this.y=t.y,this.z=t.z},a.prototype.GetNegative=function(){return new a(-this.x,-this.y,-this.z)},a.prototype.NegativeSelf=function(){this.x=-this.x,this.y=-this.y,this.z=-this.z},a.prototype.Copy=function(){return new a(this.x,this.y,this.z)},a.prototype.Add=function(t){this.x+=t.x,this.y+=t.y,this.z+=t.z},a.prototype.Subtract=function(t){this.x-=t.x,this.y-=t.y,this.z-=t.z},a.prototype.Multiply=function(t){void 0===t&&(t=0),this.x*=t,this.y*=t,this.z*=t}}(),function(){r.Dynamics.Controllers.b2ControllerEdge,r.Common.Math.b2Mat22,r.Common.Math.b2Mat33;var t=r.Common.Math.b2Math,e=r.Common.Math.b2Sweep,n=r.Common.Math.b2Transform,i=r.Common.Math.b2Vec2,o=(r.Common.Math.b2Vec3,r.Common.b2Color),s=(r.Common.b2internal,r.Common.b2Settings),a=r.Collision.b2AABB,u=(r.Collision.b2Bound,r.Collision.b2BoundValues,r.Collision.b2Collision,r.Collision.b2ContactID,r.Collision.b2ContactPoint),c=(r.Collision.b2Distance,r.Collision.b2DistanceInput,r.Collision.b2DistanceOutput,r.Collision.b2DistanceProxy,r.Collision.b2DynamicTree,r.Collision.b2DynamicTreeBroadPhase),h=(r.Collision.b2DynamicTreeNode,r.Collision.b2DynamicTreePair,r.Collision.b2Manifold,r.Collision.b2ManifoldPoint,r.Collision.b2Point,r.Collision.b2RayCastInput),l=r.Collision.b2RayCastOutput,d=(r.Collision.b2Segment,r.Collision.b2SeparationFunction,r.Collision.b2Simplex,r.Collision.b2SimplexCache,r.Collision.b2SimplexVertex,r.Collision.b2TimeOfImpact,r.Collision.b2TOIInput,r.Collision.b2WorldManifold,r.Collision.ClipVertex,r.Collision.Features,r.Collision.IBroadPhase,r.Collision.Shapes.b2CircleShape),f=(r.Collision.Shapes.b2EdgeChainDef,r.Collision.Shapes.b2EdgeShape),p=r.Collision.Shapes.b2MassData,_=r.Collision.Shapes.b2PolygonShape,m=r.Collision.Shapes.b2Shape,y=r.Dynamics.b2Body,v=r.Dynamics.b2BodyDef,b=r.Dynamics.b2ContactFilter,g=r.Dynamics.b2ContactImpulse,w=r.Dynamics.b2ContactListener,x=r.Dynamics.b2ContactManager,M=r.Dynamics.b2DebugDraw,S=r.Dynamics.b2DestructionListener,T=r.Dynamics.b2FilterData,A=r.Dynamics.b2Fixture,E=r.Dynamics.b2FixtureDef,L=r.Dynamics.b2Island,D=r.Dynamics.b2TimeStep,C=r.Dynamics.b2World,k=(r.Dynamics.Contacts.b2CircleContact,r.Dynamics.Contacts.b2Contact),O=(r.Dynamics.Contacts.b2ContactConstraint,r.Dynamics.Contacts.b2ContactConstraintPoint,r.Dynamics.Contacts.b2ContactEdge,r.Dynamics.Contacts.b2ContactFactory),I=(r.Dynamics.Contacts.b2ContactRegister,r.Dynamics.Contacts.b2ContactResult,r.Dynamics.Contacts.b2ContactSolver),P=(r.Dynamics.Contacts.b2EdgeAndCircleContact,r.Dynamics.Contacts.b2NullContact,r.Dynamics.Contacts.b2PolyAndCircleContact,r.Dynamics.Contacts.b2PolyAndEdgeContact,r.Dynamics.Contacts.b2PolygonContact,r.Dynamics.Contacts.b2PositionSolverManifold,r.Dynamics.Controllers.b2Controller,r.Dynamics.Joints.b2DistanceJoint,r.Dynamics.Joints.b2DistanceJointDef,r.Dynamics.Joints.b2FrictionJoint,r.Dynamics.Joints.b2FrictionJointDef,r.Dynamics.Joints.b2GearJoint,r.Dynamics.Joints.b2GearJointDef,r.Dynamics.Joints.b2Jacobian,r.Dynamics.Joints.b2Joint),R=(r.Dynamics.Joints.b2JointDef,r.Dynamics.Joints.b2JointEdge,r.Dynamics.Joints.b2LineJoint,r.Dynamics.Joints.b2LineJointDef,r.Dynamics.Joints.b2MouseJoint,r.Dynamics.Joints.b2MouseJointDef,r.Dynamics.Joints.b2PrismaticJoint,r.Dynamics.Joints.b2PrismaticJointDef,r.Dynamics.Joints.b2PulleyJoint);r.Dynamics.Joints.b2PulleyJointDef,r.Dynamics.Joints.b2RevoluteJoint,r.Dynamics.Joints.b2RevoluteJointDef,r.Dynamics.Joints.b2WeldJoint,r.Dynamics.Joints.b2WeldJointDef;y.b2Body=function(){this.m_xf=new n,this.m_sweep=new e,this.m_linearVelocity=new i,this.m_force=new i},y.prototype.connectEdges=function(e,n,r){void 0===r&&(r=0);var i=Math.atan2(n.GetDirectionVector().y,n.GetDirectionVector().x),o=Math.tan(.5*(i-r)),a=t.MulFV(o,n.GetDirectionVector());a=t.SubtractVV(a,n.GetNormalVector()),a=t.MulFV(s.b2_toiSlop,a),a=t.AddVV(a,n.GetVertex1());var u=t.AddVV(e.GetDirectionVector(),n.GetDirectionVector());u.Normalize();var c=t.Dot(e.GetDirectionVector(),n.GetNormalVector())>0;return e.SetNextEdge(n,a,u,c),n.SetPrevEdge(e,a,u,c),i},y.prototype.CreateFixture=function(t){if(1==this.m_world.IsLocked())return null;var e=new A;if(e.Create(this,this.m_xf,t),this.m_flags&y.e_activeFlag){var n=this.m_world.m_contactManager.m_broadPhase;e.CreateProxy(n,this.m_xf)}return e.m_next=this.m_fixtureList,this.m_fixtureList=e,++this.m_fixtureCount,e.m_body=this,e.m_density>0&&this.ResetMassData(),this.m_world.m_flags|=C.e_newFixture,e},y.prototype.CreateFixture2=function(t,e){void 0===e&&(e=0);var n=new E;return n.shape=t,n.density=e,this.CreateFixture(n)},y.prototype.DestroyFixture=function(t){if(1!=this.m_world.IsLocked()){for(var e=this.m_fixtureList,n=null;null!=e;){if(e==t){n?n.m_next=t.m_next:this.m_fixtureList=t.m_next,!0;break}n=e,e=e.m_next}for(var r=this.m_contactList;r;){var i=r.contact;r=r.next;var o=i.GetFixtureA(),s=i.GetFixtureB();t!=o&&t!=s||this.m_world.m_contactManager.Destroy(i)}if(this.m_flags&y.e_activeFlag){var a=this.m_world.m_contactManager.m_broadPhase;t.DestroyProxy(a)}t.Destroy(),t.m_body=null,t.m_next=null,--this.m_fixtureCount,this.ResetMassData()}},y.prototype.SetPositionAndAngle=function(t,e){var n;if(void 0===e&&(e=0),1!=this.m_world.IsLocked()){this.m_xf.R.Set(e),this.m_xf.position.SetV(t);var r=this.m_xf.R,i=this.m_sweep.localCenter;this.m_sweep.c.x=r.col1.x*i.x+r.col2.x*i.y,this.m_sweep.c.y=r.col1.y*i.x+r.col2.y*i.y,this.m_sweep.c.x+=this.m_xf.position.x,this.m_sweep.c.y+=this.m_xf.position.y,this.m_sweep.c0.SetV(this.m_sweep.c),this.m_sweep.a0=this.m_sweep.a=e;var o=this.m_world.m_contactManager.m_broadPhase;for(n=this.m_fixtureList;n;n=n.m_next)n.Synchronize(o,this.m_xf,this.m_xf);this.m_world.m_contactManager.FindNewContacts()}},y.prototype.SetTransform=function(t){this.SetPositionAndAngle(t.position,t.GetAngle())},y.prototype.GetTransform=function(){return this.m_xf},y.prototype.GetPosition=function(){return this.m_xf.position},y.prototype.SetPosition=function(t){this.SetPositionAndAngle(t,this.GetAngle())},y.prototype.GetAngle=function(){return this.m_sweep.a},y.prototype.SetAngle=function(t){void 0===t&&(t=0),this.SetPositionAndAngle(this.GetPosition(),t)},y.prototype.GetWorldCenter=function(){return this.m_sweep.c},y.prototype.GetLocalCenter=function(){return this.m_sweep.localCenter},y.prototype.SetLinearVelocity=function(t){this.m_type!=y.b2_staticBody&&this.m_linearVelocity.SetV(t)},y.prototype.GetLinearVelocity=function(){return this.m_linearVelocity},y.prototype.SetAngularVelocity=function(t){void 0===t&&(t=0),this.m_type!=y.b2_staticBody&&(this.m_angularVelocity=t)},y.prototype.GetAngularVelocity=function(){return this.m_angularVelocity},y.prototype.GetDefinition=function(){var t=new v;return t.type=this.GetType(),t.allowSleep=(this.m_flags&y.e_allowSleepFlag)==y.e_allowSleepFlag,t.angle=this.GetAngle(),t.angularDamping=this.m_angularDamping,t.angularVelocity=this.m_angularVelocity,t.fixedRotation=(this.m_flags&y.e_fixedRotationFlag)==y.e_fixedRotationFlag,t.bullet=(this.m_flags&y.e_bulletFlag)==y.e_bulletFlag,t.awake=(this.m_flags&y.e_awakeFlag)==y.e_awakeFlag,t.linearDamping=this.m_linearDamping,t.linearVelocity.SetV(this.GetLinearVelocity()),t.position=this.GetPosition(),t.userData=this.GetUserData(),t},y.prototype.ApplyForce=function(t,e){this.m_type==y.b2_dynamicBody&&(0==this.IsAwake()&&this.SetAwake(!0),this.m_force.x+=t.x,this.m_force.y+=t.y,this.m_torque+=(e.x-this.m_sweep.c.x)*t.y-(e.y-this.m_sweep.c.y)*t.x)},y.prototype.ApplyTorque=function(t){void 0===t&&(t=0),this.m_type==y.b2_dynamicBody&&(0==this.IsAwake()&&this.SetAwake(!0),this.m_torque+=t)},y.prototype.ApplyImpulse=function(t,e){this.m_type==y.b2_dynamicBody&&(0==this.IsAwake()&&this.SetAwake(!0),this.m_linearVelocity.x+=this.m_invMass*t.x,this.m_linearVelocity.y+=this.m_invMass*t.y,this.m_angularVelocity+=this.m_invI*((e.x-this.m_sweep.c.x)*t.y-(e.y-this.m_sweep.c.y)*t.x))},y.prototype.Split=function(e){for(var n,r=this.GetLinearVelocity().Copy(),i=this.GetAngularVelocity(),o=this.GetWorldCenter(),s=this.m_world.CreateBody(this.GetDefinition()),a=this.m_fixtureList;a;)if(e(a)){var u=a.m_next;n?n.m_next=u:this.m_fixtureList=u,this.m_fixtureCount--,a.m_next=s.m_fixtureList,s.m_fixtureList=a,s.m_fixtureCount++,a.m_body=s,a=u}else n=a,a=a.m_next;this.ResetMassData(),s.ResetMassData();var c=this.GetWorldCenter(),h=s.GetWorldCenter(),l=t.AddVV(r,t.CrossFV(i,t.SubtractVV(c,o))),d=t.AddVV(r,t.CrossFV(i,t.SubtractVV(h,o)));return this.SetLinearVelocity(l),s.SetLinearVelocity(d),this.SetAngularVelocity(i),s.SetAngularVelocity(i),this.SynchronizeFixtures(),s.SynchronizeFixtures(),s},y.prototype.Merge=function(t){var e;for(e=t.m_fixtureList;e;){var n=e.m_next;t.m_fixtureCount--,e.m_next=this.m_fixtureList,this.m_fixtureList=e,this.m_fixtureCount++,e.m_body=i,e=n}r.m_fixtureCount=0;var r=this,i=t;r.GetWorldCenter(),i.GetWorldCenter(),r.GetLinearVelocity().Copy(),i.GetLinearVelocity().Copy(),r.GetAngularVelocity(),i.GetAngularVelocity();r.ResetMassData(),this.SynchronizeFixtures()},y.prototype.GetMass=function(){return this.m_mass},y.prototype.GetInertia=function(){return this.m_I},y.prototype.GetMassData=function(t){t.mass=this.m_mass,t.I=this.m_I,t.center.SetV(this.m_sweep.localCenter)},y.prototype.SetMassData=function(e){if(s.b2Assert(0==this.m_world.IsLocked()),1!=this.m_world.IsLocked()&&this.m_type==y.b2_dynamicBody){this.m_invMass=0,this.m_I=0,this.m_invI=0,this.m_mass=e.mass,this.m_mass<=0&&(this.m_mass=1),this.m_invMass=1/this.m_mass,e.I>0&&0==(this.m_flags&y.e_fixedRotationFlag)&&(this.m_I=e.I-this.m_mass*(e.center.x*e.center.x+e.center.y*e.center.y),this.m_invI=1/this.m_I);var n=this.m_sweep.c.Copy();this.m_sweep.localCenter.SetV(e.center),this.m_sweep.c0.SetV(t.MulX(this.m_xf,this.m_sweep.localCenter)),this.m_sweep.c.SetV(this.m_sweep.c0),this.m_linearVelocity.x+=this.m_angularVelocity*-(this.m_sweep.c.y-n.y),this.m_linearVelocity.y+=this.m_angularVelocity*+(this.m_sweep.c.x-n.x)}},y.prototype.ResetMassData=function(){if(this.m_mass=0,this.m_invMass=0,this.m_I=0,this.m_invI=0,this.m_sweep.localCenter.SetZero(),this.m_type!=y.b2_staticBody&&this.m_type!=y.b2_kinematicBody){for(var e=i.Make(0,0),n=this.m_fixtureList;n;n=n.m_next)if(0!=n.m_density){var r=n.GetMassData();this.m_mass+=r.mass,e.x+=r.center.x*r.mass,e.y+=r.center.y*r.mass,this.m_I+=r.I}this.m_mass>0?(this.m_invMass=1/this.m_mass,e.x*=this.m_invMass,e.y*=this.m_invMass):(this.m_mass=1,this.m_invMass=1),this.m_I>0&&0==(this.m_flags&y.e_fixedRotationFlag)?(this.m_I-=this.m_mass*(e.x*e.x+e.y*e.y),this.m_I*=this.m_inertiaScale,s.b2Assert(this.m_I>0),this.m_invI=1/this.m_I):(this.m_I=0,this.m_invI=0);var o=this.m_sweep.c.Copy();this.m_sweep.localCenter.SetV(e),this.m_sweep.c0.SetV(t.MulX(this.m_xf,this.m_sweep.localCenter)),this.m_sweep.c.SetV(this.m_sweep.c0),this.m_linearVelocity.x+=this.m_angularVelocity*-(this.m_sweep.c.y-o.y),this.m_linearVelocity.y+=this.m_angularVelocity*+(this.m_sweep.c.x-o.x)}},y.prototype.GetWorldPoint=function(t){var e=this.m_xf.R,n=new i(e.col1.x*t.x+e.col2.x*t.y,e.col1.y*t.x+e.col2.y*t.y);return n.x+=this.m_xf.position.x,n.y+=this.m_xf.position.y,n},y.prototype.GetWorldVector=function(e){return t.MulMV(this.m_xf.R,e)},y.prototype.GetLocalPoint=function(e){return t.MulXT(this.m_xf,e)},y.prototype.GetLocalVector=function(e){return t.MulTMV(this.m_xf.R,e)},y.prototype.GetLinearVelocityFromWorldPoint=function(t){return new i(this.m_linearVelocity.x-this.m_angularVelocity*(t.y-this.m_sweep.c.y),this.m_linearVelocity.y+this.m_angularVelocity*(t.x-this.m_sweep.c.x))},y.prototype.GetLinearVelocityFromLocalPoint=function(t){var e=this.m_xf.R,n=new i(e.col1.x*t.x+e.col2.x*t.y,e.col1.y*t.x+e.col2.y*t.y);return n.x+=this.m_xf.position.x,n.y+=this.m_xf.position.y,new i(this.m_linearVelocity.x-this.m_angularVelocity*(n.y-this.m_sweep.c.y),this.m_linearVelocity.y+this.m_angularVelocity*(n.x-this.m_sweep.c.x))},y.prototype.GetLinearDamping=function(){return this.m_linearDamping},y.prototype.SetLinearDamping=function(t){void 0===t&&(t=0),this.m_linearDamping=t},y.prototype.GetAngularDamping=function(){return this.m_angularDamping},y.prototype.SetAngularDamping=function(t){void 0===t&&(t=0),this.m_angularDamping=t},y.prototype.SetType=function(t){if(void 0===t&&(t=0),this.m_type!=t){this.m_type=t,this.ResetMassData(),this.m_type==y.b2_staticBody&&(this.m_linearVelocity.SetZero(),this.m_angularVelocity=0),this.SetAwake(!0),this.m_force.SetZero(),this.m_torque=0;for(var e=this.m_contactList;e;e=e.next)e.contact.FlagForFiltering()}},y.prototype.GetType=function(){return this.m_type},y.prototype.SetBullet=function(t){t?this.m_flags|=y.e_bulletFlag:this.m_flags&=~y.e_bulletFlag},y.prototype.IsBullet=function(){return(this.m_flags&y.e_bulletFlag)==y.e_bulletFlag},y.prototype.SetSleepingAllowed=function(t){t?this.m_flags|=y.e_allowSleepFlag:(this.m_flags&=~y.e_allowSleepFlag,this.SetAwake(!0))},y.prototype.SetAwake=function(t){t?(this.m_flags|=y.e_awakeFlag,this.m_sleepTime=0):(this.m_flags&=~y.e_awakeFlag,this.m_sleepTime=0,this.m_linearVelocity.SetZero(),this.m_angularVelocity=0,this.m_force.SetZero(),this.m_torque=0)},y.prototype.IsAwake=function(){return(this.m_flags&y.e_awakeFlag)==y.e_awakeFlag},y.prototype.SetFixedRotation=function(t){t?this.m_flags|=y.e_fixedRotationFlag:this.m_flags&=~y.e_fixedRotationFlag,this.ResetMassData()},y.prototype.IsFixedRotation=function(){return(this.m_flags&y.e_fixedRotationFlag)==y.e_fixedRotationFlag},y.prototype.SetActive=function(t){var e,n;if(t!=this.IsActive())if(t)for(this.m_flags|=y.e_activeFlag,e=this.m_world.m_contactManager.m_broadPhase,n=this.m_fixtureList;n;n=n.m_next)n.CreateProxy(e,this.m_xf);else{for(this.m_flags&=~y.e_activeFlag,e=this.m_world.m_contactManager.m_broadPhase,n=this.m_fixtureList;n;n=n.m_next)n.DestroyProxy(e);for(var r=this.m_contactList;r;){var i=r;r=r.next,this.m_world.m_contactManager.Destroy(i.contact)}this.m_contactList=null}},y.prototype.IsActive=function(){return(this.m_flags&y.e_activeFlag)==y.e_activeFlag},y.prototype.IsSleepingAllowed=function(){return(this.m_flags&y.e_allowSleepFlag)==y.e_allowSleepFlag},y.prototype.GetFixtureList=function(){return this.m_fixtureList},y.prototype.GetJointList=function(){return this.m_jointList},y.prototype.GetControllerList=function(){return this.m_controllerList},y.prototype.GetContactList=function(){return this.m_contactList},y.prototype.GetNext=function(){return this.m_next},y.prototype.GetUserData=function(){return this.m_userData},y.prototype.SetUserData=function(t){this.m_userData=t},y.prototype.GetWorld=function(){return this.m_world},y.prototype.b2Body=function(t,e){this.m_flags=0,t.bullet&&(this.m_flags|=y.e_bulletFlag),t.fixedRotation&&(this.m_flags|=y.e_fixedRotationFlag),t.allowSleep&&(this.m_flags|=y.e_allowSleepFlag),t.awake&&(this.m_flags|=y.e_awakeFlag),t.active&&(this.m_flags|=y.e_activeFlag),this.m_world=e,this.m_xf.position.SetV(t.position),this.m_xf.R.Set(t.angle),this.m_sweep.localCenter.SetZero(),this.m_sweep.t0=1,this.m_sweep.a0=this.m_sweep.a=t.angle;var n=this.m_xf.R,r=this.m_sweep.localCenter;this.m_sweep.c.x=n.col1.x*r.x+n.col2.x*r.y,this.m_sweep.c.y=n.col1.y*r.x+n.col2.y*r.y,this.m_sweep.c.x+=this.m_xf.position.x,this.m_sweep.c.y+=this.m_xf.position.y,this.m_sweep.c0.SetV(this.m_sweep.c),this.m_jointList=null,this.m_controllerList=null,this.m_contactList=null,this.m_controllerCount=0,this.m_prev=null,this.m_next=null,this.m_linearVelocity.SetV(t.linearVelocity),this.m_angularVelocity=t.angularVelocity,this.m_linearDamping=t.linearDamping,this.m_angularDamping=t.angularDamping,this.m_force.Set(0,0),this.m_torque=0,this.m_sleepTime=0,this.m_type=t.type,this.m_type==y.b2_dynamicBody?(this.m_mass=1,this.m_invMass=1):(this.m_mass=0,this.m_invMass=0),this.m_I=0,this.m_invI=0,this.m_inertiaScale=t.inertiaScale,this.m_userData=t.userData,this.m_fixtureList=null,this.m_fixtureCount=0},y.prototype.SynchronizeFixtures=function(){var t=y.s_xf1;t.R.Set(this.m_sweep.a0);var e,n=t.R,r=this.m_sweep.localCenter;t.position.x=this.m_sweep.c0.x-(n.col1.x*r.x+n.col2.x*r.y),t.position.y=this.m_sweep.c0.y-(n.col1.y*r.x+n.col2.y*r.y);var i=this.m_world.m_contactManager.m_broadPhase;for(e=this.m_fixtureList;e;e=e.m_next)e.Synchronize(i,t,this.m_xf)},y.prototype.SynchronizeTransform=function(){this.m_xf.R.Set(this.m_sweep.a);var t=this.m_xf.R,e=this.m_sweep.localCenter;this.m_xf.position.x=this.m_sweep.c.x-(t.col1.x*e.x+t.col2.x*e.y),this.m_xf.position.y=this.m_sweep.c.y-(t.col1.y*e.x+t.col2.y*e.y)},y.prototype.ShouldCollide=function(t){if(this.m_type!=y.b2_dynamicBody&&t.m_type!=y.b2_dynamicBody)return!1;for(var e=this.m_jointList;e;e=e.next)if(e.other==t&&0==e.joint.m_collideConnected)return!1;return!0},y.prototype.Advance=function(t){void 0===t&&(t=0),this.m_sweep.Advance(t),this.m_sweep.c.SetV(this.m_sweep.c0),this.m_sweep.a=this.m_sweep.a0,this.SynchronizeTransform()},r.postDefs.push((function(){r.Dynamics.b2Body.s_xf1=new n,r.Dynamics.b2Body.e_islandFlag=1,r.Dynamics.b2Body.e_awakeFlag=2,r.Dynamics.b2Body.e_allowSleepFlag=4,r.Dynamics.b2Body.e_bulletFlag=8,r.Dynamics.b2Body.e_fixedRotationFlag=16,r.Dynamics.b2Body.e_activeFlag=32,r.Dynamics.b2Body.b2_staticBody=0,r.Dynamics.b2Body.b2_kinematicBody=1,r.Dynamics.b2Body.b2_dynamicBody=2})),v.b2BodyDef=function(){this.position=new i,this.linearVelocity=new i},v.prototype.b2BodyDef=function(){this.userData=null,this.position.Set(0,0),this.angle=0,this.linearVelocity.Set(0,0),this.angularVelocity=0,this.linearDamping=0,this.angularDamping=0,this.allowSleep=!0,this.awake=!0,this.fixedRotation=!1,this.bullet=!1,this.type=y.b2_staticBody,this.active=!0,this.inertiaScale=1},b.b2ContactFilter=function(){},b.prototype.ShouldCollide=function(t,e){var n=t.GetFilterData(),r=e.GetFilterData();return n.groupIndex==r.groupIndex&&0!=n.groupIndex?n.groupIndex>0:0!=(n.maskBits&r.categoryBits)&&0!=(n.categoryBits&r.maskBits)},b.prototype.RayCollide=function(t,e){return!t||this.ShouldCollide(t instanceof A?t:null,e)},r.postDefs.push((function(){r.Dynamics.b2ContactFilter.b2_defaultFilter=new b})),g.b2ContactImpulse=function(){this.normalImpulses=new z(s.b2_maxManifoldPoints),this.tangentImpulses=new z(s.b2_maxManifoldPoints)},w.b2ContactListener=function(){},w.prototype.BeginContact=function(t){},w.prototype.EndContact=function(t){},w.prototype.PreSolve=function(t,e){},w.prototype.PostSolve=function(t,e){},r.postDefs.push((function(){r.Dynamics.b2ContactListener.b2_defaultListener=new w})),x.b2ContactManager=function(){},x.prototype.b2ContactManager=function(){this.m_world=null,this.m_contactCount=0,this.m_contactFilter=b.b2_defaultFilter,this.m_contactListener=w.b2_defaultListener,this.m_contactFactory=new O(this.m_allocator),this.m_broadPhase=new c},x.prototype.AddPair=function(t,e){var n=t instanceof A?t:null,r=e instanceof A?e:null,i=n.GetBody(),o=r.GetBody();if(i!=o){for(var s=o.GetContactList();s;){if(s.other==i){var a=s.contact.GetFixtureA(),u=s.contact.GetFixtureB();if(a==n&&u==r)return;if(a==r&&u==n)return}s=s.next}if(0!=o.ShouldCollide(i)&&0!=this.m_contactFilter.ShouldCollide(n,r)){var c=this.m_contactFactory.Create(n,r);n=c.GetFixtureA(),r=c.GetFixtureB(),i=n.m_body,o=r.m_body,c.m_prev=null,c.m_next=this.m_world.m_contactList,null!=this.m_world.m_contactList&&(this.m_world.m_contactList.m_prev=c),this.m_world.m_contactList=c,c.m_nodeA.contact=c,c.m_nodeA.other=o,c.m_nodeA.prev=null,c.m_nodeA.next=i.m_contactList,null!=i.m_contactList&&(i.m_contactList.prev=c.m_nodeA),i.m_contactList=c.m_nodeA,c.m_nodeB.contact=c,c.m_nodeB.other=i,c.m_nodeB.prev=null,c.m_nodeB.next=o.m_contactList,null!=o.m_contactList&&(o.m_contactList.prev=c.m_nodeB),o.m_contactList=c.m_nodeB,++this.m_world.m_contactCount}}},x.prototype.FindNewContacts=function(){this.m_broadPhase.UpdatePairs(r.generateCallback(this,this.AddPair))},x.prototype.Destroy=function(t){var e=t.GetFixtureA(),n=t.GetFixtureB(),r=e.GetBody(),i=n.GetBody();t.IsTouching()&&this.m_contactListener.EndContact(t),t.m_prev&&(t.m_prev.m_next=t.m_next),t.m_next&&(t.m_next.m_prev=t.m_prev),t==this.m_world.m_contactList&&(this.m_world.m_contactList=t.m_next),t.m_nodeA.prev&&(t.m_nodeA.prev.next=t.m_nodeA.next),t.m_nodeA.next&&(t.m_nodeA.next.prev=t.m_nodeA.prev),t.m_nodeA==r.m_contactList&&(r.m_contactList=t.m_nodeA.next),t.m_nodeB.prev&&(t.m_nodeB.prev.next=t.m_nodeB.next),t.m_nodeB.next&&(t.m_nodeB.next.prev=t.m_nodeB.prev),t.m_nodeB==i.m_contactList&&(i.m_contactList=t.m_nodeB.next),this.m_contactFactory.Destroy(t),--this.m_contactCount},x.prototype.Collide=function(){for(var t=this.m_world.m_contactList;t;){var e=t.GetFixtureA(),n=t.GetFixtureB(),r=e.GetBody(),i=n.GetBody();if(0!=r.IsAwake()||0!=i.IsAwake()){if(t.m_flags&k.e_filterFlag){if(0==i.ShouldCollide(r)){var o=t;t=o.GetNext(),this.Destroy(o);continue}if(0==this.m_contactFilter.ShouldCollide(e,n)){t=(o=t).GetNext(),this.Destroy(o);continue}t.m_flags&=~k.e_filterFlag}var s=e.m_proxy,a=n.m_proxy;0!=this.m_broadPhase.TestOverlap(s,a)?(t.Update(this.m_contactListener),t=t.GetNext()):(t=(o=t).GetNext(),this.Destroy(o))}else t=t.GetNext()}},r.postDefs.push((function(){r.Dynamics.b2ContactManager.s_evalCP=new u})),M.b2DebugDraw=function(){},M.prototype.b2DebugDraw=function(){},M.prototype.SetFlags=function(t){void 0===t&&(t=0)},M.prototype.GetFlags=function(){},M.prototype.AppendFlags=function(t){void 0===t&&(t=0)},M.prototype.ClearFlags=function(t){void 0===t&&(t=0)},M.prototype.SetSprite=function(t){},M.prototype.GetSprite=function(){},M.prototype.SetDrawScale=function(t){void 0===t&&(t=0)},M.prototype.GetDrawScale=function(){},M.prototype.SetLineThickness=function(t){void 0===t&&(t=0)},M.prototype.GetLineThickness=function(){},M.prototype.SetAlpha=function(t){void 0===t&&(t=0)},M.prototype.GetAlpha=function(){},M.prototype.SetFillAlpha=function(t){void 0===t&&(t=0)},M.prototype.GetFillAlpha=function(){},M.prototype.SetXFormScale=function(t){void 0===t&&(t=0)},M.prototype.GetXFormScale=function(){},M.prototype.DrawPolygon=function(t,e,n){void 0===e&&(e=0)},M.prototype.DrawSolidPolygon=function(t,e,n){void 0===e&&(e=0)},M.prototype.DrawCircle=function(t,e,n){void 0===e&&(e=0)},M.prototype.DrawSolidCircle=function(t,e,n,r){void 0===e&&(e=0)},M.prototype.DrawSegment=function(t,e,n){},M.prototype.DrawTransform=function(t){},r.postDefs.push((function(){r.Dynamics.b2DebugDraw.e_shapeBit=1,r.Dynamics.b2DebugDraw.e_jointBit=2,r.Dynamics.b2DebugDraw.e_aabbBit=4,r.Dynamics.b2DebugDraw.e_pairBit=8,r.Dynamics.b2DebugDraw.e_centerOfMassBit=16,r.Dynamics.b2DebugDraw.e_controllerBit=32})),S.b2DestructionListener=function(){},S.prototype.SayGoodbyeJoint=function(t){},S.prototype.SayGoodbyeFixture=function(t){},T.b2FilterData=function(){this.categoryBits=1,this.maskBits=65535,this.groupIndex=0},T.prototype.Copy=function(){var t=new T;return t.categoryBits=this.categoryBits,t.maskBits=this.maskBits,t.groupIndex=this.groupIndex,t},A.b2Fixture=function(){this.m_filter=new T},A.prototype.GetType=function(){return this.m_shape.GetType()},A.prototype.GetShape=function(){return this.m_shape},A.prototype.SetSensor=function(t){if(this.m_isSensor!=t&&(this.m_isSensor=t,null!=this.m_body))for(var e=this.m_body.GetContactList();e;){var n=e.contact,r=n.GetFixtureA(),i=n.GetFixtureB();r!=this&&i!=this||n.SetSensor(r.IsSensor()||i.IsSensor()),e=e.next}},A.prototype.IsSensor=function(){return this.m_isSensor},A.prototype.SetFilterData=function(t){if(this.m_filter=t.Copy(),!this.m_body)for(var e=this.m_body.GetContactList();e;){var n=e.contact,r=n.GetFixtureA(),i=n.GetFixtureB();r!=this&&i!=this||n.FlagForFiltering(),e=e.next}},A.prototype.GetFilterData=function(){return this.m_filter.Copy()},A.prototype.GetBody=function(){return this.m_body},A.prototype.GetNext=function(){return this.m_next},A.prototype.GetUserData=function(){return this.m_userData},A.prototype.SetUserData=function(t){this.m_userData=t},A.prototype.TestPoint=function(t){return this.m_shape.TestPoint(this.m_body.GetTransform(),t)},A.prototype.RayCast=function(t,e){return this.m_shape.RayCast(t,e,this.m_body.GetTransform())},A.prototype.GetMassData=function(t){return void 0===t&&(t=null),null==t&&(t=new p),this.m_shape.ComputeMass(t,this.m_density),t},A.prototype.SetDensity=function(t){void 0===t&&(t=0),this.m_density=t},A.prototype.GetDensity=function(){return this.m_density},A.prototype.GetFriction=function(){return this.m_friction},A.prototype.SetFriction=function(t){void 0===t&&(t=0),this.m_friction=t},A.prototype.GetRestitution=function(){return this.m_restitution},A.prototype.SetRestitution=function(t){void 0===t&&(t=0),this.m_restitution=t},A.prototype.GetAABB=function(){return this.m_aabb},A.prototype.b2Fixture=function(){this.m_aabb=new a,this.m_userData=null,this.m_body=null,this.m_next=null,this.m_shape=null,this.m_density=0,this.m_friction=0,this.m_restitution=0},A.prototype.Create=function(t,e,n){this.m_userData=n.userData,this.m_friction=n.friction,this.m_restitution=n.restitution,this.m_body=t,this.m_next=null,this.m_filter=n.filter.Copy(),this.m_isSensor=n.isSensor,this.m_shape=n.shape.Copy(),this.m_density=n.density},A.prototype.Destroy=function(){this.m_shape=null},A.prototype.CreateProxy=function(t,e){this.m_shape.ComputeAABB(this.m_aabb,e),this.m_proxy=t.CreateProxy(this.m_aabb,this)},A.prototype.DestroyProxy=function(t){null!=this.m_proxy&&(t.DestroyProxy(this.m_proxy),this.m_proxy=null)},A.prototype.Synchronize=function(e,n,r){if(this.m_proxy){var i=new a,o=new a;this.m_shape.ComputeAABB(i,n),this.m_shape.ComputeAABB(o,r),this.m_aabb.Combine(i,o);var s=t.SubtractVV(r.position,n.position);e.MoveProxy(this.m_proxy,this.m_aabb,s)}},E.b2FixtureDef=function(){this.filter=new T},E.prototype.b2FixtureDef=function(){this.shape=null,this.userData=null,this.friction=.2,this.restitution=0,this.density=0,this.filter.categoryBits=1,this.filter.maskBits=65535,this.filter.groupIndex=0,this.isSensor=!1},L.b2Island=function(){},L.prototype.b2Island=function(){this.m_bodies=new V,this.m_contacts=new V,this.m_joints=new V},L.prototype.Initialize=function(t,e,n,r,i,o){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0);var s=0;for(this.m_bodyCapacity=t,this.m_contactCapacity=e,this.m_jointCapacity=n,this.m_bodyCount=0,this.m_contactCount=0,this.m_jointCount=0,this.m_allocator=r,this.m_listener=i,this.m_contactSolver=o,s=this.m_bodies.length;s<t;s++)this.m_bodies[s]=null;for(s=this.m_contacts.length;s<e;s++)this.m_contacts[s]=null;for(s=this.m_joints.length;s<n;s++)this.m_joints[s]=null},L.prototype.Clear=function(){this.m_bodyCount=0,this.m_contactCount=0,this.m_jointCount=0},L.prototype.Solve=function(e,n,r){var i,o=0,a=0;for(o=0;o<this.m_bodyCount;++o)(i=this.m_bodies[o]).GetType()==y.b2_dynamicBody&&(i.m_linearVelocity.x+=e.dt*(n.x+i.m_invMass*i.m_force.x),i.m_linearVelocity.y+=e.dt*(n.y+i.m_invMass*i.m_force.y),i.m_angularVelocity+=e.dt*i.m_invI*i.m_torque,i.m_linearVelocity.Multiply(t.Clamp(1-e.dt*i.m_linearDamping,0,1)),i.m_angularVelocity*=t.Clamp(1-e.dt*i.m_angularDamping,0,1));this.m_contactSolver.Initialize(e,this.m_contacts,this.m_contactCount,this.m_allocator);var u=this.m_contactSolver;for(u.InitVelocityConstraints(e),o=0;o<this.m_jointCount;++o)this.m_joints[o].InitVelocityConstraints(e);for(o=0;o<e.velocityIterations;++o){for(a=0;a<this.m_jointCount;++a)this.m_joints[a].SolveVelocityConstraints(e);u.SolveVelocityConstraints()}for(o=0;o<this.m_jointCount;++o)this.m_joints[o].FinalizeVelocityConstraints();for(u.FinalizeVelocityConstraints(),o=0;o<this.m_bodyCount;++o)if((i=this.m_bodies[o]).GetType()!=y.b2_staticBody){var c=e.dt*i.m_linearVelocity.x,h=e.dt*i.m_linearVelocity.y;c*c+h*h>s.b2_maxTranslationSquared&&(i.m_linearVelocity.Normalize(),i.m_linearVelocity.x*=s.b2_maxTranslation*e.inv_dt,i.m_linearVelocity.y*=s.b2_maxTranslation*e.inv_dt);var l=e.dt*i.m_angularVelocity;l*l>s.b2_maxRotationSquared&&(i.m_angularVelocity<0?i.m_angularVelocity=-s.b2_maxRotation*e.inv_dt:i.m_angularVelocity=s.b2_maxRotation*e.inv_dt),i.m_sweep.c0.SetV(i.m_sweep.c),i.m_sweep.a0=i.m_sweep.a,i.m_sweep.c.x+=e.dt*i.m_linearVelocity.x,i.m_sweep.c.y+=e.dt*i.m_linearVelocity.y,i.m_sweep.a+=e.dt*i.m_angularVelocity,i.SynchronizeTransform()}for(o=0;o<e.positionIterations;++o){var d=u.SolvePositionConstraints(s.b2_contactBaumgarte),f=!0;for(a=0;a<this.m_jointCount;++a){var p=this.m_joints[a].SolvePositionConstraints(s.b2_contactBaumgarte);f=f&&p}if(d&&f)break}if(this.Report(u.m_constraints),r){var _=Number.MAX_VALUE,m=s.b2_linearSleepTolerance*s.b2_linearSleepTolerance,v=s.b2_angularSleepTolerance*s.b2_angularSleepTolerance;for(o=0;o<this.m_bodyCount;++o)(i=this.m_bodies[o]).GetType()!=y.b2_staticBody&&(0==(i.m_flags&y.e_allowSleepFlag)&&(i.m_sleepTime=0,_=0),0==(i.m_flags&y.e_allowSleepFlag)||i.m_angularVelocity*i.m_angularVelocity>v||t.Dot(i.m_linearVelocity,i.m_linearVelocity)>m?(i.m_sleepTime=0,_=0):(i.m_sleepTime+=e.dt,_=t.Min(_,i.m_sleepTime)));if(_>=s.b2_timeToSleep)for(o=0;o<this.m_bodyCount;++o)(i=this.m_bodies[o]).SetAwake(!1)}},L.prototype.SolveTOI=function(t){var e=0,n=0;this.m_contactSolver.Initialize(t,this.m_contacts,this.m_contactCount,this.m_allocator);var r=this.m_contactSolver;for(e=0;e<this.m_jointCount;++e)this.m_joints[e].InitVelocityConstraints(t);for(e=0;e<t.velocityIterations;++e)for(r.SolveVelocityConstraints(),n=0;n<this.m_jointCount;++n)this.m_joints[n].SolveVelocityConstraints(t);for(e=0;e<this.m_bodyCount;++e){var i=this.m_bodies[e];if(i.GetType()!=y.b2_staticBody){var o=t.dt*i.m_linearVelocity.x,a=t.dt*i.m_linearVelocity.y;o*o+a*a>s.b2_maxTranslationSquared&&(i.m_linearVelocity.Normalize(),i.m_linearVelocity.x*=s.b2_maxTranslation*t.inv_dt,i.m_linearVelocity.y*=s.b2_maxTranslation*t.inv_dt);var u=t.dt*i.m_angularVelocity;u*u>s.b2_maxRotationSquared&&(i.m_angularVelocity<0?i.m_angularVelocity=-s.b2_maxRotation*t.inv_dt:i.m_angularVelocity=s.b2_maxRotation*t.inv_dt),i.m_sweep.c0.SetV(i.m_sweep.c),i.m_sweep.a0=i.m_sweep.a,i.m_sweep.c.x+=t.dt*i.m_linearVelocity.x,i.m_sweep.c.y+=t.dt*i.m_linearVelocity.y,i.m_sweep.a+=t.dt*i.m_angularVelocity,i.SynchronizeTransform()}}for(e=0;e<t.positionIterations;++e){var c=r.SolvePositionConstraints(.75),h=!0;for(n=0;n<this.m_jointCount;++n){var l=this.m_joints[n].SolvePositionConstraints(s.b2_contactBaumgarte);h=h&&l}if(c&&h)break}this.Report(r.m_constraints)},L.prototype.Report=function(t){if(null!=this.m_listener)for(var e=0;e<this.m_contactCount;++e){for(var n=this.m_contacts[e],r=t[e],i=0;i<r.pointCount;++i)L.s_impulse.normalImpulses[i]=r.points[i].normalImpulse,L.s_impulse.tangentImpulses[i]=r.points[i].tangentImpulse;this.m_listener.PostSolve(n,L.s_impulse)}},L.prototype.AddBody=function(t){t.m_islandIndex=this.m_bodyCount,this.m_bodies[this.m_bodyCount++]=t},L.prototype.AddContact=function(t){this.m_contacts[this.m_contactCount++]=t},L.prototype.AddJoint=function(t){this.m_joints[this.m_jointCount++]=t},r.postDefs.push((function(){r.Dynamics.b2Island.s_impulse=new g})),D.b2TimeStep=function(){},D.prototype.Set=function(t){this.dt=t.dt,this.inv_dt=t.inv_dt,this.positionIterations=t.positionIterations,this.velocityIterations=t.velocityIterations,this.warmStarting=t.warmStarting},C.b2World=function(){this.s_stack=new V,this.m_contactManager=new x,this.m_contactSolver=new I,this.m_island=new L},C.prototype.b2World=function(t,e){this.m_destructionListener=null,this.m_debugDraw=null,this.m_bodyList=null,this.m_contactList=null,this.m_jointList=null,this.m_controllerList=null,this.m_bodyCount=0,this.m_contactCount=0,this.m_jointCount=0,this.m_controllerCount=0,C.m_warmStarting=!0,C.m_continuousPhysics=!0,this.m_allowSleep=e,this.m_gravity=t,this.m_inv_dt0=0,this.m_contactManager.m_world=this;var n=new v;this.m_groundBody=this.CreateBody(n)},C.prototype.SetDestructionListener=function(t){this.m_destructionListener=t},C.prototype.SetContactFilter=function(t){this.m_contactManager.m_contactFilter=t},C.prototype.SetContactListener=function(t){this.m_contactManager.m_contactListener=t},C.prototype.SetDebugDraw=function(t){this.m_debugDraw=t},C.prototype.SetBroadPhase=function(t){var e=this.m_contactManager.m_broadPhase;this.m_contactManager.m_broadPhase=t;for(var n=this.m_bodyList;n;n=n.m_next)for(var r=n.m_fixtureList;r;r=r.m_next)r.m_proxy=t.CreateProxy(e.GetFatAABB(r.m_proxy),r)},C.prototype.Validate=function(){this.m_contactManager.m_broadPhase.Validate()},C.prototype.GetProxyCount=function(){return this.m_contactManager.m_broadPhase.GetProxyCount()},C.prototype.CreateBody=function(t){if(1==this.IsLocked())return null;var e=new y(t,this);return e.m_prev=null,e.m_next=this.m_bodyList,this.m_bodyList&&(this.m_bodyList.m_prev=e),this.m_bodyList=e,++this.m_bodyCount,e},C.prototype.DestroyBody=function(t){if(1!=this.IsLocked()){for(var e=t.m_jointList;e;){var n=e;e=e.next,this.m_destructionListener&&this.m_destructionListener.SayGoodbyeJoint(n.joint),this.DestroyJoint(n.joint)}for(var r=t.m_controllerList;r;){var i=r;r=r.nextController,i.controller.RemoveBody(t)}for(var o=t.m_contactList;o;){var s=o;o=o.next,this.m_contactManager.Destroy(s.contact)}t.m_contactList=null;for(var a=t.m_fixtureList;a;){var u=a;a=a.m_next,this.m_destructionListener&&this.m_destructionListener.SayGoodbyeFixture(u),u.DestroyProxy(this.m_contactManager.m_broadPhase),u.Destroy()}t.m_fixtureList=null,t.m_fixtureCount=0,t.m_prev&&(t.m_prev.m_next=t.m_next),t.m_next&&(t.m_next.m_prev=t.m_prev),t==this.m_bodyList&&(this.m_bodyList=t.m_next),--this.m_bodyCount}},C.prototype.CreateJoint=function(t){var e=P.Create(t,null);e.m_prev=null,e.m_next=this.m_jointList,this.m_jointList&&(this.m_jointList.m_prev=e),this.m_jointList=e,++this.m_jointCount,e.m_edgeA.joint=e,e.m_edgeA.other=e.m_bodyB,e.m_edgeA.prev=null,e.m_edgeA.next=e.m_bodyA.m_jointList,e.m_bodyA.m_jointList&&(e.m_bodyA.m_jointList.prev=e.m_edgeA),e.m_bodyA.m_jointList=e.m_edgeA,e.m_edgeB.joint=e,e.m_edgeB.other=e.m_bodyA,e.m_edgeB.prev=null,e.m_edgeB.next=e.m_bodyB.m_jointList,e.m_bodyB.m_jointList&&(e.m_bodyB.m_jointList.prev=e.m_edgeB),e.m_bodyB.m_jointList=e.m_edgeB;var n=t.bodyA,r=t.bodyB;if(0==t.collideConnected)for(var i=r.GetContactList();i;)i.other==n&&i.contact.FlagForFiltering(),i=i.next;return e},C.prototype.DestroyJoint=function(t){var e=t.m_collideConnected;t.m_prev&&(t.m_prev.m_next=t.m_next),t.m_next&&(t.m_next.m_prev=t.m_prev),t==this.m_jointList&&(this.m_jointList=t.m_next);var n=t.m_bodyA,r=t.m_bodyB;if(n.SetAwake(!0),r.SetAwake(!0),t.m_edgeA.prev&&(t.m_edgeA.prev.next=t.m_edgeA.next),t.m_edgeA.next&&(t.m_edgeA.next.prev=t.m_edgeA.prev),t.m_edgeA==n.m_jointList&&(n.m_jointList=t.m_edgeA.next),t.m_edgeA.prev=null,t.m_edgeA.next=null,t.m_edgeB.prev&&(t.m_edgeB.prev.next=t.m_edgeB.next),t.m_edgeB.next&&(t.m_edgeB.next.prev=t.m_edgeB.prev),t.m_edgeB==r.m_jointList&&(r.m_jointList=t.m_edgeB.next),t.m_edgeB.prev=null,t.m_edgeB.next=null,P.Destroy(t,null),--this.m_jointCount,0==e)for(var i=r.GetContactList();i;)i.other==n&&i.contact.FlagForFiltering(),i=i.next},C.prototype.AddController=function(t){return t.m_next=this.m_controllerList,t.m_prev=null,this.m_controllerList=t,t.m_world=this,this.m_controllerCount++,t},C.prototype.RemoveController=function(t){t.m_prev&&(t.m_prev.m_next=t.m_next),t.m_next&&(t.m_next.m_prev=t.m_prev),this.m_controllerList==t&&(this.m_controllerList=t.m_next),this.m_controllerCount--},C.prototype.CreateController=function(t){if(t.m_world!=this)throw new Error("Controller can only be a member of one world");return t.m_next=this.m_controllerList,t.m_prev=null,this.m_controllerList&&(this.m_controllerList.m_prev=t),this.m_controllerList=t,++this.m_controllerCount,t.m_world=this,t},C.prototype.DestroyController=function(t){t.Clear(),t.m_next&&(t.m_next.m_prev=t.m_prev),t.m_prev&&(t.m_prev.m_next=t.m_next),t==this.m_controllerList&&(this.m_controllerList=t.m_next),--this.m_controllerCount},C.prototype.SetWarmStarting=function(t){C.m_warmStarting=t},C.prototype.SetContinuousPhysics=function(t){C.m_continuousPhysics=t},C.prototype.GetBodyCount=function(){return this.m_bodyCount},C.prototype.GetJointCount=function(){return this.m_jointCount},C.prototype.GetContactCount=function(){return this.m_contactCount},C.prototype.SetGravity=function(t){this.m_gravity=t},C.prototype.GetGravity=function(){return this.m_gravity},C.prototype.GetGroundBody=function(){return this.m_groundBody},C.prototype.Step=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.m_flags&C.e_newFixture&&(this.m_contactManager.FindNewContacts(),this.m_flags&=~C.e_newFixture),this.m_flags|=C.e_locked;var r=C.s_timestep2;r.dt=t,r.velocityIterations=e,r.positionIterations=n,r.inv_dt=t>0?1/t:0,r.dtRatio=this.m_inv_dt0*t,r.warmStarting=C.m_warmStarting,this.m_contactManager.Collide(),r.dt>0&&this.Solve(r),C.m_continuousPhysics&&r.dt>0&&this.SolveTOI(r),r.dt>0&&(this.m_inv_dt0=r.inv_dt),this.m_flags&=~C.e_locked},C.prototype.ClearForces=function(){for(var t=this.m_bodyList;t;t=t.m_next)t.m_force.SetZero(),t.m_torque=0},C.prototype.DrawDebugData=function(){if(null!=this.m_debugDraw){this.m_debugDraw.m_sprite.graphics.clear();var t,e,n,r,s,u,c=this.m_debugDraw.GetFlags(),h=(new i,new i,new i,new a,new a,[new i,new i,new i,new i]),l=new o(0,0,0);if(c&M.e_shapeBit)for(t=this.m_bodyList;t;t=t.m_next)for(u=t.m_xf,e=t.GetFixtureList();e;e=e.m_next)n=e.GetShape(),0==t.IsActive()?(l.Set(.5,.5,.3),this.DrawShape(n,u,l)):t.GetType()==y.b2_staticBody?(l.Set(.5,.9,.5),this.DrawShape(n,u,l)):t.GetType()==y.b2_kinematicBody?(l.Set(.5,.5,.9),this.DrawShape(n,u,l)):0==t.IsAwake()?(l.Set(.6,.6,.6),this.DrawShape(n,u,l)):(l.Set(.9,.7,.7),this.DrawShape(n,u,l));if(c&M.e_jointBit)for(r=this.m_jointList;r;r=r.m_next)this.DrawJoint(r);if(c&M.e_controllerBit)for(var d=this.m_controllerList;d;d=d.m_next)d.Draw(this.m_debugDraw);if(c&M.e_pairBit){l.Set(.3,.9,.9);for(var f=this.m_contactManager.m_contactList;f;f=f.GetNext()){var p=f.GetFixtureA(),_=f.GetFixtureB(),m=p.GetAABB().GetCenter(),v=_.GetAABB().GetCenter();this.m_debugDraw.DrawSegment(m,v,l)}}if(c&M.e_aabbBit)for(s=this.m_contactManager.m_broadPhase,h=[new i,new i,new i,new i],t=this.m_bodyList;t;t=t.GetNext())if(0!=t.IsActive())for(e=t.GetFixtureList();e;e=e.GetNext()){var b=s.GetFatAABB(e.m_proxy);h[0].Set(b.lowerBound.x,b.lowerBound.y),h[1].Set(b.upperBound.x,b.lowerBound.y),h[2].Set(b.upperBound.x,b.upperBound.y),h[3].Set(b.lowerBound.x,b.upperBound.y),this.m_debugDraw.DrawPolygon(h,4,l)}if(c&M.e_centerOfMassBit)for(t=this.m_bodyList;t;t=t.m_next)(u=C.s_xf).R=t.m_xf.R,u.position=t.GetWorldCenter(),this.m_debugDraw.DrawTransform(u)}},C.prototype.QueryAABB=function(t,e){var n=this.m_contactManager.m_broadPhase;n.Query((function(e){return t(n.GetUserData(e))}),e)},C.prototype.QueryShape=function(t,e,r){void 0===r&&(r=null),null==r&&(r=new n).SetIdentity();var i=this.m_contactManager.m_broadPhase;var o=new a;e.ComputeAABB(o,r),i.Query((function(n){var o=i.GetUserData(n)instanceof A?i.GetUserData(n):null;return!m.TestOverlap(e,r,o.GetShape(),o.GetBody().GetTransform())||t(o)}),o)},C.prototype.QueryPoint=function(t,e){var n=this.m_contactManager.m_broadPhase;var r=new a;r.lowerBound.Set(e.x-s.b2_linearSlop,e.y-s.b2_linearSlop),r.upperBound.Set(e.x+s.b2_linearSlop,e.y+s.b2_linearSlop),n.Query((function(r){var i=n.GetUserData(r)instanceof A?n.GetUserData(r):null;return!i.TestPoint(e)||t(i)}),r)},C.prototype.RayCast=function(t,e,n){var r=this.m_contactManager.m_broadPhase,o=new l;var s=new h(e,n);r.RayCast((function(s,a){var u=r.GetUserData(a),c=u instanceof A?u:null;if(c.RayCast(o,s)){var h=o.fraction,l=new i((1-h)*e.x+h*n.x,(1-h)*e.y+h*n.y);return t(c,l,o.normal,h)}return s.maxFraction}),s)},C.prototype.RayCastOne=function(t,e){var n;return this.RayCast((function(t,e,r,i){return void 0===i&&(i=0),n=t,i}),t,e),n},C.prototype.RayCastAll=function(t,e){var n=new V;return this.RayCast((function(t,e,r,i){return void 0===i&&(i=0),n[n.length]=t,1}),t,e),n},C.prototype.GetBodyList=function(){return this.m_bodyList},C.prototype.GetJointList=function(){return this.m_jointList},C.prototype.GetContactList=function(){return this.m_contactList},C.prototype.IsLocked=function(){return(this.m_flags&C.e_locked)>0},C.prototype.Solve=function(t){for(var e,n=this.m_controllerList;n;n=n.m_next)n.Step(t);var r=this.m_island;for(r.Initialize(this.m_bodyCount,this.m_contactCount,this.m_jointCount,null,this.m_contactManager.m_contactListener,this.m_contactSolver),e=this.m_bodyList;e;e=e.m_next)e.m_flags&=~y.e_islandFlag;for(var i=this.m_contactList;i;i=i.m_next)i.m_flags&=~k.e_islandFlag;for(var o=this.m_jointList;o;o=o.m_next)o.m_islandFlag=!1;parseInt(this.m_bodyCount);for(var s=this.s_stack,a=this.m_bodyList;a;a=a.m_next)if(!(a.m_flags&y.e_islandFlag)&&0!=a.IsAwake()&&0!=a.IsActive()&&a.GetType()!=y.b2_staticBody){r.Clear();var u=0;for(s[u++]=a,a.m_flags|=y.e_islandFlag;u>0;)if(e=s[--u],r.AddBody(e),0==e.IsAwake()&&e.SetAwake(!0),e.GetType()!=y.b2_staticBody){for(var c,h=e.m_contactList;h;h=h.next)h.contact.m_flags&k.e_islandFlag||1!=h.contact.IsSensor()&&0!=h.contact.IsEnabled()&&0!=h.contact.IsTouching()&&(r.AddContact(h.contact),h.contact.m_flags|=k.e_islandFlag,(c=h.other).m_flags&y.e_islandFlag||(s[u++]=c,c.m_flags|=y.e_islandFlag));for(var l=e.m_jointList;l;l=l.next)1!=l.joint.m_islandFlag&&0!=(c=l.other).IsActive()&&(r.AddJoint(l.joint),l.joint.m_islandFlag=!0,c.m_flags&y.e_islandFlag||(s[u++]=c,c.m_flags|=y.e_islandFlag))}r.Solve(t,this.m_gravity,this.m_allowSleep);for(var d=0;d<r.m_bodyCount;++d)(e=r.m_bodies[d]).GetType()==y.b2_staticBody&&(e.m_flags&=~y.e_islandFlag)}for(d=0;d<s.length&&s[d];++d)s[d]=null;for(e=this.m_bodyList;e;e=e.m_next)0!=e.IsAwake()&&0!=e.IsActive()&&e.GetType()!=y.b2_staticBody&&e.SynchronizeFixtures();this.m_contactManager.FindNewContacts()},C.prototype.SolveTOI=function(t){var e,n,r,i,o,a,u,c=this.m_island;c.Initialize(this.m_bodyCount,s.b2_maxTOIContactsPerIsland,s.b2_maxTOIJointsPerIsland,null,this.m_contactManager.m_contactListener,this.m_contactSolver);var h,l=C.s_queue;for(e=this.m_bodyList;e;e=e.m_next)e.m_flags&=~y.e_islandFlag,e.m_sweep.t0=0;for(h=this.m_contactList;h;h=h.m_next)h.m_flags&=~(k.e_toiFlag|k.e_islandFlag);for(u=this.m_jointList;u;u=u.m_next)u.m_islandFlag=!1;for(;;){var d=null,f=1;for(h=this.m_contactList;h;h=h.m_next)if(1!=h.IsSensor()&&0!=h.IsEnabled()&&0!=h.IsContinuous()){var p=1;if(h.m_flags&k.e_toiFlag)p=h.m_toi;else{if(n=h.m_fixtureA,r=h.m_fixtureB,i=n.m_body,o=r.m_body,!(i.GetType()==y.b2_dynamicBody&&0!=i.IsAwake()||o.GetType()==y.b2_dynamicBody&&0!=o.IsAwake()))continue;var _=i.m_sweep.t0;i.m_sweep.t0<o.m_sweep.t0?(_=o.m_sweep.t0,i.m_sweep.Advance(_)):o.m_sweep.t0<i.m_sweep.t0&&(_=i.m_sweep.t0,o.m_sweep.Advance(_)),p=h.ComputeTOI(i.m_sweep,o.m_sweep),s.b2Assert(0<=p&&p<=1),p>0&&p<1&&(p=(1-p)*_+p)>1&&(p=1),h.m_toi=p,h.m_flags|=k.e_toiFlag}Number.MIN_VALUE<p&&p<f&&(d=h,f=p)}if(null==d||1-100*Number.MIN_VALUE<f)break;if(n=d.m_fixtureA,r=d.m_fixtureB,i=n.m_body,o=r.m_body,C.s_backupA.Set(i.m_sweep),C.s_backupB.Set(o.m_sweep),i.Advance(f),o.Advance(f),d.Update(this.m_contactManager.m_contactListener),d.m_flags&=~k.e_toiFlag,1!=d.IsSensor()&&0!=d.IsEnabled()){if(0!=d.IsTouching()){var m=i;m.GetType()!=y.b2_dynamicBody&&(m=o),c.Clear();var v=0,b=0;for(l[v+b++]=m,m.m_flags|=y.e_islandFlag;b>0;)if(e=l[v++],--b,c.AddBody(e),0==e.IsAwake()&&e.SetAwake(!0),e.GetType()==y.b2_dynamicBody){for(a=e.m_contactList;a&&c.m_contactCount!=c.m_contactCapacity;a=a.next)if(!(a.contact.m_flags&k.e_islandFlag)&&1!=a.contact.IsSensor()&&0!=a.contact.IsEnabled()&&0!=a.contact.IsTouching()){c.AddContact(a.contact),a.contact.m_flags|=k.e_islandFlag;var g=a.other;g.m_flags&y.e_islandFlag||(g.GetType()!=y.b2_staticBody&&(g.Advance(f),g.SetAwake(!0)),l[v+b]=g,++b,g.m_flags|=y.e_islandFlag)}for(var w=e.m_jointList;w;w=w.next)c.m_jointCount!=c.m_jointCapacity&&1!=w.joint.m_islandFlag&&0!=(g=w.other).IsActive()&&(c.AddJoint(w.joint),w.joint.m_islandFlag=!0,g.m_flags&y.e_islandFlag||(g.GetType()!=y.b2_staticBody&&(g.Advance(f),g.SetAwake(!0)),l[v+b]=g,++b,g.m_flags|=y.e_islandFlag))}var x=C.s_timestep;x.warmStarting=!1,x.dt=(1-f)*t.dt,x.inv_dt=1/x.dt,x.dtRatio=0,x.velocityIterations=t.velocityIterations,x.positionIterations=t.positionIterations,c.SolveTOI(x);var M=0;for(M=0;M<c.m_bodyCount;++M)if((e=c.m_bodies[M]).m_flags&=~y.e_islandFlag,0!=e.IsAwake()&&e.GetType()==y.b2_dynamicBody)for(e.SynchronizeFixtures(),a=e.m_contactList;a;a=a.next)a.contact.m_flags&=~k.e_toiFlag;for(M=0;M<c.m_contactCount;++M)(h=c.m_contacts[M]).m_flags&=~(k.e_toiFlag|k.e_islandFlag);for(M=0;M<c.m_jointCount;++M)(u=c.m_joints[M]).m_islandFlag=!1;this.m_contactManager.FindNewContacts()}}else i.m_sweep.Set(C.s_backupA),o.m_sweep.Set(C.s_backupB),i.SynchronizeTransform(),o.SynchronizeTransform()}},C.prototype.DrawJoint=function(t){var e=t.GetBodyA(),n=t.GetBodyB(),r=e.m_xf,i=n.m_xf,o=r.position,s=i.position,a=t.GetAnchorA(),u=t.GetAnchorB(),c=C.s_jointColor;switch(t.m_type){case P.e_distanceJoint:this.m_debugDraw.DrawSegment(a,u,c);break;case P.e_pulleyJoint:var h=t instanceof R?t:null,l=h.GetGroundAnchorA(),d=h.GetGroundAnchorB();this.m_debugDraw.DrawSegment(l,a,c),this.m_debugDraw.DrawSegment(d,u,c),this.m_debugDraw.DrawSegment(l,d,c);break;case P.e_mouseJoint:this.m_debugDraw.DrawSegment(a,u,c);break;default:e!=this.m_groundBody&&this.m_debugDraw.DrawSegment(o,a,c),this.m_debugDraw.DrawSegment(a,u,c),n!=this.m_groundBody&&this.m_debugDraw.DrawSegment(s,u,c)}},C.prototype.DrawShape=function(e,n,r){switch(e.m_type){case m.e_circleShape:var i=e instanceof d?e:null,o=t.MulX(n,i.m_p),s=i.m_radius,a=n.R.col1;this.m_debugDraw.DrawSolidCircle(o,s,a,r);break;case m.e_polygonShape:var u=0,c=e instanceof _?e:null,h=parseInt(c.GetVertexCount()),l=c.GetVertices(),p=new V(h);for(u=0;u<h;++u)p[u]=t.MulX(n,l[u]);this.m_debugDraw.DrawSolidPolygon(p,h,r);break;case m.e_edgeShape:var y=e instanceof f?e:null;this.m_debugDraw.DrawSegment(t.MulX(n,y.GetVertex1()),t.MulX(n,y.GetVertex2()),r)}},r.postDefs.push((function(){r.Dynamics.b2World.s_timestep2=new D,r.Dynamics.b2World.s_xf=new n,r.Dynamics.b2World.s_backupA=new e,r.Dynamics.b2World.s_backupB=new e,r.Dynamics.b2World.s_timestep=new D,r.Dynamics.b2World.s_queue=new V,r.Dynamics.b2World.s_jointColor=new o(.5,.8,.8),r.Dynamics.b2World.e_newFixture=1,r.Dynamics.b2World.e_locked=2}))}(),function(){var t=r.Collision.Shapes.b2CircleShape,e=(r.Collision.Shapes.b2EdgeChainDef,r.Collision.Shapes.b2EdgeShape),n=(r.Collision.Shapes.b2MassData,r.Collision.Shapes.b2PolygonShape),i=r.Collision.Shapes.b2Shape,o=r.Dynamics.Contacts.b2CircleContact,s=r.Dynamics.Contacts.b2Contact,a=r.Dynamics.Contacts.b2ContactConstraint,u=r.Dynamics.Contacts.b2ContactConstraintPoint,c=r.Dynamics.Contacts.b2ContactEdge,h=r.Dynamics.Contacts.b2ContactFactory,l=r.Dynamics.Contacts.b2ContactRegister,d=r.Dynamics.Contacts.b2ContactResult,f=r.Dynamics.Contacts.b2ContactSolver,p=r.Dynamics.Contacts.b2EdgeAndCircleContact,_=r.Dynamics.Contacts.b2NullContact,m=r.Dynamics.Contacts.b2PolyAndCircleContact,y=r.Dynamics.Contacts.b2PolyAndEdgeContact,v=r.Dynamics.Contacts.b2PolygonContact,b=r.Dynamics.Contacts.b2PositionSolverManifold,g=r.Dynamics.b2Body,w=(r.Dynamics.b2BodyDef,r.Dynamics.b2ContactFilter,r.Dynamics.b2ContactImpulse,r.Dynamics.b2ContactListener,r.Dynamics.b2ContactManager,r.Dynamics.b2DebugDraw,r.Dynamics.b2DestructionListener,r.Dynamics.b2FilterData,r.Dynamics.b2Fixture,r.Dynamics.b2FixtureDef,r.Dynamics.b2Island,r.Dynamics.b2TimeStep),x=(r.Dynamics.b2World,r.Common.b2Color,r.Common.b2internal,r.Common.b2Settings),M=r.Common.Math.b2Mat22,S=(r.Common.Math.b2Mat33,r.Common.Math.b2Math),T=(r.Common.Math.b2Sweep,r.Common.Math.b2Transform,r.Common.Math.b2Vec2),A=(r.Common.Math.b2Vec3,r.Collision.b2AABB,r.Collision.b2Bound,r.Collision.b2BoundValues,r.Collision.b2Collision),E=r.Collision.b2ContactID,L=(r.Collision.b2ContactPoint,r.Collision.b2Distance,r.Collision.b2DistanceInput,r.Collision.b2DistanceOutput,r.Collision.b2DistanceProxy,r.Collision.b2DynamicTree,r.Collision.b2DynamicTreeBroadPhase,r.Collision.b2DynamicTreeNode,r.Collision.b2DynamicTreePair,r.Collision.b2Manifold),D=(r.Collision.b2ManifoldPoint,r.Collision.b2Point,r.Collision.b2RayCastInput,r.Collision.b2RayCastOutput,r.Collision.b2Segment,r.Collision.b2SeparationFunction,r.Collision.b2Simplex,r.Collision.b2SimplexCache,r.Collision.b2SimplexVertex,r.Collision.b2TimeOfImpact),C=r.Collision.b2TOIInput,k=r.Collision.b2WorldManifold;r.Collision.ClipVertex,r.Collision.Features,r.Collision.IBroadPhase;r.inherit(o,r.Dynamics.Contacts.b2Contact),o.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,o.b2CircleContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},o.Create=function(t){return new o},o.Destroy=function(t,e){},o.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e)},o.prototype.Evaluate=function(){var e=this.m_fixtureA.GetBody(),n=this.m_fixtureB.GetBody();A.CollideCircles(this.m_manifold,this.m_fixtureA.GetShape()instanceof t?this.m_fixtureA.GetShape():null,e.m_xf,this.m_fixtureB.GetShape()instanceof t?this.m_fixtureB.GetShape():null,n.m_xf)},s.b2Contact=function(){this.m_nodeA=new c,this.m_nodeB=new c,this.m_manifold=new L,this.m_oldManifold=new L},s.prototype.GetManifold=function(){return this.m_manifold},s.prototype.GetWorldManifold=function(t){var e=this.m_fixtureA.GetBody(),n=this.m_fixtureB.GetBody(),r=this.m_fixtureA.GetShape(),i=this.m_fixtureB.GetShape();t.Initialize(this.m_manifold,e.GetTransform(),r.m_radius,n.GetTransform(),i.m_radius)},s.prototype.IsTouching=function(){return(this.m_flags&s.e_touchingFlag)==s.e_touchingFlag},s.prototype.IsContinuous=function(){return(this.m_flags&s.e_continuousFlag)==s.e_continuousFlag},s.prototype.SetSensor=function(t){t?this.m_flags|=s.e_sensorFlag:this.m_flags&=~s.e_sensorFlag},s.prototype.IsSensor=function(){return(this.m_flags&s.e_sensorFlag)==s.e_sensorFlag},s.prototype.SetEnabled=function(t){t?this.m_flags|=s.e_enabledFlag:this.m_flags&=~s.e_enabledFlag},s.prototype.IsEnabled=function(){return(this.m_flags&s.e_enabledFlag)==s.e_enabledFlag},s.prototype.GetNext=function(){return this.m_next},s.prototype.GetFixtureA=function(){return this.m_fixtureA},s.prototype.GetFixtureB=function(){return this.m_fixtureB},s.prototype.FlagForFiltering=function(){this.m_flags|=s.e_filterFlag},s.prototype.b2Contact=function(){},s.prototype.Reset=function(t,e){if(void 0===t&&(t=null),void 0===e&&(e=null),this.m_flags=s.e_enabledFlag,!t||!e)return this.m_fixtureA=null,void(this.m_fixtureB=null);(t.IsSensor()||e.IsSensor())&&(this.m_flags|=s.e_sensorFlag);var n=t.GetBody(),r=e.GetBody();(n.GetType()!=g.b2_dynamicBody||n.IsBullet()||r.GetType()!=g.b2_dynamicBody||r.IsBullet())&&(this.m_flags|=s.e_continuousFlag),this.m_fixtureA=t,this.m_fixtureB=e,this.m_manifold.m_pointCount=0,this.m_prev=null,this.m_next=null,this.m_nodeA.contact=null,this.m_nodeA.prev=null,this.m_nodeA.next=null,this.m_nodeA.other=null,this.m_nodeB.contact=null,this.m_nodeB.prev=null,this.m_nodeB.next=null,this.m_nodeB.other=null},s.prototype.Update=function(t){var e=this.m_oldManifold;this.m_oldManifold=this.m_manifold,this.m_manifold=e,this.m_flags|=s.e_enabledFlag;var n=!1,r=(this.m_flags&s.e_touchingFlag)==s.e_touchingFlag,o=this.m_fixtureA.m_body,a=this.m_fixtureB.m_body,u=this.m_fixtureA.m_aabb.TestOverlap(this.m_fixtureB.m_aabb);if(this.m_flags&s.e_sensorFlag){if(u){var c=this.m_fixtureA.GetShape(),h=this.m_fixtureB.GetShape(),l=o.GetTransform(),d=a.GetTransform();n=i.TestOverlap(c,l,h,d)}this.m_manifold.m_pointCount=0}else{if(o.GetType()!=g.b2_dynamicBody||o.IsBullet()||a.GetType()!=g.b2_dynamicBody||a.IsBullet()?this.m_flags|=s.e_continuousFlag:this.m_flags&=~s.e_continuousFlag,u){this.Evaluate(),n=this.m_manifold.m_pointCount>0;for(var f=0;f<this.m_manifold.m_pointCount;++f){var p=this.m_manifold.m_points[f];p.m_normalImpulse=0,p.m_tangentImpulse=0;for(var _=p.m_id,m=0;m<this.m_oldManifold.m_pointCount;++m){var y=this.m_oldManifold.m_points[m];if(y.m_id.key==_.key){p.m_normalImpulse=y.m_normalImpulse,p.m_tangentImpulse=y.m_tangentImpulse;break}}}}else this.m_manifold.m_pointCount=0;n!=r&&(o.SetAwake(!0),a.SetAwake(!0))}n?this.m_flags|=s.e_touchingFlag:this.m_flags&=~s.e_touchingFlag,0==r&&1==n&&t.BeginContact(this),1==r&&0==n&&t.EndContact(this),0==(this.m_flags&s.e_sensorFlag)&&t.PreSolve(this,this.m_oldManifold)},s.prototype.Evaluate=function(){},s.prototype.ComputeTOI=function(t,e){return s.s_input.proxyA.Set(this.m_fixtureA.GetShape()),s.s_input.proxyB.Set(this.m_fixtureB.GetShape()),s.s_input.sweepA=t,s.s_input.sweepB=e,s.s_input.tolerance=x.b2_linearSlop,D.TimeOfImpact(s.s_input)},r.postDefs.push((function(){r.Dynamics.Contacts.b2Contact.e_sensorFlag=1,r.Dynamics.Contacts.b2Contact.e_continuousFlag=2,r.Dynamics.Contacts.b2Contact.e_islandFlag=4,r.Dynamics.Contacts.b2Contact.e_toiFlag=8,r.Dynamics.Contacts.b2Contact.e_touchingFlag=16,r.Dynamics.Contacts.b2Contact.e_enabledFlag=32,r.Dynamics.Contacts.b2Contact.e_filterFlag=64,r.Dynamics.Contacts.b2Contact.s_input=new C})),a.b2ContactConstraint=function(){this.localPlaneNormal=new T,this.localPoint=new T,this.normal=new T,this.normalMass=new M,this.K=new M},a.prototype.b2ContactConstraint=function(){this.points=new V(x.b2_maxManifoldPoints);for(var t=0;t<x.b2_maxManifoldPoints;t++)this.points[t]=new u},u.b2ContactConstraintPoint=function(){this.localPoint=new T,this.rA=new T,this.rB=new T},c.b2ContactEdge=function(){},h.b2ContactFactory=function(){},h.prototype.b2ContactFactory=function(t){this.m_allocator=t,this.InitializeRegisters()},h.prototype.AddType=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),this.m_registers[n][r].createFcn=t,this.m_registers[n][r].destroyFcn=e,this.m_registers[n][r].primary=!0,n!=r&&(this.m_registers[r][n].createFcn=t,this.m_registers[r][n].destroyFcn=e,this.m_registers[r][n].primary=!1)},h.prototype.InitializeRegisters=function(){this.m_registers=new V(i.e_shapeTypeCount);for(var t=0;t<i.e_shapeTypeCount;t++){this.m_registers[t]=new V(i.e_shapeTypeCount);for(var e=0;e<i.e_shapeTypeCount;e++)this.m_registers[t][e]=new l}this.AddType(o.Create,o.Destroy,i.e_circleShape,i.e_circleShape),this.AddType(m.Create,m.Destroy,i.e_polygonShape,i.e_circleShape),this.AddType(v.Create,v.Destroy,i.e_polygonShape,i.e_polygonShape),this.AddType(p.Create,p.Destroy,i.e_edgeShape,i.e_circleShape),this.AddType(y.Create,y.Destroy,i.e_polygonShape,i.e_edgeShape)},h.prototype.Create=function(t,e){var n,r=parseInt(t.GetType()),i=parseInt(e.GetType()),o=this.m_registers[r][i];if(o.pool)return n=o.pool,o.pool=n.m_next,o.poolCount--,n.Reset(t,e),n;var s=o.createFcn;return null!=s?o.primary?((n=s(this.m_allocator)).Reset(t,e),n):((n=s(this.m_allocator)).Reset(e,t),n):null},h.prototype.Destroy=function(t){t.m_manifold.m_pointCount>0&&(t.m_fixtureA.m_body.SetAwake(!0),t.m_fixtureB.m_body.SetAwake(!0));var e=parseInt(t.m_fixtureA.GetType()),n=parseInt(t.m_fixtureB.GetType()),r=this.m_registers[e][n];r.poolCount++,t.m_next=r.pool,r.pool=t,(0,r.destroyFcn)(t,this.m_allocator)},l.b2ContactRegister=function(){},d.b2ContactResult=function(){this.position=new T,this.normal=new T,this.id=new E},f.b2ContactSolver=function(){this.m_step=new w,this.m_constraints=new V},f.prototype.b2ContactSolver=function(){},f.prototype.Initialize=function(t,e,n,r){var i;void 0===n&&(n=0),this.m_step.Set(t),this.m_allocator=r;var o=0;for(this.m_constraintCount=n;this.m_constraints.length<this.m_constraintCount;)this.m_constraints[this.m_constraints.length]=new a;for(o=0;o<n;++o){var s=(i=e[o]).m_fixtureA,u=i.m_fixtureB,c=s.m_shape,h=u.m_shape,l=c.m_radius,d=h.m_radius,p=s.m_body,_=u.m_body,m=i.GetManifold(),y=x.b2MixFriction(s.GetFriction(),u.GetFriction()),v=x.b2MixRestitution(s.GetRestitution(),u.GetRestitution()),b=p.m_linearVelocity.x,g=p.m_linearVelocity.y,w=_.m_linearVelocity.x,M=_.m_linearVelocity.y,S=p.m_angularVelocity,T=_.m_angularVelocity;x.b2Assert(m.m_pointCount>0),f.s_worldManifold.Initialize(m,p.m_xf,l,_.m_xf,d);var A=f.s_worldManifold.m_normal.x,E=f.s_worldManifold.m_normal.y,L=this.m_constraints[o];L.bodyA=p,L.bodyB=_,L.manifold=m,L.normal.x=A,L.normal.y=E,L.pointCount=m.m_pointCount,L.friction=y,L.restitution=v,L.localPlaneNormal.x=m.m_localPlaneNormal.x,L.localPlaneNormal.y=m.m_localPlaneNormal.y,L.localPoint.x=m.m_localPoint.x,L.localPoint.y=m.m_localPoint.y,L.radius=l+d,L.type=m.m_type;for(var D=0;D<L.pointCount;++D){var C=m.m_points[D],k=L.points[D];k.normalImpulse=C.m_normalImpulse,k.tangentImpulse=C.m_tangentImpulse,k.localPoint.SetV(C.m_localPoint);var O=k.rA.x=f.s_worldManifold.m_points[D].x-p.m_sweep.c.x,I=k.rA.y=f.s_worldManifold.m_points[D].y-p.m_sweep.c.y,P=k.rB.x=f.s_worldManifold.m_points[D].x-_.m_sweep.c.x,R=k.rB.y=f.s_worldManifold.m_points[D].y-_.m_sweep.c.y,Y=O*E-I*A,B=P*E-R*A;Y*=Y,B*=B;var N=p.m_invMass+_.m_invMass+p.m_invI*Y+_.m_invI*B;k.normalMass=1/N;var j=p.m_mass*p.m_invMass+_.m_mass*_.m_invMass;j+=p.m_mass*p.m_invI*Y+_.m_mass*_.m_invI*B,k.equalizedMass=1/j;var F=-A,U=O*F-I*E,G=P*F-R*E;U*=U,G*=G;var H=p.m_invMass+_.m_invMass+p.m_invI*U+_.m_invI*G;k.tangentMass=1/H,k.velocityBias=0;var V=w+-T*R-b- -S*I,z=M+T*P-g-S*O,W=L.normal.x*V+L.normal.y*z;W<-x.b2_velocityThreshold&&(k.velocityBias+=-L.restitution*W)}if(2==L.pointCount){var X=L.points[0],J=L.points[1],K=p.m_invMass,q=p.m_invI,$=_.m_invMass,Z=_.m_invI,Q=X.rA.x*E-X.rA.y*A,tt=X.rB.x*E-X.rB.y*A,et=J.rA.x*E-J.rA.y*A,nt=J.rB.x*E-J.rB.y*A,rt=K+$+q*Q*Q+Z*tt*tt,it=K+$+q*et*et+Z*nt*nt,ot=K+$+q*Q*et+Z*tt*nt;rt*rt<100*(rt*it-ot*ot)?(L.K.col1.Set(rt,ot),L.K.col2.Set(ot,it),L.K.GetInverse(L.normalMass)):L.pointCount=1}}},f.prototype.InitVelocityConstraints=function(t){for(var e=0;e<this.m_constraintCount;++e){var n=this.m_constraints[e],r=n.bodyA,i=n.bodyB,o=r.m_invMass,s=r.m_invI,a=i.m_invMass,u=i.m_invI,c=n.normal.x,h=n.normal.y,l=h,d=-c,f=0,p=0;if(t.warmStarting)for(p=n.pointCount,f=0;f<p;++f){var _=n.points[f];_.normalImpulse*=t.dtRatio,_.tangentImpulse*=t.dtRatio;var m=_.normalImpulse*c+_.tangentImpulse*l,y=_.normalImpulse*h+_.tangentImpulse*d;r.m_angularVelocity-=s*(_.rA.x*y-_.rA.y*m),r.m_linearVelocity.x-=o*m,r.m_linearVelocity.y-=o*y,i.m_angularVelocity+=u*(_.rB.x*y-_.rB.y*m),i.m_linearVelocity.x+=a*m,i.m_linearVelocity.y+=a*y}else for(p=n.pointCount,f=0;f<p;++f){var v=n.points[f];v.normalImpulse=0,v.tangentImpulse=0}}},f.prototype.SolveVelocityConstraints=function(){for(var t,e,n=0,r=0,i=0,o=0,s=0,a=0,u=0,c=0,h=0,l=0,d=0,f=0,p=0,_=0,m=0;m<this.m_constraintCount;++m){var y=this.m_constraints[m],v=y.bodyA,b=y.bodyB,g=v.m_angularVelocity,w=b.m_angularVelocity,x=v.m_linearVelocity,M=b.m_linearVelocity,T=v.m_invMass,A=v.m_invI,E=b.m_invMass,L=b.m_invI,D=y.normal.x,C=y.normal.y,k=C,O=-D,I=y.friction;for(n=0;n<y.pointCount;n++)t=y.points[n],i=(M.x-w*t.rB.y-x.x+g*t.rA.y)*k+(M.y+w*t.rB.x-x.y-g*t.rA.x)*O,o=t.tangentMass*-i,s=I*t.normalImpulse,u=(o=(a=S.Clamp(t.tangentImpulse+o,-s,s))-t.tangentImpulse)*k,c=o*O,x.x-=T*u,x.y-=T*c,g-=A*(t.rA.x*c-t.rA.y*u),M.x+=E*u,M.y+=E*c,w+=L*(t.rB.x*c-t.rB.y*u),t.tangentImpulse=a;parseInt(y.pointCount);if(1==y.pointCount)t=y.points[0],r=(M.x+-w*t.rB.y-x.x- -g*t.rA.y)*D+(M.y+w*t.rB.x-x.y-g*t.rA.x)*C,o=-t.normalMass*(r-t.velocityBias),u=(o=(a=(a=t.normalImpulse+o)>0?a:0)-t.normalImpulse)*D,c=o*C,x.x-=T*u,x.y-=T*c,g-=A*(t.rA.x*c-t.rA.y*u),M.x+=E*u,M.y+=E*c,w+=L*(t.rB.x*c-t.rB.y*u),t.normalImpulse=a;else{var P=y.points[0],R=y.points[1],Y=P.normalImpulse,B=R.normalImpulse,N=(M.x-w*P.rB.y-x.x+g*P.rA.y)*D+(M.y+w*P.rB.x-x.y-g*P.rA.x)*C,j=(M.x-w*R.rB.y-x.x+g*R.rA.y)*D+(M.y+w*R.rB.x-x.y-g*R.rA.x)*C,F=N-P.velocityBias,U=j-R.velocityBias;F-=(e=y.K).col1.x*Y+e.col2.x*B,U-=e.col1.y*Y+e.col2.y*B;for(;;){var G=-((e=y.normalMass).col1.x*F+e.col2.x*U),H=-(e.col1.y*F+e.col2.y*U);if(G>=0&&H>=0){d=(h=G-Y)*D,f=h*C,p=(l=H-B)*D,_=l*C,x.x-=T*(d+p),x.y-=T*(f+_),g-=A*(P.rA.x*f-P.rA.y*d+R.rA.x*_-R.rA.y*p),M.x+=E*(d+p),M.y+=E*(f+_),w+=L*(P.rB.x*f-P.rB.y*d+R.rB.x*_-R.rB.y*p),P.normalImpulse=G,R.normalImpulse=H;break}if(G=-P.normalMass*F,H=0,N=0,j=y.K.col1.y*G+U,G>=0&&j>=0){d=(h=G-Y)*D,f=h*C,p=(l=H-B)*D,_=l*C,x.x-=T*(d+p),x.y-=T*(f+_),g-=A*(P.rA.x*f-P.rA.y*d+R.rA.x*_-R.rA.y*p),M.x+=E*(d+p),M.y+=E*(f+_),w+=L*(P.rB.x*f-P.rB.y*d+R.rB.x*_-R.rB.y*p),P.normalImpulse=G,R.normalImpulse=H;break}if(G=0,H=-R.normalMass*U,N=y.K.col2.x*H+F,j=0,H>=0&&N>=0){d=(h=G-Y)*D,f=h*C,p=(l=H-B)*D,_=l*C,x.x-=T*(d+p),x.y-=T*(f+_),g-=A*(P.rA.x*f-P.rA.y*d+R.rA.x*_-R.rA.y*p),M.x+=E*(d+p),M.y+=E*(f+_),w+=L*(P.rB.x*f-P.rB.y*d+R.rB.x*_-R.rB.y*p),P.normalImpulse=G,R.normalImpulse=H;break}if(G=0,H=0,j=U,(N=F)>=0&&j>=0){d=(h=G-Y)*D,f=h*C,p=(l=H-B)*D,_=l*C,x.x-=T*(d+p),x.y-=T*(f+_),g-=A*(P.rA.x*f-P.rA.y*d+R.rA.x*_-R.rA.y*p),M.x+=E*(d+p),M.y+=E*(f+_),w+=L*(P.rB.x*f-P.rB.y*d+R.rB.x*_-R.rB.y*p),P.normalImpulse=G,R.normalImpulse=H;break}break}}v.m_angularVelocity=g,b.m_angularVelocity=w}},f.prototype.FinalizeVelocityConstraints=function(){for(var t=0;t<this.m_constraintCount;++t)for(var e=this.m_constraints[t],n=e.manifold,r=0;r<e.pointCount;++r){var i=n.m_points[r],o=e.points[r];i.m_normalImpulse=o.normalImpulse,i.m_tangentImpulse=o.tangentImpulse}},f.prototype.SolvePositionConstraints=function(t){void 0===t&&(t=0);for(var e=0,n=0;n<this.m_constraintCount;n++){var r=this.m_constraints[n],i=r.bodyA,o=r.bodyB,s=i.m_mass*i.m_invMass,a=i.m_mass*i.m_invI,u=o.m_mass*o.m_invMass,c=o.m_mass*o.m_invI;f.s_psm.Initialize(r);for(var h=f.s_psm.m_normal,l=0;l<r.pointCount;l++){var d=r.points[l],p=f.s_psm.m_points[l],_=f.s_psm.m_separations[l],m=p.x-i.m_sweep.c.x,y=p.y-i.m_sweep.c.y,v=p.x-o.m_sweep.c.x,b=p.y-o.m_sweep.c.y;e=e<_?e:_;var g=S.Clamp(t*(_+x.b2_linearSlop),-x.b2_maxLinearCorrection,0),w=-d.equalizedMass*g,M=w*h.x,T=w*h.y;i.m_sweep.c.x-=s*M,i.m_sweep.c.y-=s*T,i.m_sweep.a-=a*(m*T-y*M),i.SynchronizeTransform(),o.m_sweep.c.x+=u*M,o.m_sweep.c.y+=u*T,o.m_sweep.a+=c*(v*T-b*M),o.SynchronizeTransform()}}return e>-1.5*x.b2_linearSlop},r.postDefs.push((function(){r.Dynamics.Contacts.b2ContactSolver.s_worldManifold=new k,r.Dynamics.Contacts.b2ContactSolver.s_psm=new b})),r.inherit(p,r.Dynamics.Contacts.b2Contact),p.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,p.b2EdgeAndCircleContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},p.Create=function(t){return new p},p.Destroy=function(t,e){},p.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e)},p.prototype.Evaluate=function(){var n=this.m_fixtureA.GetBody(),r=this.m_fixtureB.GetBody();this.b2CollideEdgeAndCircle(this.m_manifold,this.m_fixtureA.GetShape()instanceof e?this.m_fixtureA.GetShape():null,n.m_xf,this.m_fixtureB.GetShape()instanceof t?this.m_fixtureB.GetShape():null,r.m_xf)},p.prototype.b2CollideEdgeAndCircle=function(t,e,n,r,i){},r.inherit(_,r.Dynamics.Contacts.b2Contact),_.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,_.b2NullContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},_.prototype.b2NullContact=function(){this.__super.b2Contact.call(this)},_.prototype.Evaluate=function(){},r.inherit(m,r.Dynamics.Contacts.b2Contact),m.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,m.b2PolyAndCircleContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},m.Create=function(t){return new m},m.Destroy=function(t,e){},m.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e),x.b2Assert(t.GetType()==i.e_polygonShape),x.b2Assert(e.GetType()==i.e_circleShape)},m.prototype.Evaluate=function(){var e=this.m_fixtureA.m_body,r=this.m_fixtureB.m_body;A.CollidePolygonAndCircle(this.m_manifold,this.m_fixtureA.GetShape()instanceof n?this.m_fixtureA.GetShape():null,e.m_xf,this.m_fixtureB.GetShape()instanceof t?this.m_fixtureB.GetShape():null,r.m_xf)},r.inherit(y,r.Dynamics.Contacts.b2Contact),y.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,y.b2PolyAndEdgeContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},y.Create=function(t){return new y},y.Destroy=function(t,e){},y.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e),x.b2Assert(t.GetType()==i.e_polygonShape),x.b2Assert(e.GetType()==i.e_edgeShape)},y.prototype.Evaluate=function(){var t=this.m_fixtureA.GetBody(),r=this.m_fixtureB.GetBody();this.b2CollidePolyAndEdge(this.m_manifold,this.m_fixtureA.GetShape()instanceof n?this.m_fixtureA.GetShape():null,t.m_xf,this.m_fixtureB.GetShape()instanceof e?this.m_fixtureB.GetShape():null,r.m_xf)},y.prototype.b2CollidePolyAndEdge=function(t,e,n,r,i){},r.inherit(v,r.Dynamics.Contacts.b2Contact),v.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,v.b2PolygonContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},v.Create=function(t){return new v},v.Destroy=function(t,e){},v.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e)},v.prototype.Evaluate=function(){var t=this.m_fixtureA.GetBody(),e=this.m_fixtureB.GetBody();A.CollidePolygons(this.m_manifold,this.m_fixtureA.GetShape()instanceof n?this.m_fixtureA.GetShape():null,t.m_xf,this.m_fixtureB.GetShape()instanceof n?this.m_fixtureB.GetShape():null,e.m_xf)},b.b2PositionSolverManifold=function(){},b.prototype.b2PositionSolverManifold=function(){this.m_normal=new T,this.m_separations=new z(x.b2_maxManifoldPoints),this.m_points=new V(x.b2_maxManifoldPoints);for(var t=0;t<x.b2_maxManifoldPoints;t++)this.m_points[t]=new T},b.prototype.Initialize=function(t){x.b2Assert(t.pointCount>0);var e,n,r=0,i=0,o=0,s=0,a=0;switch(t.type){case L.e_circles:e=t.bodyA.m_xf.R,n=t.localPoint;var u=t.bodyA.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),c=t.bodyA.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y);e=t.bodyB.m_xf.R,n=t.points[0].localPoint;var h=t.bodyB.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),l=t.bodyB.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y),d=h-u,f=l-c,p=d*d+f*f;if(p>Number.MIN_VALUE*Number.MIN_VALUE){var _=Math.sqrt(p);this.m_normal.x=d/_,this.m_normal.y=f/_}else this.m_normal.x=1,this.m_normal.y=0;this.m_points[0].x=.5*(u+h),this.m_points[0].y=.5*(c+l),this.m_separations[0]=d*this.m_normal.x+f*this.m_normal.y-t.radius;break;case L.e_faceA:for(e=t.bodyA.m_xf.R,n=t.localPlaneNormal,this.m_normal.x=e.col1.x*n.x+e.col2.x*n.y,this.m_normal.y=e.col1.y*n.x+e.col2.y*n.y,e=t.bodyA.m_xf.R,n=t.localPoint,s=t.bodyA.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),a=t.bodyA.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y),e=t.bodyB.m_xf.R,r=0;r<t.pointCount;++r)n=t.points[r].localPoint,i=t.bodyB.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),o=t.bodyB.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y),this.m_separations[r]=(i-s)*this.m_normal.x+(o-a)*this.m_normal.y-t.radius,this.m_points[r].x=i,this.m_points[r].y=o;break;case L.e_faceB:for(e=t.bodyB.m_xf.R,n=t.localPlaneNormal,this.m_normal.x=e.col1.x*n.x+e.col2.x*n.y,this.m_normal.y=e.col1.y*n.x+e.col2.y*n.y,e=t.bodyB.m_xf.R,n=t.localPoint,s=t.bodyB.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),a=t.bodyB.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y),e=t.bodyA.m_xf.R,r=0;r<t.pointCount;++r)n=t.points[r].localPoint,i=t.bodyA.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),o=t.bodyA.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y),this.m_separations[r]=(i-s)*this.m_normal.x+(o-a)*this.m_normal.y-t.radius,this.m_points[r].Set(i,o);this.m_normal.x*=-1,this.m_normal.y*=-1}},r.postDefs.push((function(){r.Dynamics.Contacts.b2PositionSolverManifold.circlePointA=new T,r.Dynamics.Contacts.b2PositionSolverManifold.circlePointB=new T}))}(),function(){r.Dynamics.b2Body,r.Dynamics.b2BodyDef,r.Dynamics.b2ContactFilter,r.Dynamics.b2ContactImpulse,r.Dynamics.b2ContactListener,r.Dynamics.b2ContactManager,r.Dynamics.b2DebugDraw,r.Dynamics.b2DestructionListener,r.Dynamics.b2FilterData,r.Dynamics.b2Fixture,r.Dynamics.b2FixtureDef,r.Dynamics.b2Island,r.Dynamics.b2TimeStep,r.Dynamics.b2World;var t=r.Common.Math.b2Mat22,e=(r.Common.Math.b2Mat33,r.Common.Math.b2Math),n=(r.Common.Math.b2Sweep,r.Common.Math.b2Transform,r.Common.Math.b2Vec2),i=(r.Common.Math.b2Vec3,r.Common.b2Color),o=(r.Common.b2internal,r.Common.b2Settings,r.Collision.Shapes.b2CircleShape,r.Collision.Shapes.b2EdgeChainDef,r.Collision.Shapes.b2EdgeShape,r.Collision.Shapes.b2MassData,r.Collision.Shapes.b2PolygonShape,r.Collision.Shapes.b2Shape,r.Dynamics.Controllers.b2BuoyancyController),s=r.Dynamics.Controllers.b2ConstantAccelController,a=r.Dynamics.Controllers.b2ConstantForceController,u=r.Dynamics.Controllers.b2Controller,c=r.Dynamics.Controllers.b2ControllerEdge,h=r.Dynamics.Controllers.b2GravityController,l=r.Dynamics.Controllers.b2TensorDampingController;r.inherit(o,r.Dynamics.Controllers.b2Controller),o.prototype.__super=r.Dynamics.Controllers.b2Controller.prototype,o.b2BuoyancyController=function(){r.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments),this.normal=new n(0,-1),this.offset=0,this.density=0,this.velocity=new n(0,0),this.linearDrag=2,this.angularDrag=1,this.useDensity=!1,this.useWorldGravity=!0,this.gravity=null},o.prototype.Step=function(t){if(this.m_bodyList){this.useWorldGravity&&(this.gravity=this.GetWorld().GetGravity().Copy());for(var e=this.m_bodyList;e;e=e.nextBody){var r=e.body;if(0!=r.IsAwake()){for(var i=new n,o=new n,s=0,a=0,u=r.GetFixtureList();u;u=u.GetNext()){var c=new n,h=u.GetShape().ComputeSubmergedArea(this.normal,this.offset,r.GetTransform(),c);s+=h,i.x+=h*c.x,i.y+=h*c.y;var l=0;a+=h*(l=(this.useDensity,1)),o.x+=h*c.x*l,o.y+=h*c.y*l}if(i.x/=s,i.y/=s,o.x/=a,o.y/=a,!(s<Number.MIN_VALUE)){var d=this.gravity.GetNegative();d.Multiply(this.density*s),r.ApplyForce(d,o);var f=r.GetLinearVelocityFromWorldPoint(i);f.Subtract(this.velocity),f.Multiply(-this.linearDrag*s),r.ApplyForce(f,i),r.ApplyTorque(-r.GetInertia()/r.GetMass()*s*r.GetAngularVelocity()*this.angularDrag)}}}}},o.prototype.Draw=function(t){var e=1e3,r=new n,o=new n;r.x=this.normal.x*this.offset+this.normal.y*e,r.y=this.normal.y*this.offset-this.normal.x*e,o.x=this.normal.x*this.offset-this.normal.y*e,o.y=this.normal.y*this.offset+this.normal.x*e;var s=new i(0,0,1);t.DrawSegment(r,o,s)},r.inherit(s,r.Dynamics.Controllers.b2Controller),s.prototype.__super=r.Dynamics.Controllers.b2Controller.prototype,s.b2ConstantAccelController=function(){r.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments),this.A=new n(0,0)},s.prototype.Step=function(t){for(var e=new n(this.A.x*t.dt,this.A.y*t.dt),r=this.m_bodyList;r;r=r.nextBody){var i=r.body;i.IsAwake()&&i.SetLinearVelocity(new n(i.GetLinearVelocity().x+e.x,i.GetLinearVelocity().y+e.y))}},r.inherit(a,r.Dynamics.Controllers.b2Controller),a.prototype.__super=r.Dynamics.Controllers.b2Controller.prototype,a.b2ConstantForceController=function(){r.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments),this.F=new n(0,0)},a.prototype.Step=function(t){for(var e=this.m_bodyList;e;e=e.nextBody){var n=e.body;n.IsAwake()&&n.ApplyForce(this.F,n.GetWorldCenter())}},u.b2Controller=function(){},u.prototype.Step=function(t){},u.prototype.Draw=function(t){},u.prototype.AddBody=function(t){var e=new c;e.controller=this,e.body=t,e.nextBody=this.m_bodyList,e.prevBody=null,this.m_bodyList=e,e.nextBody&&(e.nextBody.prevBody=e),this.m_bodyCount++,e.nextController=t.m_controllerList,e.prevController=null,t.m_controllerList=e,e.nextController&&(e.nextController.prevController=e),t.m_controllerCount++},u.prototype.RemoveBody=function(t){for(var e=t.m_controllerList;e&&e.controller!=this;)e=e.nextController;e.prevBody&&(e.prevBody.nextBody=e.nextBody),e.nextBody&&(e.nextBody.prevBody=e.prevBody),e.nextController&&(e.nextController.prevController=e.prevController),e.prevController&&(e.prevController.nextController=e.nextController),this.m_bodyList==e&&(this.m_bodyList=e.nextBody),t.m_controllerList==e&&(t.m_controllerList=e.nextController),t.m_controllerCount--,this.m_bodyCount--},u.prototype.Clear=function(){for(;this.m_bodyList;)this.RemoveBody(this.m_bodyList.body)},u.prototype.GetNext=function(){return this.m_next},u.prototype.GetWorld=function(){return this.m_world},u.prototype.GetBodyList=function(){return this.m_bodyList},c.b2ControllerEdge=function(){},r.inherit(h,r.Dynamics.Controllers.b2Controller),h.prototype.__super=r.Dynamics.Controllers.b2Controller.prototype,h.b2GravityController=function(){r.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments),this.G=1,this.invSqr=!0},h.prototype.Step=function(t){var e=null,r=null,i=null,o=0,s=null,a=null,u=null,c=0,h=0,l=0,d=null;if(this.invSqr)for(e=this.m_bodyList;e;e=e.nextBody)for(i=(r=e.body).GetWorldCenter(),o=r.GetMass(),s=this.m_bodyList;s!=e;s=s.nextBody)(l=(c=(u=(a=s.body).GetWorldCenter()).x-i.x)*c+(h=u.y-i.y)*h)<Number.MIN_VALUE||((d=new n(c,h)).Multiply(this.G/l/Math.sqrt(l)*o*a.GetMass()),r.IsAwake()&&r.ApplyForce(d,i),d.Multiply(-1),a.IsAwake()&&a.ApplyForce(d,u));else for(e=this.m_bodyList;e;e=e.nextBody)for(i=(r=e.body).GetWorldCenter(),o=r.GetMass(),s=this.m_bodyList;s!=e;s=s.nextBody)(l=(c=(u=(a=s.body).GetWorldCenter()).x-i.x)*c+(h=u.y-i.y)*h)<Number.MIN_VALUE||((d=new n(c,h)).Multiply(this.G/l*o*a.GetMass()),r.IsAwake()&&r.ApplyForce(d,i),d.Multiply(-1),a.IsAwake()&&a.ApplyForce(d,u))},r.inherit(l,r.Dynamics.Controllers.b2Controller),l.prototype.__super=r.Dynamics.Controllers.b2Controller.prototype,l.b2TensorDampingController=function(){r.Dynamics.Controllers.b2Controller.b2Controller.apply(this,arguments),this.T=new t,this.maxTimestep=0},l.prototype.SetAxisAligned=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.T.col1.x=-t,this.T.col1.y=0,this.T.col2.x=0,this.T.col2.y=-e,this.maxTimestep=t>0||e>0?1/Math.max(t,e):0},l.prototype.Step=function(t){var r=t.dt;if(!(r<=Number.MIN_VALUE)){r>this.maxTimestep&&this.maxTimestep>0&&(r=this.maxTimestep);for(var i=this.m_bodyList;i;i=i.nextBody){var o=i.body;if(o.IsAwake()){var s=o.GetWorldVector(e.MulMV(this.T,o.GetLocalVector(o.GetLinearVelocity())));o.SetLinearVelocity(new n(o.GetLinearVelocity().x+s.x*r,o.GetLinearVelocity().y+s.y*r))}}}}}(),function(){r.Common.b2Color,r.Common.b2internal;var t=r.Common.b2Settings,e=r.Common.Math.b2Mat22,n=r.Common.Math.b2Mat33,i=r.Common.Math.b2Math,o=(r.Common.Math.b2Sweep,r.Common.Math.b2Transform,r.Common.Math.b2Vec2),s=r.Common.Math.b2Vec3,a=r.Dynamics.Joints.b2DistanceJoint,u=r.Dynamics.Joints.b2DistanceJointDef,c=r.Dynamics.Joints.b2FrictionJoint,h=r.Dynamics.Joints.b2FrictionJointDef,l=r.Dynamics.Joints.b2GearJoint,d=r.Dynamics.Joints.b2GearJointDef,f=r.Dynamics.Joints.b2Jacobian,p=r.Dynamics.Joints.b2Joint,_=r.Dynamics.Joints.b2JointDef,m=r.Dynamics.Joints.b2JointEdge,y=r.Dynamics.Joints.b2LineJoint,v=r.Dynamics.Joints.b2LineJointDef,b=r.Dynamics.Joints.b2MouseJoint,g=r.Dynamics.Joints.b2MouseJointDef,w=r.Dynamics.Joints.b2PrismaticJoint,x=r.Dynamics.Joints.b2PrismaticJointDef,M=r.Dynamics.Joints.b2PulleyJoint,S=r.Dynamics.Joints.b2PulleyJointDef,T=r.Dynamics.Joints.b2RevoluteJoint,A=r.Dynamics.Joints.b2RevoluteJointDef,E=r.Dynamics.Joints.b2WeldJoint,L=r.Dynamics.Joints.b2WeldJointDef;r.Dynamics.b2Body,r.Dynamics.b2BodyDef,r.Dynamics.b2ContactFilter,r.Dynamics.b2ContactImpulse,r.Dynamics.b2ContactListener,r.Dynamics.b2ContactManager,r.Dynamics.b2DebugDraw,r.Dynamics.b2DestructionListener,r.Dynamics.b2FilterData,r.Dynamics.b2Fixture,r.Dynamics.b2FixtureDef,r.Dynamics.b2Island,r.Dynamics.b2TimeStep,r.Dynamics.b2World;r.inherit(a,r.Dynamics.Joints.b2Joint),a.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,a.b2DistanceJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_u=new o},a.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},a.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},a.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse*this.m_u.x,t*this.m_impulse*this.m_u.y)},a.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),0},a.prototype.GetLength=function(){return this.m_length},a.prototype.SetLength=function(t){void 0===t&&(t=0),this.m_length=t},a.prototype.GetFrequency=function(){return this.m_frequencyHz},a.prototype.SetFrequency=function(t){void 0===t&&(t=0),this.m_frequencyHz=t},a.prototype.GetDampingRatio=function(){return this.m_dampingRatio},a.prototype.SetDampingRatio=function(t){void 0===t&&(t=0),this.m_dampingRatio=t},a.prototype.b2DistanceJoint=function(t){this.__super.b2Joint.call(this,t);this.m_localAnchor1.SetV(t.localAnchorA),this.m_localAnchor2.SetV(t.localAnchorB),this.m_length=t.length,this.m_frequencyHz=t.frequencyHz,this.m_dampingRatio=t.dampingRatio,this.m_impulse=0,this.m_gamma=0,this.m_bias=0},a.prototype.InitVelocityConstraints=function(e){var n,r=0,i=this.m_bodyA,o=this.m_bodyB;n=i.m_xf.R;var s=this.m_localAnchor1.x-i.m_sweep.localCenter.x,a=this.m_localAnchor1.y-i.m_sweep.localCenter.y;r=n.col1.x*s+n.col2.x*a,a=n.col1.y*s+n.col2.y*a,s=r,n=o.m_xf.R;var u=this.m_localAnchor2.x-o.m_sweep.localCenter.x,c=this.m_localAnchor2.y-o.m_sweep.localCenter.y;r=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=r,this.m_u.x=o.m_sweep.c.x+u-i.m_sweep.c.x-s,this.m_u.y=o.m_sweep.c.y+c-i.m_sweep.c.y-a;var h=Math.sqrt(this.m_u.x*this.m_u.x+this.m_u.y*this.m_u.y);h>t.b2_linearSlop?this.m_u.Multiply(1/h):this.m_u.SetZero();var l=s*this.m_u.y-a*this.m_u.x,d=u*this.m_u.y-c*this.m_u.x,f=i.m_invMass+i.m_invI*l*l+o.m_invMass+o.m_invI*d*d;if(this.m_mass=0!=f?1/f:0,this.m_frequencyHz>0){var p=h-this.m_length,_=2*Math.PI*this.m_frequencyHz,m=2*this.m_mass*this.m_dampingRatio*_,y=this.m_mass*_*_;this.m_gamma=e.dt*(m+e.dt*y),this.m_gamma=0!=this.m_gamma?1/this.m_gamma:0,this.m_bias=p*e.dt*y*this.m_gamma,this.m_mass=f+this.m_gamma,this.m_mass=0!=this.m_mass?1/this.m_mass:0}if(e.warmStarting){this.m_impulse*=e.dtRatio;var v=this.m_impulse*this.m_u.x,b=this.m_impulse*this.m_u.y;i.m_linearVelocity.x-=i.m_invMass*v,i.m_linearVelocity.y-=i.m_invMass*b,i.m_angularVelocity-=i.m_invI*(s*b-a*v),o.m_linearVelocity.x+=o.m_invMass*v,o.m_linearVelocity.y+=o.m_invMass*b,o.m_angularVelocity+=o.m_invI*(u*b-c*v)}else this.m_impulse=0},a.prototype.SolveVelocityConstraints=function(t){var e,n=this.m_bodyA,r=this.m_bodyB;e=n.m_xf.R;var i=this.m_localAnchor1.x-n.m_sweep.localCenter.x,o=this.m_localAnchor1.y-n.m_sweep.localCenter.y,s=e.col1.x*i+e.col2.x*o;o=e.col1.y*i+e.col2.y*o,i=s,e=r.m_xf.R;var a=this.m_localAnchor2.x-r.m_sweep.localCenter.x,u=this.m_localAnchor2.y-r.m_sweep.localCenter.y;s=e.col1.x*a+e.col2.x*u,u=e.col1.y*a+e.col2.y*u,a=s;var c=n.m_linearVelocity.x+-n.m_angularVelocity*o,h=n.m_linearVelocity.y+n.m_angularVelocity*i,l=r.m_linearVelocity.x+-r.m_angularVelocity*u,d=r.m_linearVelocity.y+r.m_angularVelocity*a,f=this.m_u.x*(l-c)+this.m_u.y*(d-h),p=-this.m_mass*(f+this.m_bias+this.m_gamma*this.m_impulse);this.m_impulse+=p;var _=p*this.m_u.x,m=p*this.m_u.y;n.m_linearVelocity.x-=n.m_invMass*_,n.m_linearVelocity.y-=n.m_invMass*m,n.m_angularVelocity-=n.m_invI*(i*m-o*_),r.m_linearVelocity.x+=r.m_invMass*_,r.m_linearVelocity.y+=r.m_invMass*m,r.m_angularVelocity+=r.m_invI*(a*m-u*_)},a.prototype.SolvePositionConstraints=function(e){var n;if(void 0===e&&(e=0),this.m_frequencyHz>0)return!0;var r=this.m_bodyA,o=this.m_bodyB;n=r.m_xf.R;var s=this.m_localAnchor1.x-r.m_sweep.localCenter.x,a=this.m_localAnchor1.y-r.m_sweep.localCenter.y,u=n.col1.x*s+n.col2.x*a;a=n.col1.y*s+n.col2.y*a,s=u,n=o.m_xf.R;var c=this.m_localAnchor2.x-o.m_sweep.localCenter.x,h=this.m_localAnchor2.y-o.m_sweep.localCenter.y;u=n.col1.x*c+n.col2.x*h,h=n.col1.y*c+n.col2.y*h,c=u;var l=o.m_sweep.c.x+c-r.m_sweep.c.x-s,d=o.m_sweep.c.y+h-r.m_sweep.c.y-a,f=Math.sqrt(l*l+d*d);l/=f,d/=f;var p=f-this.m_length;p=i.Clamp(p,-t.b2_maxLinearCorrection,t.b2_maxLinearCorrection);var _=-this.m_mass*p;this.m_u.Set(l,d);var m=_*this.m_u.x,y=_*this.m_u.y;return r.m_sweep.c.x-=r.m_invMass*m,r.m_sweep.c.y-=r.m_invMass*y,r.m_sweep.a-=r.m_invI*(s*y-a*m),o.m_sweep.c.x+=o.m_invMass*m,o.m_sweep.c.y+=o.m_invMass*y,o.m_sweep.a+=o.m_invI*(c*y-h*m),r.SynchronizeTransform(),o.SynchronizeTransform(),i.Abs(p)<t.b2_linearSlop},r.inherit(u,r.Dynamics.Joints.b2JointDef),u.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,u.b2DistanceJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o},u.prototype.b2DistanceJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_distanceJoint,this.length=1,this.frequencyHz=0,this.dampingRatio=0},u.prototype.Initialize=function(t,e,n,r){this.bodyA=t,this.bodyB=e,this.localAnchorA.SetV(this.bodyA.GetLocalPoint(n)),this.localAnchorB.SetV(this.bodyB.GetLocalPoint(r));var i=r.x-n.x,o=r.y-n.y;this.length=Math.sqrt(i*i+o*o),this.frequencyHz=0,this.dampingRatio=0},r.inherit(c,r.Dynamics.Joints.b2Joint),c.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,c.b2FrictionJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_localAnchorA=new o,this.m_localAnchorB=new o,this.m_linearMass=new e,this.m_linearImpulse=new o},c.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA)},c.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB)},c.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_linearImpulse.x,t*this.m_linearImpulse.y)},c.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),t*this.m_angularImpulse},c.prototype.SetMaxForce=function(t){void 0===t&&(t=0),this.m_maxForce=t},c.prototype.GetMaxForce=function(){return this.m_maxForce},c.prototype.SetMaxTorque=function(t){void 0===t&&(t=0),this.m_maxTorque=t},c.prototype.GetMaxTorque=function(){return this.m_maxTorque},c.prototype.b2FrictionJoint=function(t){this.__super.b2Joint.call(this,t),this.m_localAnchorA.SetV(t.localAnchorA),this.m_localAnchorB.SetV(t.localAnchorB),this.m_linearMass.SetZero(),this.m_angularMass=0,this.m_linearImpulse.SetZero(),this.m_angularImpulse=0,this.m_maxForce=t.maxForce,this.m_maxTorque=t.maxTorque},c.prototype.InitVelocityConstraints=function(t){var n,r=0,i=this.m_bodyA,o=this.m_bodyB;n=i.m_xf.R;var s=this.m_localAnchorA.x-i.m_sweep.localCenter.x,a=this.m_localAnchorA.y-i.m_sweep.localCenter.y;r=n.col1.x*s+n.col2.x*a,a=n.col1.y*s+n.col2.y*a,s=r,n=o.m_xf.R;var u=this.m_localAnchorB.x-o.m_sweep.localCenter.x,c=this.m_localAnchorB.y-o.m_sweep.localCenter.y;r=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=r;var h=i.m_invMass,l=o.m_invMass,d=i.m_invI,f=o.m_invI,p=new e;if(p.col1.x=h+l,p.col2.x=0,p.col1.y=0,p.col2.y=h+l,p.col1.x+=d*a*a,p.col2.x+=-d*s*a,p.col1.y+=-d*s*a,p.col2.y+=d*s*s,p.col1.x+=f*c*c,p.col2.x+=-f*u*c,p.col1.y+=-f*u*c,p.col2.y+=f*u*u,p.GetInverse(this.m_linearMass),this.m_angularMass=d+f,this.m_angularMass>0&&(this.m_angularMass=1/this.m_angularMass),t.warmStarting){this.m_linearImpulse.x*=t.dtRatio,this.m_linearImpulse.y*=t.dtRatio,this.m_angularImpulse*=t.dtRatio;var _=this.m_linearImpulse;i.m_linearVelocity.x-=h*_.x,i.m_linearVelocity.y-=h*_.y,i.m_angularVelocity-=d*(s*_.y-a*_.x+this.m_angularImpulse),o.m_linearVelocity.x+=l*_.x,o.m_linearVelocity.y+=l*_.y,o.m_angularVelocity+=f*(u*_.y-c*_.x+this.m_angularImpulse)}else this.m_linearImpulse.SetZero(),this.m_angularImpulse=0},c.prototype.SolveVelocityConstraints=function(t){var e,n=0,r=this.m_bodyA,s=this.m_bodyB,a=r.m_linearVelocity,u=r.m_angularVelocity,c=s.m_linearVelocity,h=s.m_angularVelocity,l=r.m_invMass,d=s.m_invMass,f=r.m_invI,p=s.m_invI;e=r.m_xf.R;var _=this.m_localAnchorA.x-r.m_sweep.localCenter.x,m=this.m_localAnchorA.y-r.m_sweep.localCenter.y;n=e.col1.x*_+e.col2.x*m,m=e.col1.y*_+e.col2.y*m,_=n,e=s.m_xf.R;var y=this.m_localAnchorB.x-s.m_sweep.localCenter.x,v=this.m_localAnchorB.y-s.m_sweep.localCenter.y;n=e.col1.x*y+e.col2.x*v,v=e.col1.y*y+e.col2.y*v,y=n;var b=0,g=h-u,w=-this.m_angularMass*g,x=this.m_angularImpulse;b=t.dt*this.m_maxTorque,this.m_angularImpulse=i.Clamp(this.m_angularImpulse+w,-b,b),u-=f*(w=this.m_angularImpulse-x),h+=p*w;var M=c.x-h*v-a.x+u*m,S=c.y+h*y-a.y-u*_,T=i.MulMV(this.m_linearMass,new o(-M,-S)),A=this.m_linearImpulse.Copy();this.m_linearImpulse.Add(T),b=t.dt*this.m_maxForce,this.m_linearImpulse.LengthSquared()>b*b&&(this.m_linearImpulse.Normalize(),this.m_linearImpulse.Multiply(b)),T=i.SubtractVV(this.m_linearImpulse,A),a.x-=l*T.x,a.y-=l*T.y,u-=f*(_*T.y-m*T.x),c.x+=d*T.x,c.y+=d*T.y,h+=p*(y*T.y-v*T.x),r.m_angularVelocity=u,s.m_angularVelocity=h},c.prototype.SolvePositionConstraints=function(t){return void 0===t&&(t=0),!0},r.inherit(h,r.Dynamics.Joints.b2JointDef),h.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,h.b2FrictionJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o},h.prototype.b2FrictionJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_frictionJoint,this.maxForce=0,this.maxTorque=0},h.prototype.Initialize=function(t,e,n){this.bodyA=t,this.bodyB=e,this.localAnchorA.SetV(this.bodyA.GetLocalPoint(n)),this.localAnchorB.SetV(this.bodyB.GetLocalPoint(n))},r.inherit(l,r.Dynamics.Joints.b2Joint),l.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,l.b2GearJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_groundAnchor1=new o,this.m_groundAnchor2=new o,this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_J=new f},l.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},l.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},l.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse*this.m_J.linearB.x,t*this.m_impulse*this.m_J.linearB.y)},l.prototype.GetReactionTorque=function(t){void 0===t&&(t=0);var e=this.m_bodyB.m_xf.R,n=this.m_localAnchor1.x-this.m_bodyB.m_sweep.localCenter.x,r=this.m_localAnchor1.y-this.m_bodyB.m_sweep.localCenter.y,i=e.col1.x*n+e.col2.x*r;r=e.col1.y*n+e.col2.y*r,n=i;var o=this.m_impulse*this.m_J.linearB.x,s=this.m_impulse*this.m_J.linearB.y;return t*(this.m_impulse*this.m_J.angularB-n*s+r*o)},l.prototype.GetRatio=function(){return this.m_ratio},l.prototype.SetRatio=function(t){void 0===t&&(t=0),this.m_ratio=t},l.prototype.b2GearJoint=function(t){this.__super.b2Joint.call(this,t);var e=parseInt(t.joint1.m_type),n=parseInt(t.joint2.m_type);this.m_revolute1=null,this.m_prismatic1=null,this.m_revolute2=null,this.m_prismatic2=null;var r=0,i=0;this.m_ground1=t.joint1.GetBodyA(),this.m_bodyA=t.joint1.GetBodyB(),e==p.e_revoluteJoint?(this.m_revolute1=t.joint1 instanceof T?t.joint1:null,this.m_groundAnchor1.SetV(this.m_revolute1.m_localAnchor1),this.m_localAnchor1.SetV(this.m_revolute1.m_localAnchor2),r=this.m_revolute1.GetJointAngle()):(this.m_prismatic1=t.joint1 instanceof w?t.joint1:null,this.m_groundAnchor1.SetV(this.m_prismatic1.m_localAnchor1),this.m_localAnchor1.SetV(this.m_prismatic1.m_localAnchor2),r=this.m_prismatic1.GetJointTranslation()),this.m_ground2=t.joint2.GetBodyA(),this.m_bodyB=t.joint2.GetBodyB(),n==p.e_revoluteJoint?(this.m_revolute2=t.joint2 instanceof T?t.joint2:null,this.m_groundAnchor2.SetV(this.m_revolute2.m_localAnchor1),this.m_localAnchor2.SetV(this.m_revolute2.m_localAnchor2),i=this.m_revolute2.GetJointAngle()):(this.m_prismatic2=t.joint2 instanceof w?t.joint2:null,this.m_groundAnchor2.SetV(this.m_prismatic2.m_localAnchor1),this.m_localAnchor2.SetV(this.m_prismatic2.m_localAnchor2),i=this.m_prismatic2.GetJointTranslation()),this.m_ratio=t.ratio,this.m_constant=r+this.m_ratio*i,this.m_impulse=0},l.prototype.InitVelocityConstraints=function(t){var e,n,r=this.m_ground1,i=this.m_ground2,o=this.m_bodyA,s=this.m_bodyB,a=0,u=0,c=0,h=0,l=0,d=0,f=0;this.m_J.SetZero(),this.m_revolute1?(this.m_J.angularA=-1,f+=o.m_invI):(e=r.m_xf.R,n=this.m_prismatic1.m_localXAxis1,a=e.col1.x*n.x+e.col2.x*n.y,u=e.col1.y*n.x+e.col2.y*n.y,e=o.m_xf.R,c=this.m_localAnchor1.x-o.m_sweep.localCenter.x,h=this.m_localAnchor1.y-o.m_sweep.localCenter.y,d=e.col1.x*c+e.col2.x*h,h=e.col1.y*c+e.col2.y*h,l=(c=d)*u-h*a,this.m_J.linearA.Set(-a,-u),this.m_J.angularA=-l,f+=o.m_invMass+o.m_invI*l*l),this.m_revolute2?(this.m_J.angularB=-this.m_ratio,f+=this.m_ratio*this.m_ratio*s.m_invI):(e=i.m_xf.R,n=this.m_prismatic2.m_localXAxis1,a=e.col1.x*n.x+e.col2.x*n.y,u=e.col1.y*n.x+e.col2.y*n.y,e=s.m_xf.R,c=this.m_localAnchor2.x-s.m_sweep.localCenter.x,h=this.m_localAnchor2.y-s.m_sweep.localCenter.y,d=e.col1.x*c+e.col2.x*h,h=e.col1.y*c+e.col2.y*h,l=(c=d)*u-h*a,this.m_J.linearB.Set(-this.m_ratio*a,-this.m_ratio*u),this.m_J.angularB=-this.m_ratio*l,f+=this.m_ratio*this.m_ratio*(s.m_invMass+s.m_invI*l*l)),this.m_mass=f>0?1/f:0,t.warmStarting?(o.m_linearVelocity.x+=o.m_invMass*this.m_impulse*this.m_J.linearA.x,o.m_linearVelocity.y+=o.m_invMass*this.m_impulse*this.m_J.linearA.y,o.m_angularVelocity+=o.m_invI*this.m_impulse*this.m_J.angularA,s.m_linearVelocity.x+=s.m_invMass*this.m_impulse*this.m_J.linearB.x,s.m_linearVelocity.y+=s.m_invMass*this.m_impulse*this.m_J.linearB.y,s.m_angularVelocity+=s.m_invI*this.m_impulse*this.m_J.angularB):this.m_impulse=0},l.prototype.SolveVelocityConstraints=function(t){var e=this.m_bodyA,n=this.m_bodyB,r=this.m_J.Compute(e.m_linearVelocity,e.m_angularVelocity,n.m_linearVelocity,n.m_angularVelocity),i=-this.m_mass*r;this.m_impulse+=i,e.m_linearVelocity.x+=e.m_invMass*i*this.m_J.linearA.x,e.m_linearVelocity.y+=e.m_invMass*i*this.m_J.linearA.y,e.m_angularVelocity+=e.m_invI*i*this.m_J.angularA,n.m_linearVelocity.x+=n.m_invMass*i*this.m_J.linearB.x,n.m_linearVelocity.y+=n.m_invMass*i*this.m_J.linearB.y,n.m_angularVelocity+=n.m_invI*i*this.m_J.angularB},l.prototype.SolvePositionConstraints=function(e){void 0===e&&(e=0);var n=this.m_bodyA,r=this.m_bodyB,i=0,o=0;i=this.m_revolute1?this.m_revolute1.GetJointAngle():this.m_prismatic1.GetJointTranslation(),o=this.m_revolute2?this.m_revolute2.GetJointAngle():this.m_prismatic2.GetJointTranslation();var s=this.m_constant-(i+this.m_ratio*o),a=-this.m_mass*s;return n.m_sweep.c.x+=n.m_invMass*a*this.m_J.linearA.x,n.m_sweep.c.y+=n.m_invMass*a*this.m_J.linearA.y,n.m_sweep.a+=n.m_invI*a*this.m_J.angularA,r.m_sweep.c.x+=r.m_invMass*a*this.m_J.linearB.x,r.m_sweep.c.y+=r.m_invMass*a*this.m_J.linearB.y,r.m_sweep.a+=r.m_invI*a*this.m_J.angularB,n.SynchronizeTransform(),r.SynchronizeTransform(),0<t.b2_linearSlop},r.inherit(d,r.Dynamics.Joints.b2JointDef),d.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,d.b2GearJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments)},d.prototype.b2GearJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_gearJoint,this.joint1=null,this.joint2=null,this.ratio=1},f.b2Jacobian=function(){this.linearA=new o,this.linearB=new o},f.prototype.SetZero=function(){this.linearA.SetZero(),this.angularA=0,this.linearB.SetZero(),this.angularB=0},f.prototype.Set=function(t,e,n,r){void 0===e&&(e=0),void 0===r&&(r=0),this.linearA.SetV(t),this.angularA=e,this.linearB.SetV(n),this.angularB=r},f.prototype.Compute=function(t,e,n,r){return void 0===e&&(e=0),void 0===r&&(r=0),this.linearA.x*t.x+this.linearA.y*t.y+this.angularA*e+(this.linearB.x*n.x+this.linearB.y*n.y)+this.angularB*r},p.b2Joint=function(){this.m_edgeA=new m,this.m_edgeB=new m,this.m_localCenterA=new o,this.m_localCenterB=new o},p.prototype.GetType=function(){return this.m_type},p.prototype.GetAnchorA=function(){return null},p.prototype.GetAnchorB=function(){return null},p.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),null},p.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),0},p.prototype.GetBodyA=function(){return this.m_bodyA},p.prototype.GetBodyB=function(){return this.m_bodyB},p.prototype.GetNext=function(){return this.m_next},p.prototype.GetUserData=function(){return this.m_userData},p.prototype.SetUserData=function(t){this.m_userData=t},p.prototype.IsActive=function(){return this.m_bodyA.IsActive()&&this.m_bodyB.IsActive()},p.Create=function(t,e){var n=null;switch(t.type){case p.e_distanceJoint:n=new a(t instanceof u?t:null);break;case p.e_mouseJoint:n=new b(t instanceof g?t:null);break;case p.e_prismaticJoint:n=new w(t instanceof x?t:null);break;case p.e_revoluteJoint:n=new T(t instanceof A?t:null);break;case p.e_pulleyJoint:n=new M(t instanceof S?t:null);break;case p.e_gearJoint:n=new l(t instanceof d?t:null);break;case p.e_lineJoint:n=new y(t instanceof v?t:null);break;case p.e_weldJoint:n=new E(t instanceof L?t:null);break;case p.e_frictionJoint:n=new c(t instanceof h?t:null)}return n},p.Destroy=function(t,e){},p.prototype.b2Joint=function(e){t.b2Assert(e.bodyA!=e.bodyB),this.m_type=e.type,this.m_prev=null,this.m_next=null,this.m_bodyA=e.bodyA,this.m_bodyB=e.bodyB,this.m_collideConnected=e.collideConnected,this.m_islandFlag=!1,this.m_userData=e.userData},p.prototype.InitVelocityConstraints=function(t){},p.prototype.SolveVelocityConstraints=function(t){},p.prototype.FinalizeVelocityConstraints=function(){},p.prototype.SolvePositionConstraints=function(t){return void 0===t&&(t=0),!1},r.postDefs.push((function(){r.Dynamics.Joints.b2Joint.e_unknownJoint=0,r.Dynamics.Joints.b2Joint.e_revoluteJoint=1,r.Dynamics.Joints.b2Joint.e_prismaticJoint=2,r.Dynamics.Joints.b2Joint.e_distanceJoint=3,r.Dynamics.Joints.b2Joint.e_pulleyJoint=4,r.Dynamics.Joints.b2Joint.e_mouseJoint=5,r.Dynamics.Joints.b2Joint.e_gearJoint=6,r.Dynamics.Joints.b2Joint.e_lineJoint=7,r.Dynamics.Joints.b2Joint.e_weldJoint=8,r.Dynamics.Joints.b2Joint.e_frictionJoint=9,r.Dynamics.Joints.b2Joint.e_inactiveLimit=0,r.Dynamics.Joints.b2Joint.e_atLowerLimit=1,r.Dynamics.Joints.b2Joint.e_atUpperLimit=2,r.Dynamics.Joints.b2Joint.e_equalLimits=3})),_.b2JointDef=function(){},_.prototype.b2JointDef=function(){this.type=p.e_unknownJoint,this.userData=null,this.bodyA=null,this.bodyB=null,this.collideConnected=!1},m.b2JointEdge=function(){},r.inherit(y,r.Dynamics.Joints.b2Joint),y.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,y.b2LineJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_localXAxis1=new o,this.m_localYAxis1=new o,this.m_axis=new o,this.m_perp=new o,this.m_K=new e,this.m_impulse=new o},y.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},y.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},y.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*(this.m_impulse.x*this.m_perp.x+(this.m_motorImpulse+this.m_impulse.y)*this.m_axis.x),t*(this.m_impulse.x*this.m_perp.y+(this.m_motorImpulse+this.m_impulse.y)*this.m_axis.y))},y.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),t*this.m_impulse.y},y.prototype.GetJointTranslation=function(){var t=this.m_bodyA,e=this.m_bodyB,n=t.GetWorldPoint(this.m_localAnchor1),r=e.GetWorldPoint(this.m_localAnchor2),i=r.x-n.x,o=r.y-n.y,s=t.GetWorldVector(this.m_localXAxis1);return s.x*i+s.y*o},y.prototype.GetJointSpeed=function(){var t,e=this.m_bodyA,n=this.m_bodyB;t=e.m_xf.R;var r=this.m_localAnchor1.x-e.m_sweep.localCenter.x,i=this.m_localAnchor1.y-e.m_sweep.localCenter.y,o=t.col1.x*r+t.col2.x*i;i=t.col1.y*r+t.col2.y*i,r=o,t=n.m_xf.R;var s=this.m_localAnchor2.x-n.m_sweep.localCenter.x,a=this.m_localAnchor2.y-n.m_sweep.localCenter.y;o=t.col1.x*s+t.col2.x*a,a=t.col1.y*s+t.col2.y*a,s=o;var u=e.m_sweep.c.x+r,c=e.m_sweep.c.y+i,h=n.m_sweep.c.x+s-u,l=n.m_sweep.c.y+a-c,d=e.GetWorldVector(this.m_localXAxis1),f=e.m_linearVelocity,p=n.m_linearVelocity,_=e.m_angularVelocity,m=n.m_angularVelocity;return h*(-_*d.y)+l*(_*d.x)+(d.x*(p.x+-m*a-f.x- -_*i)+d.y*(p.y+m*s-f.y-_*r))},y.prototype.IsLimitEnabled=function(){return this.m_enableLimit},y.prototype.EnableLimit=function(t){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableLimit=t},y.prototype.GetLowerLimit=function(){return this.m_lowerTranslation},y.prototype.GetUpperLimit=function(){return this.m_upperTranslation},y.prototype.SetLimits=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_lowerTranslation=t,this.m_upperTranslation=e},y.prototype.IsMotorEnabled=function(){return this.m_enableMotor},y.prototype.EnableMotor=function(t){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableMotor=t},y.prototype.SetMotorSpeed=function(t){void 0===t&&(t=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_motorSpeed=t},y.prototype.GetMotorSpeed=function(){return this.m_motorSpeed},y.prototype.SetMaxMotorForce=function(t){void 0===t&&(t=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_maxMotorForce=t},y.prototype.GetMaxMotorForce=function(){return this.m_maxMotorForce},y.prototype.GetMotorForce=function(){return this.m_motorImpulse},y.prototype.b2LineJoint=function(t){this.__super.b2Joint.call(this,t);this.m_localAnchor1.SetV(t.localAnchorA),this.m_localAnchor2.SetV(t.localAnchorB),this.m_localXAxis1.SetV(t.localAxisA),this.m_localYAxis1.x=-this.m_localXAxis1.y,this.m_localYAxis1.y=this.m_localXAxis1.x,this.m_impulse.SetZero(),this.m_motorMass=0,this.m_motorImpulse=0,this.m_lowerTranslation=t.lowerTranslation,this.m_upperTranslation=t.upperTranslation,this.m_maxMotorForce=t.maxMotorForce,this.m_motorSpeed=t.motorSpeed,this.m_enableLimit=t.enableLimit,this.m_enableMotor=t.enableMotor,this.m_limitState=p.e_inactiveLimit,this.m_axis.SetZero(),this.m_perp.SetZero()},y.prototype.InitVelocityConstraints=function(e){var n,r=this.m_bodyA,o=this.m_bodyB,s=0;this.m_localCenterA.SetV(r.GetLocalCenter()),this.m_localCenterB.SetV(o.GetLocalCenter());var a=r.GetTransform();o.GetTransform();n=r.m_xf.R;var u=this.m_localAnchor1.x-this.m_localCenterA.x,c=this.m_localAnchor1.y-this.m_localCenterA.y;s=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=s,n=o.m_xf.R;var h=this.m_localAnchor2.x-this.m_localCenterB.x,l=this.m_localAnchor2.y-this.m_localCenterB.y;s=n.col1.x*h+n.col2.x*l,l=n.col1.y*h+n.col2.y*l,h=s;var d=o.m_sweep.c.x+h-r.m_sweep.c.x-u,f=o.m_sweep.c.y+l-r.m_sweep.c.y-c;this.m_invMassA=r.m_invMass,this.m_invMassB=o.m_invMass,this.m_invIA=r.m_invI,this.m_invIB=o.m_invI,this.m_axis.SetV(i.MulMV(a.R,this.m_localXAxis1)),this.m_a1=(d+u)*this.m_axis.y-(f+c)*this.m_axis.x,this.m_a2=h*this.m_axis.y-l*this.m_axis.x,this.m_motorMass=this.m_invMassA+this.m_invMassB+this.m_invIA*this.m_a1*this.m_a1+this.m_invIB*this.m_a2*this.m_a2,this.m_motorMass=this.m_motorMass>Number.MIN_VALUE?1/this.m_motorMass:0,this.m_perp.SetV(i.MulMV(a.R,this.m_localYAxis1)),this.m_s1=(d+u)*this.m_perp.y-(f+c)*this.m_perp.x,this.m_s2=h*this.m_perp.y-l*this.m_perp.x;var _=this.m_invMassA,m=this.m_invMassB,y=this.m_invIA,v=this.m_invIB;if(this.m_K.col1.x=_+m+y*this.m_s1*this.m_s1+v*this.m_s2*this.m_s2,this.m_K.col1.y=y*this.m_s1*this.m_a1+v*this.m_s2*this.m_a2,this.m_K.col2.x=this.m_K.col1.y,this.m_K.col2.y=_+m+y*this.m_a1*this.m_a1+v*this.m_a2*this.m_a2,this.m_enableLimit){var b=this.m_axis.x*d+this.m_axis.y*f;i.Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*t.b2_linearSlop?this.m_limitState=p.e_equalLimits:b<=this.m_lowerTranslation?this.m_limitState!=p.e_atLowerLimit&&(this.m_limitState=p.e_atLowerLimit,this.m_impulse.y=0):b>=this.m_upperTranslation?this.m_limitState!=p.e_atUpperLimit&&(this.m_limitState=p.e_atUpperLimit,this.m_impulse.y=0):(this.m_limitState=p.e_inactiveLimit,this.m_impulse.y=0)}else this.m_limitState=p.e_inactiveLimit;if(0==this.m_enableMotor&&(this.m_motorImpulse=0),e.warmStarting){this.m_impulse.x*=e.dtRatio,this.m_impulse.y*=e.dtRatio,this.m_motorImpulse*=e.dtRatio;var g=this.m_impulse.x*this.m_perp.x+(this.m_motorImpulse+this.m_impulse.y)*this.m_axis.x,w=this.m_impulse.x*this.m_perp.y+(this.m_motorImpulse+this.m_impulse.y)*this.m_axis.y,x=this.m_impulse.x*this.m_s1+(this.m_motorImpulse+this.m_impulse.y)*this.m_a1,M=this.m_impulse.x*this.m_s2+(this.m_motorImpulse+this.m_impulse.y)*this.m_a2;r.m_linearVelocity.x-=this.m_invMassA*g,r.m_linearVelocity.y-=this.m_invMassA*w,r.m_angularVelocity-=this.m_invIA*x,o.m_linearVelocity.x+=this.m_invMassB*g,o.m_linearVelocity.y+=this.m_invMassB*w,o.m_angularVelocity+=this.m_invIB*M}else this.m_impulse.SetZero(),this.m_motorImpulse=0},y.prototype.SolveVelocityConstraints=function(t){var e=this.m_bodyA,n=this.m_bodyB,r=e.m_linearVelocity,s=e.m_angularVelocity,a=n.m_linearVelocity,u=n.m_angularVelocity,c=0,h=0,l=0,d=0;if(this.m_enableMotor&&this.m_limitState!=p.e_equalLimits){var f=this.m_axis.x*(a.x-r.x)+this.m_axis.y*(a.y-r.y)+this.m_a2*u-this.m_a1*s,_=this.m_motorMass*(this.m_motorSpeed-f),m=this.m_motorImpulse,y=t.dt*this.m_maxMotorForce;this.m_motorImpulse=i.Clamp(this.m_motorImpulse+_,-y,y),c=(_=this.m_motorImpulse-m)*this.m_axis.x,h=_*this.m_axis.y,l=_*this.m_a1,d=_*this.m_a2,r.x-=this.m_invMassA*c,r.y-=this.m_invMassA*h,s-=this.m_invIA*l,a.x+=this.m_invMassB*c,a.y+=this.m_invMassB*h,u+=this.m_invIB*d}var v=this.m_perp.x*(a.x-r.x)+this.m_perp.y*(a.y-r.y)+this.m_s2*u-this.m_s1*s;if(this.m_enableLimit&&this.m_limitState!=p.e_inactiveLimit){var b=this.m_axis.x*(a.x-r.x)+this.m_axis.y*(a.y-r.y)+this.m_a2*u-this.m_a1*s,g=this.m_impulse.Copy(),w=this.m_K.Solve(new o,-v,-b);this.m_impulse.Add(w),this.m_limitState==p.e_atLowerLimit?this.m_impulse.y=i.Max(this.m_impulse.y,0):this.m_limitState==p.e_atUpperLimit&&(this.m_impulse.y=i.Min(this.m_impulse.y,0));var x=-v-(this.m_impulse.y-g.y)*this.m_K.col2.x,M=0;M=0!=this.m_K.col1.x?x/this.m_K.col1.x+g.x:g.x,this.m_impulse.x=M,w.x=this.m_impulse.x-g.x,w.y=this.m_impulse.y-g.y,c=w.x*this.m_perp.x+w.y*this.m_axis.x,h=w.x*this.m_perp.y+w.y*this.m_axis.y,l=w.x*this.m_s1+w.y*this.m_a1,d=w.x*this.m_s2+w.y*this.m_a2,r.x-=this.m_invMassA*c,r.y-=this.m_invMassA*h,s-=this.m_invIA*l,a.x+=this.m_invMassB*c,a.y+=this.m_invMassB*h,u+=this.m_invIB*d}else{var S=0;S=0!=this.m_K.col1.x?-v/this.m_K.col1.x:0,this.m_impulse.x+=S,c=S*this.m_perp.x,h=S*this.m_perp.y,l=S*this.m_s1,d=S*this.m_s2,r.x-=this.m_invMassA*c,r.y-=this.m_invMassA*h,s-=this.m_invIA*l,a.x+=this.m_invMassB*c,a.y+=this.m_invMassB*h,u+=this.m_invIB*d}e.m_linearVelocity.SetV(r),e.m_angularVelocity=s,n.m_linearVelocity.SetV(a),n.m_angularVelocity=u},y.prototype.SolvePositionConstraints=function(n){void 0===n&&(n=0);var r,s=this.m_bodyA,a=this.m_bodyB,u=s.m_sweep.c,c=s.m_sweep.a,h=a.m_sweep.c,l=a.m_sweep.a,d=0,f=0,p=0,_=0,m=0,y=0,v=!1,b=0,g=e.FromAngle(c),w=e.FromAngle(l);r=g;var x=this.m_localAnchor1.x-this.m_localCenterA.x,M=this.m_localAnchor1.y-this.m_localCenterA.y;d=r.col1.x*x+r.col2.x*M,M=r.col1.y*x+r.col2.y*M,x=d,r=w;var S=this.m_localAnchor2.x-this.m_localCenterB.x,T=this.m_localAnchor2.y-this.m_localCenterB.y;d=r.col1.x*S+r.col2.x*T,T=r.col1.y*S+r.col2.y*T,S=d;var A=h.x+S-u.x-x,E=h.y+T-u.y-M;if(this.m_enableLimit){this.m_axis=i.MulMV(g,this.m_localXAxis1),this.m_a1=(A+x)*this.m_axis.y-(E+M)*this.m_axis.x,this.m_a2=S*this.m_axis.y-T*this.m_axis.x;var L=this.m_axis.x*A+this.m_axis.y*E;i.Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*t.b2_linearSlop?(b=i.Clamp(L,-t.b2_maxLinearCorrection,t.b2_maxLinearCorrection),y=i.Abs(L),v=!0):L<=this.m_lowerTranslation?(b=i.Clamp(L-this.m_lowerTranslation+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),y=this.m_lowerTranslation-L,v=!0):L>=this.m_upperTranslation&&(b=i.Clamp(L-this.m_upperTranslation+t.b2_linearSlop,0,t.b2_maxLinearCorrection),y=L-this.m_upperTranslation,v=!0)}this.m_perp=i.MulMV(g,this.m_localYAxis1),this.m_s1=(A+x)*this.m_perp.y-(E+M)*this.m_perp.x,this.m_s2=S*this.m_perp.y-T*this.m_perp.x;var D=new o,C=this.m_perp.x*A+this.m_perp.y*E;if(y=i.Max(y,i.Abs(C)),0,v)f=this.m_invMassA,p=this.m_invMassB,_=this.m_invIA,m=this.m_invIB,this.m_K.col1.x=f+p+_*this.m_s1*this.m_s1+m*this.m_s2*this.m_s2,this.m_K.col1.y=_*this.m_s1*this.m_a1+m*this.m_s2*this.m_a2,this.m_K.col2.x=this.m_K.col1.y,this.m_K.col2.y=f+p+_*this.m_a1*this.m_a1+m*this.m_a2*this.m_a2,this.m_K.Solve(D,-C,-b);else{f=this.m_invMassA,p=this.m_invMassB,_=this.m_invIA,m=this.m_invIB;var k=f+p+_*this.m_s1*this.m_s1+m*this.m_s2*this.m_s2,O=0;O=0!=k?-C/k:0,D.x=O,D.y=0}var I=D.x*this.m_perp.x+D.y*this.m_axis.x,P=D.x*this.m_perp.y+D.y*this.m_axis.y,R=D.x*this.m_s1+D.y*this.m_a1,Y=D.x*this.m_s2+D.y*this.m_a2;return u.x-=this.m_invMassA*I,u.y-=this.m_invMassA*P,c-=this.m_invIA*R,h.x+=this.m_invMassB*I,h.y+=this.m_invMassB*P,l+=this.m_invIB*Y,s.m_sweep.a=c,a.m_sweep.a=l,s.SynchronizeTransform(),a.SynchronizeTransform(),y<=t.b2_linearSlop&&0<=t.b2_angularSlop},r.inherit(v,r.Dynamics.Joints.b2JointDef),v.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,v.b2LineJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o,this.localAxisA=new o},v.prototype.b2LineJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_lineJoint,this.localAxisA.Set(1,0),this.enableLimit=!1,this.lowerTranslation=0,this.upperTranslation=0,this.enableMotor=!1,this.maxMotorForce=0,this.motorSpeed=0},v.prototype.Initialize=function(t,e,n,r){this.bodyA=t,this.bodyB=e,this.localAnchorA=this.bodyA.GetLocalPoint(n),this.localAnchorB=this.bodyB.GetLocalPoint(n),this.localAxisA=this.bodyA.GetLocalVector(r)},r.inherit(b,r.Dynamics.Joints.b2Joint),b.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,b.b2MouseJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.K=new e,this.K1=new e,this.K2=new e,this.m_localAnchor=new o,this.m_target=new o,this.m_impulse=new o,this.m_mass=new e,this.m_C=new o},b.prototype.GetAnchorA=function(){return this.m_target},b.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor)},b.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse.x,t*this.m_impulse.y)},b.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),0},b.prototype.GetTarget=function(){return this.m_target},b.prototype.SetTarget=function(t){0==this.m_bodyB.IsAwake()&&this.m_bodyB.SetAwake(!0),this.m_target=t},b.prototype.GetMaxForce=function(){return this.m_maxForce},b.prototype.SetMaxForce=function(t){void 0===t&&(t=0),this.m_maxForce=t},b.prototype.GetFrequency=function(){return this.m_frequencyHz},b.prototype.SetFrequency=function(t){void 0===t&&(t=0),this.m_frequencyHz=t},b.prototype.GetDampingRatio=function(){return this.m_dampingRatio},b.prototype.SetDampingRatio=function(t){void 0===t&&(t=0),this.m_dampingRatio=t},b.prototype.b2MouseJoint=function(t){this.__super.b2Joint.call(this,t),this.m_target.SetV(t.target);var e=this.m_target.x-this.m_bodyB.m_xf.position.x,n=this.m_target.y-this.m_bodyB.m_xf.position.y,r=this.m_bodyB.m_xf.R;this.m_localAnchor.x=e*r.col1.x+n*r.col1.y,this.m_localAnchor.y=e*r.col2.x+n*r.col2.y,this.m_maxForce=t.maxForce,this.m_impulse.SetZero(),this.m_frequencyHz=t.frequencyHz,this.m_dampingRatio=t.dampingRatio,this.m_beta=0,this.m_gamma=0},b.prototype.InitVelocityConstraints=function(t){var e,n=this.m_bodyB,r=n.GetMass(),i=2*Math.PI*this.m_frequencyHz,o=2*r*this.m_dampingRatio*i,s=r*i*i;this.m_gamma=t.dt*(o+t.dt*s),this.m_gamma=0!=this.m_gamma?1/this.m_gamma:0,this.m_beta=t.dt*s*this.m_gamma,e=n.m_xf.R;var a=this.m_localAnchor.x-n.m_sweep.localCenter.x,u=this.m_localAnchor.y-n.m_sweep.localCenter.y,c=e.col1.x*a+e.col2.x*u;u=e.col1.y*a+e.col2.y*u,a=c;var h=n.m_invMass,l=n.m_invI;this.K1.col1.x=h,this.K1.col2.x=0,this.K1.col1.y=0,this.K1.col2.y=h,this.K2.col1.x=l*u*u,this.K2.col2.x=-l*a*u,this.K2.col1.y=-l*a*u,this.K2.col2.y=l*a*a,this.K.SetM(this.K1),this.K.AddM(this.K2),this.K.col1.x+=this.m_gamma,this.K.col2.y+=this.m_gamma,this.K.GetInverse(this.m_mass),this.m_C.x=n.m_sweep.c.x+a-this.m_target.x,this.m_C.y=n.m_sweep.c.y+u-this.m_target.y,n.m_angularVelocity*=.98,this.m_impulse.x*=t.dtRatio,this.m_impulse.y*=t.dtRatio,n.m_linearVelocity.x+=h*this.m_impulse.x,n.m_linearVelocity.y+=h*this.m_impulse.y,n.m_angularVelocity+=l*(a*this.m_impulse.y-u*this.m_impulse.x)},b.prototype.SolveVelocityConstraints=function(t){var e,n,r=this.m_bodyB,i=0;e=r.m_xf.R;var o=this.m_localAnchor.x-r.m_sweep.localCenter.x,s=this.m_localAnchor.y-r.m_sweep.localCenter.y;i=e.col1.x*o+e.col2.x*s,s=e.col1.y*o+e.col2.y*s,o=i;var a=r.m_linearVelocity.x+-r.m_angularVelocity*s,u=r.m_linearVelocity.y+r.m_angularVelocity*o;e=this.m_mass,i=a+this.m_beta*this.m_C.x+this.m_gamma*this.m_impulse.x,n=u+this.m_beta*this.m_C.y+this.m_gamma*this.m_impulse.y;var c=-(e.col1.x*i+e.col2.x*n),h=-(e.col1.y*i+e.col2.y*n),l=this.m_impulse.x,d=this.m_impulse.y;this.m_impulse.x+=c,this.m_impulse.y+=h;var f=t.dt*this.m_maxForce;this.m_impulse.LengthSquared()>f*f&&this.m_impulse.Multiply(f/this.m_impulse.Length()),c=this.m_impulse.x-l,h=this.m_impulse.y-d,r.m_linearVelocity.x+=r.m_invMass*c,r.m_linearVelocity.y+=r.m_invMass*h,r.m_angularVelocity+=r.m_invI*(o*h-s*c)},b.prototype.SolvePositionConstraints=function(t){return void 0===t&&(t=0),!0},r.inherit(g,r.Dynamics.Joints.b2JointDef),g.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,g.b2MouseJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.target=new o},g.prototype.b2MouseJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_mouseJoint,this.maxForce=0,this.frequencyHz=5,this.dampingRatio=.7},r.inherit(w,r.Dynamics.Joints.b2Joint),w.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,w.b2PrismaticJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_localXAxis1=new o,this.m_localYAxis1=new o,this.m_axis=new o,this.m_perp=new o,this.m_K=new n,this.m_impulse=new s},w.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},w.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},w.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*(this.m_impulse.x*this.m_perp.x+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.x),t*(this.m_impulse.x*this.m_perp.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.y))},w.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),t*this.m_impulse.y},w.prototype.GetJointTranslation=function(){var t=this.m_bodyA,e=this.m_bodyB,n=t.GetWorldPoint(this.m_localAnchor1),r=e.GetWorldPoint(this.m_localAnchor2),i=r.x-n.x,o=r.y-n.y,s=t.GetWorldVector(this.m_localXAxis1);return s.x*i+s.y*o},w.prototype.GetJointSpeed=function(){var t,e=this.m_bodyA,n=this.m_bodyB;t=e.m_xf.R;var r=this.m_localAnchor1.x-e.m_sweep.localCenter.x,i=this.m_localAnchor1.y-e.m_sweep.localCenter.y,o=t.col1.x*r+t.col2.x*i;i=t.col1.y*r+t.col2.y*i,r=o,t=n.m_xf.R;var s=this.m_localAnchor2.x-n.m_sweep.localCenter.x,a=this.m_localAnchor2.y-n.m_sweep.localCenter.y;o=t.col1.x*s+t.col2.x*a,a=t.col1.y*s+t.col2.y*a,s=o;var u=e.m_sweep.c.x+r,c=e.m_sweep.c.y+i,h=n.m_sweep.c.x+s-u,l=n.m_sweep.c.y+a-c,d=e.GetWorldVector(this.m_localXAxis1),f=e.m_linearVelocity,p=n.m_linearVelocity,_=e.m_angularVelocity,m=n.m_angularVelocity;return h*(-_*d.y)+l*(_*d.x)+(d.x*(p.x+-m*a-f.x- -_*i)+d.y*(p.y+m*s-f.y-_*r))},w.prototype.IsLimitEnabled=function(){return this.m_enableLimit},w.prototype.EnableLimit=function(t){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableLimit=t},w.prototype.GetLowerLimit=function(){return this.m_lowerTranslation},w.prototype.GetUpperLimit=function(){return this.m_upperTranslation},w.prototype.SetLimits=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_lowerTranslation=t,this.m_upperTranslation=e},w.prototype.IsMotorEnabled=function(){return this.m_enableMotor},w.prototype.EnableMotor=function(t){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableMotor=t},w.prototype.SetMotorSpeed=function(t){void 0===t&&(t=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_motorSpeed=t},w.prototype.GetMotorSpeed=function(){return this.m_motorSpeed},w.prototype.SetMaxMotorForce=function(t){void 0===t&&(t=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_maxMotorForce=t},w.prototype.GetMotorForce=function(){return this.m_motorImpulse},w.prototype.b2PrismaticJoint=function(t){this.__super.b2Joint.call(this,t);this.m_localAnchor1.SetV(t.localAnchorA),this.m_localAnchor2.SetV(t.localAnchorB),this.m_localXAxis1.SetV(t.localAxisA),this.m_localYAxis1.x=-this.m_localXAxis1.y,this.m_localYAxis1.y=this.m_localXAxis1.x,this.m_refAngle=t.referenceAngle,this.m_impulse.SetZero(),this.m_motorMass=0,this.m_motorImpulse=0,this.m_lowerTranslation=t.lowerTranslation,this.m_upperTranslation=t.upperTranslation,this.m_maxMotorForce=t.maxMotorForce,this.m_motorSpeed=t.motorSpeed,this.m_enableLimit=t.enableLimit,this.m_enableMotor=t.enableMotor,this.m_limitState=p.e_inactiveLimit,this.m_axis.SetZero(),this.m_perp.SetZero()},w.prototype.InitVelocityConstraints=function(e){var n,r=this.m_bodyA,o=this.m_bodyB,s=0;this.m_localCenterA.SetV(r.GetLocalCenter()),this.m_localCenterB.SetV(o.GetLocalCenter());var a=r.GetTransform();o.GetTransform();n=r.m_xf.R;var u=this.m_localAnchor1.x-this.m_localCenterA.x,c=this.m_localAnchor1.y-this.m_localCenterA.y;s=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=s,n=o.m_xf.R;var h=this.m_localAnchor2.x-this.m_localCenterB.x,l=this.m_localAnchor2.y-this.m_localCenterB.y;s=n.col1.x*h+n.col2.x*l,l=n.col1.y*h+n.col2.y*l,h=s;var d=o.m_sweep.c.x+h-r.m_sweep.c.x-u,f=o.m_sweep.c.y+l-r.m_sweep.c.y-c;this.m_invMassA=r.m_invMass,this.m_invMassB=o.m_invMass,this.m_invIA=r.m_invI,this.m_invIB=o.m_invI,this.m_axis.SetV(i.MulMV(a.R,this.m_localXAxis1)),this.m_a1=(d+u)*this.m_axis.y-(f+c)*this.m_axis.x,this.m_a2=h*this.m_axis.y-l*this.m_axis.x,this.m_motorMass=this.m_invMassA+this.m_invMassB+this.m_invIA*this.m_a1*this.m_a1+this.m_invIB*this.m_a2*this.m_a2,this.m_motorMass>Number.MIN_VALUE&&(this.m_motorMass=1/this.m_motorMass),this.m_perp.SetV(i.MulMV(a.R,this.m_localYAxis1)),this.m_s1=(d+u)*this.m_perp.y-(f+c)*this.m_perp.x,this.m_s2=h*this.m_perp.y-l*this.m_perp.x;var _=this.m_invMassA,m=this.m_invMassB,y=this.m_invIA,v=this.m_invIB;if(this.m_K.col1.x=_+m+y*this.m_s1*this.m_s1+v*this.m_s2*this.m_s2,this.m_K.col1.y=y*this.m_s1+v*this.m_s2,this.m_K.col1.z=y*this.m_s1*this.m_a1+v*this.m_s2*this.m_a2,this.m_K.col2.x=this.m_K.col1.y,this.m_K.col2.y=y+v,this.m_K.col2.z=y*this.m_a1+v*this.m_a2,this.m_K.col3.x=this.m_K.col1.z,this.m_K.col3.y=this.m_K.col2.z,this.m_K.col3.z=_+m+y*this.m_a1*this.m_a1+v*this.m_a2*this.m_a2,this.m_enableLimit){var b=this.m_axis.x*d+this.m_axis.y*f;i.Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*t.b2_linearSlop?this.m_limitState=p.e_equalLimits:b<=this.m_lowerTranslation?this.m_limitState!=p.e_atLowerLimit&&(this.m_limitState=p.e_atLowerLimit,this.m_impulse.z=0):b>=this.m_upperTranslation?this.m_limitState!=p.e_atUpperLimit&&(this.m_limitState=p.e_atUpperLimit,this.m_impulse.z=0):(this.m_limitState=p.e_inactiveLimit,this.m_impulse.z=0)}else this.m_limitState=p.e_inactiveLimit;if(0==this.m_enableMotor&&(this.m_motorImpulse=0),e.warmStarting){this.m_impulse.x*=e.dtRatio,this.m_impulse.y*=e.dtRatio,this.m_motorImpulse*=e.dtRatio;var g=this.m_impulse.x*this.m_perp.x+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.x,w=this.m_impulse.x*this.m_perp.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.y,x=this.m_impulse.x*this.m_s1+this.m_impulse.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_a1,M=this.m_impulse.x*this.m_s2+this.m_impulse.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_a2;r.m_linearVelocity.x-=this.m_invMassA*g,r.m_linearVelocity.y-=this.m_invMassA*w,r.m_angularVelocity-=this.m_invIA*x,o.m_linearVelocity.x+=this.m_invMassB*g,o.m_linearVelocity.y+=this.m_invMassB*w,o.m_angularVelocity+=this.m_invIB*M}else this.m_impulse.SetZero(),this.m_motorImpulse=0},w.prototype.SolveVelocityConstraints=function(t){var e=this.m_bodyA,n=this.m_bodyB,r=e.m_linearVelocity,a=e.m_angularVelocity,u=n.m_linearVelocity,c=n.m_angularVelocity,h=0,l=0,d=0,f=0;if(this.m_enableMotor&&this.m_limitState!=p.e_equalLimits){var _=this.m_axis.x*(u.x-r.x)+this.m_axis.y*(u.y-r.y)+this.m_a2*c-this.m_a1*a,m=this.m_motorMass*(this.m_motorSpeed-_),y=this.m_motorImpulse,v=t.dt*this.m_maxMotorForce;this.m_motorImpulse=i.Clamp(this.m_motorImpulse+m,-v,v),h=(m=this.m_motorImpulse-y)*this.m_axis.x,l=m*this.m_axis.y,d=m*this.m_a1,f=m*this.m_a2,r.x-=this.m_invMassA*h,r.y-=this.m_invMassA*l,a-=this.m_invIA*d,u.x+=this.m_invMassB*h,u.y+=this.m_invMassB*l,c+=this.m_invIB*f}var b=this.m_perp.x*(u.x-r.x)+this.m_perp.y*(u.y-r.y)+this.m_s2*c-this.m_s1*a,g=c-a;if(this.m_enableLimit&&this.m_limitState!=p.e_inactiveLimit){var w=this.m_axis.x*(u.x-r.x)+this.m_axis.y*(u.y-r.y)+this.m_a2*c-this.m_a1*a,x=this.m_impulse.Copy(),M=this.m_K.Solve33(new s,-b,-g,-w);this.m_impulse.Add(M),this.m_limitState==p.e_atLowerLimit?this.m_impulse.z=i.Max(this.m_impulse.z,0):this.m_limitState==p.e_atUpperLimit&&(this.m_impulse.z=i.Min(this.m_impulse.z,0));var S=-b-(this.m_impulse.z-x.z)*this.m_K.col3.x,T=-g-(this.m_impulse.z-x.z)*this.m_K.col3.y,A=this.m_K.Solve22(new o,S,T);A.x+=x.x,A.y+=x.y,this.m_impulse.x=A.x,this.m_impulse.y=A.y,M.x=this.m_impulse.x-x.x,M.y=this.m_impulse.y-x.y,M.z=this.m_impulse.z-x.z,h=M.x*this.m_perp.x+M.z*this.m_axis.x,l=M.x*this.m_perp.y+M.z*this.m_axis.y,d=M.x*this.m_s1+M.y+M.z*this.m_a1,f=M.x*this.m_s2+M.y+M.z*this.m_a2,r.x-=this.m_invMassA*h,r.y-=this.m_invMassA*l,a-=this.m_invIA*d,u.x+=this.m_invMassB*h,u.y+=this.m_invMassB*l,c+=this.m_invIB*f}else{var E=this.m_K.Solve22(new o,-b,-g);this.m_impulse.x+=E.x,this.m_impulse.y+=E.y,h=E.x*this.m_perp.x,l=E.x*this.m_perp.y,d=E.x*this.m_s1+E.y,f=E.x*this.m_s2+E.y,r.x-=this.m_invMassA*h,r.y-=this.m_invMassA*l,a-=this.m_invIA*d,u.x+=this.m_invMassB*h,u.y+=this.m_invMassB*l,c+=this.m_invIB*f}e.m_linearVelocity.SetV(r),e.m_angularVelocity=a,n.m_linearVelocity.SetV(u),n.m_angularVelocity=c},w.prototype.SolvePositionConstraints=function(n){void 0===n&&(n=0);var r,a,u=this.m_bodyA,c=this.m_bodyB,h=u.m_sweep.c,l=u.m_sweep.a,d=c.m_sweep.c,f=c.m_sweep.a,p=0,_=0,m=0,y=0,v=0,b=0,g=!1,w=0,x=e.FromAngle(l),M=e.FromAngle(f);r=x;var S=this.m_localAnchor1.x-this.m_localCenterA.x,T=this.m_localAnchor1.y-this.m_localCenterA.y;p=r.col1.x*S+r.col2.x*T,T=r.col1.y*S+r.col2.y*T,S=p,r=M;var A=this.m_localAnchor2.x-this.m_localCenterB.x,E=this.m_localAnchor2.y-this.m_localCenterB.y;p=r.col1.x*A+r.col2.x*E,E=r.col1.y*A+r.col2.y*E,A=p;var L=d.x+A-h.x-S,D=d.y+E-h.y-T;if(this.m_enableLimit){this.m_axis=i.MulMV(x,this.m_localXAxis1),this.m_a1=(L+S)*this.m_axis.y-(D+T)*this.m_axis.x,this.m_a2=A*this.m_axis.y-E*this.m_axis.x;var C=this.m_axis.x*L+this.m_axis.y*D;i.Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*t.b2_linearSlop?(w=i.Clamp(C,-t.b2_maxLinearCorrection,t.b2_maxLinearCorrection),b=i.Abs(C),g=!0):C<=this.m_lowerTranslation?(w=i.Clamp(C-this.m_lowerTranslation+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),b=this.m_lowerTranslation-C,g=!0):C>=this.m_upperTranslation&&(w=i.Clamp(C-this.m_upperTranslation+t.b2_linearSlop,0,t.b2_maxLinearCorrection),b=C-this.m_upperTranslation,g=!0)}this.m_perp=i.MulMV(x,this.m_localYAxis1),this.m_s1=(L+S)*this.m_perp.y-(D+T)*this.m_perp.x,this.m_s2=A*this.m_perp.y-E*this.m_perp.x;var k=new s,O=this.m_perp.x*L+this.m_perp.y*D,I=f-l-this.m_refAngle;if(b=i.Max(b,i.Abs(O)),a=i.Abs(I),g)_=this.m_invMassA,m=this.m_invMassB,y=this.m_invIA,v=this.m_invIB,this.m_K.col1.x=_+m+y*this.m_s1*this.m_s1+v*this.m_s2*this.m_s2,this.m_K.col1.y=y*this.m_s1+v*this.m_s2,this.m_K.col1.z=y*this.m_s1*this.m_a1+v*this.m_s2*this.m_a2,this.m_K.col2.x=this.m_K.col1.y,this.m_K.col2.y=y+v,this.m_K.col2.z=y*this.m_a1+v*this.m_a2,this.m_K.col3.x=this.m_K.col1.z,this.m_K.col3.y=this.m_K.col2.z,this.m_K.col3.z=_+m+y*this.m_a1*this.m_a1+v*this.m_a2*this.m_a2,this.m_K.Solve33(k,-O,-I,-w);else{_=this.m_invMassA,m=this.m_invMassB,y=this.m_invIA,v=this.m_invIB;var P=_+m+y*this.m_s1*this.m_s1+v*this.m_s2*this.m_s2,R=y*this.m_s1+v*this.m_s2,Y=y+v;this.m_K.col1.Set(P,R,0),this.m_K.col2.Set(R,Y,0);var B=this.m_K.Solve22(new o,-O,-I);k.x=B.x,k.y=B.y,k.z=0}var N=k.x*this.m_perp.x+k.z*this.m_axis.x,j=k.x*this.m_perp.y+k.z*this.m_axis.y,F=k.x*this.m_s1+k.y+k.z*this.m_a1,U=k.x*this.m_s2+k.y+k.z*this.m_a2;return h.x-=this.m_invMassA*N,h.y-=this.m_invMassA*j,l-=this.m_invIA*F,d.x+=this.m_invMassB*N,d.y+=this.m_invMassB*j,f+=this.m_invIB*U,u.m_sweep.a=l,c.m_sweep.a=f,u.SynchronizeTransform(),c.SynchronizeTransform(),b<=t.b2_linearSlop&&a<=t.b2_angularSlop},r.inherit(x,r.Dynamics.Joints.b2JointDef),x.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,x.b2PrismaticJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o,this.localAxisA=new o},x.prototype.b2PrismaticJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_prismaticJoint,this.localAxisA.Set(1,0),this.referenceAngle=0,this.enableLimit=!1,this.lowerTranslation=0,this.upperTranslation=0,this.enableMotor=!1,this.maxMotorForce=0,this.motorSpeed=0},x.prototype.Initialize=function(t,e,n,r){this.bodyA=t,this.bodyB=e,this.localAnchorA=this.bodyA.GetLocalPoint(n),this.localAnchorB=this.bodyB.GetLocalPoint(n),this.localAxisA=this.bodyA.GetLocalVector(r),this.referenceAngle=this.bodyB.GetAngle()-this.bodyA.GetAngle()},r.inherit(M,r.Dynamics.Joints.b2Joint),M.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,M.b2PulleyJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_groundAnchor1=new o,this.m_groundAnchor2=new o,this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_u1=new o,this.m_u2=new o},M.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},M.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},M.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse*this.m_u2.x,t*this.m_impulse*this.m_u2.y)},M.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),0},M.prototype.GetGroundAnchorA=function(){var t=this.m_ground.m_xf.position.Copy();return t.Add(this.m_groundAnchor1),t},M.prototype.GetGroundAnchorB=function(){var t=this.m_ground.m_xf.position.Copy();return t.Add(this.m_groundAnchor2),t},M.prototype.GetLength1=function(){var t=this.m_bodyA.GetWorldPoint(this.m_localAnchor1),e=this.m_ground.m_xf.position.x+this.m_groundAnchor1.x,n=this.m_ground.m_xf.position.y+this.m_groundAnchor1.y,r=t.x-e,i=t.y-n;return Math.sqrt(r*r+i*i)},M.prototype.GetLength2=function(){var t=this.m_bodyB.GetWorldPoint(this.m_localAnchor2),e=this.m_ground.m_xf.position.x+this.m_groundAnchor2.x,n=this.m_ground.m_xf.position.y+this.m_groundAnchor2.y,r=t.x-e,i=t.y-n;return Math.sqrt(r*r+i*i)},M.prototype.GetRatio=function(){return this.m_ratio},M.prototype.b2PulleyJoint=function(t){this.__super.b2Joint.call(this,t);this.m_ground=this.m_bodyA.m_world.m_groundBody,this.m_groundAnchor1.x=t.groundAnchorA.x-this.m_ground.m_xf.position.x,this.m_groundAnchor1.y=t.groundAnchorA.y-this.m_ground.m_xf.position.y,this.m_groundAnchor2.x=t.groundAnchorB.x-this.m_ground.m_xf.position.x,this.m_groundAnchor2.y=t.groundAnchorB.y-this.m_ground.m_xf.position.y,this.m_localAnchor1.SetV(t.localAnchorA),this.m_localAnchor2.SetV(t.localAnchorB),this.m_ratio=t.ratio,this.m_constant=t.lengthA+this.m_ratio*t.lengthB,this.m_maxLength1=i.Min(t.maxLengthA,this.m_constant-this.m_ratio*M.b2_minPulleyLength),this.m_maxLength2=i.Min(t.maxLengthB,(this.m_constant-M.b2_minPulleyLength)/this.m_ratio),this.m_impulse=0,this.m_limitImpulse1=0,this.m_limitImpulse2=0},M.prototype.InitVelocityConstraints=function(e){var n,r=this.m_bodyA,i=this.m_bodyB;n=r.m_xf.R;var o=this.m_localAnchor1.x-r.m_sweep.localCenter.x,s=this.m_localAnchor1.y-r.m_sweep.localCenter.y,a=n.col1.x*o+n.col2.x*s;s=n.col1.y*o+n.col2.y*s,o=a,n=i.m_xf.R;var u=this.m_localAnchor2.x-i.m_sweep.localCenter.x,c=this.m_localAnchor2.y-i.m_sweep.localCenter.y;a=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=a;var h=r.m_sweep.c.x+o,l=r.m_sweep.c.y+s,d=i.m_sweep.c.x+u,f=i.m_sweep.c.y+c,_=this.m_ground.m_xf.position.x+this.m_groundAnchor1.x,m=this.m_ground.m_xf.position.y+this.m_groundAnchor1.y,y=this.m_ground.m_xf.position.x+this.m_groundAnchor2.x,v=this.m_ground.m_xf.position.y+this.m_groundAnchor2.y;this.m_u1.Set(h-_,l-m),this.m_u2.Set(d-y,f-v);var b=this.m_u1.Length(),g=this.m_u2.Length();b>t.b2_linearSlop?this.m_u1.Multiply(1/b):this.m_u1.SetZero(),g>t.b2_linearSlop?this.m_u2.Multiply(1/g):this.m_u2.SetZero(),this.m_constant-b-this.m_ratio*g>0?(this.m_state=p.e_inactiveLimit,this.m_impulse=0):this.m_state=p.e_atUpperLimit,b<this.m_maxLength1?(this.m_limitState1=p.e_inactiveLimit,this.m_limitImpulse1=0):this.m_limitState1=p.e_atUpperLimit,g<this.m_maxLength2?(this.m_limitState2=p.e_inactiveLimit,this.m_limitImpulse2=0):this.m_limitState2=p.e_atUpperLimit;var w=o*this.m_u1.y-s*this.m_u1.x,x=u*this.m_u2.y-c*this.m_u2.x;if(this.m_limitMass1=r.m_invMass+r.m_invI*w*w,this.m_limitMass2=i.m_invMass+i.m_invI*x*x,this.m_pulleyMass=this.m_limitMass1+this.m_ratio*this.m_ratio*this.m_limitMass2,this.m_limitMass1=1/this.m_limitMass1,this.m_limitMass2=1/this.m_limitMass2,this.m_pulleyMass=1/this.m_pulleyMass,e.warmStarting){this.m_impulse*=e.dtRatio,this.m_limitImpulse1*=e.dtRatio,this.m_limitImpulse2*=e.dtRatio;var M=(-this.m_impulse-this.m_limitImpulse1)*this.m_u1.x,S=(-this.m_impulse-this.m_limitImpulse1)*this.m_u1.y,T=(-this.m_ratio*this.m_impulse-this.m_limitImpulse2)*this.m_u2.x,A=(-this.m_ratio*this.m_impulse-this.m_limitImpulse2)*this.m_u2.y;r.m_linearVelocity.x+=r.m_invMass*M,r.m_linearVelocity.y+=r.m_invMass*S,r.m_angularVelocity+=r.m_invI*(o*S-s*M),i.m_linearVelocity.x+=i.m_invMass*T,i.m_linearVelocity.y+=i.m_invMass*A,i.m_angularVelocity+=i.m_invI*(u*A-c*T)}else this.m_impulse=0,this.m_limitImpulse1=0,this.m_limitImpulse2=0},M.prototype.SolveVelocityConstraints=function(t){var e,n=this.m_bodyA,r=this.m_bodyB;e=n.m_xf.R;var o=this.m_localAnchor1.x-n.m_sweep.localCenter.x,s=this.m_localAnchor1.y-n.m_sweep.localCenter.y,a=e.col1.x*o+e.col2.x*s;s=e.col1.y*o+e.col2.y*s,o=a,e=r.m_xf.R;var u=this.m_localAnchor2.x-r.m_sweep.localCenter.x,c=this.m_localAnchor2.y-r.m_sweep.localCenter.y;a=e.col1.x*u+e.col2.x*c,c=e.col1.y*u+e.col2.y*c,u=a;var h=0,l=0,d=0,f=0,_=0,m=0,y=0,v=0,b=0,g=0,w=0;this.m_state==p.e_atUpperLimit&&(h=n.m_linearVelocity.x+-n.m_angularVelocity*s,l=n.m_linearVelocity.y+n.m_angularVelocity*o,d=r.m_linearVelocity.x+-r.m_angularVelocity*c,f=r.m_linearVelocity.y+r.m_angularVelocity*u,b=-(this.m_u1.x*h+this.m_u1.y*l)-this.m_ratio*(this.m_u2.x*d+this.m_u2.y*f),g=this.m_pulleyMass*-b,w=this.m_impulse,this.m_impulse=i.Max(0,this.m_impulse+g),_=-(g=this.m_impulse-w)*this.m_u1.x,m=-g*this.m_u1.y,y=-this.m_ratio*g*this.m_u2.x,v=-this.m_ratio*g*this.m_u2.y,n.m_linearVelocity.x+=n.m_invMass*_,n.m_linearVelocity.y+=n.m_invMass*m,n.m_angularVelocity+=n.m_invI*(o*m-s*_),r.m_linearVelocity.x+=r.m_invMass*y,r.m_linearVelocity.y+=r.m_invMass*v,r.m_angularVelocity+=r.m_invI*(u*v-c*y)),this.m_limitState1==p.e_atUpperLimit&&(h=n.m_linearVelocity.x+-n.m_angularVelocity*s,l=n.m_linearVelocity.y+n.m_angularVelocity*o,b=-(this.m_u1.x*h+this.m_u1.y*l),g=-this.m_limitMass1*b,w=this.m_limitImpulse1,this.m_limitImpulse1=i.Max(0,this.m_limitImpulse1+g),_=-(g=this.m_limitImpulse1-w)*this.m_u1.x,m=-g*this.m_u1.y,n.m_linearVelocity.x+=n.m_invMass*_,n.m_linearVelocity.y+=n.m_invMass*m,n.m_angularVelocity+=n.m_invI*(o*m-s*_)),this.m_limitState2==p.e_atUpperLimit&&(d=r.m_linearVelocity.x+-r.m_angularVelocity*c,f=r.m_linearVelocity.y+r.m_angularVelocity*u,b=-(this.m_u2.x*d+this.m_u2.y*f),g=-this.m_limitMass2*b,w=this.m_limitImpulse2,this.m_limitImpulse2=i.Max(0,this.m_limitImpulse2+g),y=-(g=this.m_limitImpulse2-w)*this.m_u2.x,v=-g*this.m_u2.y,r.m_linearVelocity.x+=r.m_invMass*y,r.m_linearVelocity.y+=r.m_invMass*v,r.m_angularVelocity+=r.m_invI*(u*v-c*y))},M.prototype.SolvePositionConstraints=function(e){void 0===e&&(e=0);var n,r=this.m_bodyA,o=this.m_bodyB,s=this.m_ground.m_xf.position.x+this.m_groundAnchor1.x,a=this.m_ground.m_xf.position.y+this.m_groundAnchor1.y,u=this.m_ground.m_xf.position.x+this.m_groundAnchor2.x,c=this.m_ground.m_xf.position.y+this.m_groundAnchor2.y,h=0,l=0,d=0,f=0,_=0,m=0,y=0,v=0,b=0,g=0,w=0,x=0,M=0,S=0;return this.m_state==p.e_atUpperLimit&&(n=r.m_xf.R,h=this.m_localAnchor1.x-r.m_sweep.localCenter.x,l=this.m_localAnchor1.y-r.m_sweep.localCenter.y,M=n.col1.x*h+n.col2.x*l,l=n.col1.y*h+n.col2.y*l,h=M,n=o.m_xf.R,d=this.m_localAnchor2.x-o.m_sweep.localCenter.x,f=this.m_localAnchor2.y-o.m_sweep.localCenter.y,M=n.col1.x*d+n.col2.x*f,f=n.col1.y*d+n.col2.y*f,d=M,_=r.m_sweep.c.x+h,m=r.m_sweep.c.y+l,y=o.m_sweep.c.x+d,v=o.m_sweep.c.y+f,this.m_u1.Set(_-s,m-a),this.m_u2.Set(y-u,v-c),b=this.m_u1.Length(),g=this.m_u2.Length(),b>t.b2_linearSlop?this.m_u1.Multiply(1/b):this.m_u1.SetZero(),g>t.b2_linearSlop?this.m_u2.Multiply(1/g):this.m_u2.SetZero(),w=this.m_constant-b-this.m_ratio*g,S=i.Max(S,-w),w=i.Clamp(w+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),_=-(x=-this.m_pulleyMass*w)*this.m_u1.x,m=-x*this.m_u1.y,y=-this.m_ratio*x*this.m_u2.x,v=-this.m_ratio*x*this.m_u2.y,r.m_sweep.c.x+=r.m_invMass*_,r.m_sweep.c.y+=r.m_invMass*m,r.m_sweep.a+=r.m_invI*(h*m-l*_),o.m_sweep.c.x+=o.m_invMass*y,o.m_sweep.c.y+=o.m_invMass*v,o.m_sweep.a+=o.m_invI*(d*v-f*y),r.SynchronizeTransform(),o.SynchronizeTransform()),this.m_limitState1==p.e_atUpperLimit&&(n=r.m_xf.R,h=this.m_localAnchor1.x-r.m_sweep.localCenter.x,l=this.m_localAnchor1.y-r.m_sweep.localCenter.y,M=n.col1.x*h+n.col2.x*l,l=n.col1.y*h+n.col2.y*l,h=M,_=r.m_sweep.c.x+h,m=r.m_sweep.c.y+l,this.m_u1.Set(_-s,m-a),(b=this.m_u1.Length())>t.b2_linearSlop?(this.m_u1.x*=1/b,this.m_u1.y*=1/b):this.m_u1.SetZero(),w=this.m_maxLength1-b,S=i.Max(S,-w),w=i.Clamp(w+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),_=-(x=-this.m_limitMass1*w)*this.m_u1.x,m=-x*this.m_u1.y,r.m_sweep.c.x+=r.m_invMass*_,r.m_sweep.c.y+=r.m_invMass*m,r.m_sweep.a+=r.m_invI*(h*m-l*_),r.SynchronizeTransform()),this.m_limitState2==p.e_atUpperLimit&&(n=o.m_xf.R,d=this.m_localAnchor2.x-o.m_sweep.localCenter.x,f=this.m_localAnchor2.y-o.m_sweep.localCenter.y,M=n.col1.x*d+n.col2.x*f,f=n.col1.y*d+n.col2.y*f,d=M,y=o.m_sweep.c.x+d,v=o.m_sweep.c.y+f,this.m_u2.Set(y-u,v-c),(g=this.m_u2.Length())>t.b2_linearSlop?(this.m_u2.x*=1/g,this.m_u2.y*=1/g):this.m_u2.SetZero(),w=this.m_maxLength2-g,S=i.Max(S,-w),w=i.Clamp(w+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),y=-(x=-this.m_limitMass2*w)*this.m_u2.x,v=-x*this.m_u2.y,o.m_sweep.c.x+=o.m_invMass*y,o.m_sweep.c.y+=o.m_invMass*v,o.m_sweep.a+=o.m_invI*(d*v-f*y),o.SynchronizeTransform()),S<t.b2_linearSlop},r.postDefs.push((function(){r.Dynamics.Joints.b2PulleyJoint.b2_minPulleyLength=2})),r.inherit(S,r.Dynamics.Joints.b2JointDef),S.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,S.b2PulleyJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.groundAnchorA=new o,this.groundAnchorB=new o,this.localAnchorA=new o,this.localAnchorB=new o},S.prototype.b2PulleyJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_pulleyJoint,this.groundAnchorA.Set(-1,1),this.groundAnchorB.Set(1,1),this.localAnchorA.Set(-1,0),this.localAnchorB.Set(1,0),this.lengthA=0,this.maxLengthA=0,this.lengthB=0,this.maxLengthB=0,this.ratio=1,this.collideConnected=!0},S.prototype.Initialize=function(t,e,n,r,i,o,s){void 0===s&&(s=0),this.bodyA=t,this.bodyB=e,this.groundAnchorA.SetV(n),this.groundAnchorB.SetV(r),this.localAnchorA=this.bodyA.GetLocalPoint(i),this.localAnchorB=this.bodyB.GetLocalPoint(o);var a=i.x-n.x,u=i.y-n.y;this.lengthA=Math.sqrt(a*a+u*u);var c=o.x-r.x,h=o.y-r.y;this.lengthB=Math.sqrt(c*c+h*h),this.ratio=s;var l=this.lengthA+this.ratio*this.lengthB;this.maxLengthA=l-this.ratio*M.b2_minPulleyLength,this.maxLengthB=(l-M.b2_minPulleyLength)/this.ratio},r.inherit(T,r.Dynamics.Joints.b2Joint),T.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,T.b2RevoluteJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.K=new e,this.K1=new e,this.K2=new e,this.K3=new e,this.impulse3=new s,this.impulse2=new o,this.reduced=new o,this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_impulse=new s,this.m_mass=new n},T.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},T.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},T.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse.x,t*this.m_impulse.y)},T.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),t*this.m_impulse.z},T.prototype.GetJointAngle=function(){return this.m_bodyB.m_sweep.a-this.m_bodyA.m_sweep.a-this.m_referenceAngle},T.prototype.GetJointSpeed=function(){return this.m_bodyB.m_angularVelocity-this.m_bodyA.m_angularVelocity},T.prototype.IsLimitEnabled=function(){return this.m_enableLimit},T.prototype.EnableLimit=function(t){this.m_enableLimit=t},T.prototype.GetLowerLimit=function(){return this.m_lowerAngle},T.prototype.GetUpperLimit=function(){return this.m_upperAngle},T.prototype.SetLimits=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.m_lowerAngle=t,this.m_upperAngle=e},T.prototype.IsMotorEnabled=function(){return this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableMotor},T.prototype.EnableMotor=function(t){this.m_enableMotor=t},T.prototype.SetMotorSpeed=function(t){void 0===t&&(t=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_motorSpeed=t},T.prototype.GetMotorSpeed=function(){return this.m_motorSpeed},T.prototype.SetMaxMotorTorque=function(t){void 0===t&&(t=0),this.m_maxMotorTorque=t},T.prototype.GetMotorTorque=function(){return this.m_maxMotorTorque},T.prototype.b2RevoluteJoint=function(t){this.__super.b2Joint.call(this,t),this.m_localAnchor1.SetV(t.localAnchorA),this.m_localAnchor2.SetV(t.localAnchorB),this.m_referenceAngle=t.referenceAngle,this.m_impulse.SetZero(),this.m_motorImpulse=0,this.m_lowerAngle=t.lowerAngle,this.m_upperAngle=t.upperAngle,this.m_maxMotorTorque=t.maxMotorTorque,this.m_motorSpeed=t.motorSpeed,this.m_enableLimit=t.enableLimit,this.m_enableMotor=t.enableMotor,this.m_limitState=p.e_inactiveLimit},T.prototype.InitVelocityConstraints=function(e){var n,r=this.m_bodyA,o=this.m_bodyB,s=0;this.m_enableMotor||this.m_enableLimit,n=r.m_xf.R;var a=this.m_localAnchor1.x-r.m_sweep.localCenter.x,u=this.m_localAnchor1.y-r.m_sweep.localCenter.y;s=n.col1.x*a+n.col2.x*u,u=n.col1.y*a+n.col2.y*u,a=s,n=o.m_xf.R;var c=this.m_localAnchor2.x-o.m_sweep.localCenter.x,h=this.m_localAnchor2.y-o.m_sweep.localCenter.y;s=n.col1.x*c+n.col2.x*h,h=n.col1.y*c+n.col2.y*h,c=s;var l=r.m_invMass,d=o.m_invMass,f=r.m_invI,_=o.m_invI;if(this.m_mass.col1.x=l+d+u*u*f+h*h*_,this.m_mass.col2.x=-u*a*f-h*c*_,this.m_mass.col3.x=-u*f-h*_,this.m_mass.col1.y=this.m_mass.col2.x,this.m_mass.col2.y=l+d+a*a*f+c*c*_,this.m_mass.col3.y=a*f+c*_,this.m_mass.col1.z=this.m_mass.col3.x,this.m_mass.col2.z=this.m_mass.col3.y,this.m_mass.col3.z=f+_,this.m_motorMass=1/(f+_),0==this.m_enableMotor&&(this.m_motorImpulse=0),this.m_enableLimit){var m=o.m_sweep.a-r.m_sweep.a-this.m_referenceAngle;i.Abs(this.m_upperAngle-this.m_lowerAngle)<2*t.b2_angularSlop?this.m_limitState=p.e_equalLimits:m<=this.m_lowerAngle?(this.m_limitState!=p.e_atLowerLimit&&(this.m_impulse.z=0),this.m_limitState=p.e_atLowerLimit):m>=this.m_upperAngle?(this.m_limitState!=p.e_atUpperLimit&&(this.m_impulse.z=0),this.m_limitState=p.e_atUpperLimit):(this.m_limitState=p.e_inactiveLimit,this.m_impulse.z=0)}else this.m_limitState=p.e_inactiveLimit;if(e.warmStarting){this.m_impulse.x*=e.dtRatio,this.m_impulse.y*=e.dtRatio,this.m_motorImpulse*=e.dtRatio;var y=this.m_impulse.x,v=this.m_impulse.y;r.m_linearVelocity.x-=l*y,r.m_linearVelocity.y-=l*v,r.m_angularVelocity-=f*(a*v-u*y+this.m_motorImpulse+this.m_impulse.z),o.m_linearVelocity.x+=d*y,o.m_linearVelocity.y+=d*v,o.m_angularVelocity+=_*(c*v-h*y+this.m_motorImpulse+this.m_impulse.z)}else this.m_impulse.SetZero(),this.m_motorImpulse=0},T.prototype.SolveVelocityConstraints=function(t){var e,n=this.m_bodyA,r=this.m_bodyB,o=0,s=0,a=0,u=0,c=0,h=n.m_linearVelocity,l=n.m_angularVelocity,d=r.m_linearVelocity,f=r.m_angularVelocity,_=n.m_invMass,m=r.m_invMass,y=n.m_invI,v=r.m_invI;if(this.m_enableMotor&&this.m_limitState!=p.e_equalLimits){var b=f-l-this.m_motorSpeed,g=this.m_motorMass*-b,w=this.m_motorImpulse,x=t.dt*this.m_maxMotorTorque;this.m_motorImpulse=i.Clamp(this.m_motorImpulse+g,-x,x),l-=y*(g=this.m_motorImpulse-w),f+=v*g}if(this.m_enableLimit&&this.m_limitState!=p.e_inactiveLimit){e=n.m_xf.R,s=this.m_localAnchor1.x-n.m_sweep.localCenter.x,a=this.m_localAnchor1.y-n.m_sweep.localCenter.y,o=e.col1.x*s+e.col2.x*a,a=e.col1.y*s+e.col2.y*a,s=o,e=r.m_xf.R,u=this.m_localAnchor2.x-r.m_sweep.localCenter.x,c=this.m_localAnchor2.y-r.m_sweep.localCenter.y,o=e.col1.x*u+e.col2.x*c,c=e.col1.y*u+e.col2.y*c,u=o;var M=d.x+-f*c-h.x- -l*a,S=d.y+f*u-h.y-l*s,T=f-l;this.m_mass.Solve33(this.impulse3,-M,-S,-T),this.m_limitState==p.e_equalLimits?this.m_impulse.Add(this.impulse3):this.m_limitState==p.e_atLowerLimit?this.m_impulse.z+this.impulse3.z<0&&(this.m_mass.Solve22(this.reduced,-M,-S),this.impulse3.x=this.reduced.x,this.impulse3.y=this.reduced.y,this.impulse3.z=-this.m_impulse.z,this.m_impulse.x+=this.reduced.x,this.m_impulse.y+=this.reduced.y,this.m_impulse.z=0):this.m_limitState==p.e_atUpperLimit&&this.m_impulse.z+this.impulse3.z>0&&(this.m_mass.Solve22(this.reduced,-M,-S),this.impulse3.x=this.reduced.x,this.impulse3.y=this.reduced.y,this.impulse3.z=-this.m_impulse.z,this.m_impulse.x+=this.reduced.x,this.m_impulse.y+=this.reduced.y,this.m_impulse.z=0),h.x-=_*this.impulse3.x,h.y-=_*this.impulse3.y,l-=y*(s*this.impulse3.y-a*this.impulse3.x+this.impulse3.z),d.x+=m*this.impulse3.x,d.y+=m*this.impulse3.y,f+=v*(u*this.impulse3.y-c*this.impulse3.x+this.impulse3.z)}else{e=n.m_xf.R,s=this.m_localAnchor1.x-n.m_sweep.localCenter.x,a=this.m_localAnchor1.y-n.m_sweep.localCenter.y,o=e.col1.x*s+e.col2.x*a,a=e.col1.y*s+e.col2.y*a,s=o,e=r.m_xf.R,u=this.m_localAnchor2.x-r.m_sweep.localCenter.x,c=this.m_localAnchor2.y-r.m_sweep.localCenter.y,o=e.col1.x*u+e.col2.x*c,c=e.col1.y*u+e.col2.y*c,u=o;var A=d.x+-f*c-h.x- -l*a,E=d.y+f*u-h.y-l*s;this.m_mass.Solve22(this.impulse2,-A,-E),this.m_impulse.x+=this.impulse2.x,this.m_impulse.y+=this.impulse2.y,h.x-=_*this.impulse2.x,h.y-=_*this.impulse2.y,l-=y*(s*this.impulse2.y-a*this.impulse2.x),d.x+=m*this.impulse2.x,d.y+=m*this.impulse2.y,f+=v*(u*this.impulse2.y-c*this.impulse2.x)}n.m_linearVelocity.SetV(h),n.m_angularVelocity=l,r.m_linearVelocity.SetV(d),r.m_angularVelocity=f},T.prototype.SolvePositionConstraints=function(e){void 0===e&&(e=0);var n,r,o=0,s=this.m_bodyA,a=this.m_bodyB,u=0,c=0,h=0,l=0;if(this.m_enableLimit&&this.m_limitState!=p.e_inactiveLimit){var d=a.m_sweep.a-s.m_sweep.a-this.m_referenceAngle,f=0;this.m_limitState==p.e_equalLimits?(o=i.Clamp(d-this.m_lowerAngle,-t.b2_maxAngularCorrection,t.b2_maxAngularCorrection),f=-this.m_motorMass*o,u=i.Abs(o)):this.m_limitState==p.e_atLowerLimit?(u=-(o=d-this.m_lowerAngle),o=i.Clamp(o+t.b2_angularSlop,-t.b2_maxAngularCorrection,0),f=-this.m_motorMass*o):this.m_limitState==p.e_atUpperLimit&&(u=o=d-this.m_upperAngle,o=i.Clamp(o-t.b2_angularSlop,0,t.b2_maxAngularCorrection),f=-this.m_motorMass*o),s.m_sweep.a-=s.m_invI*f,a.m_sweep.a+=a.m_invI*f,s.SynchronizeTransform(),a.SynchronizeTransform()}n=s.m_xf.R;var _=this.m_localAnchor1.x-s.m_sweep.localCenter.x,m=this.m_localAnchor1.y-s.m_sweep.localCenter.y;c=n.col1.x*_+n.col2.x*m,m=n.col1.y*_+n.col2.y*m,_=c,n=a.m_xf.R;var y=this.m_localAnchor2.x-a.m_sweep.localCenter.x,v=this.m_localAnchor2.y-a.m_sweep.localCenter.y;c=n.col1.x*y+n.col2.x*v,v=n.col1.y*y+n.col2.y*v,y=c;var b=a.m_sweep.c.x+y-s.m_sweep.c.x-_,g=a.m_sweep.c.y+v-s.m_sweep.c.y-m,w=b*b+g*g,x=Math.sqrt(w);r=x;var M=s.m_invMass,S=a.m_invMass,A=s.m_invI,E=a.m_invI,L=10*t.b2_linearSlop;if(w>L*L){var D=1/(M+S);h=D*-b,l=D*-g;s.m_sweep.c.x-=.5*M*h,s.m_sweep.c.y-=.5*M*l,a.m_sweep.c.x+=.5*S*h,a.m_sweep.c.y+=.5*S*l,b=a.m_sweep.c.x+y-s.m_sweep.c.x-_,g=a.m_sweep.c.y+v-s.m_sweep.c.y-m}return this.K1.col1.x=M+S,this.K1.col2.x=0,this.K1.col1.y=0,this.K1.col2.y=M+S,this.K2.col1.x=A*m*m,this.K2.col2.x=-A*_*m,this.K2.col1.y=-A*_*m,this.K2.col2.y=A*_*_,this.K3.col1.x=E*v*v,this.K3.col2.x=-E*y*v,this.K3.col1.y=-E*y*v,this.K3.col2.y=E*y*y,this.K.SetM(this.K1),this.K.AddM(this.K2),this.K.AddM(this.K3),this.K.Solve(T.tImpulse,-b,-g),h=T.tImpulse.x,l=T.tImpulse.y,s.m_sweep.c.x-=s.m_invMass*h,s.m_sweep.c.y-=s.m_invMass*l,s.m_sweep.a-=s.m_invI*(_*l-m*h),a.m_sweep.c.x+=a.m_invMass*h,a.m_sweep.c.y+=a.m_invMass*l,a.m_sweep.a+=a.m_invI*(y*l-v*h),s.SynchronizeTransform(),a.SynchronizeTransform(),r<=t.b2_linearSlop&&u<=t.b2_angularSlop},r.postDefs.push((function(){r.Dynamics.Joints.b2RevoluteJoint.tImpulse=new o})),r.inherit(A,r.Dynamics.Joints.b2JointDef),A.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,A.b2RevoluteJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o},A.prototype.b2RevoluteJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_revoluteJoint,this.localAnchorA.Set(0,0),this.localAnchorB.Set(0,0),this.referenceAngle=0,this.lowerAngle=0,this.upperAngle=0,this.maxMotorTorque=0,this.motorSpeed=0,this.enableLimit=!1,this.enableMotor=!1},A.prototype.Initialize=function(t,e,n){this.bodyA=t,this.bodyB=e,this.localAnchorA=this.bodyA.GetLocalPoint(n),this.localAnchorB=this.bodyB.GetLocalPoint(n),this.referenceAngle=this.bodyB.GetAngle()-this.bodyA.GetAngle()},r.inherit(E,r.Dynamics.Joints.b2Joint),E.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,E.b2WeldJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_localAnchorA=new o,this.m_localAnchorB=new o,this.m_impulse=new s,this.m_mass=new n},E.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA)},E.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB)},E.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse.x,t*this.m_impulse.y)},E.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),t*this.m_impulse.z},E.prototype.b2WeldJoint=function(t){this.__super.b2Joint.call(this,t),this.m_localAnchorA.SetV(t.localAnchorA),this.m_localAnchorB.SetV(t.localAnchorB),this.m_referenceAngle=t.referenceAngle,this.m_impulse.SetZero(),this.m_mass=new n},E.prototype.InitVelocityConstraints=function(t){var e,n=0,r=this.m_bodyA,i=this.m_bodyB;e=r.m_xf.R;var o=this.m_localAnchorA.x-r.m_sweep.localCenter.x,s=this.m_localAnchorA.y-r.m_sweep.localCenter.y;n=e.col1.x*o+e.col2.x*s,s=e.col1.y*o+e.col2.y*s,o=n,e=i.m_xf.R;var a=this.m_localAnchorB.x-i.m_sweep.localCenter.x,u=this.m_localAnchorB.y-i.m_sweep.localCenter.y;n=e.col1.x*a+e.col2.x*u,u=e.col1.y*a+e.col2.y*u,a=n;var c=r.m_invMass,h=i.m_invMass,l=r.m_invI,d=i.m_invI;this.m_mass.col1.x=c+h+s*s*l+u*u*d,this.m_mass.col2.x=-s*o*l-u*a*d,this.m_mass.col3.x=-s*l-u*d,this.m_mass.col1.y=this.m_mass.col2.x,this.m_mass.col2.y=c+h+o*o*l+a*a*d,this.m_mass.col3.y=o*l+a*d,this.m_mass.col1.z=this.m_mass.col3.x,this.m_mass.col2.z=this.m_mass.col3.y,this.m_mass.col3.z=l+d,t.warmStarting?(this.m_impulse.x*=t.dtRatio,this.m_impulse.y*=t.dtRatio,this.m_impulse.z*=t.dtRatio,r.m_linearVelocity.x-=c*this.m_impulse.x,r.m_linearVelocity.y-=c*this.m_impulse.y,r.m_angularVelocity-=l*(o*this.m_impulse.y-s*this.m_impulse.x+this.m_impulse.z),i.m_linearVelocity.x+=h*this.m_impulse.x,i.m_linearVelocity.y+=h*this.m_impulse.y,i.m_angularVelocity+=d*(a*this.m_impulse.y-u*this.m_impulse.x+this.m_impulse.z)):this.m_impulse.SetZero()},E.prototype.SolveVelocityConstraints=function(t){var e,n=0,r=this.m_bodyA,i=this.m_bodyB,o=r.m_linearVelocity,a=r.m_angularVelocity,u=i.m_linearVelocity,c=i.m_angularVelocity,h=r.m_invMass,l=i.m_invMass,d=r.m_invI,f=i.m_invI;e=r.m_xf.R;var p=this.m_localAnchorA.x-r.m_sweep.localCenter.x,_=this.m_localAnchorA.y-r.m_sweep.localCenter.y;n=e.col1.x*p+e.col2.x*_,_=e.col1.y*p+e.col2.y*_,p=n,e=i.m_xf.R;var m=this.m_localAnchorB.x-i.m_sweep.localCenter.x,y=this.m_localAnchorB.y-i.m_sweep.localCenter.y;n=e.col1.x*m+e.col2.x*y,y=e.col1.y*m+e.col2.y*y,m=n;var v=u.x-c*y-o.x+a*_,b=u.y+c*m-o.y-a*p,g=c-a,w=new s;this.m_mass.Solve33(w,-v,-b,-g),this.m_impulse.Add(w),o.x-=h*w.x,o.y-=h*w.y,a-=d*(p*w.y-_*w.x+w.z),u.x+=l*w.x,u.y+=l*w.y,c+=f*(m*w.y-y*w.x+w.z),r.m_angularVelocity=a,i.m_angularVelocity=c},E.prototype.SolvePositionConstraints=function(e){var n;void 0===e&&(e=0);var r=0,o=this.m_bodyA,a=this.m_bodyB;n=o.m_xf.R;var u=this.m_localAnchorA.x-o.m_sweep.localCenter.x,c=this.m_localAnchorA.y-o.m_sweep.localCenter.y;r=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=r,n=a.m_xf.R;var h=this.m_localAnchorB.x-a.m_sweep.localCenter.x,l=this.m_localAnchorB.y-a.m_sweep.localCenter.y;r=n.col1.x*h+n.col2.x*l,l=n.col1.y*h+n.col2.y*l,h=r;var d=o.m_invMass,f=a.m_invMass,p=o.m_invI,_=a.m_invI,m=a.m_sweep.c.x+h-o.m_sweep.c.x-u,y=a.m_sweep.c.y+l-o.m_sweep.c.y-c,v=a.m_sweep.a-o.m_sweep.a-this.m_referenceAngle,b=10*t.b2_linearSlop,g=Math.sqrt(m*m+y*y),w=i.Abs(v);g>b&&(p*=1,_*=1),this.m_mass.col1.x=d+f+c*c*p+l*l*_,this.m_mass.col2.x=-c*u*p-l*h*_,this.m_mass.col3.x=-c*p-l*_,this.m_mass.col1.y=this.m_mass.col2.x,this.m_mass.col2.y=d+f+u*u*p+h*h*_,this.m_mass.col3.y=u*p+h*_,this.m_mass.col1.z=this.m_mass.col3.x,this.m_mass.col2.z=this.m_mass.col3.y,this.m_mass.col3.z=p+_;var x=new s;return this.m_mass.Solve33(x,-m,-y,-v),o.m_sweep.c.x-=d*x.x,o.m_sweep.c.y-=d*x.y,o.m_sweep.a-=p*(u*x.y-c*x.x+x.z),a.m_sweep.c.x+=f*x.x,a.m_sweep.c.y+=f*x.y,a.m_sweep.a+=_*(h*x.y-l*x.x+x.z),o.SynchronizeTransform(),a.SynchronizeTransform(),g<=t.b2_linearSlop&&w<=t.b2_angularSlop},r.inherit(L,r.Dynamics.Joints.b2JointDef),L.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,L.b2WeldJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o},L.prototype.b2WeldJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_weldJoint,this.referenceAngle=0},L.prototype.Initialize=function(t,e,n){this.bodyA=t,this.bodyB=e,this.localAnchorA.SetV(this.bodyA.GetLocalPoint(n)),this.localAnchorB.SetV(this.bodyB.GetLocalPoint(n)),this.referenceAngle=this.bodyB.GetAngle()-this.bodyA.GetAngle()}}(),(G=r.Dynamics.b2DebugDraw).b2DebugDraw=function(){this.m_drawScale=1,this.m_lineThickness=1,this.m_alpha=1,this.m_fillAlpha=1,this.m_xformScale=1;var t=this;this.m_sprite={graphics:{clear:function(){t.m_ctx.clearRect(0,0,t.m_ctx.canvas.width,t.m_ctx.canvas.height)}}}},G.prototype._color=function(t,e){return"rgba("+((16711680&t)>>16)+","+((65280&t)>>8)+","+(255&t)+","+e+")"},G.prototype.b2DebugDraw=function(){this.m_drawFlags=0},G.prototype.SetFlags=function(t){void 0===t&&(t=0),this.m_drawFlags=t},G.prototype.GetFlags=function(){return this.m_drawFlags},G.prototype.AppendFlags=function(t){void 0===t&&(t=0),this.m_drawFlags|=t},G.prototype.ClearFlags=function(t){void 0===t&&(t=0),this.m_drawFlags&=~t},G.prototype.SetSprite=function(t){this.m_ctx=t},G.prototype.GetSprite=function(){return this.m_ctx},G.prototype.SetDrawScale=function(t){void 0===t&&(t=0),this.m_drawScale=t},G.prototype.GetDrawScale=function(){return this.m_drawScale},G.prototype.SetLineThickness=function(t){void 0===t&&(t=0),this.m_lineThickness=t,this.m_ctx.strokeWidth=t},G.prototype.GetLineThickness=function(){return this.m_lineThickness},G.prototype.SetAlpha=function(t){void 0===t&&(t=0),this.m_alpha=t},G.prototype.GetAlpha=function(){return this.m_alpha},G.prototype.SetFillAlpha=function(t){void 0===t&&(t=0),this.m_fillAlpha=t},G.prototype.GetFillAlpha=function(){return this.m_fillAlpha},G.prototype.SetXFormScale=function(t){void 0===t&&(t=0),this.m_xformScale=t},G.prototype.GetXFormScale=function(){return this.m_xformScale},G.prototype.DrawPolygon=function(t,e,n){if(e){var r=this.m_ctx,i=this.m_drawScale;r.beginPath(),r.strokeStyle=this._color(n.color,this.m_alpha),r.moveTo(t[0].x*i,t[0].y*i);for(var o=1;o<e;o++)r.lineTo(t[o].x*i,t[o].y*i);r.lineTo(t[0].x*i,t[0].y*i),r.closePath(),r.stroke()}},G.prototype.DrawSolidPolygon=function(t,e,n){if(e){var r=this.m_ctx,i=this.m_drawScale;r.beginPath(),r.strokeStyle=this._color(n.color,this.m_alpha),r.fillStyle=this._color(n.color,this.m_fillAlpha),r.moveTo(t[0].x*i,t[0].y*i);for(var o=1;o<e;o++)r.lineTo(t[o].x*i,t[o].y*i);r.lineTo(t[0].x*i,t[0].y*i),r.closePath(),r.fill(),r.stroke()}},G.prototype.DrawCircle=function(t,e,n){if(e){var r=this.m_ctx,i=this.m_drawScale;r.beginPath(),r.strokeStyle=this._color(n.color,this.m_alpha),r.arc(t.x*i,t.y*i,e*i,0,2*Math.PI,!0),r.closePath(),r.stroke()}},G.prototype.DrawSolidCircle=function(t,e,n,r){if(e){var i=this.m_ctx,o=this.m_drawScale,s=t.x*o,a=t.y*o;i.moveTo(0,0),i.beginPath(),i.strokeStyle=this._color(r.color,this.m_alpha),i.fillStyle=this._color(r.color,this.m_fillAlpha),i.arc(s,a,e*o,0,2*Math.PI,!0),i.moveTo(s,a),i.lineTo((t.x+n.x*e)*o,(t.y+n.y*e)*o),i.closePath(),i.fill(),i.stroke()}},G.prototype.DrawSegment=function(t,e,n){var r=this.m_ctx,i=this.m_drawScale;r.strokeStyle=this._color(n.color,this.m_alpha),r.beginPath(),r.moveTo(t.x*i,t.y*i),r.lineTo(e.x*i,e.y*i),r.closePath(),r.stroke()},G.prototype.DrawTransform=function(t){var e=this.m_ctx,n=this.m_drawScale;e.beginPath(),e.strokeStyle=this._color(16711680,this.m_alpha),e.moveTo(t.position.x*n,t.position.y*n),e.lineTo((t.position.x+this.m_xformScale*t.R.col1.x)*n,(t.position.y+this.m_xformScale*t.R.col1.y)*n),e.strokeStyle=this._color(65280,this.m_alpha),e.moveTo(t.position.x*n,t.position.y*n),e.lineTo((t.position.x+this.m_xformScale*t.R.col2.x)*n,(t.position.y+this.m_xformScale*t.R.col2.y)*n),e.closePath(),e.stroke()},H=0;H<r.postDefs.length;++H)r.postDefs[H]();t.exports=r},bxNt:function(t,e,n){!function(t){"use strict";
  237. //! moment.js locale configuration
  238. t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("TiKg"))},cAUJ:function(t,e,n){"use strict";n.r(e),n.d(e,"addListener",(function(){return l})),n.d(e,"call",(function(){return _})),n.d(e,"createEvent",(function(){return u})),n.d(e,"dispatch",(function(){return f})),n.d(e,"postMessage",(function(){return p})),n.d(e,"removeListener",(function(){return d}));var r=n("kp3F"),i=n("QuL7"),o=n("eJvy"),s=n("JpNb"),a=n("bb6g");function u(t){return new CustomEvent(r.i,{detail:t})}!function(){if("function"!=typeof window.CustomEvent){function t(t,e){var n=e||{},r=n.bubbles,i=void 0!==r&&r,o=n.cancelable,s=void 0!==o&&o,a=n.detail,u=void 0===a?void 0:a,c=document.createEvent("CustomEvent");return c.initCustomEvent(t,i,s,u),c}t.prototype=Event.prototype,window.CustomEvent=t}}();var c={},h=!1;function l(t,e){h||(h=!0,window.addEventListener(r.i,(function(t){t&&t.detail&&t.detail.type&&c[t.detail.type]&&c[t.detail.type].forEach((function(e){return e(t)}))}))),c[t]?c[t].push(e):c[t]=[e]}function d(t,e){var n=c[t];if(n&&Array.isArray(n)){var r=n.indexOf(e);r>=0&&n.splice(r,1)}}function f(t){var e={};try{e=JSON.parse(t)}catch(t){throw Object(o.j)(r.f,t.message)}var n=u(e);i.a.debug("[client dispatchEvent to js]",{type:n.type,detail:n.detail}),window.dispatchEvent(n)}function p(t,e,n){void 0===e&&(e={}),void 0===n&&(n="");var a=Object(s.getFeatureToken)();if(!a)throw Object(o.j)(r.d,"Invalid featureToken for client features");if(!window._liff||!window._liff.postMessage)throw Object(o.j)(r.f,"postMessage is not available from client");i.a.debug("[js postMessage to client]",t,n,e),window._liff.postMessage(t,a,n,JSON.stringify(e))}function _(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={once:!0}),Object(s.getFeatureToken)()?(n=Object(a.a)({callbackId:Object(o.v)(12),once:!0},n),new Promise((function(r,o){var s=function(e){if(e&&e.detail){var a=e.detail.callbackId===n.callbackId,u="string"!=typeof e.detail.callbackId;(a||u)&&(n.once&&d(t,s),i.a.debug("[callback detail]",e.detail),e.detail.error?o(e.detail.error):e.detail.data?r(e.detail.data):o(e.detail))}o()};l(t,s),p(t,e,n.callbackId)}))):Promise.reject(Object(o.j)(r.d,"Invalid featureToken for client features"))}},cDjl:function(t,e,n){(function(e){var n;if(e.browser)n="utf-8";else if(e.version){n=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";t.exports=n}).call(this,n("5IsQ"))},cEa6:function(t){t.exports=JSON.parse('{"_args":[["elliptic@6.5.4","/Users/viccg.lin/Documents/projects/2021-09-taiwanpay-bingo"]],"_from":"elliptic@6.5.4","_id":"elliptic@6.5.4","_inBundle":false,"_integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.4","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.4","saveSpec":null,"fetchSpec":"6.5.4"},"_requiredBy":["/browserify-sign","/create-ecdh","/js-crypto-ec","/js-crypto-key-utils"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","_spec":"6.5.4","_where":"/Users/viccg.lin/Documents/projects/2021-09-taiwanpay-bingo","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"description":"EC cryptography","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.4"}')},cFST:function(t,e,n){"use strict";var r,i=e,o=n("tFbo"),s=n("aAq9"),a=n("fOyB").assert;function u(t){"short"===t.type?this.curve=new s.short(t):"edwards"===t.type?this.curve=new s.edwards(t):this.curve=new s.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var n=new u(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=u,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n("GYWQ")}catch(t){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},cLEX:function(t,e,n){!function(t){"use strict";
  239. //! moment.js locale configuration
  240. var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("TiKg"))},cO3T:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"compute",{enumerable:!0,get:function(){return r.compute}}),e.default=void 0;var r=n("pkQU"),i={compute:r.compute};e.default=i},cON5:function(t,e,n){"use strict";var r=n("ovh1");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},cQcr:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJwk=e.fromJwk=void 0;var i=r(n("+Gs+")),o=r(n("SDgz")),s=r(n("qykS")),a=r(n("omOp")),u=n("srdS"),c=s.default.Buffer;e.fromJwk=function(t,e){var n={algorithm:a.default.publicKeyAlgorithms.RSA.oid,parameters:c.from([5,0])},r=o.default.encoder.decodeBase64Url(t.n),s=r.length,d=s%128==0?s:s+(128-s%128),f=new i.default.bignum((0,u.appendLeadingZeros)(r,d)),p=new i.default.bignum(o.default.encoder.decodeBase64Url(t.e)),_={};return"public"===e?(_.subjectPublicKey={unused:0,data:h.encode({modulus:f,publicExponent:p},"der")},_.algorithm=n):"private"===e&&(_.version=0,_.privateKeyAlgorithm=n,_.privateKey=l.encode({version:0,modulus:f,publicExponent:p,privateExponent:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.d),d)),prime1:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.p),d)),prime2:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.q),d)),exponent1:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.dp),d)),exponent2:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.dq),d)),coefficient:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.qi),d))},"der")),_};e.toJwk=function(t,e){if("public"===e){t.subjectPublicKey.data=h.decode(t.subjectPublicKey.data,"der");var n=t.subjectPublicKey.data.modulus,r=t.subjectPublicKey.data.publicExponent,i=n.byteLength(),s=i%128==0?i:i+(128-i%128);return n=new Uint8Array(n.toArray("be",s)),r=new Uint8Array(r.toArray("be",r.byteLength())),{kty:"RSA",n:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(n)),e:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(r))}}if("private"===e){t.privateKey=l.decode(t.privateKey,"der");var a={};a.modulus=t.privateKey.modulus;var c=a.modulus.byteLength(),d=c%128==0?c:c+(128-c%128);a.modulus=new Uint8Array(a.modulus.toArray("be",d)),a.publicExponent=new Uint8Array(t.privateKey.publicExponent.toArray("be",t.privateKey.publicExponent.byteLength())),a.privateExponent=new Uint8Array(t.privateKey.privateExponent.toArray("be",d));return["prime1","prime2","exponent1","exponent2","coefficient"].forEach((function(e){a[e]=new Uint8Array(t.privateKey[e].toArray("be",d>>1))})),{kty:"RSA",n:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.modulus)),e:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.publicExponent)),d:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.privateExponent)),p:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.prime1)),q:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.prime2)),dp:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.exponent1)),dq:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.exponent2)),qi:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.coefficient))}}};var h=i.default.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())})),l=i.default.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int(),this.key("otherPrimeInfos").optional().use(d))})),d=i.default.define("OtherPrimeInfos",(function(){this.seqof(f)})),f=i.default.define("OtherPrimeInfo",(function(){this.seq().obj(this.key("prime").int(),this.key("exponent").int(),this.key("coefficient").int())}))},cXWM:function(t,e,n){"use strict";var r=n("wfEq"),i=n("zn3x"),o=n("ql4I"),s=n("pRMk").Buffer,a=n("nIf0"),u=n("Olfb"),c=n("thXI"),h=s.alloc(128);function l(t,e){o.call(this,"digest"),"string"==typeof e&&(e=s.from(e));var n="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>n)?e=("rmd160"===t?new u:c(t)).update(e).digest():e.length<n&&(e=s.concat([e,h],n));for(var r=this._ipad=s.allocUnsafe(n),i=this._opad=s.allocUnsafe(n),a=0;a<n;a++)r[a]=54^e[a],i[a]=92^e[a];this._hash="rmd160"===t?new u:c(t),this._hash.update(r)}r(l,o),l.prototype._update=function(t){this._hash.update(t)},l.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new u:c(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new l("rmd160",e):"md5"===t?new i(a,e):new l(t,e)}},cYD4:function(t,e,n){!function(t){"use strict";
  241. //! moment.js locale configuration
  242. t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n("TiKg"))},ceDr:function(t,e,n){!function(t){"use strict";
  243. //! moment.js locale configuration
  244. t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("TiKg"))},cfHP:function(t,e,n){"use strict";var r=n("fOyB"),i=n("8kJ5"),o=n("wfEq"),s=n("7ZyU"),a=r.assert;function u(t){s.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(t,e,n,r){s.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function h(t,e,n,r){s.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,s),t.exports=u,u.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);e=(e=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(t.lambda)n=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?n=o[0]:(n=o[1],a(0===this.g.mul(n).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:n,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(n)}}},u.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),n=new i(2).toRed(e).redInvm(),r=n.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},u.prototype._getEndoBasis=function(t){for(var e,n,r,o,s,a,u,c,h,l=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=t,f=this.n.clone(),p=new i(1),_=new i(0),m=new i(0),y=new i(1),v=0;0!==d.cmpn(0);){var b=f.div(d);c=f.sub(b.mul(d)),h=m.sub(b.mul(p));var g=y.sub(b.mul(_));if(!r&&c.cmp(l)<0)e=u.neg(),n=p,r=c.neg(),o=h;else if(r&&2==++v)break;u=c,f=d,d=c,m=p,p=h,y=_,_=g}s=c.neg(),a=h;var w=r.sqr().add(o.sqr());return s.sqr().add(a.sqr()).cmp(w)>=0&&(s=e,a=n),r.negative&&(r=r.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:r,b:o},{a:s,b:a}]},u.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),s=i.mul(n.a),a=o.mul(r.a),u=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(s).sub(a),k2:u.add(c).neg()}},u.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(e&&!o||!e&&o)&&(r=r.redNeg()),this.point(t,r)},u.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var s=this._endoSplit(e[o]),a=t[o],u=a._getBeta();s.k1.negative&&(s.k1.ineg(),a=a.neg(!0)),s.k2.negative&&(s.k2.ineg(),u=u.neg(!0)),r[2*o]=a,r[2*o+1]=u,i[2*o]=s.k1,i[2*o+1]=s.k2}for(var c=this._wnafMulAdd(1,r,i,2*o,n),h=0;h<2*o;h++)r[h]=null,i[h]=null;return c},o(c,s.BasePoint),u.prototype.point=function(t,e,n){return new c(this,t,e,n)},u.prototype.pointFromJSON=function(t,e){return c.fromJSON(this,t,e)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,r=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(r)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(r)}}}return e}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,e,n){"string"==typeof e&&(e=JSON.parse(e));var r=t.point(e[0],e[1],n);if(!e[2])return r;function i(e){return t.point(e[0],e[1],n)}var o=e[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(h,s.BasePoint),u.prototype.jpoint=function(t,e,n){return new h(this,t,e,n)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},h.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},h.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),s=t.y.redMul(n.redMul(this.z)),a=r.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),h=c.redMul(a),l=r.redMul(c),d=u.redSqr().redIAdd(h).redISub(l).redISub(l),f=u.redMul(l.redISub(d)).redISub(o.redMul(h)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(d,f,p)},h.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),s=n.redSub(r),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),h=n.redMul(u),l=a.redSqr().redIAdd(c).redISub(h).redISub(h),d=a.redMul(h.redISub(l)).redISub(i.redMul(c)),f=this.z.redMul(s);return this.curve.jpoint(l,d,f)},h.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e<t;e++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,s=this.y,a=this.z,u=a.redSqr().redSqr(),c=s.redAdd(s);for(e=0;e<t;e++){var h=o.redSqr(),l=c.redSqr(),d=l.redSqr(),f=h.redAdd(h).redIAdd(h).redIAdd(r.redMul(u)),p=o.redMul(l),_=f.redSqr().redISub(p.redAdd(p)),m=p.redISub(_),y=f.redMul(m);y=y.redIAdd(y).redISub(d);var v=c.redMul(a);e+1<t&&(u=u.redMul(d)),o=_,a=v,c=y}return this.curve.jpoint(o,c.redMul(i),a)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},h.prototype._zeroDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(o);s=s.redIAdd(s);var a=r.redAdd(r).redIAdd(r),u=a.redSqr().redISub(s).redISub(s),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=u,e=a.redMul(s.redISub(u)).redISub(c),n=this.y.redAdd(this.y)}else{var h=this.x.redSqr(),l=this.y.redSqr(),d=l.redSqr(),f=this.x.redAdd(l).redSqr().redISub(h).redISub(d);f=f.redIAdd(f);var p=h.redAdd(h).redIAdd(h),_=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),t=_.redISub(f).redISub(f),e=p.redMul(f.redISub(t)).redISub(m),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,e,n)},h.prototype._threeDbl=function(){var t,e,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(o);s=s.redIAdd(s);var a=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),u=a.redSqr().redISub(s).redISub(s);t=u;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=a.redMul(s.redISub(u)).redISub(c),n=this.y.redAdd(this.y)}else{var h=this.z.redSqr(),l=this.y.redSqr(),d=this.x.redMul(l),f=this.x.redSub(h).redMul(this.x.redAdd(h));f=f.redAdd(f).redIAdd(f);var p=d.redIAdd(d),_=(p=p.redIAdd(p)).redAdd(p);t=f.redSqr().redISub(_),n=this.y.redAdd(this.z).redSqr().redISub(l).redISub(h);var m=l.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),e=f.redMul(p.redISub(t)).redISub(m)}return this.curve.jpoint(t,e,n)},h.prototype._dbl=function(){var t=this.curve.a,e=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=e.redSqr(),s=n.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),u=e.redAdd(e),c=(u=u.redIAdd(u)).redMul(s),h=a.redSqr().redISub(c.redAdd(c)),l=c.redISub(h),d=s.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var f=a.redMul(l).redISub(d),p=n.redAdd(n).redMul(r);return this.curve.jpoint(h,f,p)},h.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr(),r=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),s=this.x.redAdd(e).redSqr().redISub(t).redISub(r),a=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(o)).redSqr(),u=r.redIAdd(r);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var c=i.redIAdd(s).redSqr().redISub(o).redISub(a).redISub(u),h=e.redMul(c);h=(h=h.redIAdd(h)).redIAdd(h);var l=this.x.redMul(a).redISub(h);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.y.redMul(c.redMul(u.redISub(c)).redISub(s.redMul(a)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var f=this.z.redAdd(s).redSqr().redISub(n).redISub(a);return this.curve.jpoint(l,d,f)},h.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},h.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(e)).cmpn(0))return!1;var r=e.redMul(this.z),i=n.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(r)).cmpn(0)},h.prototype.eqXToP=function(t){var e=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(n))return!0;for(var r=t.clone(),i=this.curve.redN.redMul(e);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},h.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},h.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},cq1r:function(t,e,n){"use strict";var r=n("wfEq"),i=n("ThzV"),o=n("pRMk").Buffer,s=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(t,e){return t<<e|t>>>32-e}function c(t,e,n,r,i,o,s){return u(t+(e&n|~e&r)+i+o|0,s)+e|0}function h(t,e,n,r,i,o,s){return u(t+(e&r|n&~r)+i+o|0,s)+e|0}function l(t,e,n,r,i,o,s){return u(t+(e^n^r)+i+o|0,s)+e|0}function d(t,e,n,r,i,o,s){return u(t+(n^(e|~r))+i+o|0,s)+e|0}r(a,i),a.prototype._update=function(){for(var t=s,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,i=this._c,o=this._d;n=c(n,r,i,o,t[0],3614090360,7),o=c(o,n,r,i,t[1],3905402710,12),i=c(i,o,n,r,t[2],606105819,17),r=c(r,i,o,n,t[3],3250441966,22),n=c(n,r,i,o,t[4],4118548399,7),o=c(o,n,r,i,t[5],1200080426,12),i=c(i,o,n,r,t[6],2821735955,17),r=c(r,i,o,n,t[7],4249261313,22),n=c(n,r,i,o,t[8],1770035416,7),o=c(o,n,r,i,t[9],2336552879,12),i=c(i,o,n,r,t[10],4294925233,17),r=c(r,i,o,n,t[11],2304563134,22),n=c(n,r,i,o,t[12],1804603682,7),o=c(o,n,r,i,t[13],4254626195,12),i=c(i,o,n,r,t[14],2792965006,17),n=h(n,r=c(r,i,o,n,t[15],1236535329,22),i,o,t[1],4129170786,5),o=h(o,n,r,i,t[6],3225465664,9),i=h(i,o,n,r,t[11],643717713,14),r=h(r,i,o,n,t[0],3921069994,20),n=h(n,r,i,o,t[5],3593408605,5),o=h(o,n,r,i,t[10],38016083,9),i=h(i,o,n,r,t[15],3634488961,14),r=h(r,i,o,n,t[4],3889429448,20),n=h(n,r,i,o,t[9],568446438,5),o=h(o,n,r,i,t[14],3275163606,9),i=h(i,o,n,r,t[3],4107603335,14),r=h(r,i,o,n,t[8],1163531501,20),n=h(n,r,i,o,t[13],2850285829,5),o=h(o,n,r,i,t[2],4243563512,9),i=h(i,o,n,r,t[7],1735328473,14),n=l(n,r=h(r,i,o,n,t[12],2368359562,20),i,o,t[5],4294588738,4),o=l(o,n,r,i,t[8],2272392833,11),i=l(i,o,n,r,t[11],1839030562,16),r=l(r,i,o,n,t[14],4259657740,23),n=l(n,r,i,o,t[1],2763975236,4),o=l(o,n,r,i,t[4],1272893353,11),i=l(i,o,n,r,t[7],4139469664,16),r=l(r,i,o,n,t[10],3200236656,23),n=l(n,r,i,o,t[13],681279174,4),o=l(o,n,r,i,t[0],3936430074,11),i=l(i,o,n,r,t[3],3572445317,16),r=l(r,i,o,n,t[6],76029189,23),n=l(n,r,i,o,t[9],3654602809,4),o=l(o,n,r,i,t[12],3873151461,11),i=l(i,o,n,r,t[15],530742520,16),n=d(n,r=l(r,i,o,n,t[2],3299628645,23),i,o,t[0],4096336452,6),o=d(o,n,r,i,t[7],1126891415,10),i=d(i,o,n,r,t[14],2878612391,15),r=d(r,i,o,n,t[5],4237533241,21),n=d(n,r,i,o,t[12],1700485571,6),o=d(o,n,r,i,t[3],2399980690,10),i=d(i,o,n,r,t[10],4293915773,15),r=d(r,i,o,n,t[1],2240044497,21),n=d(n,r,i,o,t[8],1873313359,6),o=d(o,n,r,i,t[15],4264355552,10),i=d(i,o,n,r,t[6],2734768916,15),r=d(r,i,o,n,t[13],1309151649,21),n=d(n,r,i,o,t[4],4149444226,6),o=d(o,n,r,i,t[11],3174756917,10),i=d(i,o,n,r,t[2],718787259,15),r=d(r,i,o,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=a},ct8n:function(t,e,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(t){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}}}).call(this,n("pCvA"))},cyIN:function(t,e,n){var r=n("bPso");t.exports=v,v.simpleSieve=m,v.fermatTest=y;var i=n("8kJ5"),o=new i(24),s=new(n("y9a5")),a=new i(1),u=new i(2),c=new i(5),h=(new i(16),new i(8),new i(10)),l=new i(3),d=(new i(7),new i(11)),f=new i(4),p=(new i(12),null);function _(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<e&&t[i]<=r&&n%t[i]!=0;i++);e!==i&&t[i]<=r||(t[e++]=n)}return p=t,t}function m(t){for(var e=_(),n=0;n<e.length;n++)if(0===t.modn(e[n]))return 0===t.cmpn(e[n]);return!0}function y(t){var e=i.mont(t);return 0===u.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function v(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var n,p;for(e=new i(e);;){for(n=new i(r(Math.ceil(t/8)));n.bitLength()>t;)n.ishrn(1);if(n.isEven()&&n.iadd(a),n.testn(1)||n.iadd(u),e.cmp(u)){if(!e.cmp(c))for(;n.mod(h).cmp(l);)n.iadd(f)}else for(;n.mod(o).cmp(d);)n.iadd(f);if(m(p=n.shrn(1))&&m(n)&&y(p)&&y(n)&&s.test(p)&&s.test(n))return n}}},czhI:function(t,e,n){t.exports=n("TDIH")},dH0k:function(t,e,n){!function(t){"use strict";
  245. //! moment.js locale configuration
  246. t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("TiKg"))},dIx8:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.Key=void 0;var i=r(n("NthX")),o=r(n("fFdx")),s=r(n("SDJZ")),a=r(n("NToG")),u=n("BO39"),c=n("k/4n"),h=r(n("hjl+")),l=r(n("SDgz")),d=n("srdS"),f=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,s.default)(this,t);var i=(0,h.default)(n),o=(0,h.default)(r);if(this._jwk={},this._der=null,this._oct={},this._current={jwk:!1,der:!1,oct:!1},"jwk"===e)this._setJwk(i);else if("der"===e||"pem"===e){if("der"===e&&!(i instanceof Uint8Array))throw new Error("DerKeyMustBeUint8Array");if("pem"===e&&"string"!=typeof i)throw new Error("PemKeyMustBeString");this._setAsn1(i,e)}else{if("oct"!==e)throw new Error("UnsupportedType");if("string"!=typeof o.namedCurve)throw new Error("namedCurveMustBeSpecified");if(!(i instanceof Uint8Array))throw new Error("OctetKeyMustBeUint8Array");this._setSec1(i,o.namedCurve)}}var e,n,r,f;return(0,a.default)(t,[{key:"_setJwk",value:function(t){this._type=(0,d.getJwkType)(t),this._jwk=t,this._isEncrypted&&(this._der=null),this._isEncrypted=!1,this._setCurrentStatus()}},{key:"_setAsn1",value:function(t,e){this._type=(0,d.isAsn1Public)(t,e)?"public":"private",this._isEncrypted=(0,d.isAsn1Encrypted)(t,e),this._der="pem"===e?l.default.formatter.pemToBin(t):t,this._isEncrypted&&(this._jwk={},this._oct={}),this._setCurrentStatus()}},{key:"_setSec1",value:function(t,e){this._type=(0,d.getSec1KeyType)(t,e),this._oct={namedCurve:e,key:t},this._isEncrypted&&(this._der=null),this._isEncrypted=!1,this._setCurrentStatus()}},{key:"_setCurrentStatus",value:function(){this._current.jwk="string"==typeof this._jwk.kty&&("RSA"===this._jwk.kty||"EC"===this._jwk.kty),this._current.der=void 0!==this._der&&this._der instanceof Uint8Array&&this._der.length>0,this._current.oct=void 0!==this._oct.key&&this._oct.key instanceof Uint8Array&&this._oct.key.length>0&&"string"==typeof this._oct.namedCurve}},{key:"export",value:(f=(0,o.default)(i.default.mark((function t(){var e,n,r,o=arguments;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=o.length>0&&void 0!==o[0]?o[0]:"jwk",n=o.length>1&&void 0!==o[1]?o[1]:{},!(["pem","der","jwk","oct"].indexOf(e)<0)){t.next=4;break}throw new Error("UnsupportedFormat");case 4:if(!this._isEncrypted||"private"!==this._type){t.next=10;break}if("der"!==e&&"pem"!==e||0!==Object.keys(n).length||!this._current.der){t.next=9;break}return t.abrupt("return","pem"===e?l.default.formatter.binToPem(this._der,"encryptedPrivate"):this._der);case 9:throw new Error("DecryptionRequired");case 10:if(!this._current.jwk){t.next=14;break}r=this._jwk,t.next=27;break;case 14:if(!this._current.oct){t.next=20;break}return t.next=17,(0,u.toJwkFrom)("oct",this._oct.key,{namedCurve:this._oct.namedCurve});case 17:r=t.sent,t.next=27;break;case 20:if(!this._current.der){t.next=26;break}return t.next=23,(0,u.toJwkFrom)("der",this._der);case 23:r=t.sent,t.next=27;break;case 26:throw new Error("InvalidStatus");case 27:if(this._setJwk(r),"der"!==e&&"pem"!==e){t.next=35;break}return void 0===n.encryptParams&&(n.encryptParams={}),t.next=32,(0,u.fromJwkTo)(e,r,{outputPublic:n.outputPublic,compact:n.compact,encryptParams:n.encryptParams});case 32:return t.abrupt("return",t.sent);case 35:if("oct"!==e){t.next=41;break}return t.next=38,(0,u.fromJwkTo)(e,r,{outputPublic:n.outputPublic,output:n.output,compact:n.compact});case 38:return t.abrupt("return",t.sent);case 41:return t.abrupt("return",r);case 42:case"end":return t.stop()}}),t,this)}))),function(){return f.apply(this,arguments)})},{key:"encrypt",value:(r=(0,o.default)(i.default.mark((function t(e){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._isEncrypted){t.next=2;break}throw new Error("AlreadyEncrypted");case 2:return n={encryptParams:{passphrase:e}},t.t0=this,t.next=6,this.export("der",n);case 6:return t.t1=t.sent,t.t0._setAsn1.call(t.t0,t.t1,"der"),t.abrupt("return",!0);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"decrypt",value:(n=(0,o.default)(i.default.mark((function t(e){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._isEncrypted){t.next=2;break}throw new Error("NotEncrypted");case 2:if(!this._current.der||"string"!=typeof e){t.next=8;break}return t.next=5,(0,u.toJwkFrom)("der",this._der,{passphrase:e});case 5:n=t.sent,t.next=9;break;case 8:throw new Error("FailedToDecrypt");case 9:return this._setJwk(n),t.abrupt("return",!0);case 11:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"getJwkThumbprint",value:(e=(0,o.default)(i.default.mark((function t(){var e,n,r=arguments;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.length>0&&void 0!==r[0]?r[0]:"SHA-256",n=r.length>1&&void 0!==r[1]?r[1]:"binary",!this._isEncrypted){t.next=4;break}throw new Error("DecryptionRequired");case 4:return t.t0=c.getJwkThumbprint,t.next=7,this.export("jwk");case 7:return t.t1=t.sent,t.t2=e,t.t3=n,t.next=12,(0,t.t0)(t.t1,t.t2,t.t3);case 12:return t.abrupt("return",t.sent);case 13:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"keyType",get:function(){var t=this;if(this._isEncrypted)throw new Error("DecryptionRequired");return new Promise(function(){var e=(0,o.default)(i.default.mark((function e(n,r){var o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.export("jwk").catch((function(t){r(t)}));case 2:o=e.sent,n(o.kty);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())}},{key:"jwkThumbprint",get:function(){return this.getJwkThumbprint()}},{key:"isEncrypted",get:function(){return this._isEncrypted}},{key:"isPrivate",get:function(){return"private"===this._type}},{key:"der",get:function(){return this.export("der")}},{key:"pem",get:function(){return this.export("pem")}},{key:"jwk",get:function(){return this.export("jwk")}},{key:"oct",get:function(){return this.export("oct",{output:"string"})}}]),t}();e.Key=f},dLON:function(t,e,n){"use strict";var r=n("tFbo"),i=n("cFST"),o=n("fOyB"),s=o.assert,a=o.parseBytes,u=n("7wEA"),c=n("FPgC");function h(t){if(s("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof h))return new h(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=r.sha512}t.exports=h,h.prototype.sign=function(t,e){t=a(t);var n=this.keyFromSecret(e),r=this.hashInt(n.messagePrefix(),t),i=this.g.mul(r),o=this.encodePoint(i),s=this.hashInt(o,n.pubBytes(),t).mul(n.priv()),u=r.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:u,Rencoded:o})},h.prototype.verify=function(t,e,n){t=a(t),e=this.makeSignature(e);var r=this.keyFromPublic(n),i=this.hashInt(e.Rencoded(),r.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(r.pub().mul(i)).eq(o)},h.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},h.prototype.keyFromPublic=function(t){return u.fromPublic(this,t)},h.prototype.keyFromSecret=function(t){return u.fromSecret(this,t)},h.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},h.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},h.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,n=t.slice(0,e).concat(-129&t[e]),r=0!=(128&t[e]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},h.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},h.prototype.decodeInt=function(t){return o.intFromLE(t)},h.prototype.isPoint=function(t){return t instanceof this.pointClass}},dS3T:function(t,e,n){!function(t){"use strict";
  247. //! moment.js locale configuration
  248. t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(n("TiKg"))},dSB2:function(t,e,n){!function(t){"use strict";
  249. //! moment.js locale configuration
  250. t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n("TiKg"))},dhqa:function(t,e,n){!function(t){"use strict";
  251. //! moment.js locale configuration
  252. var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n("TiKg"))},"e+GP":function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},"e/5r":function(t,e,n){!function(t){"use strict";
  253. //! moment.js locale configuration
  254. t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n("TiKg"))},e5jZ:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},eHpI:function(t,e,n){!function(t){"use strict";
  255. //! moment.js locale configuration
  256. t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n("TiKg"))},eIKn:function(t,e,n){var r=n("wfEq"),i=n("+Gs+"),o=i.base,s=i.bignum,a=i.constants.der;function u(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){o.Node.call(this,"der",t)}function h(t,e){var n=t.readUInt8(e);if(t.isError(n))return n;var r=a.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){var o=n;for(n=0;128==(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;n<<=7,n|=127&o}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:a.tag[n]}}function l(t,e,n){var r=t.readUInt8(n);if(t.isError(r))return r;if(!e&&128===r)return null;if(0==(128&r))return r;var i=127&r;if(i>4)return t.error("length octect is too long");r=0;for(var o=0;o<i;o++){r<<=8;var s=t.readUInt8(n);if(t.isError(s))return s;r|=s}return r}t.exports=u,u.prototype.decode=function(t,e){return t instanceof o.DecoderBuffer||(t=new o.DecoderBuffer(t,e)),this.tree._decode(t,e)},r(c,o.Node),c.prototype._peekTag=function(t,e,n){if(t.isEmpty())return!1;var r=t.save(),i=h(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(r),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||n)},c.prototype._decodeTag=function(t,e,n){var r=h(t,'Failed to decode tag of "'+e+'"');if(t.isError(r))return r;var i=l(t,r.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!n&&r.tag!==e&&r.tagStr!==e&&r.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(r.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var o=t.save(),s=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(s)?s:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},c.prototype._skipUntilEnd=function(t,e){for(;;){var n=h(t,e);if(t.isError(n))return n;var r,i=l(t,n.primitive,e);if(t.isError(i))return i;if(r=n.primitive||null!==i?t.skip(i):this._skipUntilEnd(t,e),t.isError(r))return r;if("end"===n.tagStr)break}},c.prototype._decodeList=function(t,e,n,r){for(var i=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var s=n.decode(t,"der",r);if(t.isError(s)&&o)break;i.push(s)}return i},c.prototype._decodeStr=function(t,e){if("bitstr"===e){var n=t.readUInt8();return t.isError(n)?n:{unused:n,data:t.raw()}}if("bmpstr"===e){var r=t.raw();if(r.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<r.length/2;o++)i+=String.fromCharCode(r.readUInt16BE(2*o));return i}if("numstr"===e){var s=t.raw().toString("ascii");return this._isNumstr(s)?s:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var a=t.raw().toString("ascii");return this._isPrintstr(a)?a:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},c.prototype._decodeObjid=function(t,e,n){for(var r,i=[],o=0;!t.isEmpty();){var s=t.readUInt8();o<<=7,o|=127&s,0==(128&s)&&(i.push(o),o=0)}128&s&&i.push(o);var a=i[0]/40|0,u=i[0]%40;if(r=n?i:[a,u].concat(i.slice(1)),e){var c=e[r.join(" ")];void 0===c&&(c=e[r.join(".")]),void 0!==c&&(r=c)}return r},c.prototype._decodeTime=function(t,e){var n=t.raw().toString();if("gentime"===e)var r=0|n.slice(0,4),i=0|n.slice(4,6),o=0|n.slice(6,8),s=0|n.slice(8,10),a=0|n.slice(10,12),u=0|n.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),o=0|n.slice(4,6),s=0|n.slice(6,8),a=0|n.slice(8,10),u=0|n.slice(10,12);r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,o,s,a,u,0)},c.prototype._decodeNull=function(t){return null},c.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},c.prototype._decodeInt=function(t,e){var n=t.raw(),r=new s(n);return e&&(r=e[r.toString(10)]||r),r},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},eJvy:function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return _})),n.d(e,"c",(function(){return T})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return d})),n.d(e,"h",(function(){return l})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return m})),n.d(e,"k",(function(){return y})),n.d(e,"l",(function(){return A})),n.d(e,"m",(function(){return L})),n.d(e,"n",(function(){return v})),n.d(e,"o",(function(){return b})),n.d(e,"p",(function(){return D})),n.d(e,"q",(function(){return k})),n.d(e,"r",(function(){return C})),n.d(e,"s",(function(){return O})),n.d(e,"t",(function(){return I})),n.d(e,"u",(function(){return g})),n.d(e,"v",(function(){return x})),n.d(e,"w",(function(){return M})),n.d(e,"x",(function(){return S}));var r=n("QuL7"),i=n("bb6g"),o=n("kp3F");function s(t){return window.atob(t.replace(/-/g,"+").replace(/_/g,"/"))}var a={decode:s,encode:function(t){return window.btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},decodeUnicode:function(t){var e=s(t).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join("");return decodeURIComponent(e)}};function u(t,e){if(t===e)return 0;for(var n=t.split("."),r=e.split("."),i=Math.max(n.length,r.length),o=0;o<i;o++){n[o]||(n[o]="0"),r[o]||(r[o]="0");var s=parseInt(n[o])-parseInt(r[o]);if(0!==s)return s>0?1:-1}return 0}function c(t){var e=t.replace("#","").match(/.{2}/g)||[];if(4!==e.length)return r.a.warn("convertArgbToRgba: Received invalid ARGB color"),"";var n=function(t){var e=h(t);return Math.round(e/255*100)/100}(e[0]);return"rgba("+h(e[1])+", "+h(e[2])+", "+h(e[3])+", "+n+")"}function h(t){return parseInt(t,16)}function l(t){var e=t.replace("#","").match(/.{2}/g)||[];return 3!==e.length?(r.a.warn("convertArgbToRgba: Received invalid hex color"),""):h(e[0])+", "+h(e[1])+", "+h(e[2])}function d(t){for(var e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n),i=0;i<e;i++)r[i]=t.charCodeAt(i);return n}var f={get:function(t){var e=new RegExp("(?:(?:^|.*;\\s*)"+t+"\\s*\\=\\s*([^;]*).*$)|^.*$");return document.cookie.replace(e,"$1")},set:function(t,e,n){var i=t+"="+e;if(n)for(var o in n)i+="; "+o+(n[o]?"="+n[o]:"");r.a.debug("set cookie",i),document.cookie=i},remove:function(t,e){var n=t+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT";if(e)for(var r in e)n+="; "+r+"="+e[r];document.cookie=n}},p=new Set(["400","401","403","404","429","500"]),_=function(t){function e(e,n){var r=t.call(this,n)||this;return r.code=e,r}return Object(i.c)(e,t),e}(Error);function m(t,e){return new _(t,e||"")}function y(t){var e=t.match(/([^-]+)-[^-]+/);return e&&e[1]}function v(t){var e="";return t.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ").forEach((function(t){e+=String.fromCharCode(parseInt(t))})),window.btoa(e)}var b=new(function(){function t(){this.map={}}return t.prototype.clear=function(){this.map={}},t.prototype.getItem=function(t){var e=this.map[t];return void 0===e?null:e},t.prototype.setItem=function(t,e){this.map[t]=e},t.prototype.removeItem=function(t){delete this.map[t]},t.prototype.key=function(t){var e=Object.keys(this.map)[t];return void 0===e?null:e},Object.defineProperty(t.prototype,"length",{get:function(){return Object.keys(this.map).length},enumerable:!1,configurable:!0}),t}()),g={parse:function(t){return t.replace(/^\?/,"").replace(/^#\/?/,"").split(/&+/).filter((function(t){return t.length>0})).reduce((function(t,e){var n=Object(i.e)(e.split("=").map(decodeURIComponent),2),r=n[0],o=n[1],s=t[r];return Array.isArray(s)?s.push(o):Object.prototype.hasOwnProperty.call(t,r)?t[r]=[s,o]:t[r]=o,t}),{})},stringify:function(t){return Object.keys(t).map((function(e){var n=t[e],r=function(t){return void 0!==t?encodeURIComponent(e)+"="+encodeURIComponent(t):encodeURIComponent(e)};return Array.isArray(n)?n.map((function(t){return r(t)})).join("&"):r(n)})).join("&")}},w="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function x(t){for(var e="",n=0;n<t;n++)e+=w[Math.floor(window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967296*w.length)];return e}function M(t){var e=new URL(t),n=e.hash.slice(1).split("&").filter((function(t){return!o.b.some((function(e){return t.includes(e+"=")}))})).join("&");return e.hash=n,e.toString()}var S=function(t){var e=M(t);window.history.replaceState(history.state,"",e)};function T(t,e){if(!t)throw new Error("addParamsToUrl: invalid URL");var n=new URL(t);return Object.entries(e).forEach((function(t){var e=Object(i.e)(t,2),r=e[0],o=e[1];n.searchParams.set(r,o)})),n.toString()}function A(t){var e=t.match(E());return e&&e[1]}function E(){return new RegExp("^"+o.k+"(\\d+-\\w+)")}function L(t){var e=t.match(/^(https?:\/\/.*?)\//);return e&&e[1]||""}function D(t){return void 0===t&&(t=window.navigator.userAgent),/ipad/.test(t.toLowerCase())}function C(t){return void 0===t&&(t=window.navigator.userAgent),/Line\/\d+\.\d+\.\d+/.test(t)}function k(t){return void 0===t&&(t=window.navigator.userAgent),/Line\/\d+\.\d+\.\d+ LIFF/.test(t)}function O(t){return void 0===t&&(t=window.navigator.userAgent),/LIFF\/SubWindow/.test(t)}function I(t){for(var e,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var s=function(e){Object.keys(e).filter((function(t){return null!==e[t]&&void 0!==e[t]})).forEach((function(n){t[n]=e[n]}))};try{for(var a=Object(i.g)(r),u=a.next();!u.done;u=a.next()){var c=u.value;s(c)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return t}},"eYI/":function(t,e,n){!function(t){"use strict";
  257. //! moment.js locale configuration
  258. t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n("TiKg"))},eicH:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=[1,3,6,10,15,21,28,36,45,55,2,14,27,41,56,8,25,43,62,18,39,61,20,44];e.default=r},eqS4:function(t,e,n){!function(t){"use strict";
  259. //! moment.js locale configuration
  260. function e(t,e,n){var r,i;return"m"===n?e?"минута":"минуту":t+" "+(r=+t,i={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,w:"неделя",ww:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(n("TiKg"))},fFdx:function(t,e){function n(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var s=t.apply(e,r);function a(t){n(s,i,o,a,u,"next",t)}function u(t){n(s,i,o,a,u,"throw",t)}a(void 0)}))}}},fOyB:function(t,e,n){"use strict";var r=e,i=n("8kJ5"),o=n("siiD"),s=n("LRLT");r.assert=o,r.toArray=s.toArray,r.zero2=s.zero2,r.toHex=s.toHex,r.encode=s.encode,r.getNAF=function(t,e,n){var r=new Array(Math.max(t.bitLength(),n)+1);r.fill(0);for(var i=1<<e+1,o=t.clone(),s=0;s<r.length;s++){var a,u=o.andln(i-1);o.isOdd()?(a=u>(i>>1)-1?(i>>1)-u:u,o.isubn(a)):a=0,r[s]=a,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var s,a,u=t.andln(3)+i&3,c=e.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),s=0==(1&u)?0:3!==(r=t.andln(7)+i&7)&&5!==r||2!==c?u:-u,n[0].push(s),a=0==(1&c)?0:3!==(r=e.andln(7)+o&7)&&5!==r||2!==u?c:-c,n[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},r.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new i(t,"hex","le")}},fnly:function(t,e,n){!function(t){"use strict";
  261. //! moment.js locale configuration
  262. function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},"fwl+":function(t,e,n){"use strict";var r=n("ovh1");function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},fyYX:function(t,e,n){!function(t){"use strict";
  263. //! moment.js locale configuration
  264. var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(r,i,o,s){var a=e(r),u=n[t][e(r)];return 2===a&&(u=u[i?0:1]),u.replace(/%d/i,r)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n("TiKg"))},"g+31":function(t,e,n){"use strict";(function(e,r,i){var o=n("upWy");function s(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=v;var a,u=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:o.nextTick;v.WritableState=y;var c=Object.create(n("nrnY"));c.inherits=n("wfEq");var h={deprecate:n("ct8n")},l=n("n428"),d=n("pRMk").Buffer,f=i.Uint8Array||function(){};var p,_=n("xTpk");function m(){}function y(t,e){a=a||n("A/eZ"),t=t||{};var r=e instanceof a;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,c=t.writableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(c||0===c)?c:h,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===t.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(i(r),t._writableState.errorEmitted=!0,t.emit("error",r),S(t,e))}(t,n,r,e,i);else{var s=x(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||w(t,n),r?u(g,t,n,s,i):g(t,n,s,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function v(t){if(a=a||n("A/eZ"),!(p.call(v,this)||this instanceof a))return new v(t);this._writableState=new y(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),l.call(this)}function b(t,e,n,r,i,o,s){e.writelen=r,e.writecb=s,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function g(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),S(t,e)}function w(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),o=e.corkedRequestsFree;o.entry=n;for(var a=0,u=!0;n;)i[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;i.allBuffers=u,b(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new s(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,h=n.encoding,l=n.callback;if(b(t,e,!1,e.objectMode?1:c.length,c,h,l),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function x(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function M(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),S(t,e)}))}function S(t,e){var n=x(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(M,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}c.inherits(v,l),y.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(y.prototype,"buffer",{get:h.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===v&&(t&&t._writableState instanceof y)}})):p=function(t){return t instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(t,e,n){var r,i=this._writableState,s=!1,a=!i.objectMode&&(r=t,d.isBuffer(r)||r instanceof f);return a&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=m),i.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),o.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(t.emit("error",s),o.nextTick(r,s),i=!1),i}(this,i,t,n))&&(i.pendingcb++,s=function(t,e,n,r,i,o){if(!n){var s=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=d.from(e,n));return e}(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=e.objectMode?1:r.length;e.length+=a;var u=e.length<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else b(t,e,!1,a,r,i,o);return u}(this,i,a,t,e,n)),s},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},v.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,S(t,e),n&&(e.finished?o.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),v.prototype.destroy=_.destroy,v.prototype._undestroy=_.undestroy,v.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n("5IsQ"),n("oPUo").setImmediate,n("pCvA"))},gLHG:function(t,e,n){!function(t){"use strict";
  265. //! moment.js locale configuration
  266. t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},gSrR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pbkdf2",{enumerable:!0,get:function(){return r.pbkdf2}}),Object.defineProperty(e,"pbkdf1",{enumerable:!0,get:function(){return r.pbkdf1}}),e.default=void 0;var r=n("MWI9"),i={pbkdf2:r.pbkdf2,pbkdf1:r.pbkdf1};e.default=i},ggbP:function(t,e,n){!function(t){"use strict";
  267. //! moment.js locale configuration
  268. t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("TiKg"))},guUT:function(t,e,n){"use strict";var r=n("ovh1"),i=n("4OlW"),o=n("e5jZ"),s=n("bRtl");function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return a(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(a(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},h07j:function(t,e,n){var r=n("pRMk").Buffer;t.exports=function(t,e,n){if(r.isBuffer(t))return t;if("string"==typeof t)return r.from(t,e);if(ArrayBuffer.isView(t))return r.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},h1Um:function(t,e,n){"use strict";var r=n("Rzld"),i=n("hUM7");t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},h1m7:function(t,e,n){"use strict";n.r(e),n.d(e,"PermanentLink",(function(){return s})),n.d(e,"module",(function(){return a}));var r=n("kp3F"),i=n("eJvy"),o=n("JpNb"),s=function(){function t(){var t=this;this.extraParams="",this.getAndValidateContext=function(){var t=Object(o.getContext)();if(!t)throw Object(i.j)(r.e,"Could not get Context from server.");if(!t.endpointUrl)throw Object(i.j)(r.e,"Could not get endpointUrl from server.");if(!t.permanentLinkPattern)throw Object(i.j)(r.e,"Could not get permanentLinkPattern from server.");return t},this.createUrl=function(){var e=t.getAndValidateContext(),n=window.location,s=n.pathname,a=n.search,u=n.hash,c=n.origin,h=new URL(e.endpointUrl);if(h.origin!==c||!t.isAncestor(h.pathname,s))throw Object(i.j)(r.g,"Current page is not under entrypoint.");var l=s.substring(h.pathname.length);l.length>0&&"/"!==l[0]&&(l="/"+l);var d=new RegExp("^"+r.b.join("|")),f=u.substring(1).split("&").filter((function(t){return!d.test(t)&&Boolean(t)})).join("&"),p=f===h.hash.substring(1)?"":f,_=function(t){return t.substring(1).split("&").filter((function(t){return!/liff\.state/.test(t)&&Boolean(t)}))},m=_(a),y=_(h.search);t.extraParams&&m.push(t.extraParams);for(var v=0;v<y.length;v++){var b=y[v],g=m.indexOf(b);g>-1&&m.splice(g,1)}var w=m.join("&"),x=l+(""!==w?"?"+w:"")+(p?"#"+p:"");return""+r.k+Object(o.getConfig)().liffId+x},this.setExtraQueryParam=function(e){t.extraParams=e},this.isAncestor=function(t,e){return 0===e.indexOf(t)&&(t.endsWith("/")&&(t=t.substring(0,t.length-1)),void 0===e[t.length]||"/"===e[t.length])},this.install=function(){return{createUrl:t.createUrl,setExtraQueryParam:t.setExtraQueryParam}}}return Object.defineProperty(t.prototype,"name",{get:function(){return"permanentLink"},enumerable:!1,configurable:!0}),t}(),a=new s},hBZP:function(t,e,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var s=Number.isNaN||function(t){return t!=t};function a(){a.init.call(this)}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function l(t,e,n,r){var i,o,s,a;if(c(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),s=o[e]),void 0===s)s=o[e]=n,++t._eventsCount;else if("function"==typeof s?s=o[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=h(t))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=s.length,a=u,console&&console.warn&&console.warn(a)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):m(i,i.length)}function _(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t||t<0||s(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");u=t}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||s(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},a.prototype.getMaxListeners=function(){return h(this)},a.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(e.length>0&&(s=e[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[t];if(void 0===u)return!1;if("function"==typeof u)o(u,this,e);else{var c=u.length,h=m(u,c);for(n=0;n<c;++n)o(h[n],this,e)}return!0},a.prototype.addListener=function(t,e){return l(this,t,e,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(t,e){return l(this,t,e,!0)},a.prototype.once=function(t,e){return c(e),this.on(t,f(this,t,e)),this},a.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,f(this,t,e)),this},a.prototype.removeListener=function(t,e){var n,r,i,o,s;if(c(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,s||e)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},a.prototype.listeners=function(t){return p(this,t,!0)},a.prototype.rawListeners=function(t){return p(this,t,!1)},a.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):_.call(t,e)},a.prototype.listenerCount=_,a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},hGkD:function(t,e,n){"use strict";n.r(e),n.d(e,"isLoggedIn",(function(){return i}));var r=n("JpNb");function i(){return!!Object(r.getAccessToken)()}},hUM7:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},hVbd:function(t,e,n){(function(e,r){var i,o=n("pRMk").Buffer,s=n("PunD"),a=n("cDjl"),u=n("SUNt"),c=n("h07j"),h=e.crypto&&e.crypto.subtle,l={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function f(t,e,n,r,i){return h.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return h.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:i}},t,r<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,n,p,_,m,y){"function"==typeof m&&(y=m,m=void 0);var v=l[(m=m||"sha1").toLowerCase()];if(!v||"function"!=typeof e.Promise)return r.nextTick((function(){var e;try{e=u(t,n,p,_,m)}catch(t){return y(t)}y(null,e)}));if(s(p,_),t=c(t,a,"Password"),n=c(n,a,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){r.nextTick((function(){e(null,t)}))}),(function(t){r.nextTick((function(){e(t)}))}))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!h||!h.importKey||!h.deriveBits)return Promise.resolve(!1);if(void 0!==d[t])return d[t];var n=f(i=i||o.alloc(8),i,10,128,t).then((function(){return!0})).catch((function(){return!1}));return d[t]=n,n}(v).then((function(e){return e?f(t,n,p,_,v):u(t,n,p,_,m)})),y)}}).call(this,n("pCvA"),n("5IsQ"))},heVN:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,o,s,a,u=1,c={},h=!1,l=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){p(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},r=function(t){o.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,r=function(t){var e=l.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(p,0,t)}:(s="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(s)&&p(+e.data.slice(s.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),r=function(e){t.postMessage(s+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return c[u]=i,r(u),u++},d.clearImmediate=f}function f(t){delete c[t]}function p(t){if(h)setTimeout(p,0,t);else{var e=c[t];if(e){h=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{f(t),h=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n("pCvA"),n("5IsQ"))},"hjl+":function(t,e,n){(function(t,n){var r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",s="[object Map]",a="[object Set]",u=/\w*$/,c=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,l={};l[r]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object DataView]"]=l["[object Boolean]"]=l["[object Date]"]=l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l[s]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l[a]=l["[object String]"]=l["[object Symbol]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Error]"]=l[i]=l["[object WeakMap]"]=!1;var d="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,p=d||f||Function("return this")(),_=e&&!e.nodeType&&e,m=_&&"object"==typeof n&&n&&!n.nodeType&&n,y=m&&m.exports===_;function v(t,e){return t.set(e[0],e[1]),t}function b(t,e){return t.add(e),t}function g(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function w(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function x(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function M(t,e){return function(n){return t(e(n))}}function S(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var T,A=Array.prototype,E=Function.prototype,L=Object.prototype,D=p["__core-js_shared__"],C=(T=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+T:"",k=E.toString,O=L.hasOwnProperty,I=L.toString,P=RegExp("^"+k.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=y?p.Buffer:void 0,Y=p.Symbol,B=p.Uint8Array,N=M(Object.getPrototypeOf,Object),j=Object.create,F=L.propertyIsEnumerable,U=A.splice,G=Object.getOwnPropertySymbols,H=R?R.isBuffer:void 0,V=M(Object.keys,Object),z=mt(p,"DataView"),W=mt(p,"Map"),X=mt(p,"Promise"),J=mt(p,"Set"),K=mt(p,"WeakMap"),q=mt(Object,"create"),$=wt(z),Z=wt(W),Q=wt(X),tt=wt(J),et=wt(K),nt=Y?Y.prototype:void 0,rt=nt?nt.valueOf:void 0;function it(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ot(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function st(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function at(t){this.__data__=new ot(t)}function ut(t,e){var n=Mt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&St(t)}(t)&&O.call(t,"callee")&&(!F.call(t,"callee")||I.call(t)==r)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],i=n.length,o=!!i;for(var s in t)!e&&!O.call(t,s)||o&&("length"==s||bt(s,i))||n.push(s);return n}function ct(t,e,n){var r=t[e];O.call(t,e)&&xt(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function ht(t,e){for(var n=t.length;n--;)if(xt(t[n][0],e))return n;return-1}function lt(t,e,n,c,h,d,f){var p;if(c&&(p=d?c(t,h,d,f):c(t)),void 0!==p)return p;if(!Et(t))return t;var _=Mt(t);if(_){if(p=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&O.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!e)return function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(t,p)}else{var m=vt(t),y=m==i||m==o;if(Tt(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if("[object Object]"==m||m==r||y&&!d){if(w(t))return d?t:{};if(p=function(t){return"function"!=typeof t.constructor||gt(t)?{}:(e=N(t),Et(e)?j(e):{});var e}(y?{}:t),!e)return function(t,e){return pt(t,yt(t),e)}(t,function(t,e){return t&&pt(e,Lt(e),t)}(p,t))}else{if(!l[m])return d?t:{};p=function(t,e,n,r){var i=t.constructor;switch(e){case"[object ArrayBuffer]":return ft(t);case"[object Boolean]":case"[object Date]":return new i(+t);case"[object DataView]":return function(t,e){var n=e?ft(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t,e){var n=e?ft(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case s:return function(t,e,n){return g(e?n(x(t),!0):x(t),v,new t.constructor)}(t,r,n);case"[object Number]":case"[object String]":return new i(t);case"[object RegExp]":return function(t){var e=new t.constructor(t.source,u.exec(t));return e.lastIndex=t.lastIndex,e}(t);case a:return function(t,e,n){return g(e?n(S(t),!0):S(t),b,new t.constructor)}(t,r,n);case"[object Symbol]":return o=t,rt?Object(rt.call(o)):{}}var o}(t,m,lt,e)}}f||(f=new at);var M=f.get(t);if(M)return M;if(f.set(t,p),!_)var T=n?function(t){return function(t,e,n){var r=e(t);return Mt(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,Lt,yt)}(t):Lt(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););}(T||t,(function(r,i){T&&(r=t[i=r]),ct(p,i,lt(r,e,n,c,i,t,f))})),p}function dt(t){return!(!Et(t)||(e=t,C&&C in e))&&(At(t)||w(t)?P:c).test(wt(t));var e}function ft(t){var e=new t.constructor(t.byteLength);return new B(e).set(new B(t)),e}function pt(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var s=e[i],a=r?r(n[s],t[s],s,n,t):void 0;ct(n,s,void 0===a?t[s]:a)}return n}function _t(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function mt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return dt(n)?n:void 0}it.prototype.clear=function(){this.__data__=q?q(null):{}},it.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},it.prototype.get=function(t){var e=this.__data__;if(q){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return O.call(e,t)?e[t]:void 0},it.prototype.has=function(t){var e=this.__data__;return q?void 0!==e[t]:O.call(e,t)},it.prototype.set=function(t,e){return this.__data__[t]=q&&void 0===e?"__lodash_hash_undefined__":e,this},ot.prototype.clear=function(){this.__data__=[]},ot.prototype.delete=function(t){var e=this.__data__,n=ht(e,t);return!(n<0)&&(n==e.length-1?e.pop():U.call(e,n,1),!0)},ot.prototype.get=function(t){var e=this.__data__,n=ht(e,t);return n<0?void 0:e[n][1]},ot.prototype.has=function(t){return ht(this.__data__,t)>-1},ot.prototype.set=function(t,e){var n=this.__data__,r=ht(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},st.prototype.clear=function(){this.__data__={hash:new it,map:new(W||ot),string:new it}},st.prototype.delete=function(t){return _t(this,t).delete(t)},st.prototype.get=function(t){return _t(this,t).get(t)},st.prototype.has=function(t){return _t(this,t).has(t)},st.prototype.set=function(t,e){return _t(this,t).set(t,e),this},at.prototype.clear=function(){this.__data__=new ot},at.prototype.delete=function(t){return this.__data__.delete(t)},at.prototype.get=function(t){return this.__data__.get(t)},at.prototype.has=function(t){return this.__data__.has(t)},at.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ot){var r=n.__data__;if(!W||r.length<199)return r.push([t,e]),this;n=this.__data__=new st(r)}return n.set(t,e),this};var yt=G?M(G,Object):function(){return[]},vt=function(t){return I.call(t)};function bt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||h.test(t))&&t>-1&&t%1==0&&t<e}function gt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||L)}function wt(t){if(null!=t){try{return k.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function xt(t,e){return t===e||t!=t&&e!=e}(z&&"[object DataView]"!=vt(new z(new ArrayBuffer(1)))||W&&vt(new W)!=s||X&&"[object Promise]"!=vt(X.resolve())||J&&vt(new J)!=a||K&&"[object WeakMap]"!=vt(new K))&&(vt=function(t){var e=I.call(t),n="[object Object]"==e?t.constructor:void 0,r=n?wt(n):void 0;if(r)switch(r){case $:return"[object DataView]";case Z:return s;case Q:return"[object Promise]";case tt:return a;case et:return"[object WeakMap]"}return e});var Mt=Array.isArray;function St(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}(t.length)&&!At(t)}var Tt=H||function(){return!1};function At(t){var e=Et(t)?I.call(t):"";return e==i||e==o}function Et(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Lt(t){return St(t)?ut(t):function(t){if(!gt(t))return V(t);var e=[];for(var n in Object(t))O.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}n.exports=function(t){return lt(t,!0,!0)}}).call(this,n("pCvA"),n("RoC8")(t))},hmUS:function(t,e,n){t.exports=n("g+31")},"hnK/":function(t,e,n){e.pbkdf2=n("hVbd"),e.pbkdf2Sync=n("SUNt")},hwY2:function(t,e,n){"use strict";var r=n("HpGB"),i=n("DDMh"),o=n("Eg+Y"),s=r.rotl32,a=r.sum32,u=r.sum32_5,c=o.ft_1,h=i.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,h),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=s(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],h=this.h[2],d=this.h[3],f=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),_=u(s(i,5),c(p,o,h,d),f,n[r],l[p]);f=d,d=h,h=s(o,30),o=i,i=_}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],h),this.h[3]=a(this.h[3],d),this.h[4]=a(this.h[4],f)},d.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},"i/qy":function(t,e,n){!function(t){"use strict";
  269. //! moment.js locale configuration
  270. var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("TiKg"))},i0F7:function(t,e,n){"use strict";var r=n("ovh1");function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},iinS:function(t,e,n){"use strict";var r=n("siiD"),i=n("wfEq"),o=n("ta2Q"),s=n("Ltnq");function a(t,e){r.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[s.create({type:"encrypt",key:n}),s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:o})]:[s.create({type:"decrypt",key:o}),s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:n})]}function u(t){o.call(this,t);var e=new a(this.type,this.options.key);this._edeState=e}i(u,o),t.exports=u,u.create=function(t){return new u(t)},u.prototype._update=function(t,e,n,r){var i=this._edeState;i.ciphers[0]._update(t,e,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},u.prototype._pad=s.prototype._pad,u.prototype._unpad=s.prototype._unpad},jAw7:function(t,e,n){!function(t){"use strict";
  271. //! moment.js locale configuration
  272. function e(t,e,n){var r,i;return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+(r=+t,i={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}function n(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(n("TiKg"))},jDN0:function(t,e,n){var r=n("wfEq"),i=n("KSsY"),o=n("pRMk").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function h(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,l=0;l<16;++l)n[l]=t.readInt32BE(4*l);for(;l<80;++l)n[l]=n[l-3]^n[l-8]^n[l-14]^n[l-16];for(var d=0;d<80;++d){var f=~~(d/20),p=0|((e=r)<<5|e>>>27)+h(f,i,o,a)+u+n[d]+s[f];u=a,a=o,o=c(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},jGT8:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.deriveSecret=e.verify=e.sign=e.generateKey=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=i(n("EO1s")),u=r(n("B3sb")),c=n("Rvex"),h=i(n("SDgz")),l=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,u,h,l,d;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=n.ECDH(a.default.namedCurves[e].nodeName)).generateKeys(),i=new Uint8Array(r.getPublicKey()),s=new Uint8Array(r.getPrivateKey()),!(u=new c.Key("oct",i,{namedCurve:e})).isPrivate){t.next=7;break}throw new Error("NotPublicKeyForECCKeyGenNode");case 7:return t.next=9,u.export("jwk",{outputPublic:!0});case 9:if(h=t.sent,(l=new c.Key("oct",s,{namedCurve:e})).isPrivate){t.next=13;break}throw new Error("NotPrivateKeyForECCKeyGenNode");case 13:return t.next=15,l.export("jwk");case 15:return d=t.sent,t.abrupt("return",{publicKey:h,privateKey:d});case 17:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.generateKey=l;var d=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s){var h,l,d,f;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((h=new c.Key("jwk",n)).isPrivate){t.next=3;break}throw new Error("NotPrivateKeyForECCSignNode");case 3:return t.next=5,h.export("pem");case 5:return l=t.sent,(d=s.createSign(a.default.hashes[r].nodeName)).update(e),f=d.sign(l),t.abrupt("return","raw"===i?u.decodeAsn1Signature(f,n.crv):f);case 10:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}();e.sign=d;var f=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s,h){var l,d,f,p;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((l=new c.Key("jwk",r)).isPrivate){t.next=3;break}throw new Error("NotPrivateKeyForECCVerifyNode");case 3:return t.next=5,l.export("pem",{outputPublic:!0,compact:!1});case 5:return d=t.sent,(f=h.createVerify(a.default.hashes[i].nodeName)).update(e),p="raw"===s?u.encodeAsn1Signature(n,r.crv):n,t.abrupt("return",f.verify(d,p));case 10:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o,s){return t.apply(this,arguments)}}();e.verify=f;e.deriveSecret=function(t,e,n){var r=a.default.namedCurves[e.crv].nodeName,i=a.default.namedCurves[e.crv].payloadSize,o=n.createECDH(r),s=h.default.encoder.decodeBase64Url(e.d),u=new Uint8Array(2*i+1);return u[0]=4,u.set(h.default.encoder.decodeBase64Url(t.x),1),u.set(h.default.encoder.decodeBase64Url(t.y),i+1),o.setPrivateKey(s),new Uint8Array(o.computeSecret(u))}},jSwB:function(t,e,n){!function(t){"use strict";
  273. //! moment.js locale configuration
  274. t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},jixF:function(t,e,n){!function(t){"use strict";
  275. //! moment.js locale configuration
  276. function e(t,e,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return r?i[n][0]:i[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("TiKg"))},jnim:function(t,e,n){"use strict";var r=n("+Gs+");e.certificate=n("SPmb");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));e.PublicKey=s;var a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=u;var c=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=c;var h=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=h,e.DSAparam=r.define("DSAparam",(function(){this.int()}));var l=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=l;var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},jogf:function(t,e,n){!function(t){"use strict";
  277. //! moment.js locale configuration
  278. t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n("TiKg"))},"k/4n":function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.getJwkThumbprint=void 0;var i=r(n("NthX")),o=r(n("fFdx")),s=r(n("SDgz")),a=r(n("cO3T")),u=r(n("qykS")).default.Buffer,c=function(){var t=(0,o.default)(i.default.mark((function t(e){var n,r,o,c,h,l=arguments;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=l.length>1&&void 0!==l[1]?l[1]:"SHA-256",r=l.length>2&&void 0!==l[2]?l[2]:"binary",!(["hex","binary"].indexOf(r)<0)){t.next=4;break}throw new Error("UnsupportedOutputFormat");case 4:if("EC"!==e.kty){t.next=8;break}o=JSON.stringify({crv:e.crv,kty:e.kty,x:e.x,y:e.y}),t.next=13;break;case 8:if("RSA"!==e.kty){t.next=12;break}o=JSON.stringify({e:e.e,kty:e.kty,n:e.n}),t.next=13;break;case 12:throw new Error("UnsupportedKeyType");case 13:return c=new Uint8Array(u.from(o,"utf8")),t.next=16,a.default.compute(c,n);case 16:if(h=t.sent,"hex"!==r){t.next=21;break}return t.abrupt("return",s.default.encoder.arrayBufferToHexString(h));case 21:if("base64"!==r){t.next=25;break}return t.abrupt("return",s.default.encoder.encodeBase64(h));case 25:if("binary"!==r){t.next=27;break}return t.abrupt("return",h);case 27:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.getJwkThumbprint=c},kAr8:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJwk=e.fromJwk=void 0;var i=r(n("omOp")),o=r(n("SDgz")),s=r(n("6MVH")),a=n("srdS"),u=s.default.ec;e.fromJwk=function(t,e){var n=e.outputPublic,r=e.outputFormat,i=void 0===r?"binary":r,s=e.compact,u=void 0!==s&&s,c=(0,a.getJwkType)(t),h="boolean"==typeof n&&n?"public":c;if("public"===h){var l,d=o.default.encoder.decodeBase64Url(t.x),f=o.default.encoder.decodeBase64Url(t.y);return u?((l=new Uint8Array(d.length+1))[0]=255&2+(1&f.slice(-1)[0]),l.set(d,1)):((l=new Uint8Array(d.length+f.length+1))[0]=4,l.set(d,1),l.set(f,d.length+1)),"string"===i?o.default.encoder.arrayBufferToHexString(l):l}if("private"===h){if(!t.d)throw new Error("InvalidKey");var p=o.default.encoder.decodeBase64Url(t.d);return"string"===i?o.default.encoder.arrayBufferToHexString(p):p}};e.toJwk=function(t,e,n){var r=n.outputPublic;if(Object.keys(i.default.namedCurves).indexOf(e)<0)throw new Error("UnsupportedCurve");var s=(0,a.getSec1KeyType)(t,e),c="boolean"==typeof r&&r?"public":s,h="string"==typeof t?o.default.encoder.hexStringToArrayBuffer(t):t,l=i.default.namedCurves[e].indutnyName,d=new u(l),f="public"===s?d.keyFromPublic(h):d.keyFromPrivate(h),p=new Uint8Array(f.getPublic("array")),_=i.default.namedCurves[e].payloadSize,m=p.slice(1,_+1),y=p.slice(_+1,2*_+1),v={kty:"EC",crv:e,x:o.default.encoder.encodeBase64Url(m),y:o.default.encoder.encodeBase64Url(y)};return"private"===c&&(v.d=o.default.encoder.encodeBase64Url(h)),v}},kah5:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},keIi:function(t,e,n){"use strict";var r=n("B/8w"),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},s=r.version.split(".");function a(t,e){for(var n=e?e.split("."):s,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(t,e,n){var i=e&&a(e);function s(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new Error(s(r," has been removed in "+e));return i&&!o[r]&&(o[r]=!0,console.warn(s(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,a)}},t.exports={isOlderVersion:a,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],s=e[o];if(s){var a=t[o],u=void 0===a||s(a,o,t);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},km6H:function(t,e,n){!function(t){"use strict";
  279. //! moment.js locale configuration
  280. t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(t,e){return"元"===e[1]?1:parseInt(e[1]||t,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()!==t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n("TiKg"))},kmpK:function(t,e,n){e.publicEncrypt=n("3MSx"),e.privateDecrypt=n("B5O8"),e.privateEncrypt=function(t,n){return e.publicEncrypt(t,n,!0)},e.publicDecrypt=function(t,n){return e.privateDecrypt(t,n,!0)}},kp3F:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return y})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return o})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return c})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return v})),n.d(e,"k",(function(){return p})),n.d(e,"l",(function(){return D})),n.d(e,"m",(function(){return f})),n.d(e,"n",(function(){return _})),n.d(e,"o",(function(){return m})),n.d(e,"p",(function(){return w})),n.d(e,"q",(function(){return M})),n.d(e,"r",(function(){return S})),n.d(e,"s",(function(){return A})),n.d(e,"t",(function(){return L})),n.d(e,"u",(function(){return E})),n.d(e,"v",(function(){return g})),n.d(e,"w",(function(){return T})),n.d(e,"x",(function(){return x})),n.d(e,"y",(function(){return i})),n.d(e,"z",(function(){return r})),n.d(e,"A",(function(){return b}));var r="UNKNOWN",i="UNAUTHORIZED",o="INVALID_ARGUMENT",s="INIT_FAILED",a="FORBIDDEN",u="INVALID_CONFIG",c="INVALID_ID_TOKEN",h="CREATE_SUBWINDOW_FAILED",l="EXCEPTION_IN_SUBWINDOW",d="liffEvent",f="LIFF_STORE",p="https://liff.line.me/",_={ACCESS_TOKEN:"accessToken",ID_TOKEN:"IDToken",DECODED_ID_TOKEN:"decodedIDToken",FEATURE_TOKEN:"featureToken",LOGIN_TMP:"loginTmp",CONFIG:"config",CONTEXT:"context",EXPIRES:"expires",RAW_CONTEXT:"rawContext",CLIENT_ID:"clientId",IS_SUBSEQUENT_LIFF_APP:"isSubsequentLiffApp",MST_CHALLENGE:"mstChallenge",MSIT:"msit",MST:"mst",MST_VERIFIER:"mstVerifier",APP_DATA:"appData"},m="isInClient",y=["context_token","feature_token","access_token","id_token","client_id","mst_verifier","mst_challenge","msit"],v=5,b=["liff.ref.source","liff.ref.medium","liff.ref.campaign","liff.ref.term","liff.ref.content"],g="liff://subwindow",w="cancel",x="submit",M="close",S="error",T=100,A=100,E="liff.subwindow",L="healthCheck",D=["profile","chat_message.write","openid","email"]},lOrp:function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function i(t){return null!==t&&"object"==typeof t}var o=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(t,e){this._children[t]=e},o.prototype.removeChild=function(t){delete this._children[t]},o.prototype.getChild=function(t){return this._children[t]},o.prototype.hasChild=function(t){return t in this._children},o.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},o.prototype.forEachChild=function(t){r(this._children,t)},o.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},o.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},o.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(o.prototype,s);var a=function(t){this.register([],t,!1)};a.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},a.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},a.prototype.update=function(t){!function t(e,n,r){0;if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;t(e.concat(i),n.getChild(i),r.modules[i])}}([],this.root,t)},a.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var s=new o(e,n);0===t.length?this.root=s:this.get(t.slice(0,-1)).addChild(t[t.length-1],s);e.modules&&r(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},a.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)},a.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return e.hasChild(n)};var u;var c=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var r=t.plugins;void 0===r&&(r=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new a(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var o=this,s=this.dispatch,c=this.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return c.call(o,t,e,n)},this.strict=i;var h=this._modules.root.state;p(this,h,[],this._modules.root),f(this,h),r.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){n.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){n.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},h={state:{configurable:!0}};function l(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function d(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;p(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={};r(o,(function(e,n){s[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:s}),u.config.silent=a,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),u.nextTick((function(){return i.$destroy()})))}function p(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!o&&!i){var a=_(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){u.set(a,c,r.state)}))}var h=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=m(n,r,i),s=o.payload,a=o.options,u=o.type;return a&&a.root||(u=e+u),t.dispatch(u,s)},commit:r?t.commit:function(n,r,i){var o=m(n,r,i),s=o.payload,a=o.options,u=o.type;a&&a.root||(u=e+u),t.commit(u,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return _(t.state,n)}}}),i}(t,s,n);r.forEachMutation((function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,r.state,e)}))}(t,s+n,e,h)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,i=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var i,o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,r,i,h)})),r.forEachGetter((function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,s+n,e,h)})),r.forEachChild((function(r,o){p(t,e,n.concat(o),r,i)}))}function _(t,e){return e.reduce((function(t,e){return t[e]}),t)}function m(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function y(t){u&&t===u||
  281. /*!
  282. * vuex v3.4.0
  283. * (c) 2020 Evan You
  284. * @license MIT
  285. */
  286. function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(u=t)}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},c.prototype.commit=function(t,e,n){var r=this,i=m(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},c.prototype.dispatch=function(t,e){var n=this,r=m(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){0}var u=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){u.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){0}e(t)}))}))}},c.prototype.subscribe=function(t,e){return l(t,this._subscribers,e)},c.prototype.subscribeAction=function(t,e){return l("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},c.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},c.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},c.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),p(this,this.state,t,this._modules.get(t),n.preserveState),f(this,this.state)},c.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=_(e.state,t.slice(0,-1));u.delete(n,t[t.length-1])})),d(this)},c.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},c.prototype.hotUpdate=function(t){this._modules.update(t),d(this,!0)},c.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(c.prototype,h);var v=M((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=S(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),b=M((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=S(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),g=M((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||S(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),w=M((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=S(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function x(t){return function(t){return Array.isArray(t)||i(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function M(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function S(t,e,n){return t._modulesNamespaceMap[n]}var T={Store:c,install:y,version:"3.4.0",mapState:v,mapMutations:b,mapGetters:g,mapActions:w,createNamespacedHelpers:function(t){return{mapState:v.bind(null,t),mapGetters:g.bind(null,t),mapMutations:b.bind(null,t),mapActions:w.bind(null,t)}}};e.a=T}).call(this,n("pCvA"))},ldBe:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},lphy:function(t,e,n){(function(t,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){e&&e.nodeType,t&&t.nodeType;var s="object"==typeof r&&r;s.global!==s&&s.window!==s&&s.self;var a,u=2147483647,c=/^xn--/,h=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,p=String.fromCharCode;function _(t){throw new RangeError(d[t])}function m(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function y(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+m((t=t.replace(l,".")).split("."),e).join(".")}function v(t){for(var e,n,r=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(n=t.charCodeAt(i++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--):r.push(e);return r}function b(t){return m(t,(function(t){var e="";return t>65535&&(e+=p((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=p(t)})).join("")}function g(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function w(t,e,n){var r=0;for(t=n?f(t/700):t>>1,t+=f(t/e);t>455;r+=36)t=f(t/35);return f(r+36*t/(t+38))}function x(t){var e,n,r,i,o,s,a,c,h,l,d,p=[],m=t.length,y=0,v=128,g=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&_("not-basic"),p.push(t.charCodeAt(r));for(i=n>0?n+1:0;i<m;){for(o=y,s=1,a=36;i>=m&&_("invalid-input"),((c=(d=t.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||c>f((u-y)/s))&&_("overflow"),y+=c*s,!(c<(h=a<=g?1:a>=g+26?26:a-g));a+=36)s>f(u/(l=36-h))&&_("overflow"),s*=l;g=w(y-o,e=p.length+1,0==o),f(y/e)>u-v&&_("overflow"),v+=f(y/e),y%=e,p.splice(y++,0,v)}return b(p)}function M(t){var e,n,r,i,o,s,a,c,h,l,d,m,y,b,x,M=[];for(m=(t=v(t)).length,e=128,n=0,o=72,s=0;s<m;++s)(d=t[s])<128&&M.push(p(d));for(r=i=M.length,i&&M.push("-");r<m;){for(a=u,s=0;s<m;++s)(d=t[s])>=e&&d<a&&(a=d);for(a-e>f((u-n)/(y=r+1))&&_("overflow"),n+=(a-e)*y,e=a,s=0;s<m;++s)if((d=t[s])<e&&++n>u&&_("overflow"),d==e){for(c=n,h=36;!(c<(l=h<=o?1:h>=o+26?26:h-o));h+=36)x=c-l,b=36-l,M.push(p(g(l+x%b,0))),c=f(x/b);M.push(p(g(c,0))),o=w(n,y,r==i),n=0,++r}++n,++e}return M.join("")}a={version:"1.4.1",ucs2:{decode:v,encode:b},decode:x,encode:M,toASCII:function(t){return y(t,(function(t){return h.test(t)?"xn--"+M(t):t}))},toUnicode:function(t){return y(t,(function(t){return c.test(t)?x(t.slice(4).toLowerCase()):t}))}},void 0===(i=function(){return a}.call(e,n,e,t))||(t.exports=i)}()}).call(this,n("RoC8")(t),n("pCvA"))},m036:function(t,e,n){(function(t){var r=n("smmp");function i(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,n){for(;e._cache.length<n.length;)e._cache=t.concat([e._cache,i(e)]);var o=e._cache.slice(0,n.length);return e._cache=e._cache.slice(n.length),r(n,o)}}).call(this,n("qykS").Buffer)},mOKi:function(t,e,n){!function(t){"use strict";
  287. //! moment.js locale configuration
  288. function e(t,e,n){var r,i;return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+(r=+t,i={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(n("TiKg"))},mq6o:function(t,e,n){!function(t){"use strict";
  289. //! moment.js locale configuration
  290. function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},n428:function(t,e,n){t.exports=n("hBZP").EventEmitter},nGod:function(t,e,n){"use strict";n.d(e,"a",(function(){return $r})),n.d(e,"c",(function(){return mi})),n.d(e,"b",(function(){return ve})),n.d(e,"d",(function(){return $o}));var r=n("5+HP"),i=n("IL7q"),o=n.n(i);
  291. /*!
  292. * @pixi/polyfill - v6.1.3
  293. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  294. *
  295. * @pixi/polyfill is licensed under the MIT License.
  296. * http://www.opensource.org/licenses/mit-license
  297. */
  298. self.Promise||(self.Promise=r.a),Object.assign||(Object.assign=o.a);if(Date.now&&Date.prototype.getTime||(Date.now=function(){return(new Date).getTime()}),!self.performance||!self.performance.now){var s=Date.now();self.performance||(self.performance={}),self.performance.now=function(){return Date.now()-s}}for(var a=Date.now(),u=["ms","moz","webkit","o"],c=0;c<u.length&&!self.requestAnimationFrame;++c){var h=u[c];self.requestAnimationFrame=self[h+"RequestAnimationFrame"],self.cancelAnimationFrame=self[h+"CancelAnimationFrame"]||self[h+"CancelRequestAnimationFrame"]}self.requestAnimationFrame||(self.requestAnimationFrame=function(t){if("function"!=typeof t)throw new TypeError(t+"is not a function");var e=Date.now(),n=16+a-e;return n<0&&(n=0),a=e,self.setTimeout((function(){a=Date.now(),t(performance.now())}),n)}),self.cancelAnimationFrame||(self.cancelAnimationFrame=function(t){return clearTimeout(t)}),Math.sign||(Math.sign=function(t){return 0===(t=Number(t))||isNaN(t)?t:t>0?1:-1}),Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}),self.ArrayBuffer||(self.ArrayBuffer=Array),self.Float32Array||(self.Float32Array=Array),self.Uint32Array||(self.Uint32Array=Array),self.Uint16Array||(self.Uint16Array=Array),self.Uint8Array||(self.Uint8Array=Array),self.Int32Array||(self.Int32Array=Array);var l=/iPhone/i,d=/iPod/i,f=/iPad/i,p=/\biOS-universal(?:.+)Mac\b/i,_=/\bAndroid(?:.+)Mobile\b/i,m=/Android/i,y=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,v=/Silk/i,b=/Windows Phone/i,g=/\bWindows(?:.+)ARM\b/i,w=/BlackBerry/i,x=/BB10/i,M=/Opera Mini/i,S=/\b(CriOS|Chrome)(?:.+)Mobile/i,T=/Mobile(?:.+)Firefox\b/i,A=function(t){return void 0!==t&&"MacIntel"===t.platform&&"number"==typeof t.maxTouchPoints&&t.maxTouchPoints>1&&"undefined"==typeof MSStream};
  299. /*!
  300. * @pixi/settings - v6.1.3
  301. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  302. *
  303. * @pixi/settings is licensed under the MIT License.
  304. * http://www.opensource.org/licenses/mit-license
  305. */
  306. var E,L,D,C,k,O,I,P,R,Y,B,N,j,F,U,G,H,V,z,W=function(t){var e={userAgent:"",platform:"",maxTouchPoints:0};t||"undefined"==typeof navigator?"string"==typeof t?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0}):e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var n=e.userAgent,r=n.split("[FBAN");void 0!==r[1]&&(n=r[0]),void 0!==(r=n.split("Twitter"))[1]&&(n=r[0]);var i=function(t){return function(e){return e.test(t)}}(n),o={apple:{phone:i(l)&&!i(b),ipod:i(d),tablet:!i(l)&&(i(f)||A(e))&&!i(b),universal:i(p),device:(i(l)||i(d)||i(f)||i(p)||A(e))&&!i(b)},amazon:{phone:i(y),tablet:!i(y)&&i(v),device:i(y)||i(v)},android:{phone:!i(b)&&i(y)||!i(b)&&i(_),tablet:!i(b)&&!i(y)&&!i(_)&&(i(v)||i(m)),device:!i(b)&&(i(y)||i(v)||i(_)||i(m))||i(/\bokhttp\b/i)},windows:{phone:i(b),tablet:i(g),device:i(b)||i(g)},other:{blackberry:i(w),blackberry10:i(x),opera:i(M),firefox:i(T),chrome:i(S),device:i(w)||i(x)||i(M)||i(T)||i(S)},any:!1,phone:!1,tablet:!1};return o.any=o.apple.device||o.android.device||o.windows.device||o.other.device,o.phone=o.apple.phone||o.android.phone||o.windows.phone,o.tablet=o.apple.tablet||o.android.tablet||o.windows.tablet,o}(self.navigator);!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(E||(E={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(L||(L={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(D||(D={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(C||(C={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(k||(k={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(O||(O={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(I||(I={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(P||(P={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(R||(R={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(Y||(Y={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(B||(B={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(N||(N={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(j||(j={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(F||(F={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(U||(U={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(G||(G={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(H||(H={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(V||(V={})),function(t){t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"}(z||(z={}));var X,J,K,q,$,Z,Q,tt,et,nt,rt,it,ot,st,at,ut,ct,ht,lt,dt={MIPMAP_TEXTURES:N.POW2,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,FILTER_MULTISAMPLE:V.NONE,SPRITE_MAX_TEXTURES:function(t){var e=!0;if(W.tablet||W.phone){var n;if(W.apple.device)if(n=navigator.userAgent.match(/OS (\d+)_(\d+)?/))parseInt(n[1],10)<11&&(e=!1);if(W.android.device)if(n=navigator.userAgent.match(/Android\s([0-9.]*)/))parseInt(n[1],10)<7&&(e=!1)}return e?t:4}(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,autoDensity:!1,backgroundColor:0,backgroundAlpha:1,useContextAlpha:!0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1},GC_MODE:U.AUTO,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:B.CLAMP,SCALE_MODE:Y.LINEAR,PRECISION_VERTEX:G.HIGH,PRECISION_FRAGMENT:W.apple.device?G.HIGH:G.MEDIUM,CAN_UPLOAD_SAME_BUFFER:!W.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1},ft=n("/ieh"),pt=n.n(ft),_t=n("6aAO"),mt=n.n(_t),yt=n("3lCv");!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(X||(X={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(J||(J={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(K||(K={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(q||(q={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}($||($={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(Z||(Z={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(Q||(Q={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(tt||(tt={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(et||(et={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(nt||(nt={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(rt||(rt={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(it||(it={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(ot||(ot={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(st||(st={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(at||(at={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(ut||(ut={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(ct||(ct={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(ht||(ht={})),function(t){t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"}(lt||(lt={}));
  307. /*!
  308. * @pixi/utils - v6.1.3
  309. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  310. *
  311. * @pixi/utils is licensed under the MIT License.
  312. * http://www.opensource.org/licenses/mit-license
  313. */
  314. var vt={parse:yt.parse,format:yt.format,resolve:yt.resolve};dt.RETINA_PREFIX=/@([0-9\.]+)x/,dt.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var bt,gt=!1;var wt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function xt(t,e){return void 0===e&&(e=[]),e[0]=(t>>16&255)/255,e[1]=(t>>8&255)/255,e[2]=(255&t)/255,e}function Mt(t){var e=t.toString(16);return"#"+(e="000000".substr(0,6-e.length)+e)}function St(t){return"string"==typeof t&&"#"===(t=wt[t.toLowerCase()]||t)[0]&&(t=t.substr(1)),parseInt(t,16)}var Tt=function(){for(var t=[],e=[],n=0;n<32;n++)t[n]=n,e[n]=n;t[q.NORMAL_NPM]=q.NORMAL,t[q.ADD_NPM]=q.ADD,t[q.SCREEN_NPM]=q.SCREEN,e[q.NORMAL]=q.NORMAL_NPM,e[q.ADD]=q.ADD_NPM,e[q.SCREEN]=q.SCREEN_NPM;var r=[];return r.push(e),r.push(t),r}();function At(t,e){return Tt[e?1:0][t]}function Et(t,e){if(1===e)return(255*e<<24)+t;if(0===e)return 0;var n=t>>16&255,r=t>>8&255,i=255&t;return(255*e<<24)+((n=n*e+.5|0)<<16)+((r=r*e+.5|0)<<8)+(i=i*e+.5|0)}function Lt(t,e,n,r){return(n=n||new Float32Array(4))[0]=(t>>16&255)/255,n[1]=(t>>8&255)/255,n[2]=(255&t)/255,(r||void 0===r)&&(n[0]*=e,n[1]*=e,n[2]*=e),n[3]=e,n}function Dt(t){if(4===t.BYTES_PER_ELEMENT)return t instanceof Float32Array?"Float32Array":t instanceof Uint32Array?"Uint32Array":"Int32Array";if(2===t.BYTES_PER_ELEMENT){if(t instanceof Uint16Array)return"Uint16Array"}else if(1===t.BYTES_PER_ELEMENT&&t instanceof Uint8Array)return"Uint8Array";return null}Float32Array,Uint32Array,Int32Array,Uint8Array;function Ct(t){return t+=0===t?1:0,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1}function kt(t){return!(t&t-1||!t)}function Ot(t){var e=(t>65535?1:0)<<4,n=((t>>>=e)>255?1:0)<<3;return e|=n,e|=n=((t>>>=n)>15?1:0)<<2,(e|=n=((t>>>=n)>3?1:0)<<1)|(t>>>=n)>>1}function It(t,e,n){var r,i=t.length;if(!(e>=i||0===n)){var o=i-(n=e+n>i?i-e:n);for(r=e;r<o;++r)t[r]=t[r+n];t.length=o}}function Pt(t){return 0===t?0:t<0?-1:1}var Rt=0;function Yt(){return++Rt}var Bt={};function Nt(t,e,n){if(void 0===n&&(n=3),!Bt[e]){var r=(new Error).stack;void 0===r?console.warn("PixiJS Deprecation Warning: ",e+"\nDeprecated since v"+t):(r=r.split("\n").splice(n).join("\n"),console.groupCollapsed?(console.groupCollapsed("%cPixiJS Deprecation Warning: %c%s","color:#614108;background:#fffbe6","font-weight:normal;color:#614108;background:#fffbe6",e+"\nDeprecated since v"+t),console.warn(r),console.groupEnd()):(console.warn("PixiJS Deprecation Warning: ",e+"\nDeprecated since v"+t),console.warn(r))),Bt[e]=!0}}var jt={},Ft=Object.create(null),Ut=Object.create(null);var Gt=function(){function t(t,e,n){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.resolution=n||dt.RESOLUTION,this.resize(t,e)}return t.prototype.clear=function(){this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.canvas.width,this.canvas.height)},t.prototype.resize=function(t,e){this.canvas.width=Math.round(t*this.resolution),this.canvas.height=Math.round(e*this.resolution)},t.prototype.destroy=function(){this.context=null,this.canvas=null},Object.defineProperty(t.prototype,"width",{get:function(){return this.canvas.width},set:function(t){this.canvas.width=Math.round(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.canvas.height},set:function(t){this.canvas.height=Math.round(t)},enumerable:!1,configurable:!0}),t}();var Ht;function Vt(t,e){var n=dt.RETINA_PREFIX.exec(t);return n?parseFloat(n[1]):void 0!==e?e:1}
  315. /*!
  316. * @pixi/math - v6.1.3
  317. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  318. *
  319. * @pixi/math is licensed under the MIT License.
  320. * http://www.opensource.org/licenses/mit-license
  321. */var zt,Wt=2*Math.PI,Xt=180/Math.PI,Jt=Math.PI/180;!function(t){t[t.POLY=0]="POLY",t[t.RECT=1]="RECT",t[t.CIRC=2]="CIRC",t[t.ELIP=3]="ELIP",t[t.RREC=4]="RREC"}(zt||(zt={}));var Kt=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=Number(t),this.y=Number(e),this.width=Number(n),this.height=Number(r),this.type=zt.RECT}return Object.defineProperty(t.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(t,"EMPTY",{get:function(){return new t(0,0,0,0)},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copyFrom=function(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this},t.prototype.copyTo=function(t){return t.x=this.x,t.y=this.y,t.width=this.width,t.height=this.height,t},t.prototype.contains=function(t,e){return!(this.width<=0||this.height<=0)&&(t>=this.x&&t<this.x+this.width&&e>=this.y&&e<this.y+this.height)},t.prototype.pad=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.x-=t,this.y-=e,this.width+=2*t,this.height+=2*e,this},t.prototype.fit=function(t){var e=Math.max(this.x,t.x),n=Math.min(this.x+this.width,t.x+t.width),r=Math.max(this.y,t.y),i=Math.min(this.y+this.height,t.y+t.height);return this.x=e,this.width=Math.max(n-e,0),this.y=r,this.height=Math.max(i-r,0),this},t.prototype.ceil=function(t,e){void 0===t&&(t=1),void 0===e&&(e=.001);var n=Math.ceil((this.x+this.width-e)*t)/t,r=Math.ceil((this.y+this.height-e)*t)/t;return this.x=Math.floor((this.x+e)*t)/t,this.y=Math.floor((this.y+e)*t)/t,this.width=n-this.x,this.height=r-this.y,this},t.prototype.enlarge=function(t){var e=Math.min(this.x,t.x),n=Math.max(this.x+this.width,t.x+t.width),r=Math.min(this.y,t.y),i=Math.max(this.y+this.height,t.y+t.height);return this.x=e,this.width=n-e,this.y=r,this.height=i-r,this},t.prototype.toString=function(){return"[@pixi/math:Rectangle x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+"]"},t}(),qt=function(){function t(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.radius=n,this.type=zt.CIRC}return t.prototype.clone=function(){return new t(this.x,this.y,this.radius)},t.prototype.contains=function(t,e){if(this.radius<=0)return!1;var n=this.radius*this.radius,r=this.x-t,i=this.y-e;return(r*=r)+(i*=i)<=n},t.prototype.getBounds=function(){return new Kt(this.x-this.radius,this.y-this.radius,2*this.radius,2*this.radius)},t.prototype.toString=function(){return"[@pixi/math:Circle x="+this.x+" y="+this.y+" radius="+this.radius+"]"},t}(),$t=function(){function t(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=t,this.y=e,this.width=n,this.height=r,this.type=zt.ELIP}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;var n=(t-this.x)/this.width,r=(e-this.y)/this.height;return(n*=n)+(r*=r)<=1},t.prototype.getBounds=function(){return new Kt(this.x-this.width,this.y-this.height,this.width,this.height)},t.prototype.toString=function(){return"[@pixi/math:Ellipse x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+"]"},t}(),Zt=function(){function t(){for(var t=arguments,e=[],n=0;n<arguments.length;n++)e[n]=t[n];var r=Array.isArray(e[0])?e[0]:e;if("number"!=typeof r[0]){for(var i=[],o=0,s=r.length;o<s;o++)i.push(r[o].x,r[o].y);r=i}this.points=r,this.type=zt.POLY,this.closeStroke=!0}return t.prototype.clone=function(){var e=new t(this.points.slice());return e.closeStroke=this.closeStroke,e},t.prototype.contains=function(t,e){for(var n=!1,r=this.points.length/2,i=0,o=r-1;i<r;o=i++){var s=this.points[2*i],a=this.points[2*i+1],u=this.points[2*o],c=this.points[2*o+1];a>e!=c>e&&t<(e-a)/(c-a)*(u-s)+s&&(n=!n)}return n},t.prototype.toString=function(){return"[@pixi/math:PolygoncloseStroke="+this.closeStroke+"points="+this.points.reduce((function(t,e){return t+", "+e}),"")+"]"},t}(),Qt=function(){function t(t,e,n,r,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=20),this.x=t,this.y=e,this.width=n,this.height=r,this.radius=i,this.type=zt.RREC}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height,this.radius)},t.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;if(t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height){if(e>=this.y+this.radius&&e<=this.y+this.height-this.radius||t>=this.x+this.radius&&t<=this.x+this.width-this.radius)return!0;var n=t-(this.x+this.radius),r=e-(this.y+this.radius),i=this.radius*this.radius;if(n*n+r*r<=i)return!0;if((n=t-(this.x+this.width-this.radius))*n+r*r<=i)return!0;if(n*n+(r=e-(this.y+this.height-this.radius))*r<=i)return!0;if((n=t-(this.x+this.radius))*n+r*r<=i)return!0}return!1},t.prototype.toString=function(){return"[@pixi/math:RoundedRectangle x="+this.x+" y="+this.y+"width="+this.width+" height="+this.height+" radius="+this.radius+"]"},t}(),te=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=0,this.y=0,this.x=t,this.y=e}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(t){return this.set(t.x,t.y),this},t.prototype.copyTo=function(t){return t.set(this.x,this.y),t},t.prototype.equals=function(t){return t.x===this.x&&t.y===this.y},t.prototype.set=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.x=t,this.y=e,this},t.prototype.toString=function(){return"[@pixi/math:Point x="+this.x+" y="+this.y+"]"},t}(),ee=function(){function t(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),this._x=n,this._y=r,this.cb=t,this.scope=e}return t.prototype.clone=function(e,n){return void 0===e&&(e=this.cb),void 0===n&&(n=this.scope),new t(e,n,this._x,this._y)},t.prototype.set=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this._x===t&&this._y===e||(this._x=t,this._y=e,this.cb.call(this.scope)),this},t.prototype.copyFrom=function(t){return this._x===t.x&&this._y===t.y||(this._x=t.x,this._y=t.y,this.cb.call(this.scope)),this},t.prototype.copyTo=function(t){return t.set(this._x,this._y),t},t.prototype.equals=function(t){return t.x===this._x&&t.y===this._y},t.prototype.toString=function(){return"[@pixi/math:ObservablePoint x=0 y=0 scope="+this.scope+"]"},Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))},enumerable:!1,configurable:!0}),t}(),ne=function(){function t(t,e,n,r,i,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),this.array=null,this.a=t,this.b=e,this.c=n,this.d=r,this.tx=i,this.ty=o}return t.prototype.fromArray=function(t){this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]},t.prototype.set=function(t,e,n,r,i,o){return this.a=t,this.b=e,this.c=n,this.d=r,this.tx=i,this.ty=o,this},t.prototype.toArray=function(t,e){this.array||(this.array=new Float32Array(9));var n=e||this.array;return t?(n[0]=this.a,n[1]=this.b,n[2]=0,n[3]=this.c,n[4]=this.d,n[5]=0,n[6]=this.tx,n[7]=this.ty,n[8]=1):(n[0]=this.a,n[1]=this.c,n[2]=this.tx,n[3]=this.b,n[4]=this.d,n[5]=this.ty,n[6]=0,n[7]=0,n[8]=1),n},t.prototype.apply=function(t,e){e=e||new te;var n=t.x,r=t.y;return e.x=this.a*n+this.c*r+this.tx,e.y=this.b*n+this.d*r+this.ty,e},t.prototype.applyInverse=function(t,e){e=e||new te;var n=1/(this.a*this.d+this.c*-this.b),r=t.x,i=t.y;return e.x=this.d*n*r+-this.c*n*i+(this.ty*this.c-this.tx*this.d)*n,e.y=this.a*n*i+-this.b*n*r+(-this.ty*this.a+this.tx*this.b)*n,e},t.prototype.translate=function(t,e){return this.tx+=t,this.ty+=e,this},t.prototype.scale=function(t,e){return this.a*=t,this.d*=e,this.c*=t,this.b*=e,this.tx*=t,this.ty*=e,this},t.prototype.rotate=function(t){var e=Math.cos(t),n=Math.sin(t),r=this.a,i=this.c,o=this.tx;return this.a=r*e-this.b*n,this.b=r*n+this.b*e,this.c=i*e-this.d*n,this.d=i*n+this.d*e,this.tx=o*e-this.ty*n,this.ty=o*n+this.ty*e,this},t.prototype.append=function(t){var e=this.a,n=this.b,r=this.c,i=this.d;return this.a=t.a*e+t.b*r,this.b=t.a*n+t.b*i,this.c=t.c*e+t.d*r,this.d=t.c*n+t.d*i,this.tx=t.tx*e+t.ty*r+this.tx,this.ty=t.tx*n+t.ty*i+this.ty,this},t.prototype.setTransform=function(t,e,n,r,i,o,s,a,u){return this.a=Math.cos(s+u)*i,this.b=Math.sin(s+u)*i,this.c=-Math.sin(s-a)*o,this.d=Math.cos(s-a)*o,this.tx=t-(n*this.a+r*this.c),this.ty=e-(n*this.b+r*this.d),this},t.prototype.prepend=function(t){var e=this.tx;if(1!==t.a||0!==t.b||0!==t.c||1!==t.d){var n=this.a,r=this.c;this.a=n*t.a+this.b*t.c,this.b=n*t.b+this.b*t.d,this.c=r*t.a+this.d*t.c,this.d=r*t.b+this.d*t.d}return this.tx=e*t.a+this.ty*t.c+t.tx,this.ty=e*t.b+this.ty*t.d+t.ty,this},t.prototype.decompose=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,o=t.pivot,s=-Math.atan2(-r,i),a=Math.atan2(n,e),u=Math.abs(s+a);return u<1e-5||Math.abs(Wt-u)<1e-5?(t.rotation=a,t.skew.x=t.skew.y=0):(t.rotation=0,t.skew.x=s,t.skew.y=a),t.scale.x=Math.sqrt(e*e+n*n),t.scale.y=Math.sqrt(r*r+i*i),t.position.x=this.tx+(o.x*e+o.y*r),t.position.y=this.ty+(o.x*n+o.y*i),t},t.prototype.invert=function(){var t=this.a,e=this.b,n=this.c,r=this.d,i=this.tx,o=t*r-e*n;return this.a=r/o,this.b=-e/o,this.c=-n/o,this.d=t/o,this.tx=(n*this.ty-r*i)/o,this.ty=-(t*this.ty-e*i)/o,this},t.prototype.identity=function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this},t.prototype.clone=function(){var e=new t;return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e},t.prototype.copyTo=function(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},t.prototype.copyFrom=function(t){return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.tx=t.tx,this.ty=t.ty,this},t.prototype.toString=function(){return"[@pixi/math:Matrix a="+this.a+" b="+this.b+" c="+this.c+" d="+this.d+" tx="+this.tx+" ty="+this.ty+"]"},Object.defineProperty(t,"IDENTITY",{get:function(){return new t},enumerable:!1,configurable:!0}),Object.defineProperty(t,"TEMP_MATRIX",{get:function(){return new t},enumerable:!1,configurable:!0}),t}(),re=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],ie=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],oe=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],se=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],ae=[],ue=[],ce=Math.sign;!function(){for(var t=0;t<16;t++){var e=[];ae.push(e);for(var n=0;n<16;n++)for(var r=ce(re[t]*re[n]+oe[t]*ie[n]),i=ce(ie[t]*re[n]+se[t]*ie[n]),o=ce(re[t]*oe[n]+oe[t]*se[n]),s=ce(ie[t]*oe[n]+se[t]*se[n]),a=0;a<16;a++)if(re[a]===r&&ie[a]===i&&oe[a]===o&&se[a]===s){e.push(a);break}}for(t=0;t<16;t++){var u=new ne;u.set(re[t],ie[t],oe[t],se[t],0,0),ue.push(u)}}();var he={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:function(t){return re[t]},uY:function(t){return ie[t]},vX:function(t){return oe[t]},vY:function(t){return se[t]},inv:function(t){return 8&t?15&t:7&-t},add:function(t,e){return ae[t][e]},sub:function(t,e){return ae[t][he.inv(e)]},rotate180:function(t){return 4^t},isVertical:function(t){return 2==(3&t)},byDirection:function(t,e){return 2*Math.abs(t)<=Math.abs(e)?e>=0?he.S:he.N:2*Math.abs(e)<=Math.abs(t)?t>0?he.E:he.W:e>0?t>0?he.SE:he.SW:t>0?he.NE:he.NW},matrixAppendRotationInv:function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var i=ue[he.inv(e)];i.tx=n,i.ty=r,t.append(i)}},le=function(){function t(){this.worldTransform=new ne,this.localTransform=new ne,this.position=new ee(this.onChange,this,0,0),this.scale=new ee(this.onChange,this,1,1),this.pivot=new ee(this.onChange,this,0,0),this.skew=new ee(this.updateSkew,this,0,0),this._rotation=0,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._localID=0,this._currentLocalID=0,this._worldID=0,this._parentID=0}return t.prototype.onChange=function(){this._localID++},t.prototype.updateSkew=function(){this._cx=Math.cos(this._rotation+this.skew.y),this._sx=Math.sin(this._rotation+this.skew.y),this._cy=-Math.sin(this._rotation-this.skew.x),this._sy=Math.cos(this._rotation-this.skew.x),this._localID++},t.prototype.toString=function(){return"[@pixi/math:Transform position=("+this.position.x+", "+this.position.y+") rotation="+this.rotation+" scale=("+this.scale.x+", "+this.scale.y+") skew=("+this.skew.x+", "+this.skew.y+") ]"},t.prototype.updateLocalTransform=function(){var t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale.x,t.b=this._sx*this.scale.x,t.c=this._cy*this.scale.y,t.d=this._sy*this.scale.y,t.tx=this.position.x-(this.pivot.x*t.a+this.pivot.y*t.c),t.ty=this.position.y-(this.pivot.x*t.b+this.pivot.y*t.d),this._currentLocalID=this._localID,this._parentID=-1)},t.prototype.updateTransform=function(t){var e=this.localTransform;if(this._localID!==this._currentLocalID&&(e.a=this._cx*this.scale.x,e.b=this._sx*this.scale.x,e.c=this._cy*this.scale.y,e.d=this._sy*this.scale.y,e.tx=this.position.x-(this.pivot.x*e.a+this.pivot.y*e.c),e.ty=this.position.y-(this.pivot.x*e.b+this.pivot.y*e.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){var n=t.worldTransform,r=this.worldTransform;r.a=e.a*n.a+e.b*n.c,r.b=e.a*n.b+e.b*n.d,r.c=e.c*n.a+e.d*n.c,r.d=e.c*n.b+e.d*n.d,r.tx=e.tx*n.a+e.ty*n.c+n.tx,r.ty=e.tx*n.b+e.ty*n.d+n.ty,this._parentID=t._worldID,this._worldID++}},t.prototype.setFromMatrix=function(t){t.decompose(this),this._localID++},Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())},enumerable:!1,configurable:!0}),t.IDENTITY=new t,t}();
  322. /*!
  323. * @pixi/display - v6.1.3
  324. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  325. *
  326. * @pixi/display is licensed under the MIT License.
  327. * http://www.opensource.org/licenses/mit-license
  328. */
  329. dt.SORTABLE_CHILDREN=!1;var de=function(){function t(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.rect=null,this.updateID=-1}return t.prototype.isEmpty=function(){return this.minX>this.maxX||this.minY>this.maxY},t.prototype.clear=function(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0},t.prototype.getRectangle=function(t){return this.minX>this.maxX||this.minY>this.maxY?Kt.EMPTY:((t=t||new Kt(0,0,1,1)).x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)},t.prototype.addPoint=function(t){this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y)},t.prototype.addPointMatrix=function(t,e){var n=t.a,r=t.b,i=t.c,o=t.d,s=t.tx,a=t.ty,u=n*e.x+i*e.y+s,c=r*e.x+o*e.y+a;this.minX=Math.min(this.minX,u),this.maxX=Math.max(this.maxX,u),this.minY=Math.min(this.minY,c),this.maxY=Math.max(this.maxY,c)},t.prototype.addQuad=function(t){var e=this.minX,n=this.minY,r=this.maxX,i=this.maxY,o=t[0],s=t[1];e=o<e?o:e,n=s<n?s:n,r=o>r?o:r,i=s>i?s:i,e=(o=t[2])<e?o:e,n=(s=t[3])<n?s:n,r=o>r?o:r,i=s>i?s:i,e=(o=t[4])<e?o:e,n=(s=t[5])<n?s:n,r=o>r?o:r,i=s>i?s:i,e=(o=t[6])<e?o:e,n=(s=t[7])<n?s:n,r=o>r?o:r,i=s>i?s:i,this.minX=e,this.minY=n,this.maxX=r,this.maxY=i},t.prototype.addFrame=function(t,e,n,r,i){this.addFrameMatrix(t.worldTransform,e,n,r,i)},t.prototype.addFrameMatrix=function(t,e,n,r,i){var o=t.a,s=t.b,a=t.c,u=t.d,c=t.tx,h=t.ty,l=this.minX,d=this.minY,f=this.maxX,p=this.maxY,_=o*e+a*n+c,m=s*e+u*n+h;l=_<l?_:l,d=m<d?m:d,f=_>f?_:f,p=m>p?m:p,l=(_=o*r+a*n+c)<l?_:l,d=(m=s*r+u*n+h)<d?m:d,f=_>f?_:f,p=m>p?m:p,l=(_=o*e+a*i+c)<l?_:l,d=(m=s*e+u*i+h)<d?m:d,f=_>f?_:f,p=m>p?m:p,l=(_=o*r+a*i+c)<l?_:l,d=(m=s*r+u*i+h)<d?m:d,f=_>f?_:f,p=m>p?m:p,this.minX=l,this.minY=d,this.maxX=f,this.maxY=p},t.prototype.addVertexData=function(t,e,n){for(var r=this.minX,i=this.minY,o=this.maxX,s=this.maxY,a=e;a<n;a+=2){var u=t[a],c=t[a+1];r=u<r?u:r,i=c<i?c:i,o=u>o?u:o,s=c>s?c:s}this.minX=r,this.minY=i,this.maxX=o,this.maxY=s},t.prototype.addVertices=function(t,e,n,r){this.addVerticesMatrix(t.worldTransform,e,n,r)},t.prototype.addVerticesMatrix=function(t,e,n,r,i,o){void 0===i&&(i=0),void 0===o&&(o=i);for(var s=t.a,a=t.b,u=t.c,c=t.d,h=t.tx,l=t.ty,d=this.minX,f=this.minY,p=this.maxX,_=this.maxY,m=n;m<r;m+=2){var y=e[m],v=e[m+1],b=s*y+u*v+h,g=c*v+a*y+l;d=Math.min(d,b-i),p=Math.max(p,b+i),f=Math.min(f,g-o),_=Math.max(_,g+o)}this.minX=d,this.minY=f,this.maxX=p,this.maxY=_},t.prototype.addBounds=function(t){var e=this.minX,n=this.minY,r=this.maxX,i=this.maxY;this.minX=t.minX<e?t.minX:e,this.minY=t.minY<n?t.minY:n,this.maxX=t.maxX>r?t.maxX:r,this.maxY=t.maxY>i?t.maxY:i},t.prototype.addBoundsMask=function(t,e){var n=t.minX>e.minX?t.minX:e.minX,r=t.minY>e.minY?t.minY:e.minY,i=t.maxX<e.maxX?t.maxX:e.maxX,o=t.maxY<e.maxY?t.maxY:e.maxY;if(n<=i&&r<=o){var s=this.minX,a=this.minY,u=this.maxX,c=this.maxY;this.minX=n<s?n:s,this.minY=r<a?r:a,this.maxX=i>u?i:u,this.maxY=o>c?o:c}},t.prototype.addBoundsMatrix=function(t,e){this.addFrameMatrix(e,t.minX,t.minY,t.maxX,t.maxY)},t.prototype.addBoundsArea=function(t,e){var n=t.minX>e.x?t.minX:e.x,r=t.minY>e.y?t.minY:e.y,i=t.maxX<e.x+e.width?t.maxX:e.x+e.width,o=t.maxY<e.y+e.height?t.maxY:e.y+e.height;if(n<=i&&r<=o){var s=this.minX,a=this.minY,u=this.maxX,c=this.maxY;this.minX=n<s?n:s,this.minY=r<a?r:a,this.maxX=i>u?i:u,this.maxY=o>c?o:c}},t.prototype.pad=function(t,e){void 0===t&&(t=0),void 0===e&&(e=t),this.isEmpty()||(this.minX-=t,this.maxX+=t,this.minY-=e,this.maxY+=e)},t.prototype.addFramePad=function(t,e,n,r,i,o){t-=i,e-=o,n+=i,r+=o,this.minX=this.minX<t?this.minX:t,this.maxX=this.maxX>n?this.maxX:n,this.minY=this.minY<e?this.minY:e,this.maxY=this.maxY>r?this.maxY:r},t}(),fe=function(t,e){return(fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};
  330. /*! *****************************************************************************
  331. Copyright (c) Microsoft Corporation. All rights reserved.
  332. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  333. this file except in compliance with the License. You may obtain a copy of the
  334. License at http://www.apache.org/licenses/LICENSE-2.0
  335. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  336. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  337. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  338. MERCHANTABLITY OR NON-INFRINGEMENT.
  339. See the Apache Version 2.0 License for specific language governing permissions
  340. and limitations under the License.
  341. ***************************************************************************** */function pe(t,e){function n(){this.constructor=t}fe(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var _e=function(t){function e(){var e=t.call(this)||this;return e.tempDisplayObjectParent=null,e.transform=new le,e.alpha=1,e.visible=!0,e.renderable=!0,e.parent=null,e.worldAlpha=1,e._lastSortedIndex=0,e._zIndex=0,e.filterArea=null,e.filters=null,e._enabledFilters=null,e._bounds=new de,e._localBounds=null,e._boundsID=0,e._boundsRect=null,e._localBoundsRect=null,e._mask=null,e._destroyed=!1,e.isSprite=!1,e.isMask=!1,e}return pe(e,t),e.mixin=function(t){for(var n=Object.keys(t),r=0;r<n.length;++r){var i=n[r];Object.defineProperty(e.prototype,i,Object.getOwnPropertyDescriptor(t,i))}},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!1,configurable:!0}),e.prototype._recursivePostUpdateTransform=function(){this.parent?(this.parent._recursivePostUpdateTransform(),this.transform.updateTransform(this.parent.transform)):this.transform.updateTransform(this._tempDisplayObjectParent.transform)},e.prototype.updateTransform=function(){this._boundsID++,this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha},e.prototype.getBounds=function(t,e){return t||(this.parent?(this._recursivePostUpdateTransform(),this.updateTransform()):(this.parent=this._tempDisplayObjectParent,this.updateTransform(),this.parent=null)),this._bounds.updateID!==this._boundsID&&(this.calculateBounds(),this._bounds.updateID=this._boundsID),e||(this._boundsRect||(this._boundsRect=new Kt),e=this._boundsRect),this._bounds.getRectangle(e)},e.prototype.getLocalBounds=function(t){t||(this._localBoundsRect||(this._localBoundsRect=new Kt),t=this._localBoundsRect),this._localBounds||(this._localBounds=new de);var e=this.transform,n=this.parent;this.parent=null,this.transform=this._tempDisplayObjectParent.transform;var r=this._bounds,i=this._boundsID;this._bounds=this._localBounds;var o=this.getBounds(!1,t);return this.parent=n,this.transform=e,this._bounds=r,this._bounds.updateID+=this._boundsID-i,o},e.prototype.toGlobal=function(t,e,n){return void 0===n&&(n=!1),n||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.apply(t,e)},e.prototype.toLocal=function(t,e,n,r){return e&&(t=e.toGlobal(t,n,r)),r||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.applyInverse(t,n)},e.prototype.setParent=function(t){if(!t||!t.addChild)throw new Error("setParent: Argument must be a Container");return t.addChild(this),t},e.prototype.setTransform=function(t,e,n,r,i,o,s,a,u){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),void 0===u&&(u=0),this.position.x=t,this.position.y=e,this.scale.x=n||1,this.scale.y=r||1,this.rotation=i,this.skew.x=o,this.skew.y=s,this.pivot.x=a,this.pivot.y=u,this},e.prototype.destroy=function(t){this.parent&&this.parent.removeChild(this),this.emit("destroyed"),this.removeAllListeners(),this.transform=null,this.parent=null,this._bounds=null,this._mask=null,this.filters=null,this.filterArea=null,this.hitArea=null,this.interactive=!1,this.interactiveChildren=!1,this._destroyed=!0},Object.defineProperty(e.prototype,"_tempDisplayObjectParent",{get:function(){return null===this.tempDisplayObjectParent&&(this.tempDisplayObjectParent=new me),this.tempDisplayObjectParent},enumerable:!1,configurable:!0}),e.prototype.enableTempParent=function(){var t=this.parent;return this.parent=this._tempDisplayObjectParent,t},e.prototype.disableTempParent=function(t){this.parent=t},Object.defineProperty(e.prototype,"x",{get:function(){return this.position.x},set:function(t){this.transform.position.x=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.position.y},set:function(t){this.transform.position.y=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"worldTransform",{get:function(){return this.transform.worldTransform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localTransform",{get:function(){return this.transform.localTransform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.transform.position},set:function(t){this.transform.position.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this.transform.scale},set:function(t){this.transform.scale.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pivot",{get:function(){return this.transform.pivot},set:function(t){this.transform.pivot.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"skew",{get:function(){return this.transform.skew},set:function(t){this.transform.skew.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.transform.rotation},set:function(t){this.transform.rotation=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.transform.rotation*Xt},set:function(t){this.transform.rotation=t*Jt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"zIndex",{get:function(){return this._zIndex},set:function(t){this._zIndex=t,this.parent&&(this.parent.sortDirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"worldVisible",{get:function(){var t=this;do{if(!t.visible)return!1;t=t.parent}while(t);return!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mask",{get:function(){return this._mask},set:function(t){var e;this._mask&&((e=this._mask.maskObject||this._mask).renderable=!0,e.isMask=!1);(this._mask=t,this._mask)&&((e=this._mask.maskObject||this._mask).renderable=!1,e.isMask=!0)},enumerable:!1,configurable:!0}),e}(pt.a),me=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.sortDirty=null,e}return pe(e,t),e}(_e);function ye(t,e){return t.zIndex===e.zIndex?t._lastSortedIndex-e._lastSortedIndex:t.zIndex-e.zIndex}_e.prototype.displayObjectUpdateTransform=_e.prototype.updateTransform;var ve=function(t){function e(){var e=t.call(this)||this;return e.children=[],e.sortableChildren=dt.SORTABLE_CHILDREN,e.sortDirty=!1,e}return pe(e,t),e.prototype.onChildrenChange=function(t){},e.prototype.addChild=function(){for(var t=arguments,e=[],n=0;n<arguments.length;n++)e[n]=t[n];if(e.length>1)for(var r=0;r<e.length;r++)this.addChild(e[r]);else{var i=e[0];i.parent&&i.parent.removeChild(i),i.parent=this,this.sortDirty=!0,i.transform._parentID=-1,this.children.push(i),this._boundsID++,this.onChildrenChange(this.children.length-1),this.emit("childAdded",i,this,this.children.length-1),i.emit("added",this)}return e[0]},e.prototype.addChildAt=function(t,e){if(e<0||e>this.children.length)throw new Error(t+"addChildAt: The index "+e+" supplied is out of bounds "+this.children.length);return t.parent&&t.parent.removeChild(t),t.parent=this,this.sortDirty=!0,t.transform._parentID=-1,this.children.splice(e,0,t),this._boundsID++,this.onChildrenChange(e),t.emit("added",this),this.emit("childAdded",t,this,e),t},e.prototype.swapChildren=function(t,e){if(t!==e){var n=this.getChildIndex(t),r=this.getChildIndex(e);this.children[n]=e,this.children[r]=t,this.onChildrenChange(n<r?n:r)}},e.prototype.getChildIndex=function(t){var e=this.children.indexOf(t);if(-1===e)throw new Error("The supplied DisplayObject must be a child of the caller");return e},e.prototype.setChildIndex=function(t,e){if(e<0||e>=this.children.length)throw new Error("The index "+e+" supplied is out of bounds "+this.children.length);var n=this.getChildIndex(t);It(this.children,n,1),this.children.splice(e,0,t),this.onChildrenChange(e)},e.prototype.getChildAt=function(t){if(t<0||t>=this.children.length)throw new Error("getChildAt: Index ("+t+") does not exist.");return this.children[t]},e.prototype.removeChild=function(){for(var t=arguments,e=[],n=0;n<arguments.length;n++)e[n]=t[n];if(e.length>1)for(var r=0;r<e.length;r++)this.removeChild(e[r]);else{var i=e[0],o=this.children.indexOf(i);if(-1===o)return null;i.parent=null,i.transform._parentID=-1,It(this.children,o,1),this._boundsID++,this.onChildrenChange(o),i.emit("removed",this),this.emit("childRemoved",i,this,o)}return e[0]},e.prototype.removeChildAt=function(t){var e=this.getChildAt(t);return e.parent=null,e.transform._parentID=-1,It(this.children,t,1),this._boundsID++,this.onChildrenChange(t),e.emit("removed",this),this.emit("childRemoved",e,this,t),e},e.prototype.removeChildren=function(t,e){void 0===t&&(t=0),void 0===e&&(e=this.children.length);var n,r=t,i=e-r;if(i>0&&i<=e){n=this.children.splice(r,i);for(var o=0;o<n.length;++o)n[o].parent=null,n[o].transform&&(n[o].transform._parentID=-1);this._boundsID++,this.onChildrenChange(t);for(o=0;o<n.length;++o)n[o].emit("removed",this),this.emit("childRemoved",n[o],this,o);return n}if(0===i&&0===this.children.length)return[];throw new RangeError("removeChildren: numeric values are outside the acceptable range.")},e.prototype.sortChildren=function(){for(var t=!1,e=0,n=this.children.length;e<n;++e){var r=this.children[e];r._lastSortedIndex=e,t||0===r.zIndex||(t=!0)}t&&this.children.length>1&&this.children.sort(ye),this.sortDirty=!1},e.prototype.updateTransform=function(){this.sortableChildren&&this.sortDirty&&this.sortChildren(),this._boundsID++,this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha;for(var t=0,e=this.children.length;t<e;++t){var n=this.children[t];n.visible&&n.updateTransform()}},e.prototype.calculateBounds=function(){this._bounds.clear(),this._calculateBounds();for(var t=0;t<this.children.length;t++){var e=this.children[t];if(e.visible&&e.renderable)if(e.calculateBounds(),e._mask){var n=e._mask.maskObject||e._mask;n.calculateBounds(),this._bounds.addBoundsMask(e._bounds,n._bounds)}else e.filterArea?this._bounds.addBoundsArea(e._bounds,e.filterArea):this._bounds.addBounds(e._bounds)}this._bounds.updateID=this._boundsID},e.prototype.getLocalBounds=function(e,n){void 0===n&&(n=!1);var r=t.prototype.getLocalBounds.call(this,e);if(!n)for(var i=0,o=this.children.length;i<o;++i){var s=this.children[i];s.visible&&s.updateTransform()}return r},e.prototype._calculateBounds=function(){},e.prototype.render=function(t){if(this.visible&&!(this.worldAlpha<=0)&&this.renderable)if(this._mask||this.filters&&this.filters.length)this.renderAdvanced(t);else{this._render(t);for(var e=0,n=this.children.length;e<n;++e)this.children[e].render(t)}},e.prototype.renderAdvanced=function(t){t.batch.flush();var e=this.filters,n=this._mask;if(e){this._enabledFilters||(this._enabledFilters=[]),this._enabledFilters.length=0;for(var r=0;r<e.length;r++)e[r].enabled&&this._enabledFilters.push(e[r]);this._enabledFilters.length&&t.filter.push(this,this._enabledFilters)}n&&t.mask.push(this,this._mask),this._render(t);r=0;for(var i=this.children.length;r<i;r++)this.children[r].render(t);t.batch.flush(),n&&t.mask.pop(this),e&&this._enabledFilters&&this._enabledFilters.length&&t.filter.pop()},e.prototype._render=function(t){},e.prototype.destroy=function(e){t.prototype.destroy.call(this),this.sortDirty=!1;var n="boolean"==typeof e?e:e&&e.children,r=this.removeChildren(0,this.children.length);if(n)for(var i=0;i<r.length;++i)r[i].destroy(e)},Object.defineProperty(e.prototype,"width",{get:function(){return this.scale.x*this.getLocalBounds().width},set:function(t){var e=this.getLocalBounds().width;this.scale.x=0!==e?t/e:1,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.scale.y*this.getLocalBounds().height},set:function(t){var e=this.getLocalBounds().height;this.scale.y=0!==e?t/e:1,this._height=t},enumerable:!1,configurable:!0}),e}(_e);ve.prototype.containerUpdateTransform=ve.prototype.updateTransform;_e.mixin({accessible:!1,accessibleTitle:null,accessibleHint:null,tabIndex:0,_accessibleActive:!1,_accessibleDiv:null,accessibleType:"button",accessiblePointerEvents:"auto",accessibleChildren:!0,renderId:-1});var be,ge=function(){function t(t){this.debug=!1,this._isActive=!1,this._isMobileAccessibility=!1,this.pool=[],this.renderId=0,this.children=[],this.androidUpdateCount=0,this.androidUpdateFrequency=500,this._hookDiv=null,(W.tablet||W.phone)&&this.createTouchHook();var e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.zIndex=2..toString(),this.div=e,this.renderer=t,this._onKeyDown=this._onKeyDown.bind(this),this._onMouseMove=this._onMouseMove.bind(this),self.addEventListener("keydown",this._onKeyDown,!1)}return Object.defineProperty(t.prototype,"isActive",{get:function(){return this._isActive},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMobileAccessibility",{get:function(){return this._isMobileAccessibility},enumerable:!1,configurable:!0}),t.prototype.createTouchHook=function(){var t=this,e=document.createElement("button");e.style.width="1px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.left="-1000px",e.style.zIndex=2..toString(),e.style.backgroundColor="#FF0000",e.title="select to enable accessibility for this content",e.addEventListener("focus",(function(){t._isMobileAccessibility=!0,t.activate(),t.destroyTouchHook()})),document.body.appendChild(e),this._hookDiv=e},t.prototype.destroyTouchHook=function(){this._hookDiv&&(document.body.removeChild(this._hookDiv),this._hookDiv=null)},t.prototype.activate=function(){var t;this._isActive||(this._isActive=!0,self.document.addEventListener("mousemove",this._onMouseMove,!0),self.removeEventListener("keydown",this._onKeyDown,!1),this.renderer.on("postrender",this.update,this),null===(t=this.renderer.view.parentNode)||void 0===t||t.appendChild(this.div))},t.prototype.deactivate=function(){var t;this._isActive&&!this._isMobileAccessibility&&(this._isActive=!1,self.document.removeEventListener("mousemove",this._onMouseMove,!0),self.addEventListener("keydown",this._onKeyDown,!1),this.renderer.off("postrender",this.update),null===(t=this.div.parentNode)||void 0===t||t.removeChild(this.div))},t.prototype.updateAccessibleObjects=function(t){if(t.visible&&t.accessibleChildren){t.accessible&&t.interactive&&(t._accessibleActive||this.addChild(t),t.renderId=this.renderId);for(var e=t.children,n=0;n<e.length;n++)this.updateAccessibleObjects(e[n])}},t.prototype.update=function(){var t=performance.now();if(!(W.android.device&&t<this.androidUpdateCount)&&(this.androidUpdateCount=t+this.androidUpdateFrequency,this.renderer.renderingToScreen)){this.renderer._lastObjectRendered&&this.updateAccessibleObjects(this.renderer._lastObjectRendered);var e=this.renderer.view.getBoundingClientRect(),n=e.left,r=e.top,i=e.width,o=e.height,s=this.renderer,a=s.width,u=s.height,c=s.resolution,h=i/a*c,l=o/u*c,d=this.div;d.style.left=n+"px",d.style.top=r+"px",d.style.width=a+"px",d.style.height=u+"px";for(var f=0;f<this.children.length;f++){var p=this.children[f];if(p.renderId!==this.renderId)p._accessibleActive=!1,It(this.children,f,1),this.div.removeChild(p._accessibleDiv),this.pool.push(p._accessibleDiv),p._accessibleDiv=null,f--;else{d=p._accessibleDiv;var _=p.hitArea,m=p.worldTransform;p.hitArea?(d.style.left=(m.tx+_.x*m.a)*h+"px",d.style.top=(m.ty+_.y*m.d)*l+"px",d.style.width=_.width*m.a*h+"px",d.style.height=_.height*m.d*l+"px"):(_=p.getBounds(),this.capHitArea(_),d.style.left=_.x*h+"px",d.style.top=_.y*l+"px",d.style.width=_.width*h+"px",d.style.height=_.height*l+"px",d.title!==p.accessibleTitle&&null!==p.accessibleTitle&&(d.title=p.accessibleTitle),d.getAttribute("aria-label")!==p.accessibleHint&&null!==p.accessibleHint&&d.setAttribute("aria-label",p.accessibleHint)),p.accessibleTitle===d.title&&p.tabIndex===d.tabIndex||(d.title=p.accessibleTitle,d.tabIndex=p.tabIndex,this.debug&&this.updateDebugHTML(d))}}this.renderId++}},t.prototype.updateDebugHTML=function(t){t.innerHTML="type: "+t.type+"</br> title : "+t.title+"</br> tabIndex: "+t.tabIndex},t.prototype.capHitArea=function(t){t.x<0&&(t.width+=t.x,t.x=0),t.y<0&&(t.height+=t.y,t.y=0);var e=this.renderer,n=e.width,r=e.height;t.x+t.width>n&&(t.width=n-t.x),t.y+t.height>r&&(t.height=r-t.y)},t.prototype.addChild=function(t){var e=this.pool.pop();e||((e=document.createElement("button")).style.width="100px",e.style.height="100px",e.style.backgroundColor=this.debug?"rgba(255,255,255,0.5)":"transparent",e.style.position="absolute",e.style.zIndex=2..toString(),e.style.borderStyle="none",navigator.userAgent.toLowerCase().indexOf("chrome")>-1?e.setAttribute("aria-live","off"):e.setAttribute("aria-live","polite"),navigator.userAgent.match(/rv:.*Gecko\//)?e.setAttribute("aria-relevant","additions"):e.setAttribute("aria-relevant","text"),e.addEventListener("click",this._onClick.bind(this)),e.addEventListener("focus",this._onFocus.bind(this)),e.addEventListener("focusout",this._onFocusOut.bind(this))),e.style.pointerEvents=t.accessiblePointerEvents,e.type=t.accessibleType,t.accessibleTitle&&null!==t.accessibleTitle?e.title=t.accessibleTitle:t.accessibleHint&&null!==t.accessibleHint||(e.title="displayObject "+t.tabIndex),t.accessibleHint&&null!==t.accessibleHint&&e.setAttribute("aria-label",t.accessibleHint),this.debug&&this.updateDebugHTML(e),t._accessibleActive=!0,t._accessibleDiv=e,e.displayObject=t,this.children.push(t),this.div.appendChild(t._accessibleDiv),t._accessibleDiv.tabIndex=t.tabIndex},t.prototype._onClick=function(t){var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"click",r),e.dispatchEvent(n,"pointertap",r),e.dispatchEvent(n,"tap",r)},t.prototype._onFocus=function(t){t.target.getAttribute("aria-live")||t.target.setAttribute("aria-live","assertive");var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"mouseover",r)},t.prototype._onFocusOut=function(t){t.target.getAttribute("aria-live")||t.target.setAttribute("aria-live","polite");var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"mouseout",r)},t.prototype._onKeyDown=function(t){9===t.keyCode&&this.activate()},t.prototype._onMouseMove=function(t){0===t.movementX&&0===t.movementY||this.deactivate()},t.prototype.destroy=function(){this.destroyTouchHook(),this.div=null,self.document.removeEventListener("mousemove",this._onMouseMove,!0),self.removeEventListener("keydown",this._onKeyDown),this.pool=null,this.children=null,this.renderer=null},t}();
  342. /*!
  343. * @pixi/ticker - v6.1.3
  344. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  345. *
  346. * @pixi/ticker is licensed under the MIT License.
  347. * http://www.opensource.org/licenses/mit-license
  348. */
  349. dt.TARGET_FPMS=.06,function(t){t[t.INTERACTION=50]="INTERACTION",t[t.HIGH=25]="HIGH",t[t.NORMAL=0]="NORMAL",t[t.LOW=-25]="LOW",t[t.UTILITY=-50]="UTILITY"}(be||(be={}));var we=function(){function t(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=0),void 0===r&&(r=!1),this.next=null,this.previous=null,this._destroyed=!1,this.fn=t,this.context=e,this.priority=n,this.once=r}return t.prototype.match=function(t,e){return void 0===e&&(e=null),this.fn===t&&this.context===e},t.prototype.emit=function(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));var e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e},t.prototype.connect=function(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this},t.prototype.destroy=function(t){void 0===t&&(t=!1),this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);var e=this.next;return this.next=t?null:e,this.previous=null,e},t}(),xe=function(){function t(){var t=this;this.autoStart=!1,this.deltaTime=1,this.lastTime=-1,this.speed=1,this.started=!1,this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this._protected=!1,this._lastFrame=-1,this._head=new we(null,null,1/0),this.deltaMS=1/dt.TARGET_FPMS,this.elapsedMS=1/dt.TARGET_FPMS,this._tick=function(e){t._requestId=null,t.started&&(t.update(e),t.started&&null===t._requestId&&t._head.next&&(t._requestId=requestAnimationFrame(t._tick)))}}return t.prototype._requestIfNeeded=function(){null===this._requestId&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))},t.prototype._cancelIfNeeded=function(){null!==this._requestId&&(cancelAnimationFrame(this._requestId),this._requestId=null)},t.prototype._startIfPossible=function(){this.started?this._requestIfNeeded():this.autoStart&&this.start()},t.prototype.add=function(t,e,n){return void 0===n&&(n=be.NORMAL),this._addListener(new we(t,e,n))},t.prototype.addOnce=function(t,e,n){return void 0===n&&(n=be.NORMAL),this._addListener(new we(t,e,n,!0))},t.prototype._addListener=function(t){var e=this._head.next,n=this._head;if(e){for(;e;){if(t.priority>e.priority){t.connect(n);break}n=e,e=e.next}t.previous||t.connect(n)}else t.connect(n);return this._startIfPossible(),this},t.prototype.remove=function(t,e){for(var n=this._head.next;n;)n=n.match(t,e)?n.destroy():n.next;return this._head.next||this._cancelIfNeeded(),this},Object.defineProperty(t.prototype,"count",{get:function(){if(!this._head)return 0;for(var t=0,e=this._head;e=e.next;)t++;return t},enumerable:!1,configurable:!0}),t.prototype.start=function(){this.started||(this.started=!0,this._requestIfNeeded())},t.prototype.stop=function(){this.started&&(this.started=!1,this._cancelIfNeeded())},t.prototype.destroy=function(){if(!this._protected){this.stop();for(var t=this._head.next;t;)t=t.destroy(!0);this._head.destroy(),this._head=null}},t.prototype.update=function(t){var e;if(void 0===t&&(t=performance.now()),t>this.lastTime){if((e=this.elapsedMS=t-this.lastTime)>this._maxElapsedMS&&(e=this._maxElapsedMS),e*=this.speed,this._minElapsedMS){var n=t-this._lastFrame|0;if(n<this._minElapsedMS)return;this._lastFrame=t-n%this._minElapsedMS}this.deltaMS=e,this.deltaTime=this.deltaMS*dt.TARGET_FPMS;for(var r=this._head,i=r.next;i;)i=i.emit(this.deltaTime);r.next||this._cancelIfNeeded()}else this.deltaTime=this.deltaMS=this.elapsedMS=0;this.lastTime=t},Object.defineProperty(t.prototype,"FPS",{get:function(){return 1e3/this.elapsedMS},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minFPS",{get:function(){return 1e3/this._maxElapsedMS},set:function(t){var e=Math.min(this.maxFPS,t),n=Math.min(Math.max(0,e)/1e3,dt.TARGET_FPMS);this._maxElapsedMS=1/n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxFPS",{get:function(){return this._minElapsedMS?Math.round(1e3/this._minElapsedMS):0},set:function(t){if(0===t)this._minElapsedMS=0;else{var e=Math.max(this.minFPS,t);this._minElapsedMS=1/(e/1e3)}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"shared",{get:function(){if(!t._shared){var e=t._shared=new t;e.autoStart=!0,e._protected=!0}return t._shared},enumerable:!1,configurable:!0}),Object.defineProperty(t,"system",{get:function(){if(!t._system){var e=t._system=new t;e.autoStart=!0,e._protected=!0}return t._system},enumerable:!1,configurable:!0}),t}(),Me=function(){function t(){}return t.init=function(t){var e=this;t=Object.assign({autoStart:!0,sharedTicker:!1},t),Object.defineProperty(this,"ticker",{set:function(t){this._ticker&&this._ticker.remove(this.render,this),this._ticker=t,t&&t.add(this.render,this,be.LOW)},get:function(){return this._ticker}}),this.stop=function(){e._ticker.stop()},this.start=function(){e._ticker.start()},this._ticker=null,this.ticker=t.sharedTicker?xe.shared:new xe,t.autoStart&&this.start()},t.destroy=function(){if(this._ticker){var t=this._ticker;this.ticker=null,t.destroy()}},t}(),Se=function(){function t(){this.pressure=0,this.rotationAngle=0,this.twist=0,this.tangentialPressure=0,this.global=new te,this.target=null,this.originalEvent=null,this.identifier=null,this.isPrimary=!1,this.button=0,this.buttons=0,this.width=0,this.height=0,this.tiltX=0,this.tiltY=0,this.pointerType=null,this.pressure=0,this.rotationAngle=0,this.twist=0,this.tangentialPressure=0}return Object.defineProperty(t.prototype,"pointerId",{get:function(){return this.identifier},enumerable:!1,configurable:!0}),t.prototype.getLocalPosition=function(t,e,n){return t.worldTransform.applyInverse(n||this.global,e)},t.prototype.copyEvent=function(t){"isPrimary"in t&&t.isPrimary&&(this.isPrimary=!0),this.button="button"in t&&t.button;var e="buttons"in t&&t.buttons;this.buttons=Number.isInteger(e)?e:"which"in t&&t.which,this.width="width"in t&&t.width,this.height="height"in t&&t.height,this.tiltX="tiltX"in t&&t.tiltX,this.tiltY="tiltY"in t&&t.tiltY,this.pointerType="pointerType"in t&&t.pointerType,this.pressure="pressure"in t&&t.pressure,this.rotationAngle="rotationAngle"in t&&t.rotationAngle,this.twist="twist"in t&&t.twist||0,this.tangentialPressure="tangentialPressure"in t&&t.tangentialPressure||0},t.prototype.reset=function(){this.isPrimary=!1},t}(),Te=function(t,e){return(Te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var Ae=function(){function t(){this.stopped=!1,this.stopsPropagatingAt=null,this.stopPropagationHint=!1,this.target=null,this.currentTarget=null,this.type=null,this.data=null}return t.prototype.stopPropagation=function(){this.stopped=!0,this.stopPropagationHint=!0,this.stopsPropagatingAt=this.currentTarget},t.prototype.reset=function(){this.stopped=!1,this.stopsPropagatingAt=null,this.stopPropagationHint=!1,this.currentTarget=null,this.target=null},t}(),Ee=function(){function t(e){this._pointerId=e,this._flags=t.FLAGS.NONE}return t.prototype._doSet=function(t,e){this._flags=e?this._flags|t:this._flags&~t},Object.defineProperty(t.prototype,"pointerId",{get:function(){return this._pointerId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"flags",{get:function(){return this._flags},set:function(t){this._flags=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"none",{get:function(){return this._flags===t.FLAGS.NONE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"over",{get:function(){return 0!=(this._flags&t.FLAGS.OVER)},set:function(e){this._doSet(t.FLAGS.OVER,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rightDown",{get:function(){return 0!=(this._flags&t.FLAGS.RIGHT_DOWN)},set:function(e){this._doSet(t.FLAGS.RIGHT_DOWN,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leftDown",{get:function(){return 0!=(this._flags&t.FLAGS.LEFT_DOWN)},set:function(e){this._doSet(t.FLAGS.LEFT_DOWN,e)},enumerable:!1,configurable:!0}),t.FLAGS=Object.freeze({NONE:0,OVER:1,LEFT_DOWN:2,RIGHT_DOWN:4}),t}(),Le=function(){function t(){this._tempPoint=new te}return t.prototype.recursiveFindHit=function(t,e,n,r,i){if(!e||!e.visible)return!1;var o=t.data.global,s=!1,a=i=e.interactive||i,u=!0;if(e.hitArea?(r&&(e.worldTransform.applyInverse(o,this._tempPoint),e.hitArea.contains(this._tempPoint.x,this._tempPoint.y)?s=!0:(r=!1,u=!1)),a=!1):e._mask&&r&&(e._mask.containsPoint&&e._mask.containsPoint(o)||(r=!1)),u&&e.interactiveChildren&&e.children)for(var c=e.children,h=c.length-1;h>=0;h--){var l=c[h],d=this.recursiveFindHit(t,l,n,r,a);if(d){if(!l.parent)continue;a=!1,d&&(t.target&&(r=!1),s=!0)}}return i&&(r&&!t.target&&!e.hitArea&&e.containsPoint&&e.containsPoint(o)&&(s=!0),e.interactive&&(s&&!t.target&&(t.target=e),n&&n(t,e,!!s))),s},t.prototype.findHit=function(t,e,n,r){this.recursiveFindHit(t,e,n,r,!1)},t}(),De={interactive:!1,interactiveChildren:!0,hitArea:null,get buttonMode(){return"pointer"===this.cursor},set buttonMode(t){t?this.cursor="pointer":"pointer"===this.cursor&&(this.cursor=null)},cursor:null,get trackedPointers(){return void 0===this._trackedPointers&&(this._trackedPointers={}),this._trackedPointers},_trackedPointers:void 0};_e.mixin(De);var Ce={target:null,data:{global:null}},ke=function(t){function e(e,n){var r=t.call(this)||this;return n=n||{},r.renderer=e,r.autoPreventDefault=void 0===n.autoPreventDefault||n.autoPreventDefault,r.interactionFrequency=n.interactionFrequency||10,r.mouse=new Se,r.mouse.identifier=1,r.mouse.global.set(-999999),r.activeInteractionData={},r.activeInteractionData[1]=r.mouse,r.interactionDataPool=[],r.eventData=new Ae,r.interactionDOMElement=null,r.moveWhenInside=!1,r.eventsAdded=!1,r.tickerAdded=!1,r.mouseOverRenderer=!("PointerEvent"in self),r.supportsTouchEvents="ontouchstart"in self,r.supportsPointerEvents=!!self.PointerEvent,r.onPointerUp=r.onPointerUp.bind(r),r.processPointerUp=r.processPointerUp.bind(r),r.onPointerCancel=r.onPointerCancel.bind(r),r.processPointerCancel=r.processPointerCancel.bind(r),r.onPointerDown=r.onPointerDown.bind(r),r.processPointerDown=r.processPointerDown.bind(r),r.onPointerMove=r.onPointerMove.bind(r),r.processPointerMove=r.processPointerMove.bind(r),r.onPointerOut=r.onPointerOut.bind(r),r.processPointerOverOut=r.processPointerOverOut.bind(r),r.onPointerOver=r.onPointerOver.bind(r),r.cursorStyles={default:"inherit",pointer:"pointer"},r.currentCursorMode=null,r.cursor=null,r.resolution=1,r.delayedEvents=[],r.search=new Le,r._tempDisplayObject=new me,r._eventListenerOptions={capture:!0,passive:!1},r._useSystemTicker=void 0===n.useSystemTicker||n.useSystemTicker,r.setTargetElement(r.renderer.view,r.renderer.resolution),r}return function(t,e){function n(){this.constructor=t}Te(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),Object.defineProperty(e.prototype,"useSystemTicker",{get:function(){return this._useSystemTicker},set:function(t){this._useSystemTicker=t,t?this.addTickerListener():this.removeTickerListener()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastObjectRendered",{get:function(){return this.renderer._lastObjectRendered||this._tempDisplayObject},enumerable:!1,configurable:!0}),e.prototype.hitTest=function(t,e){return Ce.target=null,Ce.data.global=t,e||(e=this.lastObjectRendered),this.processInteractive(Ce,e,null,!0),Ce.target},e.prototype.setTargetElement=function(t,e){void 0===e&&(e=1),this.removeTickerListener(),this.removeEvents(),this.interactionDOMElement=t,this.resolution=e,this.addEvents(),this.addTickerListener()},e.prototype.addTickerListener=function(){!this.tickerAdded&&this.interactionDOMElement&&this._useSystemTicker&&(xe.system.add(this.tickerUpdate,this,be.INTERACTION),this.tickerAdded=!0)},e.prototype.removeTickerListener=function(){this.tickerAdded&&(xe.system.remove(this.tickerUpdate,this),this.tickerAdded=!1)},e.prototype.addEvents=function(){if(!this.eventsAdded&&this.interactionDOMElement){var t=this.interactionDOMElement.style;self.navigator.msPointerEnabled?(t.msContentZooming="none",t.msTouchAction="none"):this.supportsPointerEvents&&(t.touchAction="none"),this.supportsPointerEvents?(self.document.addEventListener("pointermove",this.onPointerMove,this._eventListenerOptions),this.interactionDOMElement.addEventListener("pointerdown",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.addEventListener("pointerleave",this.onPointerOut,this._eventListenerOptions),this.interactionDOMElement.addEventListener("pointerover",this.onPointerOver,this._eventListenerOptions),self.addEventListener("pointercancel",this.onPointerCancel,this._eventListenerOptions),self.addEventListener("pointerup",this.onPointerUp,this._eventListenerOptions)):(self.document.addEventListener("mousemove",this.onPointerMove,this._eventListenerOptions),this.interactionDOMElement.addEventListener("mousedown",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.addEventListener("mouseout",this.onPointerOut,this._eventListenerOptions),this.interactionDOMElement.addEventListener("mouseover",this.onPointerOver,this._eventListenerOptions),self.addEventListener("mouseup",this.onPointerUp,this._eventListenerOptions)),this.supportsTouchEvents&&(this.interactionDOMElement.addEventListener("touchstart",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.addEventListener("touchcancel",this.onPointerCancel,this._eventListenerOptions),this.interactionDOMElement.addEventListener("touchend",this.onPointerUp,this._eventListenerOptions),this.interactionDOMElement.addEventListener("touchmove",this.onPointerMove,this._eventListenerOptions)),this.eventsAdded=!0}},e.prototype.removeEvents=function(){if(this.eventsAdded&&this.interactionDOMElement){var t=this.interactionDOMElement.style;self.navigator.msPointerEnabled?(t.msContentZooming="",t.msTouchAction=""):this.supportsPointerEvents&&(t.touchAction=""),this.supportsPointerEvents?(self.document.removeEventListener("pointermove",this.onPointerMove,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("pointerdown",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("pointerleave",this.onPointerOut,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("pointerover",this.onPointerOver,this._eventListenerOptions),self.removeEventListener("pointercancel",this.onPointerCancel,this._eventListenerOptions),self.removeEventListener("pointerup",this.onPointerUp,this._eventListenerOptions)):(self.document.removeEventListener("mousemove",this.onPointerMove,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("mousedown",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("mouseout",this.onPointerOut,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("mouseover",this.onPointerOver,this._eventListenerOptions),self.removeEventListener("mouseup",this.onPointerUp,this._eventListenerOptions)),this.supportsTouchEvents&&(this.interactionDOMElement.removeEventListener("touchstart",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("touchcancel",this.onPointerCancel,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("touchend",this.onPointerUp,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("touchmove",this.onPointerMove,this._eventListenerOptions)),this.interactionDOMElement=null,this.eventsAdded=!1}},e.prototype.tickerUpdate=function(t){this._deltaTime+=t,this._deltaTime<this.interactionFrequency||(this._deltaTime=0,this.update())},e.prototype.update=function(){if(this.interactionDOMElement)if(this._didMove)this._didMove=!1;else{for(var t in this.cursor=null,this.activeInteractionData)if(this.activeInteractionData.hasOwnProperty(t)){var e=this.activeInteractionData[t];if(e.originalEvent&&"touch"!==e.pointerType){var n=this.configureInteractionEventForDOMEvent(this.eventData,e.originalEvent,e);this.processInteractive(n,this.lastObjectRendered,this.processPointerOverOut,!0)}}this.setCursorMode(this.cursor)}},e.prototype.setCursorMode=function(t){t=t||"default";var e=!0;if(self.OffscreenCanvas&&this.interactionDOMElement instanceof OffscreenCanvas&&(e=!1),this.currentCursorMode!==t){this.currentCursorMode=t;var n=this.cursorStyles[t];if(n)switch(typeof n){case"string":e&&(this.interactionDOMElement.style.cursor=n);break;case"function":n(t);break;case"object":e&&Object.assign(this.interactionDOMElement.style,n)}else e&&"string"==typeof t&&!Object.prototype.hasOwnProperty.call(this.cursorStyles,t)&&(this.interactionDOMElement.style.cursor=t)}},e.prototype.dispatchEvent=function(t,e,n){n.stopPropagationHint&&t!==n.stopsPropagatingAt||(n.currentTarget=t,n.type=e,t.emit(e,n),t[e]&&t[e](n))},e.prototype.delayDispatchEvent=function(t,e,n){this.delayedEvents.push({displayObject:t,eventString:e,eventData:n})},e.prototype.mapPositionToPoint=function(t,e,n){var r;r=this.interactionDOMElement.parentElement?this.interactionDOMElement.getBoundingClientRect():{x:0,y:0,width:this.interactionDOMElement.width,height:this.interactionDOMElement.height,left:0,top:0};var i=1/this.resolution;t.x=(e-r.left)*(this.interactionDOMElement.width/r.width)*i,t.y=(n-r.top)*(this.interactionDOMElement.height/r.height)*i},e.prototype.processInteractive=function(t,e,n,r){var i=this.search.findHit(t,e,n,r),o=this.delayedEvents;if(!o.length)return i;t.stopPropagationHint=!1;var s=o.length;this.delayedEvents=[];for(var a=0;a<s;a++){var u=o[a],c=u.displayObject,h=u.eventString,l=u.eventData;l.stopsPropagatingAt===c&&(l.stopPropagationHint=!0),this.dispatchEvent(c,h,l)}return i},e.prototype.onPointerDown=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);if(this.autoPreventDefault&&e[0].isNormalized)(t.cancelable||!("cancelable"in t))&&t.preventDefault();for(var n=e.length,r=0;r<n;r++){var i=e[r],o=this.getInteractionDataForPointerId(i),s=this.configureInteractionEventForDOMEvent(this.eventData,i,o);if(s.data.originalEvent=t,this.processInteractive(s,this.lastObjectRendered,this.processPointerDown,!0),this.emit("pointerdown",s),"touch"===i.pointerType)this.emit("touchstart",s);else if("mouse"===i.pointerType||"pen"===i.pointerType){var a=2===i.button;this.emit(a?"rightdown":"mousedown",this.eventData)}}}},e.prototype.processPointerDown=function(t,e,n){var r=t.data,i=t.data.identifier;if(n)if(e.trackedPointers[i]||(e.trackedPointers[i]=new Ee(i)),this.dispatchEvent(e,"pointerdown",t),"touch"===r.pointerType)this.dispatchEvent(e,"touchstart",t);else if("mouse"===r.pointerType||"pen"===r.pointerType){var o=2===r.button;o?e.trackedPointers[i].rightDown=!0:e.trackedPointers[i].leftDown=!0,this.dispatchEvent(e,o?"rightdown":"mousedown",t)}},e.prototype.onPointerComplete=function(t,e,n){for(var r=this.normalizeToPointerData(t),i=r.length,o=t.target!==this.interactionDOMElement?"outside":"",s=0;s<i;s++){var a=r[s],u=this.getInteractionDataForPointerId(a),c=this.configureInteractionEventForDOMEvent(this.eventData,a,u);if(c.data.originalEvent=t,this.processInteractive(c,this.lastObjectRendered,n,e||!o),this.emit(e?"pointercancel":"pointerup"+o,c),"mouse"===a.pointerType||"pen"===a.pointerType){var h=2===a.button;this.emit(h?"rightup"+o:"mouseup"+o,c)}else"touch"===a.pointerType&&(this.emit(e?"touchcancel":"touchend"+o,c),this.releaseInteractionDataForPointerId(a.pointerId))}},e.prototype.onPointerCancel=function(t){this.supportsTouchEvents&&"touch"===t.pointerType||this.onPointerComplete(t,!0,this.processPointerCancel)},e.prototype.processPointerCancel=function(t,e){var n=t.data,r=t.data.identifier;void 0!==e.trackedPointers[r]&&(delete e.trackedPointers[r],this.dispatchEvent(e,"pointercancel",t),"touch"===n.pointerType&&this.dispatchEvent(e,"touchcancel",t))},e.prototype.onPointerUp=function(t){this.supportsTouchEvents&&"touch"===t.pointerType||this.onPointerComplete(t,!1,this.processPointerUp)},e.prototype.processPointerUp=function(t,e,n){var r=t.data,i=t.data.identifier,o=e.trackedPointers[i],s="touch"===r.pointerType,a="mouse"===r.pointerType||"pen"===r.pointerType,u=!1;if(a){var c=2===r.button,h=Ee.FLAGS,l=c?h.RIGHT_DOWN:h.LEFT_DOWN,d=void 0!==o&&o.flags&l;n?(this.dispatchEvent(e,c?"rightup":"mouseup",t),d&&(this.dispatchEvent(e,c?"rightclick":"click",t),u=!0)):d&&this.dispatchEvent(e,c?"rightupoutside":"mouseupoutside",t),o&&(c?o.rightDown=!1:o.leftDown=!1)}n?(this.dispatchEvent(e,"pointerup",t),s&&this.dispatchEvent(e,"touchend",t),o&&(a&&!u||this.dispatchEvent(e,"pointertap",t),s&&(this.dispatchEvent(e,"tap",t),o.over=!1))):o&&(this.dispatchEvent(e,"pointerupoutside",t),s&&this.dispatchEvent(e,"touchendoutside",t)),o&&o.none&&delete e.trackedPointers[i]},e.prototype.onPointerMove=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);"mouse"!==e[0].pointerType&&"pen"!==e[0].pointerType||(this._didMove=!0,this.cursor=null);for(var n=e.length,r=0;r<n;r++){var i=e[r],o=this.getInteractionDataForPointerId(i),s=this.configureInteractionEventForDOMEvent(this.eventData,i,o);s.data.originalEvent=t,this.processInteractive(s,this.lastObjectRendered,this.processPointerMove,!0),this.emit("pointermove",s),"touch"===i.pointerType&&this.emit("touchmove",s),"mouse"!==i.pointerType&&"pen"!==i.pointerType||this.emit("mousemove",s)}"mouse"===e[0].pointerType&&this.setCursorMode(this.cursor)}},e.prototype.processPointerMove=function(t,e,n){var r=t.data,i="touch"===r.pointerType,o="mouse"===r.pointerType||"pen"===r.pointerType;o&&this.processPointerOverOut(t,e,n),this.moveWhenInside&&!n||(this.dispatchEvent(e,"pointermove",t),i&&this.dispatchEvent(e,"touchmove",t),o&&this.dispatchEvent(e,"mousemove",t))},e.prototype.onPointerOut=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t)[0];"mouse"===e.pointerType&&(this.mouseOverRenderer=!1,this.setCursorMode(null));var n=this.getInteractionDataForPointerId(e),r=this.configureInteractionEventForDOMEvent(this.eventData,e,n);r.data.originalEvent=e,this.processInteractive(r,this.lastObjectRendered,this.processPointerOverOut,!1),this.emit("pointerout",r),"mouse"===e.pointerType||"pen"===e.pointerType?this.emit("mouseout",r):this.releaseInteractionDataForPointerId(n.identifier)}},e.prototype.processPointerOverOut=function(t,e,n){var r=t.data,i=t.data.identifier,o="mouse"===r.pointerType||"pen"===r.pointerType,s=e.trackedPointers[i];n&&!s&&(s=e.trackedPointers[i]=new Ee(i)),void 0!==s&&(n&&this.mouseOverRenderer?(s.over||(s.over=!0,this.delayDispatchEvent(e,"pointerover",t),o&&this.delayDispatchEvent(e,"mouseover",t)),o&&null===this.cursor&&(this.cursor=e.cursor)):s.over&&(s.over=!1,this.dispatchEvent(e,"pointerout",this.eventData),o&&this.dispatchEvent(e,"mouseout",t),s.none&&delete e.trackedPointers[i]))},e.prototype.onPointerOver=function(t){var e=this.normalizeToPointerData(t)[0],n=this.getInteractionDataForPointerId(e),r=this.configureInteractionEventForDOMEvent(this.eventData,e,n);r.data.originalEvent=e,"mouse"===e.pointerType&&(this.mouseOverRenderer=!0),this.emit("pointerover",r),"mouse"!==e.pointerType&&"pen"!==e.pointerType||this.emit("mouseover",r)},e.prototype.getInteractionDataForPointerId=function(t){var e,n=t.pointerId;return 1===n||"mouse"===t.pointerType?e=this.mouse:this.activeInteractionData[n]?e=this.activeInteractionData[n]:((e=this.interactionDataPool.pop()||new Se).identifier=n,this.activeInteractionData[n]=e),e.copyEvent(t),e},e.prototype.releaseInteractionDataForPointerId=function(t){var e=this.activeInteractionData[t];e&&(delete this.activeInteractionData[t],e.reset(),this.interactionDataPool.push(e))},e.prototype.configureInteractionEventForDOMEvent=function(t,e,n){return t.data=n,this.mapPositionToPoint(n.global,e.clientX,e.clientY),"touch"===e.pointerType&&(e.globalX=n.global.x,e.globalY=n.global.y),n.originalEvent=e,t.reset(),t},e.prototype.normalizeToPointerData=function(t){var e=[];if(this.supportsTouchEvents&&t instanceof TouchEvent)for(var n=0,r=t.changedTouches.length;n<r;n++){var i=t.changedTouches[n];void 0===i.button&&(i.button=t.touches.length?1:0),void 0===i.buttons&&(i.buttons=t.touches.length?1:0),void 0===i.isPrimary&&(i.isPrimary=1===t.touches.length&&"touchstart"===t.type),void 0===i.width&&(i.width=i.radiusX||1),void 0===i.height&&(i.height=i.radiusY||1),void 0===i.tiltX&&(i.tiltX=0),void 0===i.tiltY&&(i.tiltY=0),void 0===i.pointerType&&(i.pointerType="touch"),void 0===i.pointerId&&(i.pointerId=i.identifier||0),void 0===i.pressure&&(i.pressure=i.force||.5),void 0===i.twist&&(i.twist=0),void 0===i.tangentialPressure&&(i.tangentialPressure=0),void 0===i.layerX&&(i.layerX=i.offsetX=i.clientX),void 0===i.layerY&&(i.layerY=i.offsetY=i.clientY),i.isNormalized=!0,e.push(i)}else if(self.MouseEvent&&(!(t instanceof MouseEvent)||this.supportsPointerEvents&&t instanceof self.PointerEvent))e.push(t);else{var o=t;void 0===o.isPrimary&&(o.isPrimary=!0),void 0===o.width&&(o.width=1),void 0===o.height&&(o.height=1),void 0===o.tiltX&&(o.tiltX=0),void 0===o.tiltY&&(o.tiltY=0),void 0===o.pointerType&&(o.pointerType="mouse"),void 0===o.pointerId&&(o.pointerId=1),void 0===o.pressure&&(o.pressure=.5),void 0===o.twist&&(o.twist=0),void 0===o.tangentialPressure&&(o.tangentialPressure=0),o.isNormalized=!0,e.push(o)}return e},e.prototype.destroy=function(){this.removeEvents(),this.removeTickerListener(),this.removeAllListeners(),this.renderer=null,this.mouse=null,this.eventData=null,this.interactionDOMElement=null,this.onPointerDown=null,this.processPointerDown=null,this.onPointerUp=null,this.processPointerUp=null,this.onPointerCancel=null,this.processPointerCancel=null,this.onPointerMove=null,this.processPointerMove=null,this.onPointerOut=null,this.processPointerOverOut=null,this.onPointerOver=null,this.search=null},e}(pt.a),Oe=function(){function t(t){this.items=[],this._name=t,this._aliasCount=0}return t.prototype.emit=function(t,e,n,r,i,o,s,a){if(arguments.length>8)throw new Error("max arguments reached");var u=this,c=u.name,h=u.items;this._aliasCount++;for(var l=0,d=h.length;l<d;l++)h[l][c](t,e,n,r,i,o,s,a);return h===this.items&&this._aliasCount--,this},t.prototype.ensureNonAliasedItems=function(){this._aliasCount>0&&this.items.length>1&&(this._aliasCount=0,this.items=this.items.slice(0))},t.prototype.add=function(t){return t[this._name]&&(this.ensureNonAliasedItems(),this.remove(t),this.items.push(t)),this},t.prototype.remove=function(t){var e=this.items.indexOf(t);return-1!==e&&(this.ensureNonAliasedItems(),this.items.splice(e,1)),this},t.prototype.contains=function(t){return-1!==this.items.indexOf(t)},t.prototype.removeAll=function(){return this.ensureNonAliasedItems(),this.items.length=0,this},t.prototype.destroy=function(){this.removeAll(),this.items=null,this._name=null},Object.defineProperty(t.prototype,"empty",{get:function(){return 0===this.items.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),t}();Object.defineProperties(Oe.prototype,{dispatch:{value:Oe.prototype.emit},run:{value:Oe.prototype.emit}}),
  350. /*!
  351. * @pixi/core - v6.1.3
  352. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  353. *
  354. * @pixi/core is licensed under the MIT License.
  355. * http://www.opensource.org/licenses/mit-license
  356. */
  357. dt.PREFER_ENV=W.any?X.WEBGL:X.WEBGL2,dt.STRICT_TEXTURE_CACHE=!1;var Ie=[];function Pe(t,e){if(!t)return null;var n="";if("string"==typeof t){var r=/\.(\w{3,4})(?:$|\?|#)/i.exec(t);r&&(n=r[1].toLowerCase())}for(var i=Ie.length-1;i>=0;--i){var o=Ie[i];if(o.test&&o.test(t,n))return new o(t,e)}throw new Error("Unrecognized source type to auto-detect Resource")}
  358. /*! *****************************************************************************
  359. Copyright (c) Microsoft Corporation. All rights reserved.
  360. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  361. this file except in compliance with the License. You may obtain a copy of the
  362. License at http://www.apache.org/licenses/LICENSE-2.0
  363. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  364. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  365. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  366. MERCHANTABLITY OR NON-INFRINGEMENT.
  367. See the Apache Version 2.0 License for specific language governing permissions
  368. and limitations under the License.
  369. ***************************************************************************** */var Re=function(t,e){return(Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function Ye(t,e){function n(){this.constructor=t}Re(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Be=function(){return(Be=Object.assign||function(t){for(var e,n=arguments,r=1,i=arguments.length;r<i;r++)for(var o in e=n[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};var Ne=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._width=t,this._height=e,this.destroyed=!1,this.internal=!1,this.onResize=new Oe("setRealSize"),this.onUpdate=new Oe("update"),this.onError=new Oe("onError")}return t.prototype.bind=function(t){this.onResize.add(t),this.onUpdate.add(t),this.onError.add(t),(this._width||this._height)&&this.onResize.emit(this._width,this._height)},t.prototype.unbind=function(t){this.onResize.remove(t),this.onUpdate.remove(t),this.onError.remove(t)},t.prototype.resize=function(t,e){t===this._width&&e===this._height||(this._width=t,this._height=e,this.onResize.emit(t,e))},Object.defineProperty(t.prototype,"valid",{get:function(){return!!this._width&&!!this._height},enumerable:!1,configurable:!0}),t.prototype.update=function(){this.destroyed||this.onUpdate.emit()},t.prototype.load=function(){return Promise.resolve(this)},Object.defineProperty(t.prototype,"width",{get:function(){return this._width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},enumerable:!1,configurable:!0}),t.prototype.style=function(t,e,n){return!1},t.prototype.dispose=function(){},t.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.dispose(),this.onError.removeAll(),this.onError=null,this.onResize.removeAll(),this.onResize=null,this.onUpdate.removeAll(),this.onUpdate=null)},t.test=function(t,e){return!1},t}(),je=function(t){function e(e,n){var r=this,i=n||{},o=i.width,s=i.height;if(!o||!s)throw new Error("BufferResource width or height invalid");return(r=t.call(this,o,s)||this).data=e,r}return Ye(e,t),e.prototype.upload=function(t,e,n){var r=t.gl;r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===ot.UNPACK);var i=e.realWidth,o=e.realHeight;return n.width===i&&n.height===o?r.texSubImage2D(e.target,0,0,0,i,o,e.format,n.type,this.data):(n.width=i,n.height=o,r.texImage2D(e.target,0,n.internalFormat,i,o,0,e.format,n.type,this.data)),!0},e.prototype.dispose=function(){this.data=null},e.test=function(t){return t instanceof Float32Array||t instanceof Uint8Array||t instanceof Uint32Array},e}(Ne),Fe={scaleMode:nt.NEAREST,format:Z.RGBA,alphaMode:ot.NPM},Ue=function(t){function e(e,n){void 0===e&&(e=null),void 0===n&&(n=null);var r=t.call(this)||this,i=(n=n||{}).alphaMode,o=n.mipmap,s=n.anisotropicLevel,a=n.scaleMode,u=n.width,c=n.height,h=n.wrapMode,l=n.format,d=n.type,f=n.target,p=n.resolution,_=n.resourceOptions;return!e||e instanceof Ne||((e=Pe(e,_)).internal=!0),r.resolution=p||dt.RESOLUTION,r.width=Math.round((u||0)*r.resolution)/r.resolution,r.height=Math.round((c||0)*r.resolution)/r.resolution,r._mipmap=void 0!==o?o:dt.MIPMAP_TEXTURES,r.anisotropicLevel=void 0!==s?s:dt.ANISOTROPIC_LEVEL,r._wrapMode=h||dt.WRAP_MODE,r._scaleMode=void 0!==a?a:dt.SCALE_MODE,r.format=l||Z.RGBA,r.type=d||tt.UNSIGNED_BYTE,r.target=f||Q.TEXTURE_2D,r.alphaMode=void 0!==i?i:ot.UNPACK,r.uid=Yt(),r.touched=0,r.isPowerOfTwo=!1,r._refreshPOT(),r._glTextures={},r.dirtyId=0,r.dirtyStyleId=0,r.cacheId=null,r.valid=u>0&&c>0,r.textureCacheIds=[],r.destroyed=!1,r.resource=null,r._batchEnabled=0,r._batchLocation=0,r.parentTextureArray=null,r.setResource(e),r}return Ye(e,t),Object.defineProperty(e.prototype,"realWidth",{get:function(){return Math.round(this.width*this.resolution)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"realHeight",{get:function(){return Math.round(this.height*this.resolution)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mipmap",{get:function(){return this._mipmap},set:function(t){this._mipmap!==t&&(this._mipmap=t,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleMode",{get:function(){return this._scaleMode},set:function(t){this._scaleMode!==t&&(this._scaleMode=t,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wrapMode",{get:function(){return this._wrapMode},set:function(t){this._wrapMode!==t&&(this._wrapMode=t,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),e.prototype.setStyle=function(t,e){var n;return void 0!==t&&t!==this.scaleMode&&(this.scaleMode=t,n=!0),void 0!==e&&e!==this.mipmap&&(this.mipmap=e,n=!0),n&&this.dirtyStyleId++,this},e.prototype.setSize=function(t,e,n){return n=n||this.resolution,this.setRealSize(t*n,e*n,n)},e.prototype.setRealSize=function(t,e,n){return this.resolution=n||this.resolution,this.width=Math.round(t)/this.resolution,this.height=Math.round(e)/this.resolution,this._refreshPOT(),this.update(),this},e.prototype._refreshPOT=function(){this.isPowerOfTwo=kt(this.realWidth)&&kt(this.realHeight)},e.prototype.setResolution=function(t){var e=this.resolution;return e===t||(this.resolution=t,this.valid&&(this.width=Math.round(this.width*e)/t,this.height=Math.round(this.height*e)/t,this.emit("update",this)),this._refreshPOT()),this},e.prototype.setResource=function(t){if(this.resource===t)return this;if(this.resource)throw new Error("Resource can be set only once");return t.bind(this),this.resource=t,this},e.prototype.update=function(){this.valid?(this.dirtyId++,this.dirtyStyleId++,this.emit("update",this)):this.width>0&&this.height>0&&(this.valid=!0,this.emit("loaded",this),this.emit("update",this))},e.prototype.onError=function(t){this.emit("error",this,t)},e.prototype.destroy=function(){this.resource&&(this.resource.unbind(this),this.resource.internal&&this.resource.destroy(),this.resource=null),this.cacheId&&(delete Ut[this.cacheId],delete Ft[this.cacheId],this.cacheId=null),this.dispose(),e.removeFromCache(this),this.textureCacheIds=null,this.destroyed=!0},e.prototype.dispose=function(){this.emit("dispose",this)},e.prototype.castToBaseTexture=function(){return this},e.from=function(t,n,r){void 0===r&&(r=dt.STRICT_TEXTURE_CACHE);var i="string"==typeof t,o=null;if(i)o=t;else{if(!t._pixiId){var s=n&&n.pixiIdPrefix||"pixiid";t._pixiId=s+"_"+Yt()}o=t._pixiId}var a=Ut[o];if(i&&r&&!a)throw new Error('The cacheId "'+o+'" does not exist in BaseTextureCache.');return a||((a=new e(t,n)).cacheId=o,e.addToCache(a,o)),a},e.fromBuffer=function(t,n,r,i){t=t||new Float32Array(n*r*4);var o=new je(t,{width:n,height:r}),s=t instanceof Float32Array?tt.FLOAT:tt.UNSIGNED_BYTE;return new e(o,Object.assign(Fe,i||{width:n,height:r,type:s}))},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),Ut[e]&&console.warn("BaseTexture added to the cache with an id ["+e+"] that already had an entry"),Ut[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=Ut[t];if(e){var n=e.textureCacheIds.indexOf(t);return n>-1&&e.textureCacheIds.splice(n,1),delete Ut[t],e}}else if(t&&t.textureCacheIds){for(var r=0;r<t.textureCacheIds.length;++r)delete Ut[t.textureCacheIds[r]];return t.textureCacheIds.length=0,t}return null},e._globalBatch=0,e}(pt.a),Ge=function(t){function e(e,n){var r=this,i=n||{},o=i.width,s=i.height;(r=t.call(this,o,s)||this).items=[],r.itemDirtyIds=[];for(var a=0;a<e;a++){var u=new Ue;r.items.push(u),r.itemDirtyIds.push(-2)}return r.length=e,r._load=null,r.baseTexture=null,r}return Ye(e,t),e.prototype.initFromArray=function(t,e){for(var n=0;n<this.length;n++)t[n]&&(t[n].castToBaseTexture?this.addBaseTextureAt(t[n].castToBaseTexture(),n):t[n]instanceof Ne?this.addResourceAt(t[n],n):this.addResourceAt(Pe(t[n],e),n))},e.prototype.dispose=function(){for(var t=0,e=this.length;t<e;t++)this.items[t].destroy();this.items=null,this.itemDirtyIds=null,this._load=null},e.prototype.addResourceAt=function(t,e){if(!this.items[e])throw new Error("Index "+e+" is out of bounds");return t.valid&&!this.valid&&this.resize(t.width,t.height),this.items[e].setResource(t),this},e.prototype.bind=function(e){if(null!==this.baseTexture)throw new Error("Only one base texture per TextureArray is allowed");t.prototype.bind.call(this,e);for(var n=0;n<this.length;n++)this.items[n].parentTextureArray=e,this.items[n].on("update",e.update,e)},e.prototype.unbind=function(e){t.prototype.unbind.call(this,e);for(var n=0;n<this.length;n++)this.items[n].parentTextureArray=null,this.items[n].off("update",e.update,e)},e.prototype.load=function(){var t=this;if(this._load)return this._load;var e=this.items.map((function(t){return t.resource})).filter((function(t){return t})).map((function(t){return t.load()}));return this._load=Promise.all(e).then((function(){var e=t.items[0],n=e.realWidth,r=e.realHeight;return t.resize(n,r),Promise.resolve(t)})),this._load},e}(Ne),He=function(t){function e(e,n){var r,i,o=this,s=n||{},a=s.width,u=s.height;return Array.isArray(e)?(r=e,i=e.length):i=e,o=t.call(this,i,{width:a,height:u})||this,r&&o.initFromArray(r,n),o}return Ye(e,t),e.prototype.addBaseTextureAt=function(t,e){if(!t.resource)throw new Error("ArrayResource does not support RenderTexture");return this.addResourceAt(t.resource,e),this},e.prototype.bind=function(e){t.prototype.bind.call(this,e),e.target=Q.TEXTURE_2D_ARRAY},e.prototype.upload=function(t,e,n){var r=this.length,i=this.itemDirtyIds,o=this.items,s=t.gl;n.dirtyId<0&&s.texImage3D(s.TEXTURE_2D_ARRAY,0,n.internalFormat,this._width,this._height,r,0,e.format,n.type,null);for(var a=0;a<r;a++){var u=o[a];i[a]<u.dirtyId&&(i[a]=u.dirtyId,u.valid&&s.texSubImage3D(s.TEXTURE_2D_ARRAY,0,0,0,a,u.resource.width,u.resource.height,1,e.format,n.type,u.resource.source))}return!0},e}(Ge),Ve=function(t){function e(e){var n=this,r=e,i=r.naturalWidth||r.videoWidth||r.width,o=r.naturalHeight||r.videoHeight||r.height;return(n=t.call(this,i,o)||this).source=e,n.noSubImage=!1,n}return Ye(e,t),e.crossOrigin=function(t,e,n){void 0===n&&0!==e.indexOf("data:")?t.crossOrigin=function(t,e){if(void 0===e&&(e=self.location),0===t.indexOf("data:"))return"";e=e||self.location,Ht||(Ht=document.createElement("a")),Ht.href=t;var n=vt.parse(Ht.href),r=!n.port&&""===e.port||n.port===e.port;return n.hostname===e.hostname&&r&&n.protocol===e.protocol?"":"anonymous"}(e):!1!==n&&(t.crossOrigin="string"==typeof n?n:"anonymous")},e.prototype.upload=function(t,e,n,r){var i=t.gl,o=e.realWidth,s=e.realHeight;return r=r||this.source,i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===ot.UNPACK),this.noSubImage||e.target!==i.TEXTURE_2D||n.width!==o||n.height!==s?(n.width=o,n.height=s,i.texImage2D(e.target,0,n.internalFormat,e.format,n.type,r)):i.texSubImage2D(i.TEXTURE_2D,0,0,0,e.format,n.type,r),!0},e.prototype.update=function(){if(!this.destroyed){var e=this.source,n=e.naturalWidth||e.videoWidth||e.width,r=e.naturalHeight||e.videoHeight||e.height;this.resize(n,r),t.prototype.update.call(this)}},e.prototype.dispose=function(){this.source=null},e}(Ne),ze=function(t){function e(e){return t.call(this,e)||this}return Ye(e,t),e.test=function(t){var e=self.OffscreenCanvas;return!!(e&&t instanceof e)||self.HTMLCanvasElement&&t instanceof HTMLCanvasElement},e}(Ve),We=function(t){function e(n,r){var i=this,o=r||{},s=o.width,a=o.height,u=o.autoLoad,c=o.linkBaseTexture;if(n&&n.length!==e.SIDES)throw new Error("Invalid length. Got "+n.length+", expected 6");i=t.call(this,6,{width:s,height:a})||this;for(var h=0;h<e.SIDES;h++)i.items[h].target=Q.TEXTURE_CUBE_MAP_POSITIVE_X+h;return i.linkBaseTexture=!1!==c,n&&i.initFromArray(n,r),!1!==u&&i.load(),i}return Ye(e,t),e.prototype.bind=function(e){t.prototype.bind.call(this,e),e.target=Q.TEXTURE_CUBE_MAP},e.prototype.addBaseTextureAt=function(t,e,n){if(void 0===n&&(n=this.linkBaseTexture),!this.items[e])throw new Error("Index "+e+" is out of bounds");if(!this.linkBaseTexture||t.parentTextureArray||Object.keys(t._glTextures).length>0){if(!t.resource)throw new Error("CubeResource does not support copying of renderTexture.");this.addResourceAt(t.resource,e)}else t.target=Q.TEXTURE_CUBE_MAP_POSITIVE_X+e,t.parentTextureArray=this.baseTexture,this.items[e]=t;return t.valid&&!this.valid&&this.resize(t.realWidth,t.realHeight),this.items[e]=t,this},e.prototype.upload=function(t,n,r){for(var i=this.itemDirtyIds,o=0;o<e.SIDES;o++){var s=this.items[o];i[o]<s.dirtyId&&(s.valid&&s.resource?(s.resource.upload(t,s,r),i[o]=s.dirtyId):i[o]<-1&&(t.gl.texImage2D(s.target,0,r.internalFormat,n.realWidth,n.realHeight,0,n.format,r.type,null),i[o]=-1))}return!0},e.test=function(t){return Array.isArray(t)&&t.length===e.SIDES},e.SIDES=6,e}(Ge),Xe=function(t){function e(e,n){var r=this;if(n=n||{},!(e instanceof HTMLImageElement)){var i=new Image;Ve.crossOrigin(i,e,n.crossorigin),i.src=e,e=i}return r=t.call(this,e)||this,!e.complete&&r._width&&r._height&&(r._width=0,r._height=0),r.url=e.src,r._process=null,r.preserveBitmap=!1,r.createBitmap=(void 0!==n.createBitmap?n.createBitmap:dt.CREATE_IMAGE_BITMAP)&&!!self.createImageBitmap,r.alphaMode="number"==typeof n.alphaMode?n.alphaMode:null,r.bitmap=null,r._load=null,!1!==n.autoLoad&&r.load(),r}return Ye(e,t),e.prototype.load=function(t){var e=this;return this._load||(void 0!==t&&(this.createBitmap=t),this._load=new Promise((function(t,n){var r=e.source;e.url=r.src;var i=function(){e.destroyed||(r.onload=null,r.onerror=null,e.resize(r.width,r.height),e._load=null,e.createBitmap?t(e.process()):t(e))};r.complete&&r.src?i():(r.onload=i,r.onerror=function(t){n(t),e.onError.emit(t)})}))),this._load},e.prototype.process=function(){var t=this,e=this.source;if(null!==this._process)return this._process;if(null!==this.bitmap||!self.createImageBitmap)return Promise.resolve(this);var n=self.createImageBitmap,r=!e.crossOrigin||"anonymous"===e.crossOrigin;return this._process=fetch(e.src,{mode:r?"cors":"no-cors"}).then((function(t){return t.blob()})).then((function(r){return n(r,0,0,e.width,e.height,{premultiplyAlpha:t.alphaMode===ot.UNPACK?"premultiply":"none"})})).then((function(e){return t.destroyed?Promise.reject():(t.bitmap=e,t.update(),t._process=null,Promise.resolve(t))})),this._process},e.prototype.upload=function(e,n,r){if("number"==typeof this.alphaMode&&(n.alphaMode=this.alphaMode),!this.createBitmap)return t.prototype.upload.call(this,e,n,r);if(!this.bitmap&&(this.process(),!this.bitmap))return!1;if(t.prototype.upload.call(this,e,n,r,this.bitmap),!this.preserveBitmap){var i=!0,o=n._glTextures;for(var s in o){var a=o[s];if(a!==r&&a.dirtyId!==n.dirtyId){i=!1;break}}i&&(this.bitmap.close&&this.bitmap.close(),this.bitmap=null)}return!0},e.prototype.dispose=function(){this.source.onload=null,this.source.onerror=null,t.prototype.dispose.call(this),this.bitmap&&(this.bitmap.close(),this.bitmap=null),this._process=null,this._load=null},e.test=function(t){return"string"==typeof t||t instanceof HTMLImageElement},e}(Ve),Je=function(t){function e(e,n){var r=this;return n=n||{},(r=t.call(this,document.createElement("canvas"))||this)._width=0,r._height=0,r.svg=e,r.scale=n.scale||1,r._overrideWidth=n.width,r._overrideHeight=n.height,r._resolve=null,r._crossorigin=n.crossorigin,r._load=null,!1!==n.autoLoad&&r.load(),r}return Ye(e,t),e.prototype.load=function(){var t=this;return this._load||(this._load=new Promise((function(e){if(t._resolve=function(){t.resize(t.source.width,t.source.height),e(t)},/^\<svg/.test(t.svg.trim())){if(!btoa)throw new Error("Your browser doesn't support base64 conversions.");t.svg="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(t.svg)))}t._loadSvg()}))),this._load},e.prototype._loadSvg=function(){var t=this,e=new Image;Ve.crossOrigin(e,this.svg,this._crossorigin),e.src=this.svg,e.onerror=function(n){t._resolve&&(e.onerror=null,t.onError.emit(n))},e.onload=function(){if(t._resolve){var n=e.width,r=e.height;if(!n||!r)throw new Error("The SVG image must have width and height defined (in pixels), canvas API needs them.");var i=n*t.scale,o=r*t.scale;(t._overrideWidth||t._overrideHeight)&&(i=t._overrideWidth||t._overrideHeight/r*n,o=t._overrideHeight||t._overrideWidth/n*r),i=Math.round(i),o=Math.round(o);var s=t.source;s.width=i,s.height=o,s._pixiId="canvas_"+Yt(),s.getContext("2d").drawImage(e,0,0,n,r,0,0,i,o),t._resolve(),t._resolve=null}}},e.getSize=function(t){var n=e.SVG_SIZE.exec(t),r={};return n&&(r[n[1]]=Math.round(parseFloat(n[3])),r[n[5]]=Math.round(parseFloat(n[7]))),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._resolve=null,this._crossorigin=null},e.test=function(t,n){return"svg"===n||"string"==typeof t&&/^data:image\/svg\+xml(;(charset=utf8|utf8))?;base64/.test(t)||"string"==typeof t&&e.SVG_XML.test(t)},e.SVG_XML=/^(<\?xml[^?]+\?>)?\s*(<!--[^(-->)]*-->)?\s*\<svg/m,e.SVG_SIZE=/<svg[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*>/i,e}(Ve),Ke=function(t){function e(n,r){var i=this;if(r=r||{},!(n instanceof HTMLVideoElement)){var o=document.createElement("video");o.setAttribute("preload","auto"),o.setAttribute("webkit-playsinline",""),o.setAttribute("playsinline",""),"string"==typeof n&&(n=[n]);var s=n[0].src||n[0];Ve.crossOrigin(o,s,r.crossorigin);for(var a=0;a<n.length;++a){var u=document.createElement("source"),c=n[a],h=c.src,l=c.mime,d=(h=h||n[a]).split("?").shift().toLowerCase(),f=d.substr(d.lastIndexOf(".")+1);l=l||e.MIME_TYPES[f]||"video/"+f,u.src=h,u.type=l,o.appendChild(u)}n=o}return(i=t.call(this,n)||this).noSubImage=!0,i._autoUpdate=!0,i._isConnectedToTicker=!1,i._updateFPS=r.updateFPS||0,i._msToNextUpdate=0,i.autoPlay=!1!==r.autoPlay,i._load=null,i._resolve=null,i._onCanPlay=i._onCanPlay.bind(i),i._onError=i._onError.bind(i),!1!==r.autoLoad&&i.load(),i}return Ye(e,t),e.prototype.update=function(e){if(!this.destroyed){var n=xe.shared.elapsedMS*this.source.playbackRate;this._msToNextUpdate=Math.floor(this._msToNextUpdate-n),(!this._updateFPS||this._msToNextUpdate<=0)&&(t.prototype.update.call(this),this._msToNextUpdate=this._updateFPS?Math.floor(1e3/this._updateFPS):0)}},e.prototype.load=function(){var t=this;if(this._load)return this._load;var e=this.source;return(e.readyState===e.HAVE_ENOUGH_DATA||e.readyState===e.HAVE_FUTURE_DATA)&&e.width&&e.height&&(e.complete=!0),e.addEventListener("play",this._onPlayStart.bind(this)),e.addEventListener("pause",this._onPlayStop.bind(this)),this._isSourceReady()?this._onCanPlay():(e.addEventListener("canplay",this._onCanPlay),e.addEventListener("canplaythrough",this._onCanPlay),e.addEventListener("error",this._onError,!0)),this._load=new Promise((function(n){t.valid?n(t):(t._resolve=n,e.load())})),this._load},e.prototype._onError=function(t){this.source.removeEventListener("error",this._onError,!0),this.onError.emit(t)},e.prototype._isSourcePlaying=function(){var t=this.source;return t.currentTime>0&&!1===t.paused&&!1===t.ended&&t.readyState>2},e.prototype._isSourceReady=function(){var t=this.source;return 3===t.readyState||4===t.readyState},e.prototype._onPlayStart=function(){this.valid||this._onCanPlay(),this.autoUpdate&&!this._isConnectedToTicker&&(xe.shared.add(this.update,this),this._isConnectedToTicker=!0)},e.prototype._onPlayStop=function(){this._isConnectedToTicker&&(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1)},e.prototype._onCanPlay=function(){var t=this.source;t.removeEventListener("canplay",this._onCanPlay),t.removeEventListener("canplaythrough",this._onCanPlay);var e=this.valid;this.resize(t.videoWidth,t.videoHeight),!e&&this._resolve&&(this._resolve(this),this._resolve=null),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&t.play()},e.prototype.dispose=function(){this._isConnectedToTicker&&(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1);var e=this.source;e&&(e.removeEventListener("error",this._onError,!0),e.pause(),e.src="",e.load()),t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"autoUpdate",{get:function(){return this._autoUpdate},set:function(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isConnectedToTicker?(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1):this._autoUpdate&&!this._isConnectedToTicker&&this._isSourcePlaying()&&(xe.shared.add(this.update,this),this._isConnectedToTicker=!0))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"updateFPS",{get:function(){return this._updateFPS},set:function(t){t!==this._updateFPS&&(this._updateFPS=t)},enumerable:!1,configurable:!0}),e.test=function(t,n){return self.HTMLVideoElement&&t instanceof HTMLVideoElement||e.TYPES.indexOf(n)>-1},e.TYPES=["mp4","m4v","webm","ogg","ogv","h264","avi","mov"],e.MIME_TYPES={ogv:"video/ogg",mov:"video/quicktime",m4v:"video/mp4"},e}(Ve),qe=function(t){function e(e){return t.call(this,e)||this}return Ye(e,t),e.test=function(t){return!!self.createImageBitmap&&t instanceof ImageBitmap},e}(Ve);Ie.push(Xe,qe,ze,Ke,Je,je,We,He);var $e={__proto__:null,Resource:Ne,BaseImageResource:Ve,INSTALLED:Ie,autoDetectResource:Pe,AbstractMultiResource:Ge,ArrayResource:He,BufferResource:je,CanvasResource:ze,CubeResource:We,ImageResource:Xe,SVGResource:Je,VideoResource:Ke,ImageBitmapResource:qe},Ze=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Ye(e,t),e.prototype.upload=function(t,e,n){var r=t.gl;r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===ot.UNPACK);var i=e.realWidth,o=e.realHeight;return n.width===i&&n.height===o?r.texSubImage2D(e.target,0,0,0,i,o,e.format,n.type,this.data):(n.width=i,n.height=o,r.texImage2D(e.target,0,n.internalFormat,i,o,0,e.format,n.type,this.data)),!0},e}(je),Qe=function(){function t(t,e){this.width=Math.round(t||100),this.height=Math.round(e||100),this.stencil=!1,this.depth=!1,this.dirtyId=0,this.dirtyFormat=0,this.dirtySize=0,this.depthTexture=null,this.colorTextures=[],this.glFramebuffers={},this.disposeRunner=new Oe("disposeFramebuffer"),this.multisample=ht.NONE}return Object.defineProperty(t.prototype,"colorTexture",{get:function(){return this.colorTextures[0]},enumerable:!1,configurable:!0}),t.prototype.addColorTexture=function(t,e){return void 0===t&&(t=0),this.colorTextures[t]=e||new Ue(null,{scaleMode:nt.NEAREST,resolution:1,mipmap:it.OFF,width:this.width,height:this.height}),this.dirtyId++,this.dirtyFormat++,this},t.prototype.addDepthTexture=function(t){return this.depthTexture=t||new Ue(new Ze(null,{width:this.width,height:this.height}),{scaleMode:nt.NEAREST,resolution:1,width:this.width,height:this.height,mipmap:it.OFF,format:Z.DEPTH_COMPONENT,type:tt.UNSIGNED_SHORT}),this.dirtyId++,this.dirtyFormat++,this},t.prototype.enableDepth=function(){return this.depth=!0,this.dirtyId++,this.dirtyFormat++,this},t.prototype.enableStencil=function(){return this.stencil=!0,this.dirtyId++,this.dirtyFormat++,this},t.prototype.resize=function(t,e){if(t=Math.round(t),e=Math.round(e),t!==this.width||e!==this.height){this.width=t,this.height=e,this.dirtyId++,this.dirtySize++;for(var n=0;n<this.colorTextures.length;n++){var r=this.colorTextures[n],i=r.resolution;r.setSize(t/i,e/i)}if(this.depthTexture){i=this.depthTexture.resolution;this.depthTexture.setSize(t/i,e/i)}}},t.prototype.dispose=function(){this.disposeRunner.emit(this,!1)},t.prototype.destroyDepthTexture=function(){this.depthTexture&&(this.depthTexture.destroy(),this.depthTexture=null,++this.dirtyId,++this.dirtyFormat)},t}(),tn=function(t){function e(e){var n=this;if("number"==typeof e){var r=arguments[0],i=arguments[1],o=arguments[2],s=arguments[3];e={width:r,height:i,scaleMode:o,resolution:s}}return e.width=e.width||100,e.height=e.height||100,e.multisample=void 0!==e.multisample?e.multisample:ht.NONE,(n=t.call(this,null,e)||this).mipmap=it.OFF,n.valid=!0,n.clearColor=[0,0,0,0],n.framebuffer=new Qe(n.realWidth,n.realHeight).addColorTexture(0,n),n.framebuffer.multisample=e.multisample,n.maskStack=[],n.filterStack=[{}],n}return Ye(e,t),e.prototype.resize=function(t,e){this.framebuffer.resize(t*this.resolution,e*this.resolution),this.setRealSize(this.framebuffer.width,this.framebuffer.height)},e.prototype.dispose=function(){this.framebuffer.dispose(),t.prototype.dispose.call(this)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.framebuffer.destroyDepthTexture(),this.framebuffer=null},e}(Ue),en=function(){function t(){this.x0=0,this.y0=0,this.x1=1,this.y1=0,this.x2=1,this.y2=1,this.x3=0,this.y3=1,this.uvsFloat32=new Float32Array(8)}return t.prototype.set=function(t,e,n){var r=e.width,i=e.height;if(n){var o=t.width/2/r,s=t.height/2/i,a=t.x/r+o,u=t.y/i+s;n=he.add(n,he.NW),this.x0=a+o*he.uX(n),this.y0=u+s*he.uY(n),n=he.add(n,2),this.x1=a+o*he.uX(n),this.y1=u+s*he.uY(n),n=he.add(n,2),this.x2=a+o*he.uX(n),this.y2=u+s*he.uY(n),n=he.add(n,2),this.x3=a+o*he.uX(n),this.y3=u+s*he.uY(n)}else this.x0=t.x/r,this.y0=t.y/i,this.x1=(t.x+t.width)/r,this.y1=t.y/i,this.x2=(t.x+t.width)/r,this.y2=(t.y+t.height)/i,this.x3=t.x/r,this.y3=(t.y+t.height)/i;this.uvsFloat32[0]=this.x0,this.uvsFloat32[1]=this.y0,this.uvsFloat32[2]=this.x1,this.uvsFloat32[3]=this.y1,this.uvsFloat32[4]=this.x2,this.uvsFloat32[5]=this.y2,this.uvsFloat32[6]=this.x3,this.uvsFloat32[7]=this.y3},t.prototype.toString=function(){return"[@pixi/core:TextureUvs x0="+this.x0+" y0="+this.y0+" x1="+this.x1+" y1="+this.y1+" x2="+this.x2+" y2="+this.y2+" x3="+this.x3+" y3="+this.y3+"]"},t}(),nn=new en,rn=function(t){function e(n,r,i,o,s,a){var u=t.call(this)||this;if(u.noFrame=!1,r||(u.noFrame=!0,r=new Kt(0,0,1,1)),n instanceof e&&(n=n.baseTexture),u.baseTexture=n,u._frame=r,u.trim=o,u.valid=!1,u._uvs=nn,u.uvMatrix=null,u.orig=i||r,u._rotate=Number(s||0),!0===s)u._rotate=2;else if(u._rotate%2!=0)throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");return u.defaultAnchor=a?new te(a.x,a.y):new te(0,0),u._updateID=0,u.textureCacheIds=[],n.valid?u.noFrame?n.valid&&u.onBaseTextureUpdated(n):u.frame=r:n.once("loaded",u.onBaseTextureUpdated,u),u.noFrame&&n.on("update",u.onBaseTextureUpdated,u),u}return Ye(e,t),e.prototype.update=function(){this.baseTexture.resource&&this.baseTexture.resource.update()},e.prototype.onBaseTextureUpdated=function(t){if(this.noFrame){if(!this.baseTexture.valid)return;this._frame.width=t.width,this._frame.height=t.height,this.valid=!0,this.updateUvs()}else this.frame=this._frame;this.emit("update",this)},e.prototype.destroy=function(t){if(this.baseTexture){if(t){var n=this.baseTexture.resource;n&&n.url&&Ft[n.url]&&e.removeFromCache(n.url),this.baseTexture.destroy()}this.baseTexture.off("loaded",this.onBaseTextureUpdated,this),this.baseTexture.off("update",this.onBaseTextureUpdated,this),this.baseTexture=null}this._frame=null,this._uvs=null,this.trim=null,this.orig=null,this.valid=!1,e.removeFromCache(this),this.textureCacheIds=null},e.prototype.clone=function(){var t=this._frame.clone(),n=this._frame===this.orig?t:this.orig.clone(),r=new e(this.baseTexture,!this.noFrame&&t,n,this.trim&&this.trim.clone(),this.rotate,this.defaultAnchor);return this.noFrame&&(r._frame=t),r},e.prototype.updateUvs=function(){this._uvs===nn&&(this._uvs=new en),this._uvs.set(this._frame,this.baseTexture,this.rotate),this._updateID++},e.from=function(t,n,r){void 0===n&&(n={}),void 0===r&&(r=dt.STRICT_TEXTURE_CACHE);var i="string"==typeof t,o=null;if(i)o=t;else{if(!t._pixiId){var s=n&&n.pixiIdPrefix||"pixiid";t._pixiId=s+"_"+Yt()}o=t._pixiId}var a=Ft[o];if(i&&r&&!a)throw new Error('The cacheId "'+o+'" does not exist in TextureCache.');return a||(n.resolution||(n.resolution=Vt(t)),(a=new e(new Ue(t,n))).baseTexture.cacheId=o,Ue.addToCache(a.baseTexture,o),e.addToCache(a,o)),a},e.fromURL=function(t,n){var r=Object.assign({autoLoad:!1},null==n?void 0:n.resourceOptions),i=e.from(t,Object.assign({resourceOptions:r},n),!1),o=i.baseTexture.resource;return i.baseTexture.valid?Promise.resolve(i):o.load().then((function(){return Promise.resolve(i)}))},e.fromBuffer=function(t,n,r,i){return new e(Ue.fromBuffer(t,n,r,i))},e.fromLoader=function(t,n,r,i){var o=new Ue(t,Object.assign({scaleMode:dt.SCALE_MODE,resolution:Vt(n)},i)),s=o.resource;s instanceof Xe&&(s.url=n);var a=new e(o);return r||(r=n),Ue.addToCache(a.baseTexture,r),e.addToCache(a,r),r!==n&&(Ue.addToCache(a.baseTexture,n),e.addToCache(a,n)),a.baseTexture.valid?Promise.resolve(a):new Promise((function(t){a.baseTexture.once("loaded",(function(){return t(a)}))}))},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),Ft[e]&&console.warn("Texture added to the cache with an id ["+e+"] that already had an entry"),Ft[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=Ft[t];if(e){var n=e.textureCacheIds.indexOf(t);return n>-1&&e.textureCacheIds.splice(n,1),delete Ft[t],e}}else if(t&&t.textureCacheIds){for(var r=0;r<t.textureCacheIds.length;++r)Ft[t.textureCacheIds[r]]===t&&delete Ft[t.textureCacheIds[r]];return t.textureCacheIds.length=0,t}return null},Object.defineProperty(e.prototype,"resolution",{get:function(){return this.baseTexture.resolution},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"frame",{get:function(){return this._frame},set:function(t){this._frame=t,this.noFrame=!1;var e=t.x,n=t.y,r=t.width,i=t.height,o=e+r>this.baseTexture.width,s=n+i>this.baseTexture.height;if(o||s){var a=o&&s?"and":"or",u="X: "+e+" + "+r+" = "+(e+r)+" > "+this.baseTexture.width,c="Y: "+n+" + "+i+" = "+(n+i)+" > "+this.baseTexture.height;throw new Error("Texture Error: frame does not fit inside the base Texture dimensions: "+u+" "+a+" "+c)}this.valid=r&&i&&this.baseTexture.valid,this.trim||this.rotate||(this.orig=t),this.valid&&this.updateUvs()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rotate",{get:function(){return this._rotate},set:function(t){this._rotate=t,this.valid&&this.updateUvs()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.orig.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.orig.height},enumerable:!1,configurable:!0}),e.prototype.castToBaseTexture=function(){return this.baseTexture},e}(pt.a);function on(t){t.destroy=function(){},t.on=function(){},t.once=function(){},t.emit=function(){}}rn.EMPTY=new rn(new Ue),on(rn.EMPTY),on(rn.EMPTY.baseTexture),rn.WHITE=function(){var t=document.createElement("canvas");t.width=16,t.height=16;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,16,16),new rn(new Ue(new ze(t)))}(),on(rn.WHITE),on(rn.WHITE.baseTexture);var sn=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.valid=!0,r.filterFrame=null,r.filterPoolKey=null,r.updateUvs(),r}return Ye(e,t),Object.defineProperty(e.prototype,"framebuffer",{get:function(){return this.baseTexture.framebuffer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"multisample",{get:function(){return this.framebuffer.multisample},set:function(t){this.framebuffer.multisample=t},enumerable:!1,configurable:!0}),e.prototype.resize=function(t,e,n){void 0===n&&(n=!0);var r=this.baseTexture.resolution,i=Math.round(t*r)/r,o=Math.round(e*r)/r;this.valid=i>0&&o>0,this._frame.width=this.orig.width=i,this._frame.height=this.orig.height=o,n&&this.baseTexture.resize(i,o),this.updateUvs()},e.prototype.setResolution=function(t){var e=this.baseTexture;e.resolution!==t&&(e.setResolution(t),this.resize(e.width,e.height,!1))},e.create=function(t){for(var n=arguments,r=[],i=1;i<arguments.length;i++)r[i-1]=n[i];return"number"==typeof t&&(Nt("6.0.0","Arguments (width, height, scaleMode, resolution) have been deprecated."),t={width:t,height:r[0],scaleMode:r[1],resolution:r[2]}),new e(new tn(t))},e}(rn),an=function(){function t(t){this.texturePool={},this.textureOptions=t||{},this.enableFullScreen=!1,this._pixelsWidth=0,this._pixelsHeight=0}return t.prototype.createTexture=function(t,e,n){void 0===n&&(n=ht.NONE);var r=new tn(Object.assign({width:t,height:e,resolution:1,multisample:n},this.textureOptions));return new sn(r)},t.prototype.getOptimalTexture=function(t,e,n,r){var i;void 0===n&&(n=1),void 0===r&&(r=ht.NONE),t=Math.ceil(t*n),e=Math.ceil(e*n),this.enableFullScreen&&t===this._pixelsWidth&&e===this._pixelsHeight?i=r>1?-r:-1:(i=((65535&(t=Ct(t)))<<16|65535&(e=Ct(e)))>>>0,r>1&&(i+=4294967296*r)),this.texturePool[i]||(this.texturePool[i]=[]);var o=this.texturePool[i].pop();return o||(o=this.createTexture(t,e,r)),o.filterPoolKey=i,o.setResolution(n),o},t.prototype.getFilterTexture=function(t,e,n){var r=this.getOptimalTexture(t.width,t.height,e||t.resolution,n||ht.NONE);return r.filterFrame=t.filterFrame,r},t.prototype.returnTexture=function(t){var e=t.filterPoolKey;t.filterFrame=null,this.texturePool[e].push(t)},t.prototype.returnFilterTexture=function(t){this.returnTexture(t)},t.prototype.clear=function(t){if(t=!1!==t)for(var e in this.texturePool){var n=this.texturePool[e];if(n)for(var r=0;r<n.length;r++)n[r].destroy(!0)}this.texturePool={}},t.prototype.setScreenSize=function(t){if(t.width!==this._pixelsWidth||t.height!==this._pixelsHeight){for(var e in this.enableFullScreen=t.width>0&&t.height>0,this.texturePool)if(Number(e)<0){var n=this.texturePool[e];if(n)for(var r=0;r<n.length;r++)n[r].destroy(!0);this.texturePool[e]=[]}this._pixelsWidth=t.width,this._pixelsHeight=t.height}},t.SCREEN_KEY=-1,t}(),un=function(){function t(t,e,n,r,i,o,s){void 0===e&&(e=0),void 0===n&&(n=!1),void 0===r&&(r=tt.FLOAT),this.buffer=t,this.size=e,this.normalized=n,this.type=r,this.stride=i,this.start=o,this.instance=s}return t.prototype.destroy=function(){this.buffer=null},t.from=function(e,n,r,i,o){return new t(e,n,r,i,o)},t}(),cn=0,hn=function(){function t(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1),this.data=t||new Float32Array(1),this._glBuffers={},this._updateID=0,this.index=n,this.static=e,this.id=cn++,this.disposeRunner=new Oe("disposeBuffer")}return t.prototype.update=function(t){t instanceof Array&&(t=new Float32Array(t)),this.data=t||this.data,this._updateID++},t.prototype.dispose=function(){this.disposeRunner.emit(this,!1)},t.prototype.destroy=function(){this.dispose(),this.data=null},Object.defineProperty(t.prototype,"index",{get:function(){return this.type===lt.ELEMENT_ARRAY_BUFFER},set:function(t){this.type=t?lt.ELEMENT_ARRAY_BUFFER:lt.ARRAY_BUFFER},enumerable:!1,configurable:!0}),t.from=function(e){return e instanceof Array&&(e=new Float32Array(e)),new t(e)},t}(),ln={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array};var dn={5126:4,5123:2,5121:1},fn=0,pn={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array},_n=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this.buffers=t,this.indexBuffer=null,this.attributes=e,this.glVertexArrayObjects={},this.id=fn++,this.instanced=!1,this.instanceCount=1,this.disposeRunner=new Oe("disposeGeometry"),this.refCount=0}return t.prototype.addAttribute=function(t,e,n,r,i,o,s,a){if(void 0===n&&(n=0),void 0===r&&(r=!1),void 0===a&&(a=!1),!e)throw new Error("You must pass a buffer when creating an attribute");e instanceof hn||(e instanceof Array&&(e=new Float32Array(e)),e=new hn(e));var u=t.split("|");if(u.length>1){for(var c=0;c<u.length;c++)this.addAttribute(u[c],e,n,r,i);return this}var h=this.buffers.indexOf(e);return-1===h&&(this.buffers.push(e),h=this.buffers.length-1),this.attributes[t]=new un(h,n,r,i,o,s,a),this.instanced=this.instanced||a,this},t.prototype.getAttribute=function(t){return this.attributes[t]},t.prototype.getBuffer=function(t){return this.buffers[this.getAttribute(t).buffer]},t.prototype.addIndex=function(t){return t instanceof hn||(t instanceof Array&&(t=new Uint16Array(t)),t=new hn(t)),t.type=lt.ELEMENT_ARRAY_BUFFER,this.indexBuffer=t,-1===this.buffers.indexOf(t)&&this.buffers.push(t),this},t.prototype.getIndex=function(){return this.indexBuffer},t.prototype.interleave=function(){if(1===this.buffers.length||2===this.buffers.length&&this.indexBuffer)return this;var t,e=[],n=[],r=new hn;for(t in this.attributes){var i=this.attributes[t],o=this.buffers[i.buffer];e.push(o.data),n.push(i.size*dn[i.type]/4),i.buffer=0}for(r.data=function(t,e){for(var n=0,r=0,i={},o=0;o<t.length;o++)r+=e[o],n+=t[o].length;var s=new ArrayBuffer(4*n),a=null,u=0;for(o=0;o<t.length;o++){var c=e[o],h=t[o],l=Dt(h);i[l]||(i[l]=new ln[l](s)),a=i[l];for(var d=0;d<h.length;d++){a[(d/c|0)*r+u+d%c]=h[d]}u+=c}return new Float32Array(s)}(e,n),t=0;t<this.buffers.length;t++)this.buffers[t]!==this.indexBuffer&&this.buffers[t].destroy();return this.buffers=[r],this.indexBuffer&&this.buffers.push(this.indexBuffer),this},t.prototype.getSize=function(){for(var t in this.attributes){var e=this.attributes[t];return this.buffers[e.buffer].data.length/(e.stride/4||e.size)}return 0},t.prototype.dispose=function(){this.disposeRunner.emit(this,!1)},t.prototype.destroy=function(){this.dispose(),this.buffers=null,this.indexBuffer=null,this.attributes=null},t.prototype.clone=function(){for(var e=new t,n=0;n<this.buffers.length;n++)e.buffers[n]=new hn(this.buffers[n].data.slice(0));for(var n in this.attributes){var r=this.attributes[n];e.attributes[n]=new un(r.buffer,r.size,r.normalized,r.type,r.stride,r.start,r.instance)}return this.indexBuffer&&(e.indexBuffer=e.buffers[this.buffers.indexOf(this.indexBuffer)],e.indexBuffer.type=lt.ELEMENT_ARRAY_BUFFER),e},t.merge=function(e){for(var n,r=new t,i=[],o=[],s=[],a=0;a<e.length;a++){n=e[a];for(var u=0;u<n.buffers.length;u++)o[u]=o[u]||0,o[u]+=n.buffers[u].data.length,s[u]=0}for(a=0;a<n.buffers.length;a++)i[a]=new(pn[Dt(n.buffers[a].data)])(o[a]),r.buffers[a]=new hn(i[a]);for(a=0;a<e.length;a++){n=e[a];for(u=0;u<n.buffers.length;u++)i[u].set(n.buffers[u].data,s[u]),s[u]+=n.buffers[u].data.length}if(r.attributes=n.attributes,n.indexBuffer){r.indexBuffer=r.buffers[n.buffers.indexOf(n.indexBuffer)],r.indexBuffer.type=lt.ELEMENT_ARRAY_BUFFER;var c=0,h=0,l=0,d=0;for(a=0;a<n.buffers.length;a++)if(n.buffers[a]!==n.indexBuffer){d=a;break}for(var a in n.attributes){var f=n.attributes[a];(0|f.buffer)===d&&(h+=f.size*dn[f.type]/4)}for(a=0;a<e.length;a++){var p=e[a].indexBuffer.data;for(u=0;u<p.length;u++)r.indexBuffer.data[u+l]+=c;c+=e[a].buffers[d].data.length/h,l+=p.length}}return r},t}(),mn=function(t){function e(){var e=t.call(this)||this;return e.addAttribute("aVertexPosition",new Float32Array([0,0,1,0,1,1,0,1])).addIndex([0,1,3,2]),e}return Ye(e,t),e}(_n),yn=function(t){function e(){var e=t.call(this)||this;return e.vertices=new Float32Array([-1,-1,1,-1,1,1,-1,1]),e.uvs=new Float32Array([0,0,1,0,1,1,0,1]),e.vertexBuffer=new hn(e.vertices),e.uvBuffer=new hn(e.uvs),e.addAttribute("aVertexPosition",e.vertexBuffer).addAttribute("aTextureCoord",e.uvBuffer).addIndex([0,1,2,0,2,3]),e}return Ye(e,t),e.prototype.map=function(t,e){var n=0,r=0;return this.uvs[0]=n,this.uvs[1]=r,this.uvs[2]=n+e.width/t.width,this.uvs[3]=r,this.uvs[4]=n+e.width/t.width,this.uvs[5]=r+e.height/t.height,this.uvs[6]=n,this.uvs[7]=r+e.height/t.height,n=e.x,r=e.y,this.vertices[0]=n,this.vertices[1]=r,this.vertices[2]=n+e.width,this.vertices[3]=r,this.vertices[4]=n+e.width,this.vertices[5]=r+e.height,this.vertices[6]=n,this.vertices[7]=r+e.height,this.invalidate(),this},e.prototype.invalidate=function(){return this.vertexBuffer._updateID++,this.uvBuffer._updateID++,this},e}(_n),vn=0,bn=function(){function t(t,e,n){this.group=!0,this.syncUniforms={},this.dirtyId=0,this.id=vn++,this.static=!!e,this.ubo=!!n,t instanceof hn?(this.buffer=t,this.buffer.type=lt.UNIFORM_BUFFER,this.autoManage=!1,this.ubo=!0):(this.uniforms=t,this.ubo&&(this.buffer=new hn(new Float32Array(1)),this.buffer.type=lt.UNIFORM_BUFFER,this.autoManage=!0))}return t.prototype.update=function(){this.dirtyId++,!this.autoManage&&this.buffer&&this.buffer.update()},t.prototype.add=function(e,n,r){if(this.ubo)throw new Error("[UniformGroup] uniform groups in ubo mode cannot be modified, or have uniform groups nested in them");this.uniforms[e]=new t(n,r)},t.from=function(e,n,r){return new t(e,n,r)},t.uboFrom=function(e,n){return new t(e,null==n||n,!0)},t}(),gn=function(){function t(){this.renderTexture=null,this.target=null,this.legacy=!1,this.resolution=1,this.multisample=ht.NONE,this.sourceFrame=new Kt,this.destinationFrame=new Kt,this.bindingSourceFrame=new Kt,this.bindingDestinationFrame=new Kt,this.filters=[],this.transform=null}return t.prototype.clear=function(){this.target=null,this.filters=null,this.renderTexture=null},t}(),wn=[new te,new te,new te,new te],xn=new ne,Mn=function(){function t(t){this.renderer=t,this.defaultFilterStack=[{}],this.texturePool=new an,this.texturePool.setScreenSize(t.view),this.statePool=[],this.quad=new mn,this.quadUv=new yn,this.tempRect=new Kt,this.activeState={},this.globalUniforms=new bn({outputFrame:new Kt,inputSize:new Float32Array(4),inputPixel:new Float32Array(4),inputClamp:new Float32Array(4),resolution:1,filterArea:new Float32Array(4),filterClamp:new Float32Array(4)},!0),this.forceClear=!1,this.useMaxPadding=!1}return t.prototype.push=function(t,e){for(var n=this.renderer,r=this.defaultFilterStack,i=this.statePool.pop()||new gn,o=this.renderer.renderTexture,s=e[0].resolution,a=e[0].multisample,u=e[0].padding,c=e[0].autoFit,h=e[0].legacy,l=1;l<e.length;l++){var d=e[l];s=Math.min(s,d.resolution),a=Math.min(a,d.multisample),u=this.useMaxPadding?Math.max(u,d.padding):u+d.padding,c=c&&d.autoFit,h=h||d.legacy}if(1===r.length&&(this.defaultFilterStack[0].renderTexture=o.current),r.push(i),i.resolution=s,i.multisample=a,i.legacy=h,i.target=t,i.sourceFrame.copyFrom(t.filterArea||t.getBounds(!0)),i.sourceFrame.pad(u),c){var f=this.tempRect.copyFrom(o.sourceFrame);n.projection.transform&&this.transformAABB(xn.copyFrom(n.projection.transform).invert(),f),i.sourceFrame.fit(f)}this.roundFrame(i.sourceFrame,o.current?o.current.resolution:n.resolution,o.sourceFrame,o.destinationFrame,n.projection.transform),i.renderTexture=this.getOptimalFilterTexture(i.sourceFrame.width,i.sourceFrame.height,s,a),i.filters=e,i.destinationFrame.width=i.renderTexture.width,i.destinationFrame.height=i.renderTexture.height;var p=this.tempRect;p.x=0,p.y=0,p.width=i.sourceFrame.width,p.height=i.sourceFrame.height,i.renderTexture.filterFrame=i.sourceFrame,i.bindingSourceFrame.copyFrom(o.sourceFrame),i.bindingDestinationFrame.copyFrom(o.destinationFrame),i.transform=n.projection.transform,n.projection.transform=null,o.bind(i.renderTexture,i.sourceFrame,p),n.framebuffer.clear(0,0,0,0)},t.prototype.pop=function(){var t=this.defaultFilterStack,e=t.pop(),n=e.filters;this.activeState=e;var r=this.globalUniforms.uniforms;r.outputFrame=e.sourceFrame,r.resolution=e.resolution;var i=r.inputSize,o=r.inputPixel,s=r.inputClamp;if(i[0]=e.destinationFrame.width,i[1]=e.destinationFrame.height,i[2]=1/i[0],i[3]=1/i[1],o[0]=Math.round(i[0]*e.resolution),o[1]=Math.round(i[1]*e.resolution),o[2]=1/o[0],o[3]=1/o[1],s[0]=.5*o[2],s[1]=.5*o[3],s[2]=e.sourceFrame.width*i[2]-.5*o[2],s[3]=e.sourceFrame.height*i[3]-.5*o[3],e.legacy){var a=r.filterArea;a[0]=e.destinationFrame.width,a[1]=e.destinationFrame.height,a[2]=e.sourceFrame.x,a[3]=e.sourceFrame.y,r.filterClamp=r.inputClamp}this.globalUniforms.update();var u=t[t.length-1];if(this.renderer.framebuffer.blit(),1===n.length)n[0].apply(this,e.renderTexture,u.renderTexture,st.BLEND,e),this.returnFilterTexture(e.renderTexture);else{var c=e.renderTexture,h=this.getOptimalFilterTexture(c.width,c.height,e.resolution);h.filterFrame=c.filterFrame;var l=0;for(l=0;l<n.length-1;++l){1===l&&e.multisample>1&&((h=this.getOptimalFilterTexture(c.width,c.height,e.resolution)).filterFrame=c.filterFrame),n[l].apply(this,c,h,st.CLEAR,e);var d=c;c=h,h=d}n[l].apply(this,c,u.renderTexture,st.BLEND,e),l>1&&e.multisample>1&&this.returnFilterTexture(e.renderTexture),this.returnFilterTexture(c),this.returnFilterTexture(h)}e.clear(),this.statePool.push(e)},t.prototype.bindAndClear=function(t,e){void 0===e&&(e=st.CLEAR);var n=this.renderer,r=n.renderTexture,i=n.state;if(t===this.defaultFilterStack[this.defaultFilterStack.length-1].renderTexture?this.renderer.projection.transform=this.activeState.transform:this.renderer.projection.transform=null,t&&t.filterFrame){var o=this.tempRect;o.x=0,o.y=0,o.width=t.filterFrame.width,o.height=t.filterFrame.height,r.bind(t,t.filterFrame,o)}else t!==this.defaultFilterStack[this.defaultFilterStack.length-1].renderTexture?r.bind(t):this.renderer.renderTexture.bind(t,this.activeState.bindingSourceFrame,this.activeState.bindingDestinationFrame);var s=1&i.stateId||this.forceClear;(e===st.CLEAR||e===st.BLIT&&s)&&this.renderer.framebuffer.clear(0,0,0,0)},t.prototype.applyFilter=function(t,e,n,r){var i=this.renderer;i.state.set(t.state),this.bindAndClear(n,r),t.uniforms.uSampler=e,t.uniforms.filterGlobals=this.globalUniforms,i.shader.bind(t),t.legacy=!!t.program.attributeData.aTextureCoord,t.legacy?(this.quadUv.map(e._frame,e.filterFrame),i.geometry.bind(this.quadUv),i.geometry.draw($.TRIANGLES)):(i.geometry.bind(this.quad),i.geometry.draw($.TRIANGLE_STRIP))},t.prototype.calculateSpriteMatrix=function(t,e){var n=this.activeState,r=n.sourceFrame,i=n.destinationFrame,o=e._texture.orig,s=t.set(i.width,0,0,i.height,r.x,r.y),a=e.worldTransform.copyTo(ne.TEMP_MATRIX);return a.invert(),s.prepend(a),s.scale(1/o.width,1/o.height),s.translate(e.anchor.x,e.anchor.y),s},t.prototype.destroy=function(){this.renderer=null,this.texturePool.clear(!1)},t.prototype.getOptimalFilterTexture=function(t,e,n,r){return void 0===n&&(n=1),void 0===r&&(r=ht.NONE),this.texturePool.getOptimalTexture(t,e,n,r)},t.prototype.getFilterTexture=function(t,e,n){if("number"==typeof t){var r=t;t=e,e=r}t=t||this.activeState.renderTexture;var i=this.texturePool.getOptimalTexture(t.width,t.height,e||t.resolution,n||ht.NONE);return i.filterFrame=t.filterFrame,i},t.prototype.returnFilterTexture=function(t){this.texturePool.returnTexture(t)},t.prototype.emptyPool=function(){this.texturePool.clear(!0)},t.prototype.resize=function(){this.texturePool.setScreenSize(this.renderer.view)},t.prototype.transformAABB=function(t,e){var n=wn[0],r=wn[1],i=wn[2],o=wn[3];n.set(e.left,e.top),r.set(e.left,e.bottom),i.set(e.right,e.top),o.set(e.right,e.bottom),t.apply(n,n),t.apply(r,r),t.apply(i,i),t.apply(o,o);var s=Math.min(n.x,r.x,i.x,o.x),a=Math.min(n.y,r.y,i.y,o.y),u=Math.max(n.x,r.x,i.x,o.x),c=Math.max(n.y,r.y,i.y,o.y);e.x=s,e.y=a,e.width=u-s,e.height=c-a},t.prototype.roundFrame=function(t,e,n,r,i){if(i){var o=i.a,s=i.b,a=i.c,u=i.d;if((Math.abs(s)>1e-4||Math.abs(a)>1e-4)&&(Math.abs(o)>1e-4||Math.abs(u)>1e-4))return}(i=i?xn.copyFrom(i):xn.identity()).translate(-n.x,-n.y).scale(r.width/n.width,r.height/n.height).translate(r.x,r.y),this.transformAABB(i,t),t.ceil(e),this.transformAABB(i.invert(),t)},t}(),Sn=function(){function t(t){this.renderer=t}return t.prototype.flush=function(){},t.prototype.destroy=function(){this.renderer=null},t.prototype.start=function(){},t.prototype.stop=function(){this.flush()},t.prototype.render=function(t){},t}(),Tn=function(){function t(t){this.renderer=t,this.emptyRenderer=new Sn(t),this.currentRenderer=this.emptyRenderer}return t.prototype.setObjectRenderer=function(t){this.currentRenderer!==t&&(this.currentRenderer.stop(),this.currentRenderer=t,this.currentRenderer.start())},t.prototype.flush=function(){this.setObjectRenderer(this.emptyRenderer)},t.prototype.reset=function(){this.setObjectRenderer(this.emptyRenderer)},t.prototype.copyBoundTextures=function(t,e){for(var n=this.renderer.texture.boundTextures,r=e-1;r>=0;--r)t[r]=n[r]||null,t[r]&&(t[r]._batchLocation=r)},t.prototype.boundArray=function(t,e,n,r){for(var i=t.elements,o=t.ids,s=t.count,a=0,u=0;u<s;u++){var c=i[u],h=c._batchLocation;if(h>=0&&h<r&&e[h]===c)o[u]=h;else for(;a<r;){var l=e[a];if(!l||l._batchEnabled!==n||l._batchLocation!==a){o[u]=a,c._batchLocation=a,e[a]=c;break}a++}}},t.prototype.destroy=function(){this.renderer=null},t}(),An=0,En=function(){function t(t){this.renderer=t,this.webGLVersion=1,this.extensions={},this.supports={uint32Indices:!1},this.handleContextLost=this.handleContextLost.bind(this),this.handleContextRestored=this.handleContextRestored.bind(this),t.view.addEventListener("webglcontextlost",this.handleContextLost,!1),t.view.addEventListener("webglcontextrestored",this.handleContextRestored,!1)}return Object.defineProperty(t.prototype,"isLost",{get:function(){return!this.gl||this.gl.isContextLost()},enumerable:!1,configurable:!0}),t.prototype.contextChange=function(t){this.gl=t,this.renderer.gl=t,this.renderer.CONTEXT_UID=An++,t.isContextLost()&&t.getExtension("WEBGL_lose_context")&&t.getExtension("WEBGL_lose_context").restoreContext()},t.prototype.initFromContext=function(t){this.gl=t,this.validateContext(t),this.renderer.gl=t,this.renderer.CONTEXT_UID=An++,this.renderer.runners.contextChange.emit(t)},t.prototype.initFromOptions=function(t){var e=this.createContext(this.renderer.view,t);this.initFromContext(e)},t.prototype.createContext=function(t,e){var n;if(dt.PREFER_ENV>=X.WEBGL2&&(n=t.getContext("webgl2",e)),n)this.webGLVersion=2;else if(this.webGLVersion=1,!(n=t.getContext("webgl",e)||t.getContext("experimental-webgl",e)))throw new Error("This browser does not support WebGL. Try using the canvas renderer");return this.gl=n,this.getExtensions(),this.gl},t.prototype.getExtensions=function(){var t=this.gl,e={anisotropicFiltering:t.getExtension("EXT_texture_filter_anisotropic"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),s3tc:t.getExtension("WEBGL_compressed_texture_s3tc"),s3tc_sRGB:t.getExtension("WEBGL_compressed_texture_s3tc_srgb"),etc:t.getExtension("WEBGL_compressed_texture_etc"),etc1:t.getExtension("WEBGL_compressed_texture_etc1"),pvrtc:t.getExtension("WEBGL_compressed_texture_pvrtc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),atc:t.getExtension("WEBGL_compressed_texture_atc"),astc:t.getExtension("WEBGL_compressed_texture_astc")};1===this.webGLVersion?Object.assign(this.extensions,e,{drawBuffers:t.getExtension("WEBGL_draw_buffers"),depthTexture:t.getExtension("WEBGL_depth_texture"),loseContext:t.getExtension("WEBGL_lose_context"),vertexArrayObject:t.getExtension("OES_vertex_array_object")||t.getExtension("MOZ_OES_vertex_array_object")||t.getExtension("WEBKIT_OES_vertex_array_object"),uint32ElementIndex:t.getExtension("OES_element_index_uint"),floatTexture:t.getExtension("OES_texture_float"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),textureHalfFloat:t.getExtension("OES_texture_half_float"),textureHalfFloatLinear:t.getExtension("OES_texture_half_float_linear")}):2===this.webGLVersion&&Object.assign(this.extensions,e,{colorBufferFloat:t.getExtension("EXT_color_buffer_float")})},t.prototype.handleContextLost=function(t){t.preventDefault()},t.prototype.handleContextRestored=function(){this.renderer.runners.contextChange.emit(this.gl)},t.prototype.destroy=function(){var t=this.renderer.view;this.renderer=null,t.removeEventListener("webglcontextlost",this.handleContextLost),t.removeEventListener("webglcontextrestored",this.handleContextRestored),this.gl.useProgram(null),this.extensions.loseContext&&this.extensions.loseContext.loseContext()},t.prototype.postrender=function(){this.renderer.renderingToScreen&&this.gl.flush()},t.prototype.validateContext=function(t){var e=t.getContextAttributes(),n="WebGL2RenderingContext"in self&&t instanceof self.WebGL2RenderingContext;n&&(this.webGLVersion=2),e.stencil||console.warn("Provided WebGL context does not have a stencil buffer, masks may not render correctly");var r=n||!!t.getExtension("OES_element_index_uint");this.supports.uint32Indices=r,r||console.warn("Provided WebGL context does not support 32 index buffer, complex graphics may not render correctly")},t}(),Ln=function(t){this.framebuffer=t,this.stencil=null,this.dirtyId=-1,this.dirtyFormat=-1,this.dirtySize=-1,this.multisample=ht.NONE,this.msaaBuffer=null,this.blitFramebuffer=null,this.mipLevel=0},Dn=new Kt,Cn=function(){function t(t){this.renderer=t,this.managedFramebuffers=[],this.unknownFramebuffer=new Qe(10,10),this.msaaSamples=null}return t.prototype.contextChange=function(){var t=this.gl=this.renderer.gl;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.current=this.unknownFramebuffer,this.viewport=new Kt,this.hasMRT=!0,this.writeDepthTexture=!0,this.disposeAll(!0),1===this.renderer.context.webGLVersion){var e=this.renderer.context.extensions.drawBuffers,n=this.renderer.context.extensions.depthTexture;dt.PREFER_ENV===X.WEBGL_LEGACY&&(e=null,n=null),e?t.drawBuffers=function(t){return e.drawBuffersWEBGL(t)}:(this.hasMRT=!1,t.drawBuffers=function(){}),n||(this.writeDepthTexture=!1)}else this.msaaSamples=t.getInternalformatParameter(t.RENDERBUFFER,t.RGBA8,t.SAMPLES)},t.prototype.bind=function(t,e,n){void 0===n&&(n=0);var r=this.gl;if(t){var i=t.glFramebuffers[this.CONTEXT_UID]||this.initFramebuffer(t);this.current!==t&&(this.current=t,r.bindFramebuffer(r.FRAMEBUFFER,i.framebuffer)),i.mipLevel!==n&&(t.dirtyId++,t.dirtyFormat++,i.mipLevel=n),i.dirtyId!==t.dirtyId&&(i.dirtyId=t.dirtyId,i.dirtyFormat!==t.dirtyFormat?(i.dirtyFormat=t.dirtyFormat,i.dirtySize=t.dirtySize,this.updateFramebuffer(t,n)):i.dirtySize!==t.dirtySize&&(i.dirtySize=t.dirtySize,this.resizeFramebuffer(t)));for(var o=0;o<t.colorTextures.length;o++){var s=t.colorTextures[o];this.renderer.texture.unbind(s.parentTextureArray||s)}if(t.depthTexture&&this.renderer.texture.unbind(t.depthTexture),e){var a=e.width>>n,u=e.height>>n,c=a/e.width;this.setViewport(e.x*c,e.y*c,a,u)}else{a=t.width>>n,u=t.height>>n;this.setViewport(0,0,a,u)}}else this.current&&(this.current=null,r.bindFramebuffer(r.FRAMEBUFFER,null)),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,this.renderer.width,this.renderer.height)},t.prototype.setViewport=function(t,e,n,r){var i=this.viewport;t=Math.round(t),e=Math.round(e),n=Math.round(n),r=Math.round(r),i.width===n&&i.height===r&&i.x===t&&i.y===e||(i.x=t,i.y=e,i.width=n,i.height=r,this.gl.viewport(t,e,n,r))},Object.defineProperty(t.prototype,"size",{get:function(){return this.current?{x:0,y:0,width:this.current.width,height:this.current.height}:{x:0,y:0,width:this.renderer.width,height:this.renderer.height}},enumerable:!1,configurable:!0}),t.prototype.clear=function(t,e,n,r,i){void 0===i&&(i=K.COLOR|K.DEPTH);var o=this.gl;o.clearColor(t,e,n,r),o.clear(i)},t.prototype.initFramebuffer=function(t){var e=this.gl,n=new Ln(e.createFramebuffer());return n.multisample=this.detectSamples(t.multisample),t.glFramebuffers[this.CONTEXT_UID]=n,this.managedFramebuffers.push(t),t.disposeRunner.add(this),n},t.prototype.resizeFramebuffer=function(t){var e=this.gl,n=t.glFramebuffers[this.CONTEXT_UID];n.msaaBuffer&&(e.bindRenderbuffer(e.RENDERBUFFER,n.msaaBuffer),e.renderbufferStorageMultisample(e.RENDERBUFFER,n.multisample,e.RGBA8,t.width,t.height)),n.stencil&&(e.bindRenderbuffer(e.RENDERBUFFER,n.stencil),n.msaaBuffer?e.renderbufferStorageMultisample(e.RENDERBUFFER,n.multisample,e.DEPTH24_STENCIL8,t.width,t.height):e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height));var r=t.colorTextures,i=r.length;e.drawBuffers||(i=Math.min(i,1));for(var o=0;o<i;o++){var s=r[o],a=s.parentTextureArray||s;this.renderer.texture.bind(a,0)}t.depthTexture&&this.writeDepthTexture&&this.renderer.texture.bind(t.depthTexture,0)},t.prototype.updateFramebuffer=function(t,e){var n=this.gl,r=t.glFramebuffers[this.CONTEXT_UID],i=t.colorTextures,o=i.length;n.drawBuffers||(o=Math.min(o,1)),r.multisample>1&&this.canMultisampleFramebuffer(t)?(r.msaaBuffer=r.msaaBuffer||n.createRenderbuffer(),n.bindRenderbuffer(n.RENDERBUFFER,r.msaaBuffer),n.renderbufferStorageMultisample(n.RENDERBUFFER,r.multisample,n.RGBA8,t.width,t.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.RENDERBUFFER,r.msaaBuffer)):r.msaaBuffer&&(n.deleteRenderbuffer(r.msaaBuffer),r.msaaBuffer=null,r.blitFramebuffer&&(r.blitFramebuffer.dispose(),r.blitFramebuffer=null));for(var s=[],a=0;a<o;a++){var u=i[a],c=u.parentTextureArray||u;this.renderer.texture.bind(c,0),0===a&&r.msaaBuffer||(n.framebufferTexture2D(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0+a,u.target,c._glTextures[this.CONTEXT_UID].texture,e),s.push(n.COLOR_ATTACHMENT0+a))}if((s.length>1&&n.drawBuffers(s),t.depthTexture)&&this.writeDepthTexture){var h=t.depthTexture;this.renderer.texture.bind(h,0),n.framebufferTexture2D(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.TEXTURE_2D,h._glTextures[this.CONTEXT_UID].texture,e)}!t.stencil&&!t.depth||t.depthTexture&&this.writeDepthTexture?r.stencil&&(n.deleteRenderbuffer(r.stencil),r.stencil=null):(r.stencil=r.stencil||n.createRenderbuffer(),n.bindRenderbuffer(n.RENDERBUFFER,r.stencil),r.msaaBuffer?n.renderbufferStorageMultisample(n.RENDERBUFFER,r.multisample,n.DEPTH24_STENCIL8,t.width,t.height):n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,t.width,t.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.RENDERBUFFER,r.stencil))},t.prototype.canMultisampleFramebuffer=function(t){return 1!==this.renderer.context.webGLVersion&&t.colorTextures.length<=1&&!t.depthTexture},t.prototype.detectSamples=function(t){var e=this.msaaSamples,n=ht.NONE;if(t<=1||null===e)return n;for(var r=0;r<e.length;r++)if(e[r]<=t){n=e[r];break}return 1===n&&(n=ht.NONE),n},t.prototype.blit=function(t,e,n){var r=this.current,i=this.renderer,o=this.gl,s=this.CONTEXT_UID;if(2===i.context.webGLVersion&&r){var a=r.glFramebuffers[s];if(a){if(!t){if(!a.msaaBuffer)return;var u=r.colorTextures[0];if(!u)return;a.blitFramebuffer||(a.blitFramebuffer=new Qe(r.width,r.height),a.blitFramebuffer.addColorTexture(0,u)),(t=a.blitFramebuffer).colorTextures[0]!==u&&(t.colorTextures[0]=u,t.dirtyId++,t.dirtyFormat++),t.width===r.width&&t.height===r.height||(t.width=r.width,t.height=r.height,t.dirtyId++,t.dirtySize++)}e||((e=Dn).width=r.width,e.height=r.height),n||(n=e);var c=e.width===n.width&&e.height===n.height;this.bind(t),o.bindFramebuffer(o.READ_FRAMEBUFFER,a.framebuffer),o.blitFramebuffer(e.x,e.y,e.width,e.height,n.x,n.y,n.width,n.height,o.COLOR_BUFFER_BIT,c?o.NEAREST:o.LINEAR)}}},t.prototype.disposeFramebuffer=function(t,e){var n=t.glFramebuffers[this.CONTEXT_UID],r=this.gl;if(n){delete t.glFramebuffers[this.CONTEXT_UID];var i=this.managedFramebuffers.indexOf(t);i>=0&&this.managedFramebuffers.splice(i,1),t.disposeRunner.remove(this),e||(r.deleteFramebuffer(n.framebuffer),n.msaaBuffer&&r.deleteRenderbuffer(n.msaaBuffer),n.stencil&&r.deleteRenderbuffer(n.stencil)),n.blitFramebuffer&&n.blitFramebuffer.dispose()}},t.prototype.disposeAll=function(t){var e=this.managedFramebuffers;this.managedFramebuffers=[];for(var n=0;n<e.length;n++)this.disposeFramebuffer(e[n],t)},t.prototype.forceStencil=function(){var t=this.current;if(t){var e=t.glFramebuffers[this.CONTEXT_UID];if(e&&!e.stencil){t.stencil=!0;var n=t.width,r=t.height,i=this.gl,o=i.createRenderbuffer();i.bindRenderbuffer(i.RENDERBUFFER,o),e.msaaBuffer?i.renderbufferStorageMultisample(i.RENDERBUFFER,e.multisample,i.DEPTH24_STENCIL8,n,r):i.renderbufferStorage(i.RENDERBUFFER,i.DEPTH_STENCIL,n,r),e.stencil=o,i.framebufferRenderbuffer(i.FRAMEBUFFER,i.DEPTH_STENCIL_ATTACHMENT,i.RENDERBUFFER,o)}}},t.prototype.reset=function(){this.current=this.unknownFramebuffer,this.viewport=new Kt},t.prototype.destroy=function(){this.renderer=null},t}(),kn={5126:4,5123:2,5121:1},On=function(){function t(t){this.renderer=t,this._activeGeometry=null,this._activeVao=null,this.hasVao=!0,this.hasInstance=!0,this.canUseUInt32ElementIndex=!1,this.managedGeometries={}}return t.prototype.contextChange=function(){this.disposeAll(!0);var t=this.gl=this.renderer.gl,e=this.renderer.context;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,2!==e.webGLVersion){var n=this.renderer.context.extensions.vertexArrayObject;dt.PREFER_ENV===X.WEBGL_LEGACY&&(n=null),n?(t.createVertexArray=function(){return n.createVertexArrayOES()},t.bindVertexArray=function(t){return n.bindVertexArrayOES(t)},t.deleteVertexArray=function(t){return n.deleteVertexArrayOES(t)}):(this.hasVao=!1,t.createVertexArray=function(){return null},t.bindVertexArray=function(){return null},t.deleteVertexArray=function(){return null})}if(2!==e.webGLVersion){var r=t.getExtension("ANGLE_instanced_arrays");r?(t.vertexAttribDivisor=function(t,e){return r.vertexAttribDivisorANGLE(t,e)},t.drawElementsInstanced=function(t,e,n,i,o){return r.drawElementsInstancedANGLE(t,e,n,i,o)},t.drawArraysInstanced=function(t,e,n,i){return r.drawArraysInstancedANGLE(t,e,n,i)}):this.hasInstance=!1}this.canUseUInt32ElementIndex=2===e.webGLVersion||!!e.extensions.uint32ElementIndex},t.prototype.bind=function(t,e){e=e||this.renderer.shader.shader;var n=this.gl,r=t.glVertexArrayObjects[this.CONTEXT_UID],i=!1;r||(this.managedGeometries[t.id]=t,t.disposeRunner.add(this),t.glVertexArrayObjects[this.CONTEXT_UID]=r={},i=!0);var o=r[e.program.id]||this.initGeometryVao(t,e,i);this._activeGeometry=t,this._activeVao!==o&&(this._activeVao=o,this.hasVao?n.bindVertexArray(o):this.activateVao(t,e.program)),this.updateBuffers()},t.prototype.reset=function(){this.unbind()},t.prototype.updateBuffers=function(){for(var t=this._activeGeometry,e=this.renderer.buffer,n=0;n<t.buffers.length;n++){var r=t.buffers[n];e.update(r)}},t.prototype.checkCompatibility=function(t,e){var n=t.attributes,r=e.attributeData;for(var i in r)if(!n[i])throw new Error('shader and geometry incompatible, geometry missing the "'+i+'" attribute')},t.prototype.getSignature=function(t,e){var n=t.attributes,r=e.attributeData,i=["g",t.id];for(var o in n)r[o]&&i.push(o);return i.join("-")},t.prototype.initGeometryVao=function(t,e,n){void 0===n&&(n=!0);var r=this.gl,i=this.CONTEXT_UID,o=this.renderer.buffer,s=e.program;s.glPrograms[i]||this.renderer.shader.generateProgram(e),this.checkCompatibility(t,s);var a=this.getSignature(t,s),u=t.glVertexArrayObjects[this.CONTEXT_UID],c=u[a];if(c)return u[s.id]=c,c;var h=t.buffers,l=t.attributes,d={},f={};for(var p in h)d[p]=0,f[p]=0;for(var p in l)!l[p].size&&s.attributeData[p]?l[p].size=s.attributeData[p].size:l[p].size||console.warn("PIXI Geometry attribute '"+p+"' size cannot be determined (likely the bound shader does not have the attribute)"),d[l[p].buffer]+=l[p].size*kn[l[p].type];for(var p in l){var _=l[p],m=_.size;void 0===_.stride&&(d[_.buffer]===m*kn[_.type]?_.stride=0:_.stride=d[_.buffer]),void 0===_.start&&(_.start=f[_.buffer],f[_.buffer]+=m*kn[_.type])}c=r.createVertexArray(),r.bindVertexArray(c);for(var y=0;y<h.length;y++){var v=h[y];o.bind(v),n&&v._glBuffers[i].refCount++}return this.activateVao(t,s),this._activeVao=c,u[s.id]=c,u[a]=c,c},t.prototype.disposeGeometry=function(t,e){var n;if(this.managedGeometries[t.id]){delete this.managedGeometries[t.id];var r=t.glVertexArrayObjects[this.CONTEXT_UID],i=this.gl,o=t.buffers,s=null===(n=this.renderer)||void 0===n?void 0:n.buffer;if(t.disposeRunner.remove(this),r){if(s)for(var a=0;a<o.length;a++){var u=o[a]._glBuffers[this.CONTEXT_UID];u&&(u.refCount--,0!==u.refCount||e||s.dispose(o[a],e))}if(!e)for(var c in r)if("g"===c[0]){var h=r[c];this._activeVao===h&&this.unbind(),i.deleteVertexArray(h)}delete t.glVertexArrayObjects[this.CONTEXT_UID]}}},t.prototype.disposeAll=function(t){for(var e=Object.keys(this.managedGeometries),n=0;n<e.length;n++)this.disposeGeometry(this.managedGeometries[e[n]],t)},t.prototype.activateVao=function(t,e){var n=this.gl,r=this.CONTEXT_UID,i=this.renderer.buffer,o=t.buffers,s=t.attributes;t.indexBuffer&&i.bind(t.indexBuffer);var a=null;for(var u in s){var c=s[u],h=o[c.buffer],l=h._glBuffers[r];if(e.attributeData[u]){a!==l&&(i.bind(h),a=l);var d=e.attributeData[u].location;if(n.enableVertexAttribArray(d),n.vertexAttribPointer(d,c.size,c.type||n.FLOAT,c.normalized,c.stride,c.start),c.instance){if(!this.hasInstance)throw new Error("geometry error, GPU Instancing is not supported on this device");n.vertexAttribDivisor(d,1)}}}},t.prototype.draw=function(t,e,n,r){var i=this.gl,o=this._activeGeometry;if(o.indexBuffer){var s=o.indexBuffer.data.BYTES_PER_ELEMENT,a=2===s?i.UNSIGNED_SHORT:i.UNSIGNED_INT;2===s||4===s&&this.canUseUInt32ElementIndex?o.instanced?i.drawElementsInstanced(t,e||o.indexBuffer.data.length,a,(n||0)*s,r||1):i.drawElements(t,e||o.indexBuffer.data.length,a,(n||0)*s):console.warn("unsupported index buffer type: uint32")}else o.instanced?i.drawArraysInstanced(t,n,e||o.getSize(),r||1):i.drawArrays(t,n,e||o.getSize());return this},t.prototype.unbind=function(){this.gl.bindVertexArray(null),this._activeVao=null,this._activeGeometry=null},t.prototype.destroy=function(){this.renderer=null},t}(),In=function(){function t(t){void 0===t&&(t=null),this.type=ct.NONE,this.autoDetect=!0,this.maskObject=t||null,this.pooled=!1,this.isMaskData=!0,this.resolution=null,this.multisample=dt.FILTER_MULTISAMPLE,this._stencilCounter=0,this._scissorCounter=0,this._scissorRect=null,this._target=null}return t.prototype.reset=function(){this.pooled&&(this.maskObject=null,this.type=ct.NONE,this.autoDetect=!0),this._target=null},t.prototype.copyCountersOrReset=function(t){t?(this._stencilCounter=t._stencilCounter,this._scissorCounter=t._scissorCounter,this._scissorRect=t._scissorRect):(this._stencilCounter=0,this._scissorCounter=0,this._scissorRect=null)},t}();function Pn(t,e,n){var r=t.createShader(e);return t.shaderSource(r,n),t.compileShader(r),r}function Rn(t,e){var n=t.getShaderSource(e).split("\n").map((function(t,e){return e+": "+t})),r=t.getShaderInfoLog(e),i=r.split("\n"),o={},s=i.map((function(t){return parseFloat(t.replace(/^ERROR\: 0\:([\d]+)\:.*$/,"$1"))})).filter((function(t){return!(!t||o[t])&&(o[t]=!0,!0)})),a=[""];s.forEach((function(t){n[t-1]="%c"+n[t-1]+"%c",a.push("background: #FF0000; color:#FFFFFF; font-size: 10px","font-size: 10px")}));var u=n.join("\n");a[0]=u,console.error(r),console.groupCollapsed("click to view full shader code"),console.warn.apply(console,a),console.groupEnd()}function Yn(t){for(var e=new Array(t),n=0;n<e.length;n++)e[n]=!1;return e}function Bn(t,e){switch(t){case"float":return 0;case"vec2":return new Float32Array(2*e);case"vec3":return new Float32Array(3*e);case"vec4":return new Float32Array(4*e);case"int":case"uint":case"sampler2D":case"sampler2DArray":return 0;case"ivec2":return new Int32Array(2*e);case"ivec3":return new Int32Array(3*e);case"ivec4":return new Int32Array(4*e);case"uvec2":return new Uint32Array(2*e);case"uvec3":return new Uint32Array(3*e);case"uvec4":return new Uint32Array(4*e);case"bool":return!1;case"bvec2":return Yn(2*e);case"bvec3":return Yn(3*e);case"bvec4":return Yn(4*e);case"mat2":return new Float32Array([1,0,0,1]);case"mat3":return new Float32Array([1,0,0,0,1,0,0,0,1]);case"mat4":return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}return null}var Nn,jn={},Fn=jn;function Un(){if(!Nn){Nn=ut.MEDIUM;var t=function(){if(Fn===jn||Fn&&Fn.isContextLost()){var t=document.createElement("canvas"),e=void 0;dt.PREFER_ENV>=X.WEBGL2&&(e=t.getContext("webgl2",{})),e||((e=t.getContext("webgl",{})||t.getContext("experimental-webgl",{}))?e.getExtension("WEBGL_draw_buffers"):e=null),Fn=e}return Fn}();if(t&&t.getShaderPrecisionFormat){var e=t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.HIGH_FLOAT);Nn=e.precision?ut.HIGH:ut.MEDIUM}}return Nn}function Gn(t,e,n){if("precision"!==t.substring(0,9)){var r=e;return e===ut.HIGH&&n!==ut.HIGH&&(r=ut.MEDIUM),"precision "+r+" float;\n"+t}return n!==ut.HIGH&&"precision highp"===t.substring(0,15)?t.replace("precision highp","precision mediump"):t}var Hn={float:1,vec2:2,vec3:3,vec4:4,int:1,ivec2:2,ivec3:3,ivec4:4,uint:1,uvec2:2,uvec3:3,uvec4:4,bool:1,bvec2:2,bvec3:3,bvec4:4,mat2:4,mat3:9,mat4:16,sampler2D:1};function Vn(t){return Hn[t]}var zn=null,Wn={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",UNSIGNED_INT:"uint",UNSIGNED_INT_VEC2:"uvec2",UNSIGNED_INT_VEC3:"uvec3",UNSIGNED_INT_VEC4:"uvec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",INT_SAMPLER_2D:"sampler2D",UNSIGNED_INT_SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube",INT_SAMPLER_CUBE:"samplerCube",UNSIGNED_INT_SAMPLER_CUBE:"samplerCube",SAMPLER_2D_ARRAY:"sampler2DArray",INT_SAMPLER_2D_ARRAY:"sampler2DArray",UNSIGNED_INT_SAMPLER_2D_ARRAY:"sampler2DArray"};function Xn(t,e){if(!zn){var n=Object.keys(Wn);zn={};for(var r=0;r<n.length;++r){var i=n[r];zn[t[i]]=Wn[i]}}return zn[e]}var Jn=[{test:function(t){return"float"===t.type&&1===t.size},code:function(t){return'\n if(uv["'+t+'"] !== ud["'+t+'"].value)\n {\n ud["'+t+'"].value = uv["'+t+'"]\n gl.uniform1f(ud["'+t+'"].location, uv["'+t+'"])\n }\n '}},{test:function(t){return("sampler2D"===t.type||"samplerCube"===t.type||"sampler2DArray"===t.type)&&1===t.size&&!t.isArray},code:function(t){return't = syncData.textureCount++;\n\n renderer.texture.bind(uv["'+t+'"], t);\n\n if(ud["'+t+'"].value !== t)\n {\n ud["'+t+'"].value = t;\n gl.uniform1i(ud["'+t+'"].location, t);\n; // eslint-disable-line max-len\n }'}},{test:function(t,e){return"mat3"===t.type&&1===t.size&&void 0!==e.a},code:function(t){return'\n gl.uniformMatrix3fv(ud["'+t+'"].location, false, uv["'+t+'"].toArray(true));\n '},codeUbo:function(t){return"\n var "+t+"_matrix = uv."+t+".toArray(true);\n\n data[offset] = "+t+"_matrix[0];\n data[offset+1] = "+t+"_matrix[1];\n data[offset+2] = "+t+"_matrix[2];\n \n data[offset + 4] = "+t+"_matrix[3];\n data[offset + 5] = "+t+"_matrix[4];\n data[offset + 6] = "+t+"_matrix[5];\n \n data[offset + 8] = "+t+"_matrix[6];\n data[offset + 9] = "+t+"_matrix[7];\n data[offset + 10] = "+t+"_matrix[8];\n "}},{test:function(t,e){return"vec2"===t.type&&1===t.size&&void 0!==e.x},code:function(t){return'\n cv = ud["'+t+'"].value;\n v = uv["'+t+'"];\n\n if(cv[0] !== v.x || cv[1] !== v.y)\n {\n cv[0] = v.x;\n cv[1] = v.y;\n gl.uniform2f(ud["'+t+'"].location, v.x, v.y);\n }'},codeUbo:function(t){return"\n v = uv."+t+";\n\n data[offset] = v.x;\n data[offset+1] = v.y;\n "}},{test:function(t){return"vec2"===t.type&&1===t.size},code:function(t){return'\n cv = ud["'+t+'"].value;\n v = uv["'+t+'"];\n\n if(cv[0] !== v[0] || cv[1] !== v[1])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n gl.uniform2f(ud["'+t+'"].location, v[0], v[1]);\n }\n '}},{test:function(t,e){return"vec4"===t.type&&1===t.size&&void 0!==e.width},code:function(t){return'\n cv = ud["'+t+'"].value;\n v = uv["'+t+'"];\n\n if(cv[0] !== v.x || cv[1] !== v.y || cv[2] !== v.width || cv[3] !== v.height)\n {\n cv[0] = v.x;\n cv[1] = v.y;\n cv[2] = v.width;\n cv[3] = v.height;\n gl.uniform4f(ud["'+t+'"].location, v.x, v.y, v.width, v.height)\n }'},codeUbo:function(t){return"\n v = uv."+t+";\n\n data[offset] = v.x;\n data[offset+1] = v.y;\n data[offset+2] = v.width;\n data[offset+3] = v.height;\n "}},{test:function(t){return"vec4"===t.type&&1===t.size},code:function(t){return'\n cv = ud["'+t+'"].value;\n v = uv["'+t+'"];\n\n if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2] || cv[3] !== v[3])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n cv[2] = v[2];\n cv[3] = v[3];\n\n gl.uniform4f(ud["'+t+'"].location, v[0], v[1], v[2], v[3])\n }'}}],Kn={float:"\n if(cv !== v)\n {\n cv.v = v;\n gl.uniform1f(location, v)\n }",vec2:"\n if(cv[0] !== v[0] || cv[1] !== v[1])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n gl.uniform2f(location, v[0], v[1])\n }",vec3:"\n if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n cv[2] = v[2];\n\n gl.uniform3f(location, v[0], v[1], v[2])\n }",vec4:"gl.uniform4f(location, v[0], v[1], v[2], v[3])",int:"gl.uniform1i(location, v)",ivec2:"gl.uniform2i(location, v[0], v[1])",ivec3:"gl.uniform3i(location, v[0], v[1], v[2])",ivec4:"gl.uniform4i(location, v[0], v[1], v[2], v[3])",uint:"gl.uniform1ui(location, v)",uvec2:"gl.uniform2ui(location, v[0], v[1])",uvec3:"gl.uniform3ui(location, v[0], v[1], v[2])",uvec4:"gl.uniform4ui(location, v[0], v[1], v[2], v[3])",bool:"\n if(cv !== v)\n {\n cv.v = v;\n gl.uniform1i(location, v)\n }",bvec2:"gl.uniform2i(location, v[0], v[1])",bvec3:"gl.uniform3i(location, v[0], v[1], v[2])",bvec4:"gl.uniform4i(location, v[0], v[1], v[2], v[3])",mat2:"gl.uniformMatrix2fv(location, false, v)",mat3:"gl.uniformMatrix3fv(location, false, v)",mat4:"gl.uniformMatrix4fv(location, false, v)",sampler2D:"gl.uniform1i(location, v)",samplerCube:"gl.uniform1i(location, v)",sampler2DArray:"gl.uniform1i(location, v)"},qn={float:"gl.uniform1fv(location, v)",vec2:"gl.uniform2fv(location, v)",vec3:"gl.uniform3fv(location, v)",vec4:"gl.uniform4fv(location, v)",mat4:"gl.uniformMatrix4fv(location, false, v)",mat3:"gl.uniformMatrix3fv(location, false, v)",mat2:"gl.uniformMatrix2fv(location, false, v)",int:"gl.uniform1iv(location, v)",ivec2:"gl.uniform2iv(location, v)",ivec3:"gl.uniform3iv(location, v)",ivec4:"gl.uniform4iv(location, v)",uint:"gl.uniform1uiv(location, v)",uvec2:"gl.uniform2uiv(location, v)",uvec3:"gl.uniform3uiv(location, v)",uvec4:"gl.uniform4uiv(location, v)",bool:"gl.uniform1iv(location, v)",bvec2:"gl.uniform2iv(location, v)",bvec3:"gl.uniform3iv(location, v)",bvec4:"gl.uniform4iv(location, v)",sampler2D:"gl.uniform1iv(location, v)",samplerCube:"gl.uniform1iv(location, v)",sampler2DArray:"gl.uniform1iv(location, v)"};var $n,Zn=["precision mediump float;","void main(void){","float test = 0.1;","%forloop%","gl_FragColor = vec4(0.0);","}"].join("\n");function Qn(t){for(var e="",n=0;n<t;++n)n>0&&(e+="\nelse "),n<t-1&&(e+="if(test == "+n+".0){}");return e}var tr=0,er={},nr=function(){function t(e,n,r){void 0===r&&(r="pixi-shader"),this.id=tr++,this.vertexSrc=e||t.defaultVertexSrc,this.fragmentSrc=n||t.defaultFragmentSrc,this.vertexSrc=this.vertexSrc.trim(),this.fragmentSrc=this.fragmentSrc.trim(),"#version"!==this.vertexSrc.substring(0,8)&&(r=r.replace(/\s+/g,"-"),er[r]?(er[r]++,r+="-"+er[r]):er[r]=1,this.vertexSrc="#define SHADER_NAME "+r+"\n"+this.vertexSrc,this.fragmentSrc="#define SHADER_NAME "+r+"\n"+this.fragmentSrc,this.vertexSrc=Gn(this.vertexSrc,dt.PRECISION_VERTEX,ut.HIGH),this.fragmentSrc=Gn(this.fragmentSrc,dt.PRECISION_FRAGMENT,Un())),this.glPrograms={},this.syncUniforms=null}return Object.defineProperty(t,"defaultVertexSrc",{get:function(){return"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void){\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}\n"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultFragmentSrc",{get:function(){return"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n gl_FragColor *= texture2D(uSampler, vTextureCoord);\n}"},enumerable:!1,configurable:!0}),t.from=function(e,n,r){var i=e+n,o=jt[i];return o||(jt[i]=o=new t(e,n,r)),o},t}(),rr=function(){function t(t,e){this.uniformBindCount=0,this.program=t,this.uniformGroup=e?e instanceof bn?e:new bn(e):new bn({})}return t.prototype.checkUniformExists=function(t,e){if(e.uniforms[t])return!0;for(var n in e.uniforms){var r=e.uniforms[n];if(r.group&&this.checkUniformExists(t,r))return!0}return!1},t.prototype.destroy=function(){this.uniformGroup=null},Object.defineProperty(t.prototype,"uniforms",{get:function(){return this.uniformGroup.uniforms},enumerable:!1,configurable:!0}),t.from=function(e,n,r){return new t(nr.from(e,n),r)},t}(),ir=function(){function t(){this.data=0,this.blendMode=q.NORMAL,this.polygonOffset=0,this.blend=!0,this.depthMask=!0}return Object.defineProperty(t.prototype,"blend",{get:function(){return!!(1&this.data)},set:function(t){!!(1&this.data)!==t&&(this.data^=1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"offsets",{get:function(){return!!(2&this.data)},set:function(t){!!(2&this.data)!==t&&(this.data^=2)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"culling",{get:function(){return!!(4&this.data)},set:function(t){!!(4&this.data)!==t&&(this.data^=4)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"depthTest",{get:function(){return!!(8&this.data)},set:function(t){!!(8&this.data)!==t&&(this.data^=8)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"depthMask",{get:function(){return!!(32&this.data)},set:function(t){!!(32&this.data)!==t&&(this.data^=32)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clockwiseFrontFace",{get:function(){return!!(16&this.data)},set:function(t){!!(16&this.data)!==t&&(this.data^=16)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blendMode",{get:function(){return this._blendMode},set:function(t){this.blend=t!==q.NONE,this._blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"polygonOffset",{get:function(){return this._polygonOffset},set:function(t){this.offsets=!!t,this._polygonOffset=t},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"[@pixi/core:State blendMode="+this.blendMode+" clockwiseFrontFace="+this.clockwiseFrontFace+" culling="+this.culling+" depthMask="+this.depthMask+" polygonOffset="+this.polygonOffset+"]"},t.for2d=function(){var e=new t;return e.depthTest=!1,e.blend=!0,e},t}(),or=function(t){function e(n,r,i){var o=this,s=nr.from(n||e.defaultVertexSrc,r||e.defaultFragmentSrc);return(o=t.call(this,s,i)||this).padding=0,o.resolution=dt.FILTER_RESOLUTION,o.multisample=dt.FILTER_MULTISAMPLE,o.enabled=!0,o.autoFit=!0,o.state=new ir,o}return Ye(e,t),e.prototype.apply=function(t,e,n,r,i){t.applyFilter(this,e,n,r)},Object.defineProperty(e.prototype,"blendMode",{get:function(){return this.state.blendMode},set:function(t){this.state.blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resolution",{get:function(){return this._resolution},set:function(t){this._resolution=t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultVertexSrc",{get:function(){return"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n gl_Position = filterVertexPosition();\n vTextureCoord = filterTextureCoord();\n}\n"},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultFragmentSrc",{get:function(){return"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n}\n"},enumerable:!1,configurable:!0}),e}(rr),sr=new ne,ar=function(){function t(t,e){this._texture=t,this.mapCoord=new ne,this.uClampFrame=new Float32Array(4),this.uClampOffset=new Float32Array(2),this._textureID=-1,this._updateID=0,this.clampOffset=0,this.clampMargin=void 0===e?.5:e,this.isSimple=!1}return Object.defineProperty(t.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture=t,this._textureID=-1},enumerable:!1,configurable:!0}),t.prototype.multiplyUvs=function(t,e){void 0===e&&(e=t);for(var n=this.mapCoord,r=0;r<t.length;r+=2){var i=t[r],o=t[r+1];e[r]=i*n.a+o*n.c+n.tx,e[r+1]=i*n.b+o*n.d+n.ty}return e},t.prototype.update=function(t){var e=this._texture;if(!e||!e.valid)return!1;if(!t&&this._textureID===e._updateID)return!1;this._textureID=e._updateID,this._updateID++;var n=e._uvs;this.mapCoord.set(n.x1-n.x0,n.y1-n.y0,n.x3-n.x0,n.y3-n.y0,n.x0,n.y0);var r=e.orig,i=e.trim;i&&(sr.set(r.width/i.width,0,0,r.height/i.height,-i.x/i.width,-i.y/i.height),this.mapCoord.append(sr));var o=e.baseTexture,s=this.uClampFrame,a=this.clampMargin/o.resolution,u=this.clampOffset;return s[0]=(e._frame.x+a+u)/o.width,s[1]=(e._frame.y+a+u)/o.height,s[2]=(e._frame.x+e._frame.width-a+u)/o.width,s[3]=(e._frame.y+e._frame.height-a+u)/o.height,this.uClampOffset[0]=u/o.realWidth,this.uClampOffset[1]=u/o.realHeight,this.isSimple=e._frame.width===o.width&&e._frame.height===o.height&&0===e.rotate,!0},t}(),ur=function(t){function e(e){var n=this,r=new ne;return n=t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 otherMatrix;\n\nvarying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0) ).xy;\n}\n","varying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform sampler2D mask;\nuniform float alpha;\nuniform float npmAlpha;\nuniform vec4 maskClamp;\n\nvoid main(void)\n{\n float clip = step(3.5,\n step(maskClamp.x, vMaskCoord.x) +\n step(maskClamp.y, vMaskCoord.y) +\n step(vMaskCoord.x, maskClamp.z) +\n step(vMaskCoord.y, maskClamp.w));\n\n vec4 original = texture2D(uSampler, vTextureCoord);\n vec4 masky = texture2D(mask, vMaskCoord);\n float alphaMul = 1.0 - npmAlpha * (1.0 - masky.a);\n\n original *= (alphaMul * masky.r * alpha * clip);\n\n gl_FragColor = original;\n}\n")||this,e.renderable=!1,n.maskSprite=e,n.maskMatrix=r,n}return Ye(e,t),e.prototype.apply=function(t,e,n,r){var i=this.maskSprite,o=i._texture;o.valid&&(o.uvMatrix||(o.uvMatrix=new ar(o,0)),o.uvMatrix.update(),this.uniforms.npmAlpha=o.baseTexture.alphaMode?0:1,this.uniforms.mask=o,this.uniforms.otherMatrix=t.calculateSpriteMatrix(this.maskMatrix,i).prepend(o.uvMatrix.mapCoord),this.uniforms.alpha=i.worldAlpha,this.uniforms.maskClamp=o.uvMatrix.uClampFrame,t.applyFilter(this,e,n,r))},e}(or),cr=function(){function t(t){this.renderer=t,this.enableScissor=!0,this.alphaMaskPool=[],this.maskDataPool=[],this.maskStack=[],this.alphaMaskIndex=0}return t.prototype.setMaskStack=function(t){this.maskStack=t,this.renderer.scissor.setMaskStack(t),this.renderer.stencil.setMaskStack(t)},t.prototype.push=function(t,e){var n=e;if(!n.isMaskData){var r=this.maskDataPool.pop()||new In;r.pooled=!0,r.maskObject=e,n=r}switch(n.autoDetect&&this.detect(n),n.copyCountersOrReset(this.maskStack[this.maskStack.length-1]),n._target=t,n.type){case ct.SCISSOR:this.maskStack.push(n),this.renderer.scissor.push(n);break;case ct.STENCIL:this.maskStack.push(n),this.renderer.stencil.push(n);break;case ct.SPRITE:n.copyCountersOrReset(null),this.pushSpriteMask(n),this.maskStack.push(n)}},t.prototype.pop=function(t){var e=this.maskStack.pop();if(e&&e._target===t){switch(e.type){case ct.SCISSOR:this.renderer.scissor.pop();break;case ct.STENCIL:this.renderer.stencil.pop(e.maskObject);break;case ct.SPRITE:this.popSpriteMask()}e.reset(),e.pooled&&this.maskDataPool.push(e)}},t.prototype.detect=function(t){var e=t.maskObject;if(e.isSprite)t.type=ct.SPRITE;else if(t.type=ct.STENCIL,this.enableScissor&&e.isFastRect&&e.isFastRect()){var n=e.worldTransform,r=Math.atan2(n.b,n.a),i=Math.atan2(n.d,n.c);r=Math.round(r*(180/Math.PI)*100),i=((i=Math.round(i*(180/Math.PI)*100)-r)%18e3+18e3)%18e3,0===(r=(r%9e3+9e3)%9e3)&&9e3===i&&(t.type=ct.SCISSOR)}},t.prototype.pushSpriteMask=function(t){var e,n,r=t.maskObject,i=t._target,o=this.alphaMaskPool[this.alphaMaskIndex];o||(o=this.alphaMaskPool[this.alphaMaskIndex]=[new ur(r)]);var s,a,u=this.renderer,c=u.renderTexture;if(c.current){var h=c.current;s=t.resolution||h.resolution,a=null!==(e=t.multisample)&&void 0!==e?e:h.multisample}else s=t.resolution||u.resolution,a=null!==(n=t.multisample)&&void 0!==n?n:u.multisample;o[0].resolution=s,o[0].multisample=a,o[0].maskSprite=r;var l=i.filterArea;i.filterArea=r.getBounds(!0),u.filter.push(i,o),i.filterArea=l,this.alphaMaskIndex++},t.prototype.popSpriteMask=function(){this.renderer.filter.pop(),this.alphaMaskIndex--},t.prototype.destroy=function(){this.renderer=null},t}(),hr=function(){function t(t){this.renderer=t,this.maskStack=[],this.glConst=0}return t.prototype.getStackLength=function(){return this.maskStack.length},t.prototype.setMaskStack=function(t){var e=this.renderer.gl,n=this.getStackLength();this.maskStack=t;var r=this.getStackLength();r!==n&&(0===r?e.disable(this.glConst):(e.enable(this.glConst),this._useCurrent()))},t.prototype._useCurrent=function(){},t.prototype.destroy=function(){this.renderer=null,this.maskStack=null},t}(),lr=function(t){function e(e){var n=t.call(this,e)||this;return n.glConst=WebGLRenderingContext.SCISSOR_TEST,n}return Ye(e,t),e.prototype.getStackLength=function(){var t=this.maskStack[this.maskStack.length-1];return t?t._scissorCounter:0},e.prototype.push=function(t){var e=t.maskObject;e.renderable=!0;var n=t._scissorRect,r=e.getBounds(!0),i=this.renderer.gl;e.renderable=!1,n?r.fit(n):i.enable(i.SCISSOR_TEST),t._scissorCounter++,t._scissorRect=r,this._useCurrent()},e.prototype.pop=function(){var t=this.renderer.gl;this.getStackLength()>0?this._useCurrent():t.disable(t.SCISSOR_TEST)},e.prototype._useCurrent=function(){var t=this.maskStack[this.maskStack.length-1]._scissorRect,e=this.renderer.renderTexture.current,n=this.renderer.projection,r=n.transform,i=n.sourceFrame,o=n.destinationFrame,s=e?e.resolution:this.renderer.resolution,a=o.width/i.width,u=o.height/i.height,c=((t.x-i.x)*a+o.x)*s,h=((t.y-i.y)*u+o.y)*s,l=t.width*a*s,d=t.height*u*s;r&&(c+=r.tx*s,h+=r.ty*s),e||(h=this.renderer.height-d-h),c=Math.round(c),h=Math.round(h),l=Math.round(l),d=Math.round(d),this.renderer.gl.scissor(c,h,l,d)},e}(hr),dr=function(t){function e(e){var n=t.call(this,e)||this;return n.glConst=WebGLRenderingContext.STENCIL_TEST,n}return Ye(e,t),e.prototype.getStackLength=function(){var t=this.maskStack[this.maskStack.length-1];return t?t._stencilCounter:0},e.prototype.push=function(t){var e=t.maskObject,n=this.renderer.gl,r=t._stencilCounter;0===r&&(this.renderer.framebuffer.forceStencil(),n.enable(n.STENCIL_TEST)),t._stencilCounter++,n.colorMask(!1,!1,!1,!1),n.stencilFunc(n.EQUAL,r,4294967295),n.stencilOp(n.KEEP,n.KEEP,n.INCR),e.renderable=!0,e.render(this.renderer),this.renderer.batch.flush(),e.renderable=!1,this._useCurrent()},e.prototype.pop=function(t){var e=this.renderer.gl;0===this.getStackLength()?(e.disable(e.STENCIL_TEST),e.clearStencil(0),e.clear(e.STENCIL_BUFFER_BIT)):(e.colorMask(!1,!1,!1,!1),e.stencilOp(e.KEEP,e.KEEP,e.DECR),t.renderable=!0,t.render(this.renderer),this.renderer.batch.flush(),t.renderable=!1,this._useCurrent())},e.prototype._useCurrent=function(){var t=this.renderer.gl;t.colorMask(!0,!0,!0,!0),t.stencilFunc(t.EQUAL,this.getStackLength(),4294967295),t.stencilOp(t.KEEP,t.KEEP,t.KEEP)},e}(hr),fr=function(){function t(t){this.renderer=t,this.destinationFrame=null,this.sourceFrame=null,this.defaultFrame=null,this.projectionMatrix=new ne,this.transform=null}return t.prototype.update=function(t,e,n,r){this.destinationFrame=t||this.destinationFrame||this.defaultFrame,this.sourceFrame=e||this.sourceFrame||t,this.calculateProjection(this.destinationFrame,this.sourceFrame,n,r),this.transform&&this.projectionMatrix.append(this.transform);var i=this.renderer;i.globalUniforms.uniforms.projectionMatrix=this.projectionMatrix,i.globalUniforms.update(),i.shader.shader&&i.shader.syncUniformGroup(i.shader.shader.uniforms.globals)},t.prototype.calculateProjection=function(t,e,n,r){var i=this.projectionMatrix,o=r?-1:1;i.identity(),i.a=1/e.width*2,i.d=o*(1/e.height*2),i.tx=-1-e.x*i.a,i.ty=-o-e.y*i.d},t.prototype.setTransform=function(t){},t.prototype.destroy=function(){this.renderer=null},t}(),pr=new Kt,_r=new Kt,mr=function(){function t(t){this.renderer=t,this.clearColor=t._backgroundColorRgba,this.defaultMaskStack=[],this.current=null,this.sourceFrame=new Kt,this.destinationFrame=new Kt,this.viewportFrame=new Kt}return t.prototype.bind=function(t,e,n){void 0===t&&(t=null);var r,i,o,s=this.renderer;this.current=t,t?(o=(r=t.baseTexture).resolution,e||(pr.width=t.frame.width,pr.height=t.frame.height,e=pr),n||(_r.x=t.frame.x,_r.y=t.frame.y,_r.width=e.width,_r.height=e.height,n=_r),i=r.framebuffer):(o=s.resolution,e||(pr.width=s.screen.width,pr.height=s.screen.height,e=pr),n||((n=pr).width=e.width,n.height=e.height));var a=this.viewportFrame;a.x=n.x*o,a.y=n.y*o,a.width=n.width*o,a.height=n.height*o,t||(a.y=s.view.height-(a.y+a.height)),a.ceil(),this.renderer.framebuffer.bind(i,a),this.renderer.projection.update(n,e,o,!i),t?this.renderer.mask.setMaskStack(r.maskStack):this.renderer.mask.setMaskStack(this.defaultMaskStack),this.sourceFrame.copyFrom(e),this.destinationFrame.copyFrom(n)},t.prototype.clear=function(t,e){t=this.current?t||this.current.baseTexture.clearColor:t||this.clearColor;var n=this.destinationFrame,r=this.current?this.current.baseTexture:this.renderer.screen,i=n.width!==r.width||n.height!==r.height;if(i){var o=this.viewportFrame,s=o.x,a=o.y,u=o.width,c=o.height;s=Math.round(s),a=Math.round(a),u=Math.round(u),c=Math.round(c),this.renderer.gl.enable(this.renderer.gl.SCISSOR_TEST),this.renderer.gl.scissor(s,a,u,c)}this.renderer.framebuffer.clear(t[0],t[1],t[2],t[3],e),i&&this.renderer.scissor.pop()},t.prototype.resize=function(){this.bind(null)},t.prototype.reset=function(){this.bind(null)},t.prototype.destroy=function(){this.renderer=null},t}();function yr(t,e,n,r,i){n.buffer.update(i)}var vr={float:"\n data[offset] = v;\n ",vec2:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n ",vec3:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n data[offset+2] = v[2];\n\n ",vec4:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n data[offset+2] = v[2];\n data[offset+3] = v[3];\n ",mat2:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n\n data[offset+4] = v[2];\n data[offset+5] = v[3];\n ",mat3:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n data[offset+2] = v[2];\n\n data[offset + 4] = v[3];\n data[offset + 5] = v[4];\n data[offset + 6] = v[5];\n\n data[offset + 8] = v[6];\n data[offset + 9] = v[7];\n data[offset + 10] = v[8];\n ",mat4:"\n for(var i = 0; i < 16; i++)\n {\n data[offset + i] = v[i];\n }\n "},br={float:4,vec2:8,vec3:12,vec4:16,int:4,ivec2:8,ivec3:12,ivec4:16,uint:4,uvec2:8,uvec3:12,uvec4:16,bool:4,bvec2:8,bvec3:12,bvec4:16,mat2:32,mat3:48,mat4:64};function gr(t,e){if(!t.autoManage)return{size:0,syncFunc:yr};for(var n=function(t){for(var e=t.map((function(t){return{data:t,offset:0,dataLen:0,dirty:0}})),n=0,r=0,i=0,o=0;o<e.length;o++){var s=e[o];if(n=br[s.data.type],s.data.size>1&&(n=Math.max(n,16)*s.data.size),s.dataLen=n,r%n!=0&&r<16){var a=r%n%16;r+=a,i+=a}r+n>16?(i=16*Math.ceil(i/16),s.offset=i,i+=n,r=n):(s.offset=i,r+=n,i+=n)}return{uboElements:e,size:i=16*Math.ceil(i/16)}}(function(t,e){var n=[];for(var r in t)e[r]&&n.push(e[r]);return n.sort((function(t,e){return t.index-e.index})),n}(t.uniforms,e)),r=n.uboElements,i=n.size,o=["\n var v = null;\n var v2 = null;\n var cv = null;\n var t = 0;\n var gl = renderer.gl\n var index = 0;\n var data = buffer.data;\n "],s=0;s<r.length;s++){for(var a=r[s],u=t.uniforms[a.data.name],c=a.data.name,h=!1,l=0;l<Jn.length;l++){var d=Jn[l];if(d.codeUbo&&d.test(a.data,u)){o.push("offset = "+a.offset/4+";",Jn[l].codeUbo(a.data.name,u)),h=!0;break}}if(!h)if(a.data.size>1){var f=Vn(a.data.type),p=Math.max(br[a.data.type]/16,1),_=f/p,m=(4-_%4)%4;o.push("\n cv = ud."+c+".value;\n v = uv."+c+";\n offset = "+a.offset/4+";\n\n t = 0;\n\n for(var i=0; i < "+a.data.size*p+"; i++)\n {\n for(var j = 0; j < "+_+"; j++)\n {\n data[offset++] = v[t++];\n }\n offset += "+m+";\n }\n\n ")}else{var y=vr[a.data.type];o.push("\n cv = ud."+c+".value;\n v = uv."+c+";\n offset = "+a.offset/4+";\n "+y+";\n ")}}return o.push("\n renderer.buffer.update(buffer);\n "),{size:i,syncFunc:new Function("ud","uv","renderer","syncData","buffer",o.join("\n"))}}var wr=function(){function t(t,e){this.program=t,this.uniformData=e,this.uniformGroups={},this.uniformDirtyGroups={},this.uniformBufferBindings={}}return t.prototype.destroy=function(){this.uniformData=null,this.uniformGroups=null,this.uniformDirtyGroups=null,this.uniformBufferBindings=null,this.program=null},t}();function xr(t,e){var n=Pn(t,t.VERTEX_SHADER,e.vertexSrc),r=Pn(t,t.FRAGMENT_SHADER,e.fragmentSrc),i=t.createProgram();t.attachShader(i,n),t.attachShader(i,r),t.linkProgram(i),t.getProgramParameter(i,t.LINK_STATUS)||function(t,e,n,r){t.getProgramParameter(e,t.LINK_STATUS)||(t.getShaderParameter(n,t.COMPILE_STATUS)||Rn(t,n),t.getShaderParameter(r,t.COMPILE_STATUS)||Rn(t,r),console.error("PixiJS Error: Could not initialize shader."),""!==t.getProgramInfoLog(e)&&console.warn("PixiJS Warning: gl.getProgramInfoLog()",t.getProgramInfoLog(e)))}(t,i,n,r),e.attributeData=function(t,e){for(var n={},r=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES),i=0;i<r;i++){var o=e.getActiveAttrib(t,i);if(0!==o.name.indexOf("gl_")){var s=Xn(e,o.type),a={type:s,name:o.name,size:Vn(s),location:i};n[o.name]=a}}return n}(i,t),e.uniformData=function(t,e){for(var n={},r=e.getProgramParameter(t,e.ACTIVE_UNIFORMS),i=0;i<r;i++){var o=e.getActiveUniform(t,i),s=o.name.replace(/\[.*?\]$/,""),a=!!o.name.match(/\[.*?\]$/),u=Xn(e,o.type);n[s]={name:s,index:i,type:u,size:o.size,isArray:a,value:Bn(u,o.size)}}return n}(i,t);var o=Object.keys(e.attributeData);o.sort((function(t,e){return t>e?1:-1}));for(var s=0;s<o.length;s++)e.attributeData[o[s]].location=s,t.bindAttribLocation(i,s,o[s]);t.linkProgram(i),t.deleteShader(n),t.deleteShader(r);var a={};for(var s in e.uniformData){var u=e.uniformData[s];a[s]={location:t.getUniformLocation(i,s),value:Bn(u.type,u.size)}}return new wr(i,a)}var Mr=0,Sr={textureCount:0,uboCount:0},Tr=function(){function t(t){this.destroyed=!1,this.renderer=t,this.systemCheck(),this.gl=null,this.shader=null,this.program=null,this.cache={},this._uboCache={},this.id=Mr++}return t.prototype.systemCheck=function(){if(!function(){if("boolean"==typeof $n)return $n;try{var t=new Function("param1","param2","param3","return param1[param2] === param3;");$n=!0===t({a:"b"},"a","b")}catch(t){$n=!1}return $n}())throw new Error("Current environment does not allow unsafe-eval, please use @pixi/unsafe-eval module to enable support.")},t.prototype.contextChange=function(t){this.gl=t,this.reset()},t.prototype.bind=function(t,e){t.uniforms.globals=this.renderer.globalUniforms;var n=t.program,r=n.glPrograms[this.renderer.CONTEXT_UID]||this.generateProgram(t);return this.shader=t,this.program!==n&&(this.program=n,this.gl.useProgram(r.program)),e||(Sr.textureCount=0,Sr.uboCount=0,this.syncUniformGroup(t.uniformGroup,Sr)),r},t.prototype.setUniforms=function(t){var e=this.shader.program,n=e.glPrograms[this.renderer.CONTEXT_UID];e.syncUniforms(n.uniformData,t,this.renderer)},t.prototype.syncUniformGroup=function(t,e){var n=this.getGlProgram();t.static&&t.dirtyId===n.uniformDirtyGroups[t.id]||(n.uniformDirtyGroups[t.id]=t.dirtyId,this.syncUniforms(t,n,e))},t.prototype.syncUniforms=function(t,e,n){(t.syncUniforms[this.shader.program.id]||this.createSyncGroups(t))(e.uniformData,t.uniforms,this.renderer,n)},t.prototype.createSyncGroups=function(t){var e=this.getSignature(t,this.shader.program.uniformData,"u");return this.cache[e]||(this.cache[e]=function(t,e){var n=["\n var v = null;\n var cv = null\n var t = 0;\n var gl = renderer.gl\n "];for(var r in t.uniforms){var i=e[r];if(i){for(var o=t.uniforms[r],s=!1,a=0;a<Jn.length;a++)if(Jn[a].test(i,o)){n.push(Jn[a].code(r,o)),s=!0;break}if(!s){var u=(1===i.size?Kn:qn)[i.type].replace("location",'ud["'+r+'"].location');n.push('\n cv = ud["'+r+'"].value;\n v = uv["'+r+'"];\n '+u+";")}}else t.uniforms[r].group&&(t.uniforms[r].ubo?n.push("\n renderer.shader.syncUniformBufferGroup(uv."+r+", '"+r+"');\n "):n.push("\n renderer.shader.syncUniformGroup(uv."+r+", syncData);\n "))}return new Function("ud","uv","renderer","syncData",n.join("\n"))}(t,this.shader.program.uniformData)),t.syncUniforms[this.shader.program.id]=this.cache[e],t.syncUniforms[this.shader.program.id]},t.prototype.syncUniformBufferGroup=function(t,e){var n=this.getGlProgram();if(!t.static||0!==t.dirtyId||!n.uniformGroups[t.id]){t.dirtyId=0;var r=n.uniformGroups[t.id]||this.createSyncBufferGroup(t,n,e);t.buffer.update(),r(n.uniformData,t.uniforms,this.renderer,Sr,t.buffer)}this.renderer.buffer.bindBufferBase(t.buffer,n.uniformBufferBindings[e])},t.prototype.createSyncBufferGroup=function(t,e,n){var r=this.renderer.gl;this.renderer.buffer.bind(t.buffer);var i=this.gl.getUniformBlockIndex(e.program,n);e.uniformBufferBindings[n]=this.shader.uniformBindCount,r.uniformBlockBinding(e.program,i,this.shader.uniformBindCount),this.shader.uniformBindCount++;var o=this.getSignature(t,this.shader.program.uniformData,"ubo"),s=this._uboCache[o];if(s||(s=this._uboCache[o]=gr(t,this.shader.program.uniformData)),t.autoManage){var a=new Float32Array(s.size/4);t.buffer.update(a)}return e.uniformGroups[t.id]=s.syncFunc,e.uniformGroups[t.id]},t.prototype.getSignature=function(t,e,n){var r=t.uniforms,i=[n+"-"];for(var o in r)i.push(o),e[o]&&i.push(e[o].type);return i.join("-")},t.prototype.getGlProgram=function(){return this.shader?this.shader.program.glPrograms[this.renderer.CONTEXT_UID]:null},t.prototype.generateProgram=function(t){var e=this.gl,n=t.program,r=xr(e,n);return n.glPrograms[this.renderer.CONTEXT_UID]=r,r},t.prototype.reset=function(){this.program=null,this.shader=null},t.prototype.destroy=function(){this.renderer=null,this.destroyed=!0},t}();var Ar=function(){function t(){this.gl=null,this.stateId=0,this.polygonOffset=0,this.blendMode=q.NONE,this._blendEq=!1,this.map=[],this.map[0]=this.setBlend,this.map[1]=this.setOffset,this.map[2]=this.setCullFace,this.map[3]=this.setDepthTest,this.map[4]=this.setFrontFace,this.map[5]=this.setDepthMask,this.checks=[],this.defaultState=new ir,this.defaultState.blend=!0}return t.prototype.contextChange=function(t){this.gl=t,this.blendModes=function(t,e){return void 0===e&&(e=[]),e[q.NORMAL]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.ADD]=[t.ONE,t.ONE],e[q.MULTIPLY]=[t.DST_COLOR,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.SCREEN]=[t.ONE,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.OVERLAY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.DARKEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.LIGHTEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.COLOR_DODGE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.COLOR_BURN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.HARD_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.SOFT_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.DIFFERENCE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.EXCLUSION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.HUE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.SATURATION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.COLOR]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.LUMINOSITY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.NONE]=[0,0],e[q.NORMAL_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.ADD_NPM]=[t.SRC_ALPHA,t.ONE,t.ONE,t.ONE],e[q.SCREEN_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[q.SRC_IN]=[t.DST_ALPHA,t.ZERO],e[q.SRC_OUT]=[t.ONE_MINUS_DST_ALPHA,t.ZERO],e[q.SRC_ATOP]=[t.DST_ALPHA,t.ONE_MINUS_SRC_ALPHA],e[q.DST_OVER]=[t.ONE_MINUS_DST_ALPHA,t.ONE],e[q.DST_IN]=[t.ZERO,t.SRC_ALPHA],e[q.DST_OUT]=[t.ZERO,t.ONE_MINUS_SRC_ALPHA],e[q.DST_ATOP]=[t.ONE_MINUS_DST_ALPHA,t.SRC_ALPHA],e[q.XOR]=[t.ONE_MINUS_DST_ALPHA,t.ONE_MINUS_SRC_ALPHA],e[q.SUBTRACT]=[t.ONE,t.ONE,t.ONE,t.ONE,t.FUNC_REVERSE_SUBTRACT,t.FUNC_ADD],e}(t),this.set(this.defaultState),this.reset()},t.prototype.set=function(t){if(t=t||this.defaultState,this.stateId!==t.data){for(var e=this.stateId^t.data,n=0;e;)1&e&&this.map[n].call(this,!!(t.data&1<<n)),e>>=1,n++;this.stateId=t.data}for(n=0;n<this.checks.length;n++)this.checks[n](this,t)},t.prototype.forceState=function(t){t=t||this.defaultState;for(var e=0;e<this.map.length;e++)this.map[e].call(this,!!(t.data&1<<e));for(e=0;e<this.checks.length;e++)this.checks[e](this,t);this.stateId=t.data},t.prototype.setBlend=function(e){this.updateCheck(t.checkBlendMode,e),this.gl[e?"enable":"disable"](this.gl.BLEND)},t.prototype.setOffset=function(e){this.updateCheck(t.checkPolygonOffset,e),this.gl[e?"enable":"disable"](this.gl.POLYGON_OFFSET_FILL)},t.prototype.setDepthTest=function(t){this.gl[t?"enable":"disable"](this.gl.DEPTH_TEST)},t.prototype.setDepthMask=function(t){this.gl.depthMask(t)},t.prototype.setCullFace=function(t){this.gl[t?"enable":"disable"](this.gl.CULL_FACE)},t.prototype.setFrontFace=function(t){this.gl.frontFace(this.gl[t?"CW":"CCW"])},t.prototype.setBlendMode=function(t){if(t!==this.blendMode){this.blendMode=t;var e=this.blendModes[t],n=this.gl;2===e.length?n.blendFunc(e[0],e[1]):n.blendFuncSeparate(e[0],e[1],e[2],e[3]),6===e.length?(this._blendEq=!0,n.blendEquationSeparate(e[4],e[5])):this._blendEq&&(this._blendEq=!1,n.blendEquationSeparate(n.FUNC_ADD,n.FUNC_ADD))}},t.prototype.setPolygonOffset=function(t,e){this.gl.polygonOffset(t,e)},t.prototype.reset=function(){this.gl.pixelStorei(this.gl.UNPACK_FLIP_Y_WEBGL,!1),this.forceState(this.defaultState),this._blendEq=!0,this.blendMode=-1,this.setBlendMode(0)},t.prototype.updateCheck=function(t,e){var n=this.checks.indexOf(t);e&&-1===n?this.checks.push(t):e||-1===n||this.checks.splice(n,1)},t.checkBlendMode=function(t,e){t.setBlendMode(e.blendMode)},t.checkPolygonOffset=function(t,e){t.setPolygonOffset(1,e.polygonOffset)},t.prototype.destroy=function(){this.gl=null},t}(),Er=function(){function t(t){this.renderer=t,this.count=0,this.checkCount=0,this.maxIdle=dt.GC_MAX_IDLE,this.checkCountMax=dt.GC_MAX_CHECK_COUNT,this.mode=dt.GC_MODE}return t.prototype.postrender=function(){this.renderer.renderingToScreen&&(this.count++,this.mode!==at.MANUAL&&(this.checkCount++,this.checkCount>this.checkCountMax&&(this.checkCount=0,this.run())))},t.prototype.run=function(){for(var t=this.renderer.texture,e=t.managedTextures,n=!1,r=0;r<e.length;r++){var i=e[r];!i.framebuffer&&this.count-i.touched>this.maxIdle&&(t.destroyTexture(i,!0),e[r]=null,n=!0)}if(n){var o=0;for(r=0;r<e.length;r++)null!==e[r]&&(e[o++]=e[r]);e.length=o}},t.prototype.unload=function(t){var e=this.renderer.texture,n=t._texture;n&&!n.framebuffer&&e.destroyTexture(n);for(var r=t.children.length-1;r>=0;r--)this.unload(t.children[r])},t.prototype.destroy=function(){this.renderer=null},t}();var Lr=function(t){this.texture=t,this.width=-1,this.height=-1,this.dirtyId=-1,this.dirtyStyleId=-1,this.mipmap=!1,this.wrapMode=33071,this.type=tt.UNSIGNED_BYTE,this.internalFormat=Z.RGBA,this.samplerType=0},Dr=function(){function t(t){this.renderer=t,this.boundTextures=[],this.currentLocation=-1,this.managedTextures=[],this._unknownBoundTextures=!1,this.unknownTexture=new Ue,this.hasIntegerTextures=!1}return t.prototype.contextChange=function(){var t=this.gl=this.renderer.gl;this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.webGLVersion=this.renderer.context.webGLVersion,this.internalFormats=function(t){var e,n,r,i,o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M;return"WebGL2RenderingContext"in self&&t instanceof self.WebGL2RenderingContext?((e={})[tt.UNSIGNED_BYTE]=((n={})[Z.RGBA]=t.RGBA8,n[Z.RGB]=t.RGB8,n[Z.RG]=t.RG8,n[Z.RED]=t.R8,n[Z.RGBA_INTEGER]=t.RGBA8UI,n[Z.RGB_INTEGER]=t.RGB8UI,n[Z.RG_INTEGER]=t.RG8UI,n[Z.RED_INTEGER]=t.R8UI,n[Z.ALPHA]=t.ALPHA,n[Z.LUMINANCE]=t.LUMINANCE,n[Z.LUMINANCE_ALPHA]=t.LUMINANCE_ALPHA,n),e[tt.BYTE]=((r={})[Z.RGBA]=t.RGBA8_SNORM,r[Z.RGB]=t.RGB8_SNORM,r[Z.RG]=t.RG8_SNORM,r[Z.RED]=t.R8_SNORM,r[Z.RGBA_INTEGER]=t.RGBA8I,r[Z.RGB_INTEGER]=t.RGB8I,r[Z.RG_INTEGER]=t.RG8I,r[Z.RED_INTEGER]=t.R8I,r),e[tt.UNSIGNED_SHORT]=((i={})[Z.RGBA_INTEGER]=t.RGBA16UI,i[Z.RGB_INTEGER]=t.RGB16UI,i[Z.RG_INTEGER]=t.RG16UI,i[Z.RED_INTEGER]=t.R16UI,i[Z.DEPTH_COMPONENT]=t.DEPTH_COMPONENT16,i),e[tt.SHORT]=((o={})[Z.RGBA_INTEGER]=t.RGBA16I,o[Z.RGB_INTEGER]=t.RGB16I,o[Z.RG_INTEGER]=t.RG16I,o[Z.RED_INTEGER]=t.R16I,o),e[tt.UNSIGNED_INT]=((s={})[Z.RGBA_INTEGER]=t.RGBA32UI,s[Z.RGB_INTEGER]=t.RGB32UI,s[Z.RG_INTEGER]=t.RG32UI,s[Z.RED_INTEGER]=t.R32UI,s[Z.DEPTH_COMPONENT]=t.DEPTH_COMPONENT24,s),e[tt.INT]=((a={})[Z.RGBA_INTEGER]=t.RGBA32I,a[Z.RGB_INTEGER]=t.RGB32I,a[Z.RG_INTEGER]=t.RG32I,a[Z.RED_INTEGER]=t.R32I,a),e[tt.FLOAT]=((u={})[Z.RGBA]=t.RGBA32F,u[Z.RGB]=t.RGB32F,u[Z.RG]=t.RG32F,u[Z.RED]=t.R32F,u[Z.DEPTH_COMPONENT]=t.DEPTH_COMPONENT32F,u),e[tt.HALF_FLOAT]=((c={})[Z.RGBA]=t.RGBA16F,c[Z.RGB]=t.RGB16F,c[Z.RG]=t.RG16F,c[Z.RED]=t.R16F,c),e[tt.UNSIGNED_SHORT_5_6_5]=((h={})[Z.RGB]=t.RGB565,h),e[tt.UNSIGNED_SHORT_4_4_4_4]=((l={})[Z.RGBA]=t.RGBA4,l),e[tt.UNSIGNED_SHORT_5_5_5_1]=((d={})[Z.RGBA]=t.RGB5_A1,d),e[tt.UNSIGNED_INT_2_10_10_10_REV]=((f={})[Z.RGBA]=t.RGB10_A2,f[Z.RGBA_INTEGER]=t.RGB10_A2UI,f),e[tt.UNSIGNED_INT_10F_11F_11F_REV]=((p={})[Z.RGB]=t.R11F_G11F_B10F,p),e[tt.UNSIGNED_INT_5_9_9_9_REV]=((_={})[Z.RGB]=t.RGB9_E5,_),e[tt.UNSIGNED_INT_24_8]=((m={})[Z.DEPTH_STENCIL]=t.DEPTH24_STENCIL8,m),e[tt.FLOAT_32_UNSIGNED_INT_24_8_REV]=((y={})[Z.DEPTH_STENCIL]=t.DEPTH32F_STENCIL8,y),M=e):((v={})[tt.UNSIGNED_BYTE]=((b={})[Z.RGBA]=t.RGBA,b[Z.RGB]=t.RGB,b[Z.ALPHA]=t.ALPHA,b[Z.LUMINANCE]=t.LUMINANCE,b[Z.LUMINANCE_ALPHA]=t.LUMINANCE_ALPHA,b),v[tt.UNSIGNED_SHORT_5_6_5]=((g={})[Z.RGB]=t.RGB,g),v[tt.UNSIGNED_SHORT_4_4_4_4]=((w={})[Z.RGBA]=t.RGBA,w),v[tt.UNSIGNED_SHORT_5_5_5_1]=((x={})[Z.RGBA]=t.RGBA,x),M=v),M}(t);var e=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS);this.boundTextures.length=e;for(var n=0;n<e;n++)this.boundTextures[n]=null;this.emptyTextures={};var r=new Lr(t.createTexture());t.bindTexture(t.TEXTURE_2D,r.texture),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,new Uint8Array(4)),this.emptyTextures[t.TEXTURE_2D]=r,this.emptyTextures[t.TEXTURE_CUBE_MAP]=new Lr(t.createTexture()),t.bindTexture(t.TEXTURE_CUBE_MAP,this.emptyTextures[t.TEXTURE_CUBE_MAP].texture);for(n=0;n<6;n++)t.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+n,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,null);t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MIN_FILTER,t.LINEAR);for(n=0;n<this.boundTextures.length;n++)this.bind(null,n)},t.prototype.bind=function(t,e){void 0===e&&(e=0);var n=this.gl;if((t=null==t?void 0:t.castToBaseTexture())&&t.valid&&!t.parentTextureArray){t.touched=this.renderer.textureGC.count;var r=t._glTextures[this.CONTEXT_UID]||this.initTexture(t);this.boundTextures[e]!==t&&(this.currentLocation!==e&&(this.currentLocation=e,n.activeTexture(n.TEXTURE0+e)),n.bindTexture(t.target,r.texture)),r.dirtyId!==t.dirtyId&&(this.currentLocation!==e&&(this.currentLocation=e,n.activeTexture(n.TEXTURE0+e)),this.updateTexture(t)),this.boundTextures[e]=t}else this.currentLocation!==e&&(this.currentLocation=e,n.activeTexture(n.TEXTURE0+e)),n.bindTexture(n.TEXTURE_2D,this.emptyTextures[n.TEXTURE_2D].texture),this.boundTextures[e]=null},t.prototype.reset=function(){this._unknownBoundTextures=!0,this.hasIntegerTextures=!1,this.currentLocation=-1;for(var t=0;t<this.boundTextures.length;t++)this.boundTextures[t]=this.unknownTexture},t.prototype.unbind=function(t){var e=this.gl,n=this.boundTextures;if(this._unknownBoundTextures){this._unknownBoundTextures=!1;for(var r=0;r<n.length;r++)n[r]===this.unknownTexture&&this.bind(null,r)}for(r=0;r<n.length;r++)n[r]===t&&(this.currentLocation!==r&&(e.activeTexture(e.TEXTURE0+r),this.currentLocation=r),e.bindTexture(t.target,this.emptyTextures[t.target].texture),n[r]=null)},t.prototype.ensureSamplerType=function(t){var e=this.boundTextures,n=this.hasIntegerTextures,r=this.CONTEXT_UID;if(n)for(var i=t-1;i>=0;--i){var o=e[i];if(o)o._glTextures[r].samplerType!==et.FLOAT&&this.renderer.texture.unbind(o)}},t.prototype.initTexture=function(t){var e=new Lr(this.gl.createTexture());return e.dirtyId=-1,t._glTextures[this.CONTEXT_UID]=e,this.managedTextures.push(t),t.on("dispose",this.destroyTexture,this),e},t.prototype.initTextureType=function(t,e){var n,r;e.internalFormat=null!==(r=null===(n=this.internalFormats[t.type])||void 0===n?void 0:n[t.format])&&void 0!==r?r:t.format,2===this.webGLVersion&&t.type===tt.HALF_FLOAT?e.type=this.gl.HALF_FLOAT:e.type=t.type},t.prototype.updateTexture=function(t){var e=t._glTextures[this.CONTEXT_UID];if(e){var n=this.renderer;if(this.initTextureType(t,e),t.resource&&t.resource.upload(n,t,e))e.samplerType!==et.FLOAT&&(this.hasIntegerTextures=!0);else{var r=t.realWidth,i=t.realHeight,o=n.gl;(e.width!==r||e.height!==i||e.dirtyId<0)&&(e.width=r,e.height=i,o.texImage2D(t.target,0,e.internalFormat,r,i,0,t.format,e.type,null))}t.dirtyStyleId!==e.dirtyStyleId&&this.updateTextureStyle(t),e.dirtyId=t.dirtyId}},t.prototype.destroyTexture=function(t,e){var n=this.gl;if((t=t.castToBaseTexture())._glTextures[this.CONTEXT_UID]&&(this.unbind(t),n.deleteTexture(t._glTextures[this.CONTEXT_UID].texture),t.off("dispose",this.destroyTexture,this),delete t._glTextures[this.CONTEXT_UID],!e)){var r=this.managedTextures.indexOf(t);-1!==r&&It(this.managedTextures,r,1)}},t.prototype.updateTextureStyle=function(t){var e=t._glTextures[this.CONTEXT_UID];e&&(t.mipmap!==it.POW2&&2===this.webGLVersion||t.isPowerOfTwo?e.mipmap=t.mipmap>=1:e.mipmap=!1,2===this.webGLVersion||t.isPowerOfTwo?e.wrapMode=t.wrapMode:e.wrapMode=rt.CLAMP,t.resource&&t.resource.style(this.renderer,t,e)||this.setStyle(t,e),e.dirtyStyleId=t.dirtyStyleId)},t.prototype.setStyle=function(t,e){var n=this.gl;if(e.mipmap&&t.mipmap!==it.ON_MANUAL&&n.generateMipmap(t.target),n.texParameteri(t.target,n.TEXTURE_WRAP_S,e.wrapMode),n.texParameteri(t.target,n.TEXTURE_WRAP_T,e.wrapMode),e.mipmap){n.texParameteri(t.target,n.TEXTURE_MIN_FILTER,t.scaleMode===nt.LINEAR?n.LINEAR_MIPMAP_LINEAR:n.NEAREST_MIPMAP_NEAREST);var r=this.renderer.context.extensions.anisotropicFiltering;if(r&&t.anisotropicLevel>0&&t.scaleMode===nt.LINEAR){var i=Math.min(t.anisotropicLevel,n.getParameter(r.MAX_TEXTURE_MAX_ANISOTROPY_EXT));n.texParameterf(t.target,r.TEXTURE_MAX_ANISOTROPY_EXT,i)}}else n.texParameteri(t.target,n.TEXTURE_MIN_FILTER,t.scaleMode===nt.LINEAR?n.LINEAR:n.NEAREST);n.texParameteri(t.target,n.TEXTURE_MAG_FILTER,t.scaleMode===nt.LINEAR?n.LINEAR:n.NEAREST)},t.prototype.destroy=function(){this.renderer=null},t}(),Cr={__proto__:null,FilterSystem:Mn,BatchSystem:Tn,ContextSystem:En,FramebufferSystem:Cn,GeometrySystem:On,MaskSystem:cr,ScissorSystem:lr,StencilSystem:dr,ProjectionSystem:fr,RenderTextureSystem:mr,ShaderSystem:Tr,StateSystem:Ar,TextureGCSystem:Er,TextureSystem:Dr},kr=new ne,Or=function(t){function e(e,n){void 0===e&&(e=J.UNKNOWN);var r=t.call(this)||this;return n=Object.assign({},dt.RENDER_OPTIONS,n),r.options=n,r.type=e,r.screen=new Kt(0,0,n.width,n.height),r.view=n.view||document.createElement("canvas"),r.resolution=n.resolution||dt.RESOLUTION,r.useContextAlpha=n.useContextAlpha,r.autoDensity=!!n.autoDensity,r.preserveDrawingBuffer=n.preserveDrawingBuffer,r.clearBeforeRender=n.clearBeforeRender,r._backgroundColor=0,r._backgroundColorRgba=[0,0,0,1],r._backgroundColorString="#000000",r.backgroundColor=n.backgroundColor||r._backgroundColor,r.backgroundAlpha=n.backgroundAlpha,void 0!==n.transparent&&(Nt("6.0.0","Option transparent is deprecated, please use backgroundAlpha instead."),r.useContextAlpha=n.transparent,r.backgroundAlpha=n.transparent?0:1),r._lastObjectRendered=null,r.plugins={},r}return Ye(e,t),e.prototype.initPlugins=function(t){for(var e in t)this.plugins[e]=new t[e](this)},Object.defineProperty(e.prototype,"width",{get:function(){return this.view.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.view.height},enumerable:!1,configurable:!0}),e.prototype.resize=function(t,e){this.view.width=Math.round(t*this.resolution),this.view.height=Math.round(e*this.resolution);var n=this.view.width/this.resolution,r=this.view.height/this.resolution;this.screen.width=n,this.screen.height=r,this.autoDensity&&(this.view.style.width=n+"px",this.view.style.height=r+"px"),this.emit("resize",n,r)},e.prototype.generateTexture=function(t,e,n,r){void 0===e&&(e={}),"number"==typeof e&&(Nt("6.1.0","generateTexture options (scaleMode, resolution, region) are now object options."),e={scaleMode:e,resolution:n,region:r});var i=e.region,o=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&(n[r[i]]=t[r[i]])}return n}(e,["region"]);0===(r=i||t.getLocalBounds(null,!0)).width&&(r.width=1),0===r.height&&(r.height=1);var s=sn.create(Be({width:r.width,height:r.height},o));return kr.tx=-r.x,kr.ty=-r.y,this.render(t,{renderTexture:s,clear:!1,transform:kr,skipUpdateTransform:!!t.parent}),s},e.prototype.destroy=function(t){for(var e in this.plugins)this.plugins[e].destroy(),this.plugins[e]=null;t&&this.view.parentNode&&this.view.parentNode.removeChild(this.view);this.plugins=null,this.type=J.UNKNOWN,this.view=null,this.screen=null,this._tempDisplayObjectParent=null,this.options=null,this._backgroundColorRgba=null,this._backgroundColorString=null,this._lastObjectRendered=null},Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){this._backgroundColor=t,this._backgroundColorString=Mt(t),xt(t,this._backgroundColorRgba)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundAlpha",{get:function(){return this._backgroundColorRgba[3]},set:function(t){this._backgroundColorRgba[3]=t},enumerable:!1,configurable:!0}),e}(pt.a),Ir=function(t){this.buffer=t||null,this.updateID=-1,this.byteLength=-1,this.refCount=0},Pr=function(){function t(t){this.renderer=t,this.managedBuffers={},this.boundBufferBases={}}return t.prototype.destroy=function(){this.renderer=null},t.prototype.contextChange=function(){this.disposeAll(!0),this.gl=this.renderer.gl,this.CONTEXT_UID=this.renderer.CONTEXT_UID},t.prototype.bind=function(t){var e=this.gl,n=this.CONTEXT_UID,r=t._glBuffers[n]||this.createGLBuffer(t);e.bindBuffer(t.type,r.buffer)},t.prototype.bindBufferBase=function(t,e){var n=this.gl,r=this.CONTEXT_UID;if(this.boundBufferBases[e]!==t){var i=t._glBuffers[r]||this.createGLBuffer(t);this.boundBufferBases[e]=t,n.bindBufferBase(n.UNIFORM_BUFFER,e,i.buffer)}},t.prototype.bindBufferRange=function(t,e,n){var r=this.gl,i=this.CONTEXT_UID;n=n||0;var o=t._glBuffers[i]||this.createGLBuffer(t);r.bindBufferRange(r.UNIFORM_BUFFER,e||0,o.buffer,256*n,256)},t.prototype.update=function(t){var e=this.gl,n=this.CONTEXT_UID,r=t._glBuffers[n];if(t._updateID!==r.updateID)if(r.updateID=t._updateID,e.bindBuffer(t.type,r.buffer),r.byteLength>=t.data.byteLength)e.bufferSubData(t.type,0,t.data);else{var i=t.static?e.STATIC_DRAW:e.DYNAMIC_DRAW;r.byteLength=t.data.byteLength,e.bufferData(t.type,t.data,i)}},t.prototype.dispose=function(t,e){if(this.managedBuffers[t.id]){delete this.managedBuffers[t.id];var n=t._glBuffers[this.CONTEXT_UID],r=this.gl;t.disposeRunner.remove(this),n&&(e||r.deleteBuffer(n.buffer),delete t._glBuffers[this.CONTEXT_UID])}},t.prototype.disposeAll=function(t){for(var e=Object.keys(this.managedBuffers),n=0;n<e.length;n++)this.dispose(this.managedBuffers[e[n]],t)},t.prototype.createGLBuffer=function(t){var e=this.CONTEXT_UID,n=this.gl;return t._glBuffers[e]=new Ir(n.createBuffer()),this.managedBuffers[t.id]=t,t.disposeRunner.add(this),t._glBuffers[e]},t}(),Rr=function(t){function e(n){var r=t.call(this,J.WEBGL,n)||this;return n=r.options,r.gl=null,r.CONTEXT_UID=0,r.runners={destroy:new Oe("destroy"),contextChange:new Oe("contextChange"),reset:new Oe("reset"),update:new Oe("update"),postrender:new Oe("postrender"),prerender:new Oe("prerender"),resize:new Oe("resize")},r.runners.contextChange.add(r),r.globalUniforms=new bn({projectionMatrix:new ne},!0),r.addSystem(cr,"mask").addSystem(En,"context").addSystem(Ar,"state").addSystem(Tr,"shader").addSystem(Dr,"texture").addSystem(Pr,"buffer").addSystem(On,"geometry").addSystem(Cn,"framebuffer").addSystem(lr,"scissor").addSystem(dr,"stencil").addSystem(fr,"projection").addSystem(Er,"textureGC").addSystem(Mn,"filter").addSystem(mr,"renderTexture").addSystem(Tn,"batch"),r.initPlugins(e.__plugins),r.multisample=void 0,n.context?r.context.initFromContext(n.context):r.context.initFromOptions({alpha:!!r.useContextAlpha,antialias:n.antialias,premultipliedAlpha:r.useContextAlpha&&"notMultiplied"!==r.useContextAlpha,stencil:!0,preserveDrawingBuffer:n.preserveDrawingBuffer,powerPreference:r.options.powerPreference}),r.renderingToScreen=!0,function(t){var e;if(!gt){if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var n=["\n %c %c %c PixiJS 6.1.3 - ✰ "+t+" ✰ %c %c http://www.pixijs.com/ %c %c ♥%c♥%c♥ \n\n","background: #ff66a5; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff66a5; background: #030307; padding:5px 0;","background: #ff66a5; padding:5px 0;","background: #ffc3dc; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;"];(e=self.console).log.apply(e,n)}else self.console&&self.console.log("PixiJS 6.1.3 - "+t+" - http://www.pixijs.com/");gt=!0}}(2===r.context.webGLVersion?"WebGL 2":"WebGL 1"),r.resize(r.options.width,r.options.height),r}return Ye(e,t),e.create=function(t){if(void 0===bt&&(bt=function(){var t={stencil:!0,failIfMajorPerformanceCaveat:dt.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT};try{if(!self.WebGLRenderingContext)return!1;var e=document.createElement("canvas"),n=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),r=!(!n||!n.getContextAttributes().stencil);if(n){var i=n.getExtension("WEBGL_lose_context");i&&i.loseContext()}return n=null,r}catch(t){return!1}}()),bt)return new e(t);throw new Error('WebGL unsupported in this browser, use "pixi.js-legacy" for fallback canvas2d support.')},e.prototype.contextChange=function(){var t,e=this.gl;if(1===this.context.webGLVersion){var n=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,null),t=e.getParameter(e.SAMPLES),e.bindFramebuffer(e.FRAMEBUFFER,n)}else{n=e.getParameter(e.DRAW_FRAMEBUFFER_BINDING);e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),t=e.getParameter(e.SAMPLES),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,n)}t>=ht.HIGH?this.multisample=ht.HIGH:t>=ht.MEDIUM?this.multisample=ht.MEDIUM:t>=ht.LOW?this.multisample=ht.LOW:this.multisample=ht.NONE},e.prototype.addSystem=function(t,e){var n=new t(this);if(this[e])throw new Error('Whoops! The name "'+e+'" is already in use');for(var r in this[e]=n,this.runners)this.runners[r].add(n);return this},e.prototype.render=function(t,e){var n,r,i,o;if(e&&(e instanceof sn?(Nt("6.0.0","Renderer#render arguments changed, use options instead."),n=e,r=arguments[2],i=arguments[3],o=arguments[4]):(n=e.renderTexture,r=e.clear,i=e.transform,o=e.skipUpdateTransform)),this.renderingToScreen=!n,this.runners.prerender.emit(),this.emit("prerender"),this.projection.transform=i,!this.context.isLost){if(n||(this._lastObjectRendered=t),!o){var s=t.enableTempParent();t.updateTransform(),t.disableTempParent(s)}this.renderTexture.bind(n),this.batch.currentRenderer.start(),(void 0!==r?r:this.clearBeforeRender)&&this.renderTexture.clear(),t.render(this),this.batch.currentRenderer.flush(),n&&n.baseTexture.update(),this.runners.postrender.emit(),this.projection.transform=null,this.emit("postrender")}},e.prototype.generateTexture=function(e,n,r,i){void 0===n&&(n={});var o=t.prototype.generateTexture.call(this,e,n,r,i);return this.framebuffer.blit(),o},e.prototype.resize=function(e,n){t.prototype.resize.call(this,e,n),this.runners.resize.emit(this.screen.height,this.screen.width)},e.prototype.reset=function(){return this.runners.reset.emit(),this},e.prototype.clear=function(){this.renderTexture.bind(),this.renderTexture.clear()},e.prototype.destroy=function(e){for(var n in this.runners.destroy.emit(),this.runners)this.runners[n].destroy();t.prototype.destroy.call(this,e),this.gl=null},Object.defineProperty(e.prototype,"extract",{get:function(){return Nt("6.0.0","Renderer#extract has been deprecated, please use Renderer#plugins.extract instead."),this.plugins.extract},enumerable:!1,configurable:!0}),e.registerPlugin=function(t,n){e.__plugins=e.__plugins||{},e.__plugins[t]=n},e}(Or);var Yr="attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n gl_Position = filterVertexPosition();\n vTextureCoord = filterTextureCoord();\n}\n",Br=(function(){function t(t){Nt("6.1.0","System class is deprecated, implemement ISystem interface instead."),this.renderer=t}t.prototype.destroy=function(){this.renderer=null}}(),function(){this.texArray=null,this.blend=0,this.type=$.TRIANGLES,this.start=0,this.size=0,this.data=null}),Nr=function(){function t(){this.elements=[],this.ids=[],this.count=0}return t.prototype.clear=function(){for(var t=0;t<this.count;t++)this.elements[t]=null;this.count=0},t}(),jr=function(){function t(t){"number"==typeof t?this.rawBinaryData=new ArrayBuffer(t):t instanceof Uint8Array?this.rawBinaryData=t.buffer:this.rawBinaryData=t,this.uint32View=new Uint32Array(this.rawBinaryData),this.float32View=new Float32Array(this.rawBinaryData)}return Object.defineProperty(t.prototype,"int8View",{get:function(){return this._int8View||(this._int8View=new Int8Array(this.rawBinaryData)),this._int8View},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uint8View",{get:function(){return this._uint8View||(this._uint8View=new Uint8Array(this.rawBinaryData)),this._uint8View},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"int16View",{get:function(){return this._int16View||(this._int16View=new Int16Array(this.rawBinaryData)),this._int16View},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uint16View",{get:function(){return this._uint16View||(this._uint16View=new Uint16Array(this.rawBinaryData)),this._uint16View},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"int32View",{get:function(){return this._int32View||(this._int32View=new Int32Array(this.rawBinaryData)),this._int32View},enumerable:!1,configurable:!0}),t.prototype.view=function(t){return this[t+"View"]},t.prototype.destroy=function(){this.rawBinaryData=null,this._int8View=null,this._uint8View=null,this._int16View=null,this._uint16View=null,this._int32View=null,this.uint32View=null,this.float32View=null},t.sizeOf=function(t){switch(t){case"int8":case"uint8":return 1;case"int16":case"uint16":return 2;case"int32":case"uint32":case"float32":return 4;default:throw new Error(t+" isn't a valid view type")}},t}(),Fr=function(t){function e(e){var n=t.call(this,e)||this;return n.shaderGenerator=null,n.geometryClass=null,n.vertexSize=null,n.state=ir.for2d(),n.size=4*dt.SPRITE_BATCH_SIZE,n._vertexCount=0,n._indexCount=0,n._bufferedElements=[],n._bufferedTextures=[],n._bufferSize=0,n._shader=null,n._packedGeometries=[],n._packedGeometryPoolSize=2,n._flushId=0,n._aBuffers={},n._iBuffers={},n.MAX_TEXTURES=1,n.renderer.on("prerender",n.onPrerender,n),e.runners.contextChange.add(n),n._dcIndex=0,n._aIndex=0,n._iIndex=0,n._attributeBuffer=null,n._indexBuffer=null,n._tempBoundTextures=[],n}return Ye(e,t),e.prototype.contextChange=function(){var t=this.renderer.gl;dt.PREFER_ENV===X.WEBGL_LEGACY?this.MAX_TEXTURES=1:(this.MAX_TEXTURES=Math.min(t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS),dt.SPRITE_MAX_TEXTURES),this.MAX_TEXTURES=function(t,e){if(0===t)throw new Error("Invalid value of `0` passed to `checkMaxIfStatementsInShader`");for(var n=e.createShader(e.FRAGMENT_SHADER);;){var r=Zn.replace(/%forloop%/gi,Qn(t));if(e.shaderSource(n,r),e.compileShader(n),e.getShaderParameter(n,e.COMPILE_STATUS))break;t=t/2|0}return t}(this.MAX_TEXTURES,t)),this._shader=this.shaderGenerator.generateShader(this.MAX_TEXTURES);for(var e=0;e<this._packedGeometryPoolSize;e++)this._packedGeometries[e]=new this.geometryClass;this.initFlushBuffers()},e.prototype.initFlushBuffers=function(){for(var t=e._drawCallPool,n=e._textureArrayPool,r=this.size/4,i=Math.floor(r/this.MAX_TEXTURES)+1;t.length<r;)t.push(new Br);for(;n.length<i;)n.push(new Nr);for(var o=0;o<this.MAX_TEXTURES;o++)this._tempBoundTextures[o]=null},e.prototype.onPrerender=function(){this._flushId=0},e.prototype.render=function(t){t._texture.valid&&(this._vertexCount+t.vertexData.length/2>this.size&&this.flush(),this._vertexCount+=t.vertexData.length/2,this._indexCount+=t.indices.length,this._bufferedTextures[this._bufferSize]=t._texture.baseTexture,this._bufferedElements[this._bufferSize++]=t)},e.prototype.buildTexturesAndDrawCalls=function(){var t=this._bufferedTextures,n=this.MAX_TEXTURES,r=e._textureArrayPool,i=this.renderer.batch,o=this._tempBoundTextures,s=this.renderer.textureGC.count,a=++Ue._globalBatch,u=0,c=r[0],h=0;i.copyBoundTextures(o,n);for(var l=0;l<this._bufferSize;++l){var d=t[l];t[l]=null,d._batchEnabled!==a&&(c.count>=n&&(i.boundArray(c,o,a,n),this.buildDrawCalls(c,h,l),h=l,c=r[++u],++a),d._batchEnabled=a,d.touched=s,c.elements[c.count++]=d)}c.count>0&&(i.boundArray(c,o,a,n),this.buildDrawCalls(c,h,this._bufferSize),++u,++a);for(l=0;l<o.length;l++)o[l]=null;Ue._globalBatch=a},e.prototype.buildDrawCalls=function(t,n,r){var i=this._bufferedElements,o=this._attributeBuffer,s=this._indexBuffer,a=this.vertexSize,u=e._drawCallPool,c=this._dcIndex,h=this._aIndex,l=this._iIndex,d=u[c];d.start=this._iIndex,d.texArray=t;for(var f=n;f<r;++f){var p=i[f],_=p._texture.baseTexture,m=Tt[_.alphaMode?1:0][p.blendMode];i[f]=null,n<f&&d.blend!==m&&(d.size=l-d.start,n=f,(d=u[++c]).texArray=t,d.start=l),this.packInterleavedGeometry(p,o,s,h,l),h+=p.vertexData.length/2*a,l+=p.indices.length,d.blend=m}n<r&&(d.size=l-d.start,++c),this._dcIndex=c,this._aIndex=h,this._iIndex=l},e.prototype.bindAndClearTexArray=function(t){for(var e=this.renderer.texture,n=0;n<t.count;n++)e.bind(t.elements[n],t.ids[n]),t.elements[n]=null;t.count=0},e.prototype.updateGeometry=function(){var t=this._packedGeometries,e=this._attributeBuffer,n=this._indexBuffer;dt.CAN_UPLOAD_SAME_BUFFER?(t[this._flushId]._buffer.update(e.rawBinaryData),t[this._flushId]._indexBuffer.update(n),this.renderer.geometry.updateBuffers()):(this._packedGeometryPoolSize<=this._flushId&&(this._packedGeometryPoolSize++,t[this._flushId]=new this.geometryClass),t[this._flushId]._buffer.update(e.rawBinaryData),t[this._flushId]._indexBuffer.update(n),this.renderer.geometry.bind(t[this._flushId]),this.renderer.geometry.updateBuffers(),this._flushId++)},e.prototype.drawBatches=function(){for(var t=this._dcIndex,n=this.renderer,r=n.gl,i=n.state,o=e._drawCallPool,s=null,a=0;a<t;a++){var u=o[a],c=u.texArray,h=u.type,l=u.size,d=u.start,f=u.blend;s!==c&&(s=c,this.bindAndClearTexArray(c)),this.state.blendMode=f,i.set(this.state),r.drawElements(h,l,r.UNSIGNED_SHORT,2*d)}},e.prototype.flush=function(){0!==this._vertexCount&&(this._attributeBuffer=this.getAttributeBuffer(this._vertexCount),this._indexBuffer=this.getIndexBuffer(this._indexCount),this._aIndex=0,this._iIndex=0,this._dcIndex=0,this.buildTexturesAndDrawCalls(),this.updateGeometry(),this.drawBatches(),this._bufferSize=0,this._vertexCount=0,this._indexCount=0)},e.prototype.start=function(){this.renderer.state.set(this.state),this.renderer.texture.ensureSamplerType(this.MAX_TEXTURES),this.renderer.shader.bind(this._shader),dt.CAN_UPLOAD_SAME_BUFFER&&this.renderer.geometry.bind(this._packedGeometries[this._flushId])},e.prototype.stop=function(){this.flush()},e.prototype.destroy=function(){for(var e=0;e<this._packedGeometryPoolSize;e++)this._packedGeometries[e]&&this._packedGeometries[e].destroy();this.renderer.off("prerender",this.onPrerender,this),this._aBuffers=null,this._iBuffers=null,this._packedGeometries=null,this._attributeBuffer=null,this._indexBuffer=null,this._shader&&(this._shader.destroy(),this._shader=null),t.prototype.destroy.call(this)},e.prototype.getAttributeBuffer=function(t){var e=Ct(Math.ceil(t/8)),n=Ot(e),r=8*e;this._aBuffers.length<=n&&(this._iBuffers.length=n+1);var i=this._aBuffers[r];return i||(this._aBuffers[r]=i=new jr(r*this.vertexSize*4)),i},e.prototype.getIndexBuffer=function(t){var e=Ct(Math.ceil(t/12)),n=Ot(e),r=12*e;this._iBuffers.length<=n&&(this._iBuffers.length=n+1);var i=this._iBuffers[n];return i||(this._iBuffers[n]=i=new Uint16Array(r)),i},e.prototype.packInterleavedGeometry=function(t,e,n,r,i){for(var o=e.uint32View,s=e.float32View,a=r/this.vertexSize,u=t.uvs,c=t.indices,h=t.vertexData,l=t._texture.baseTexture._batchLocation,d=Math.min(t.worldAlpha,1),f=d<1&&t._texture.baseTexture.alphaMode?Et(t._tintRGB,d):t._tintRGB+(255*d<<24),p=0;p<h.length;p+=2)s[r++]=h[p],s[r++]=h[p+1],s[r++]=u[p],s[r++]=u[p+1],o[r++]=f,s[r++]=l;for(p=0;p<c.length;p++)n[i++]=a+c[p]},e._drawCallPool=[],e._textureArrayPool=[],e}(Sn),Ur=function(){function t(t,e){if(this.vertexSrc=t,this.fragTemplate=e,this.programCache={},this.defaultGroupCache={},e.indexOf("%count%")<0)throw new Error('Fragment template must contain "%count%".');if(e.indexOf("%forloop%")<0)throw new Error('Fragment template must contain "%forloop%".')}return t.prototype.generateShader=function(t){if(!this.programCache[t]){for(var e=new Int32Array(t),n=0;n<t;n++)e[n]=n;this.defaultGroupCache[t]=bn.from({uSamplers:e},!0);var r=this.fragTemplate;r=(r=r.replace(/%count%/gi,""+t)).replace(/%forloop%/gi,this.generateSampleSrc(t)),this.programCache[t]=new nr(this.vertexSrc,r)}var i={tint:new Float32Array([1,1,1,1]),translationMatrix:new ne,default:this.defaultGroupCache[t]};return new rr(this.programCache[t],i)},t.prototype.generateSampleSrc=function(t){var e="";e+="\n",e+="\n";for(var n=0;n<t;n++)n>0&&(e+="\nelse "),n<t-1&&(e+="if(vTextureId < "+n+".5)"),e+="\n{",e+="\n\tcolor = texture2D(uSamplers["+n+"], vTextureCoord);",e+="\n}";return e+="\n",e+="\n"},t}(),Gr=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n._buffer=new hn(null,e,!1),n._indexBuffer=new hn(null,e,!0),n.addAttribute("aVertexPosition",n._buffer,2,!1,tt.FLOAT).addAttribute("aTextureCoord",n._buffer,2,!1,tt.FLOAT).addAttribute("aColor",n._buffer,4,!0,tt.UNSIGNED_BYTE).addAttribute("aTextureId",n._buffer,1,!0,tt.FLOAT).addIndex(n._indexBuffer),n}return Ye(e,t),e}(_n),Hr="precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform vec4 tint;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vTextureId = aTextureId;\n vColor = aColor * tint;\n}\n",Vr="varying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\nuniform sampler2D uSamplers[%count%];\n\nvoid main(void){\n vec4 color;\n %forloop%\n gl_FragColor = color * vColor;\n}\n",zr=function(){function t(){}return t.create=function(t){var e=Object.assign({vertex:Hr,fragment:Vr,geometryClass:Gr,vertexSize:6},t),n=e.vertex,r=e.fragment,i=e.vertexSize,o=e.geometryClass;return function(t){function e(e){var s=t.call(this,e)||this;return s.shaderGenerator=new Ur(n,r),s.geometryClass=o,s.vertexSize=i,s}return Ye(e,t),e}(Fr)},Object.defineProperty(t,"defaultVertexSrc",{get:function(){return Hr},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultFragmentTemplate",{get:function(){return Vr},enumerable:!1,configurable:!0}),t}().create(),Wr={},Xr=function(t){Object.defineProperty(Wr,t,{get:function(){return Nt("6.0.0","PIXI.systems."+t+" has moved to PIXI."+t),$e[t]}})};for(var Jr in $e)Xr(Jr);var Kr={},qr=function(t){Object.defineProperty(Kr,t,{get:function(){return Nt("6.0.0","PIXI.resources."+t+" has moved to PIXI."+t),Cr[t]}})};for(var Jr in Cr)qr(Jr);
  370. /*!
  371. * @pixi/app - v6.1.3
  372. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  373. *
  374. * @pixi/app is licensed under the MIT License.
  375. * http://www.opensource.org/licenses/mit-license
  376. */var $r=function(){function t(e){var n=this;this.stage=new ve,e=Object.assign({forceCanvas:!1},e),this.renderer=function(t){return Rr.create(t)}(e),t._plugins.forEach((function(t){t.init.call(n,e)}))}return t.registerPlugin=function(e){t._plugins.push(e)},t.prototype.render=function(){this.renderer.render(this.stage)},Object.defineProperty(t.prototype,"view",{get:function(){return this.renderer.view},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"screen",{get:function(){return this.renderer.screen},enumerable:!1,configurable:!0}),t.prototype.destroy=function(e,n){var r=this,i=t._plugins.slice(0);i.reverse(),i.forEach((function(t){t.destroy.call(r)})),this.stage.destroy(n),this.stage=null,this.renderer.destroy(e),this.renderer=null},t._plugins=[],t}(),Zr=function(){function t(){}return t.init=function(t){var e=this;Object.defineProperty(this,"resizeTo",{set:function(t){self.removeEventListener("resize",this.queueResize),this._resizeTo=t,t&&(self.addEventListener("resize",this.queueResize),this.resize())},get:function(){return this._resizeTo}}),this.queueResize=function(){e._resizeTo&&(e.cancelResize(),e._resizeId=requestAnimationFrame((function(){return e.resize()})))},this.cancelResize=function(){e._resizeId&&(cancelAnimationFrame(e._resizeId),e._resizeId=null)},this.resize=function(){if(e._resizeTo){var t,n;if(e.cancelResize(),e._resizeTo===self)t=self.innerWidth,n=self.innerHeight;else{var r=e._resizeTo;t=r.clientWidth,n=r.clientHeight}e.renderer.resize(t,n)}},this._resizeId=null,this._resizeTo=null,this.resizeTo=t.resizeTo||null},t.destroy=function(){self.removeEventListener("resize",this.queueResize),this.cancelResize(),this.cancelResize=null,this.queueResize=null,this.resizeTo=null,this.resize=null},t}();$r.registerPlugin(Zr);
  377. /*!
  378. * @pixi/extract - v6.1.3
  379. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  380. *
  381. * @pixi/extract is licensed under the MIT License.
  382. * http://www.opensource.org/licenses/mit-license
  383. */
  384. var Qr=new Kt,ti=function(){function t(t){this.renderer=t}return t.prototype.image=function(t,e,n){var r=new Image;return r.src=this.base64(t,e,n),r},t.prototype.base64=function(t,e,n){return this.canvas(t).toDataURL(e,n)},t.prototype.canvas=function(e){var n,r,i,o=this.renderer,s=!1,a=!1;e&&(e instanceof sn?i=e:(i=this.renderer.generateTexture(e),a=!0)),i?(n=i.baseTexture.resolution,r=i.frame,s=!1,o.renderTexture.bind(i)):(n=this.renderer.resolution,s=!0,(r=Qr).width=this.renderer.width,r.height=this.renderer.height,o.renderTexture.bind(null));var u=Math.floor(r.width*n+1e-4),c=Math.floor(r.height*n+1e-4),h=new Gt(u,c,1),l=new Uint8Array(4*u*c),d=o.gl;d.readPixels(r.x*n,r.y*n,u,c,d.RGBA,d.UNSIGNED_BYTE,l);var f=h.context.getImageData(0,0,u,c);if(t.arrayPostDivide(l,f.data),h.context.putImageData(f,0,0),s){var p=new Gt(h.width,h.height,1);p.context.scale(1,-1),p.context.drawImage(h.canvas,0,-c),h.destroy(),h=p}return a&&i.destroy(!0),h.canvas},t.prototype.pixels=function(e){var n,r,i,o=this.renderer,s=!1;e&&(e instanceof sn?i=e:(i=this.renderer.generateTexture(e),s=!0)),i?(n=i.baseTexture.resolution,r=i.frame,o.renderTexture.bind(i)):(n=o.resolution,(r=Qr).width=o.width,r.height=o.height,o.renderTexture.bind(null));var a=r.width*n,u=r.height*n,c=new Uint8Array(4*a*u),h=o.gl;return h.readPixels(r.x*n,r.y*n,a,u,h.RGBA,h.UNSIGNED_BYTE,c),s&&i.destroy(!0),t.arrayPostDivide(c,c),c},t.prototype.destroy=function(){this.renderer=null},t.arrayPostDivide=function(t,e){for(var n=0;n<t.length;n+=4){var r=e[n+3]=t[n+3];0!==r?(e[n]=Math.round(Math.min(255*t[n]/r,255)),e[n+1]=Math.round(Math.min(255*t[n+1]/r,255)),e[n+2]=Math.round(Math.min(255*t[n+2]/r,255))):(e[n]=t[n],e[n+1]=t[n+1],e[n+2]=t[n+2])}},t}(),ei=function(){function t(t,e,n){void 0===e&&(e=!1),this._fn=t,this._once=e,this._thisArg=n,this._next=this._prev=this._owner=null}return t.prototype.detach=function(){return null!==this._owner&&(this._owner.detach(this),!0)},t}();function ni(t,e){return t._head?(t._tail._next=e,e._prev=t._tail,t._tail=e):(t._head=e,t._tail=e),e._owner=t,e}var ri=function(){function t(){this._head=this._tail=void 0}return t.prototype.handlers=function(t){void 0===t&&(t=!1);var e=this._head;if(t)return!!e;for(var n=[];e;)n.push(e),e=e._next;return n},t.prototype.has=function(t){if(!(t instanceof ei))throw new Error("MiniSignal#has(): First arg must be a SignalBinding object.");return t._owner===this},t.prototype.dispatch=function(){for(var t=arguments,e=[],n=0;n<arguments.length;n++)e[n]=t[n];var r=this._head;if(!r)return!1;for(;r;)r._once&&this.detach(r),r._fn.apply(r._thisArg,e),r=r._next;return!0},t.prototype.add=function(t,e){if(void 0===e&&(e=null),"function"!=typeof t)throw new Error("MiniSignal#add(): First arg must be a Function.");return ni(this,new ei(t,!1,e))},t.prototype.once=function(t,e){if(void 0===e&&(e=null),"function"!=typeof t)throw new Error("MiniSignal#once(): First arg must be a Function.");return ni(this,new ei(t,!0,e))},t.prototype.detach=function(t){if(!(t instanceof ei))throw new Error("MiniSignal#detach(): First arg must be a SignalBinding object.");return t._owner!==this||(t._prev&&(t._prev._next=t._next),t._next&&(t._next._prev=t._prev),t===this._head?(this._head=t._next,null===t._next&&(this._tail=null)):t===this._tail&&(this._tail=t._prev,this._tail._next=null),t._owner=null),this},t.prototype.detachAll=function(){var t=this._head;if(!t)return this;for(this._head=this._tail=null;t;)t._owner=null,t=t._next;return this},t}();function ii(t,e){e=e||{};for(var n={key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},r=n.parser[e.strictMode?"strict":"loose"].exec(t),i={},o=14;o--;)i[n.key[o]]=r[o]||"";return i[n.q.name]={},i[n.key[12]].replace(n.q.parser,(function(t,e,r){e&&(i[n.q.name][e]=r)})),i}var oi=!(!self.XDomainRequest||"withCredentials"in new XMLHttpRequest),si=null;function ai(){}function ui(t,e,n){e&&0===e.indexOf(".")&&(e=e.substring(1)),e&&(t[e]=n)}function ci(t){return t.toString().replace("object ","")}var hi=function(){function t(e,n,r){if(this._dequeue=ai,this._onLoadBinding=null,this._elementTimer=0,this._boundComplete=null,this._boundOnError=null,this._boundOnProgress=null,this._boundOnTimeout=null,this._boundXhrOnError=null,this._boundXhrOnTimeout=null,this._boundXhrOnAbort=null,this._boundXhrOnLoad=null,"string"!=typeof e||"string"!=typeof n)throw new Error("Both name and url are required for constructing a resource.");r=r||{},this._flags=0,this._setFlag(t.STATUS_FLAGS.DATA_URL,0===n.indexOf("data:")),this.name=e,this.url=n,this.extension=this._getExtension(),this.data=null,this.crossOrigin=!0===r.crossOrigin?"anonymous":r.crossOrigin,this.timeout=r.timeout||0,this.loadType=r.loadType||this._determineLoadType(),this.xhrType=r.xhrType,this.metadata=r.metadata||{},this.error=null,this.xhr=null,this.children=[],this.type=t.TYPE.UNKNOWN,this.progressChunk=0,this._dequeue=ai,this._onLoadBinding=null,this._elementTimer=0,this._boundComplete=this.complete.bind(this),this._boundOnError=this._onError.bind(this),this._boundOnProgress=this._onProgress.bind(this),this._boundOnTimeout=this._onTimeout.bind(this),this._boundXhrOnError=this._xhrOnError.bind(this),this._boundXhrOnTimeout=this._xhrOnTimeout.bind(this),this._boundXhrOnAbort=this._xhrOnAbort.bind(this),this._boundXhrOnLoad=this._xhrOnLoad.bind(this),this.onStart=new ri,this.onProgress=new ri,this.onComplete=new ri,this.onAfterMiddleware=new ri}return t.setExtensionLoadType=function(e,n){ui(t._loadTypeMap,e,n)},t.setExtensionXhrType=function(e,n){ui(t._xhrTypeMap,e,n)},Object.defineProperty(t.prototype,"isDataUrl",{get:function(){return this._hasFlag(t.STATUS_FLAGS.DATA_URL)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isComplete",{get:function(){return this._hasFlag(t.STATUS_FLAGS.COMPLETE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLoading",{get:function(){return this._hasFlag(t.STATUS_FLAGS.LOADING)},enumerable:!1,configurable:!0}),t.prototype.complete=function(){this._clearEvents(),this._finish()},t.prototype.abort=function(e){if(!this.error){if(this.error=new Error(e),this._clearEvents(),this.xhr)this.xhr.abort();else if(this.xdr)this.xdr.abort();else if(this.data)if(this.data.src)this.data.src=t.EMPTY_GIF;else for(;this.data.firstChild;)this.data.removeChild(this.data.firstChild);this._finish()}},t.prototype.load=function(e){var n=this;if(!this.isLoading)if(this.isComplete)e&&setTimeout((function(){return e(n)}),1);else switch(e&&this.onComplete.once(e),this._setFlag(t.STATUS_FLAGS.LOADING,!0),this.onStart.dispatch(this),!1!==this.crossOrigin&&"string"==typeof this.crossOrigin||(this.crossOrigin=this._determineCrossOrigin(this.url)),this.loadType){case t.LOAD_TYPE.IMAGE:this.type=t.TYPE.IMAGE,this._loadElement("image");break;case t.LOAD_TYPE.AUDIO:this.type=t.TYPE.AUDIO,this._loadSourceElement("audio");break;case t.LOAD_TYPE.VIDEO:this.type=t.TYPE.VIDEO,this._loadSourceElement("video");break;case t.LOAD_TYPE.XHR:default:oi&&this.crossOrigin?this._loadXdr():this._loadXhr()}},t.prototype._hasFlag=function(t){return 0!=(this._flags&t)},t.prototype._setFlag=function(t,e){this._flags=e?this._flags|t:this._flags&~t},t.prototype._clearEvents=function(){clearTimeout(this._elementTimer),this.data&&this.data.removeEventListener&&(this.data.removeEventListener("error",this._boundOnError,!1),this.data.removeEventListener("load",this._boundComplete,!1),this.data.removeEventListener("progress",this._boundOnProgress,!1),this.data.removeEventListener("canplaythrough",this._boundComplete,!1)),this.xhr&&(this.xhr.removeEventListener?(this.xhr.removeEventListener("error",this._boundXhrOnError,!1),this.xhr.removeEventListener("timeout",this._boundXhrOnTimeout,!1),this.xhr.removeEventListener("abort",this._boundXhrOnAbort,!1),this.xhr.removeEventListener("progress",this._boundOnProgress,!1),this.xhr.removeEventListener("load",this._boundXhrOnLoad,!1)):(this.xhr.onerror=null,this.xhr.ontimeout=null,this.xhr.onprogress=null,this.xhr.onload=null))},t.prototype._finish=function(){if(this.isComplete)throw new Error("Complete called again for an already completed resource.");this._setFlag(t.STATUS_FLAGS.COMPLETE,!0),this._setFlag(t.STATUS_FLAGS.LOADING,!1),this.onComplete.dispatch(this)},t.prototype._loadElement=function(t){this.metadata.loadElement?this.data=this.metadata.loadElement:"image"===t&&void 0!==self.Image?this.data=new Image:this.data=document.createElement(t),this.crossOrigin&&(this.data.crossOrigin=this.crossOrigin),this.metadata.skipSource||(this.data.src=this.url),this.data.addEventListener("error",this._boundOnError,!1),this.data.addEventListener("load",this._boundComplete,!1),this.data.addEventListener("progress",this._boundOnProgress,!1),this.timeout&&(this._elementTimer=setTimeout(this._boundOnTimeout,this.timeout))},t.prototype._loadSourceElement=function(t){if(this.metadata.loadElement?this.data=this.metadata.loadElement:"audio"===t&&void 0!==self.Audio?this.data=new Audio:this.data=document.createElement(t),null!==this.data){if(this.crossOrigin&&(this.data.crossOrigin=this.crossOrigin),!this.metadata.skipSource)if(navigator.isCocoonJS)this.data.src=Array.isArray(this.url)?this.url[0]:this.url;else if(Array.isArray(this.url))for(var e=this.metadata.mimeType,n=0;n<this.url.length;++n)this.data.appendChild(this._createSource(t,this.url[n],Array.isArray(e)?e[n]:e));else{e=this.metadata.mimeType;this.data.appendChild(this._createSource(t,this.url,Array.isArray(e)?e[0]:e))}this.data.addEventListener("error",this._boundOnError,!1),this.data.addEventListener("load",this._boundComplete,!1),this.data.addEventListener("progress",this._boundOnProgress,!1),this.data.addEventListener("canplaythrough",this._boundComplete,!1),this.data.load(),this.timeout&&(this._elementTimer=setTimeout(this._boundOnTimeout,this.timeout))}else this.abort("Unsupported element: "+t)},t.prototype._loadXhr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var e=this.xhr=new XMLHttpRequest;e.open("GET",this.url,!0),e.timeout=this.timeout,this.xhrType===t.XHR_RESPONSE_TYPE.JSON||this.xhrType===t.XHR_RESPONSE_TYPE.DOCUMENT?e.responseType=t.XHR_RESPONSE_TYPE.TEXT:e.responseType=this.xhrType,e.addEventListener("error",this._boundXhrOnError,!1),e.addEventListener("timeout",this._boundXhrOnTimeout,!1),e.addEventListener("abort",this._boundXhrOnAbort,!1),e.addEventListener("progress",this._boundOnProgress,!1),e.addEventListener("load",this._boundXhrOnLoad,!1),e.send()},t.prototype._loadXdr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var t=this.xhr=new self.XDomainRequest;t.timeout=this.timeout||5e3,t.onerror=this._boundXhrOnError,t.ontimeout=this._boundXhrOnTimeout,t.onprogress=this._boundOnProgress,t.onload=this._boundXhrOnLoad,t.open("GET",this.url,!0),setTimeout((function(){return t.send()}),1)},t.prototype._createSource=function(t,e,n){n||(n=t+"/"+this._getExtension(e));var r=document.createElement("source");return r.src=e,r.type=n,r},t.prototype._onError=function(t){this.abort("Failed to load element using: "+t.target.nodeName)},t.prototype._onProgress=function(t){t&&t.lengthComputable&&this.onProgress.dispatch(this,t.loaded/t.total)},t.prototype._onTimeout=function(){this.abort("Load timed out.")},t.prototype._xhrOnError=function(){var t=this.xhr;this.abort(ci(t)+" Request failed. Status: "+t.status+', text: "'+t.statusText+'"')},t.prototype._xhrOnTimeout=function(){var t=this.xhr;this.abort(ci(t)+" Request timed out.")},t.prototype._xhrOnAbort=function(){var t=this.xhr;this.abort(ci(t)+" Request was aborted by the user.")},t.prototype._xhrOnLoad=function(){var e=this.xhr,n="",r=void 0===e.status?200:e.status;if(""!==e.responseType&&"text"!==e.responseType&&void 0!==e.responseType||(n=e.responseText),0===r&&(n.length>0||e.responseType===t.XHR_RESPONSE_TYPE.BUFFER)?r=200:1223===r&&(r=204),2===(r/100|0)){if(this.xhrType===t.XHR_RESPONSE_TYPE.TEXT)this.data=n,this.type=t.TYPE.TEXT;else if(this.xhrType===t.XHR_RESPONSE_TYPE.JSON)try{this.data=JSON.parse(n),this.type=t.TYPE.JSON}catch(t){return void this.abort("Error trying to parse loaded json: "+t)}else if(this.xhrType===t.XHR_RESPONSE_TYPE.DOCUMENT)try{if(self.DOMParser){var i=new DOMParser;this.data=i.parseFromString(n,"text/xml")}else{var o=document.createElement("div");o.innerHTML=n,this.data=o}this.type=t.TYPE.XML}catch(t){return void this.abort("Error trying to parse loaded xml: "+t)}else this.data=e.response||n;this.complete()}else this.abort("["+e.status+"] "+e.statusText+": "+e.responseURL)},t.prototype._determineCrossOrigin=function(t,e){if(0===t.indexOf("data:"))return"";if(self.origin!==self.location.origin)return"anonymous";e=e||self.location,si||(si=document.createElement("a")),si.href=t;var n=ii(si.href,{strictMode:!0}),r=!n.port&&""===e.port||n.port===e.port,i=n.protocol?n.protocol+":":"";return n.host===e.hostname&&r&&i===e.protocol?"":"anonymous"},t.prototype._determineXhrType=function(){return t._xhrTypeMap[this.extension]||t.XHR_RESPONSE_TYPE.TEXT},t.prototype._determineLoadType=function(){return t._loadTypeMap[this.extension]||t.LOAD_TYPE.XHR},t.prototype._getExtension=function(t){void 0===t&&(t=this.url);var e="";if(this.isDataUrl){var n=t.indexOf("/");e=t.substring(n+1,t.indexOf(";",n))}else{var r=t.indexOf("?"),i=t.indexOf("#"),o=Math.min(r>-1?r:t.length,i>-1?i:t.length);e=(t=t.substring(0,o)).substring(t.lastIndexOf(".")+1)}return e.toLowerCase()},t.prototype._getMimeFromXhrType=function(e){switch(e){case t.XHR_RESPONSE_TYPE.BUFFER:return"application/octet-binary";case t.XHR_RESPONSE_TYPE.BLOB:return"application/blob";case t.XHR_RESPONSE_TYPE.DOCUMENT:return"application/xml";case t.XHR_RESPONSE_TYPE.JSON:return"application/json";case t.XHR_RESPONSE_TYPE.DEFAULT:case t.XHR_RESPONSE_TYPE.TEXT:default:return"text/plain"}},t}();function li(){}function di(t){return function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];if(null===t)throw new Error("Callback was already called.");var i=t;t=null,i.apply(this,n)}}!function(t){!function(t){t[t.NONE=0]="NONE",t[t.DATA_URL=1]="DATA_URL",t[t.COMPLETE=2]="COMPLETE",t[t.LOADING=4]="LOADING"}(t.STATUS_FLAGS||(t.STATUS_FLAGS={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.JSON=1]="JSON",t[t.XML=2]="XML",t[t.IMAGE=3]="IMAGE",t[t.AUDIO=4]="AUDIO",t[t.VIDEO=5]="VIDEO",t[t.TEXT=6]="TEXT"}(t.TYPE||(t.TYPE={})),function(t){t[t.XHR=1]="XHR",t[t.IMAGE=2]="IMAGE",t[t.AUDIO=3]="AUDIO",t[t.VIDEO=4]="VIDEO"}(t.LOAD_TYPE||(t.LOAD_TYPE={})),function(t){t.DEFAULT="text",t.BUFFER="arraybuffer",t.BLOB="blob",t.DOCUMENT="document",t.JSON="json",t.TEXT="text"}(t.XHR_RESPONSE_TYPE||(t.XHR_RESPONSE_TYPE={})),t._loadTypeMap={gif:t.LOAD_TYPE.IMAGE,png:t.LOAD_TYPE.IMAGE,bmp:t.LOAD_TYPE.IMAGE,jpg:t.LOAD_TYPE.IMAGE,jpeg:t.LOAD_TYPE.IMAGE,tif:t.LOAD_TYPE.IMAGE,tiff:t.LOAD_TYPE.IMAGE,webp:t.LOAD_TYPE.IMAGE,tga:t.LOAD_TYPE.IMAGE,svg:t.LOAD_TYPE.IMAGE,"svg+xml":t.LOAD_TYPE.IMAGE,mp3:t.LOAD_TYPE.AUDIO,ogg:t.LOAD_TYPE.AUDIO,wav:t.LOAD_TYPE.AUDIO,mp4:t.LOAD_TYPE.VIDEO,webm:t.LOAD_TYPE.VIDEO},t._xhrTypeMap={xhtml:t.XHR_RESPONSE_TYPE.DOCUMENT,html:t.XHR_RESPONSE_TYPE.DOCUMENT,htm:t.XHR_RESPONSE_TYPE.DOCUMENT,xml:t.XHR_RESPONSE_TYPE.DOCUMENT,tmx:t.XHR_RESPONSE_TYPE.DOCUMENT,svg:t.XHR_RESPONSE_TYPE.DOCUMENT,tsx:t.XHR_RESPONSE_TYPE.DOCUMENT,gif:t.XHR_RESPONSE_TYPE.BLOB,png:t.XHR_RESPONSE_TYPE.BLOB,bmp:t.XHR_RESPONSE_TYPE.BLOB,jpg:t.XHR_RESPONSE_TYPE.BLOB,jpeg:t.XHR_RESPONSE_TYPE.BLOB,tif:t.XHR_RESPONSE_TYPE.BLOB,tiff:t.XHR_RESPONSE_TYPE.BLOB,webp:t.XHR_RESPONSE_TYPE.BLOB,tga:t.XHR_RESPONSE_TYPE.BLOB,json:t.XHR_RESPONSE_TYPE.JSON,text:t.XHR_RESPONSE_TYPE.TEXT,txt:t.XHR_RESPONSE_TYPE.TEXT,ttf:t.XHR_RESPONSE_TYPE.BUFFER,otf:t.XHR_RESPONSE_TYPE.BUFFER},t.EMPTY_GIF="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="}(hi||(hi={}));var fi=function(t,e){this.data=t,this.callback=e},pi=function(){function t(t,e){var n=this;if(void 0===e&&(e=1),this.workers=0,this.saturated=li,this.unsaturated=li,this.empty=li,this.drain=li,this.error=li,this.started=!1,this.paused=!1,this._tasks=[],this._insert=function(t,e,r){if(r&&"function"!=typeof r)throw new Error("task callback must be a function");if(n.started=!0,null==t&&n.idle())setTimeout((function(){return n.drain()}),1);else{var i=new fi(t,"function"==typeof r?r:li);e?n._tasks.unshift(i):n._tasks.push(i),setTimeout(n.process,1)}},this.process=function(){for(;!n.paused&&n.workers<n.concurrency&&n._tasks.length;){var t=n._tasks.shift();0===n._tasks.length&&n.empty(),n.workers+=1,n.workers===n.concurrency&&n.saturated(),n._worker(t.data,di(n._next(t)))}},this._worker=t,0===e)throw new Error("Concurrency must not be zero");this.concurrency=e,this.buffer=e/4}return t.prototype._next=function(t){var e=this;return function(){for(var n=arguments,r=[],i=0;i<arguments.length;i++)r[i]=n[i];e.workers-=1,t.callback.apply(t,r),null!=r[0]&&e.error(r[0],t.data),e.workers<=e.concurrency-e.buffer&&e.unsaturated(),e.idle()&&e.drain(),e.process()}},t.prototype.push=function(t,e){this._insert(t,!1,e)},t.prototype.kill=function(){this.workers=0,this.drain=li,this.started=!1,this._tasks=[]},t.prototype.unshift=function(t,e){this._insert(t,!0,e)},t.prototype.length=function(){return this._tasks.length},t.prototype.running=function(){return this.workers},t.prototype.idle=function(){return this._tasks.length+this.workers===0},t.prototype.pause=function(){!0!==this.paused&&(this.paused=!0)},t.prototype.resume=function(){if(!1!==this.paused){this.paused=!1;for(var t=1;t<=this.concurrency;t++)this.process()}},t.eachSeries=function(t,e,n,r){var i=0,o=t.length;!function s(a){a||i===o?n&&n(a):r?setTimeout((function(){e(t[i++],s)}),1):e(t[i++],s)}()},t.queue=function(e,n){return new t(e,n)},t}(),_i=/(#[\w-]+)?$/,mi=function(){function t(e,n){var r=this;void 0===e&&(e=""),void 0===n&&(n=10),this._beforeMiddleware=[],this._afterMiddleware=[],this._resourcesParsing=[],this._boundLoadResource=function(t,e){return r._loadResource(t,e)},this.resources={},this.baseUrl=e,this.progress=0,this.loading=!1,this.defaultQueryString="",this._beforeMiddleware=[],this._afterMiddleware=[],this._resourcesParsing=[],this._boundLoadResource=function(t,e){return r._loadResource(t,e)},this._queue=pi.queue(this._boundLoadResource,n),this._queue.pause(),this.resources={},this.onProgress=new ri,this.onError=new ri,this.onLoad=new ri,this.onStart=new ri,this.onComplete=new ri;for(var i=0;i<t._plugins.length;++i){var o=t._plugins[i],s=o.pre,a=o.use;s&&this.pre(s),a&&this.use(a)}this._protected=!1}return t.prototype._add=function(t,e,n,r){if(this.loading&&(!n||!n.parentResource))throw new Error("Cannot add resources while the loader is running.");if(this.resources[t])throw new Error('Resource named "'+t+'" already exists.');if(e=this._prepareUrl(e),this.resources[t]=new hi(t,e,n),"function"==typeof r&&this.resources[t].onAfterMiddleware.once(r),this.loading){for(var i=n.parentResource,o=[],s=0;s<i.children.length;++s)i.children[s].isComplete||o.push(i.children[s]);var a=i.progressChunk*(o.length+1)/(o.length+2);i.children.push(this.resources[t]),i.progressChunk=a;for(s=0;s<o.length;++s)o[s].progressChunk=a;this.resources[t].progressChunk=a}return this._queue.push(this.resources[t]),this},t.prototype.pre=function(t){return this._beforeMiddleware.push(t),this},t.prototype.use=function(t){return this._afterMiddleware.push(t),this},t.prototype.reset=function(){for(var t in this.progress=0,this.loading=!1,this._queue.kill(),this._queue.pause(),this.resources){var e=this.resources[t];e._onLoadBinding&&e._onLoadBinding.detach(),e.isLoading&&e.abort("loader reset")}return this.resources={},this},t.prototype.load=function(t){if("function"==typeof t&&this.onComplete.once(t),this.loading)return this;if(this._queue.idle())this._onStart(),this._onComplete();else{for(var e=100/this._queue._tasks.length,n=0;n<this._queue._tasks.length;++n)this._queue._tasks[n].data.progressChunk=e;this._onStart(),this._queue.resume()}return this},Object.defineProperty(t.prototype,"concurrency",{get:function(){return this._queue.concurrency},set:function(t){this._queue.concurrency=t},enumerable:!1,configurable:!0}),t.prototype._prepareUrl=function(t){var e,n=ii(t,{strictMode:!0});if(e=n.protocol||!n.path||0===t.indexOf("//")?t:this.baseUrl.length&&this.baseUrl.lastIndexOf("/")!==this.baseUrl.length-1&&"/"!==t.charAt(0)?this.baseUrl+"/"+t:this.baseUrl+t,this.defaultQueryString){var r=_i.exec(e)[0];-1!==(e=e.substr(0,e.length-r.length)).indexOf("?")?e+="&"+this.defaultQueryString:e+="?"+this.defaultQueryString,e+=r}return e},t.prototype._loadResource=function(t,e){var n=this;t._dequeue=e,pi.eachSeries(this._beforeMiddleware,(function(e,r){e.call(n,t,(function(){r(t.isComplete?{}:null)}))}),(function(){t.isComplete?n._onLoad(t):(t._onLoadBinding=t.onComplete.once(n._onLoad,n),t.load())}),!0)},t.prototype._onStart=function(){this.progress=0,this.loading=!0,this.onStart.dispatch(this)},t.prototype._onComplete=function(){this.progress=100,this.loading=!1,this.onComplete.dispatch(this,this.resources)},t.prototype._onLoad=function(t){var e=this;t._onLoadBinding=null,this._resourcesParsing.push(t),t._dequeue(),pi.eachSeries(this._afterMiddleware,(function(n,r){n.call(e,t,r)}),(function(){t.onAfterMiddleware.dispatch(t),e.progress=Math.min(100,e.progress+t.progressChunk),e.onProgress.dispatch(e,t),t.error?e.onError.dispatch(t.error,e,t):e.onLoad.dispatch(e,t),e._resourcesParsing.splice(e._resourcesParsing.indexOf(t),1),e._queue.idle()&&0===e._resourcesParsing.length&&e._onComplete()}),!0)},t.prototype.destroy=function(){this._protected||this.reset()},Object.defineProperty(t,"shared",{get:function(){var e=t._shared;return e||((e=new t)._protected=!0,t._shared=e),e},enumerable:!1,configurable:!0}),t.registerPlugin=function(e){return t._plugins.push(e),e.add&&e.add(),t},t._plugins=[],t}();mi.prototype.add=function(t,e,n,r){if(Array.isArray(t)){for(var i=0;i<t.length;++i)this.add(t[i]);return this}if("object"==typeof t&&(n=t,r=e||n.callback||n.onComplete,e=n.url,t=n.name||n.key||n.url),"string"!=typeof e&&(r=n,n=e,e=t),"string"!=typeof e)throw new Error("No url passed to add resource to loader.");return"function"==typeof n&&(r=n,n=null),this._add(t,e,n,r)};var yi=function(){function t(){}return t.init=function(t){t=Object.assign({sharedLoader:!1},t),this.loader=t.sharedLoader?mi.shared:new mi},t.destroy=function(){this.loader&&(this.loader.destroy(),this.loader=null)},t}(),vi=function(){function t(){}return t.add=function(){hi.setExtensionLoadType("svg",hi.LOAD_TYPE.XHR),hi.setExtensionXhrType("svg",hi.XHR_RESPONSE_TYPE.TEXT)},t.use=function(t,e){if(!t.data||t.type!==hi.TYPE.IMAGE&&"svg"!==t.extension)e();else{var n=t.data,r=t.url,i=t.name,o=t.metadata;rn.fromLoader(n,r,i,o).then((function(n){t.texture=n,e()})).catch(e)}},t}();var bi,gi,wi=self.URL||self.webkitURL;mi.registerPlugin({use:function(t,e){if(t.data){if(t.xhr&&t.xhrType===hi.XHR_RESPONSE_TYPE.BLOB)if(self.Blob&&"string"!=typeof t.data){if(0===t.data.type.indexOf("image")){var n=wi.createObjectURL(t.data);return t.blob=t.data,t.data=new Image,t.data.src=n,t.type=hi.TYPE.IMAGE,void(t.data.onload=function(){wi.revokeObjectURL(n),t.data.onload=null,e()})}}else{var r=t.xhr.getResponseHeader("content-type");if(r&&0===r.indexOf("image"))return t.data=new Image,t.data.src="data:"+r+";base64,"+function(t){for(var e="",n=0;n<t.length;){for(var r=[0,0,0],i=[0,0,0,0],o=0;o<r.length;++o)n<t.length?r[o]=255&t.charCodeAt(n++):r[o]=0;switch(i[0]=r[0]>>2,i[1]=(3&r[0])<<4|r[1]>>4,i[2]=(15&r[1])<<2|r[2]>>6,i[3]=63&r[2],n-(t.length-1)){case 2:i[3]=64,i[2]=64;break;case 1:i[3]=64}for(o=0;o<i.length;++o)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(i[o])}return e}(t.xhr.responseText),t.type=hi.TYPE.IMAGE,void(t.data.onload=function(){t.data.onload=null,e()})}e()}else e()}}),mi.registerPlugin(vi),function(t){t[t.COMPRESSED_RGB_S3TC_DXT1_EXT=33776]="COMPRESSED_RGB_S3TC_DXT1_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777]="COMPRESSED_RGBA_S3TC_DXT1_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778]="COMPRESSED_RGBA_S3TC_DXT3_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779]="COMPRESSED_RGBA_S3TC_DXT5_EXT",t[t.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT=35917]="COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT",t[t.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT=35918]="COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT",t[t.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT=35919]="COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT",t[t.COMPRESSED_SRGB_S3TC_DXT1_EXT=35916]="COMPRESSED_SRGB_S3TC_DXT1_EXT",t[t.COMPRESSED_R11_EAC=37488]="COMPRESSED_R11_EAC",t[t.COMPRESSED_SIGNED_R11_EAC=37489]="COMPRESSED_SIGNED_R11_EAC",t[t.COMPRESSED_RG11_EAC=37490]="COMPRESSED_RG11_EAC",t[t.COMPRESSED_SIGNED_RG11_EAC=37491]="COMPRESSED_SIGNED_RG11_EAC",t[t.COMPRESSED_RGB8_ETC2=37492]="COMPRESSED_RGB8_ETC2",t[t.COMPRESSED_RGBA8_ETC2_EAC=37496]="COMPRESSED_RGBA8_ETC2_EAC",t[t.COMPRESSED_SRGB8_ETC2=37493]="COMPRESSED_SRGB8_ETC2",t[t.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC=37497]="COMPRESSED_SRGB8_ALPHA8_ETC2_EAC",t[t.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2=37494]="COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2",t[t.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2=37495]="COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2",t[t.COMPRESSED_RGB_PVRTC_4BPPV1_IMG=35840]="COMPRESSED_RGB_PVRTC_4BPPV1_IMG",t[t.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG=35842]="COMPRESSED_RGBA_PVRTC_4BPPV1_IMG",t[t.COMPRESSED_RGB_PVRTC_2BPPV1_IMG=35841]="COMPRESSED_RGB_PVRTC_2BPPV1_IMG",t[t.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG=35843]="COMPRESSED_RGBA_PVRTC_2BPPV1_IMG",t[t.COMPRESSED_RGB_ETC1_WEBGL=36196]="COMPRESSED_RGB_ETC1_WEBGL",t[t.COMPRESSED_RGB_ATC_WEBGL=35986]="COMPRESSED_RGB_ATC_WEBGL",t[t.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL=35986]="COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL",t[t.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL=34798]="COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL"}(gi||(gi={}));var xi=((bi={})[gi.COMPRESSED_RGB_S3TC_DXT1_EXT]=.5,bi[gi.COMPRESSED_RGBA_S3TC_DXT1_EXT]=.5,bi[gi.COMPRESSED_RGBA_S3TC_DXT3_EXT]=1,bi[gi.COMPRESSED_RGBA_S3TC_DXT5_EXT]=1,bi[gi.COMPRESSED_SRGB_S3TC_DXT1_EXT]=.5,bi[gi.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT]=.5,bi[gi.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT]=1,bi[gi.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT]=1,bi[gi.COMPRESSED_R11_EAC]=.5,bi[gi.COMPRESSED_SIGNED_R11_EAC]=.5,bi[gi.COMPRESSED_RG11_EAC]=1,bi[gi.COMPRESSED_SIGNED_RG11_EAC]=1,bi[gi.COMPRESSED_RGB8_ETC2]=.5,bi[gi.COMPRESSED_RGBA8_ETC2_EAC]=1,bi[gi.COMPRESSED_SRGB8_ETC2]=.5,bi[gi.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC]=1,bi[gi.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2]=.5,bi[gi.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2]=.5,bi[gi.COMPRESSED_RGB_PVRTC_4BPPV1_IMG]=.5,bi[gi.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG]=.5,bi[gi.COMPRESSED_RGB_PVRTC_2BPPV1_IMG]=.25,bi[gi.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG]=.25,bi[gi.COMPRESSED_RGB_ETC1_WEBGL]=.5,bi[gi.COMPRESSED_RGB_ATC_WEBGL]=.5,bi[gi.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL]=1,bi[gi.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL]=1,bi),Mi=function(t,e){return(Mi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};
  385. /*! *****************************************************************************
  386. Copyright (c) Microsoft Corporation. All rights reserved.
  387. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  388. this file except in compliance with the License. You may obtain a copy of the
  389. License at http://www.apache.org/licenses/LICENSE-2.0
  390. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  391. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  392. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  393. MERCHANTABLITY OR NON-INFRINGEMENT.
  394. See the Apache Version 2.0 License for specific language governing permissions
  395. and limitations under the License.
  396. ***************************************************************************** */function Si(t,e){function n(){this.constructor=t}Mi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function Ti(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}var Ai,Ei,Li=function(t){function e(n,r){var i=t.call(this,n,r)||this;return i.format=r.format,i.levels=r.levels||1,i._width=r.width,i._height=r.height,i._extension=e._formatToExtension(i.format),(r.levelBuffers||i.buffer)&&(i._levelBuffers=r.levelBuffers||e._createLevelBuffers(n instanceof Uint8Array?n:i.buffer.uint8View,i.format,i.levels,4,4,i.width,i.height)),i}return Si(e,t),e.prototype.upload=function(t,e,n){var r=t.gl;if(!t.context.extensions[this._extension])throw new Error(this._extension+" textures are not supported on the current machine");if(!this._levelBuffers)return!1;for(var i=0,o=this.levels;i<o;i++){var s=this._levelBuffers[i],a=s.levelID,u=s.levelWidth,c=s.levelHeight,h=s.levelBuffer;r.compressedTexImage2D(r.TEXTURE_2D,a,this.format,u,c,0,h)}return!0},e.prototype.onBlobLoaded=function(){this._levelBuffers=e._createLevelBuffers(this.buffer.uint8View,this.format,this.levels,4,4,this.width,this.height)},e._formatToExtension=function(t){if(t>=33776&&t<=33779)return"s3tc";if(t>=37488&&t<=37497)return"etc";if(t>=35840&&t<=35843)return"pvrtc";if(t>=36196)return"etc1";if(t>=35986&&t<=34798)return"atc";throw new Error("Invalid (compressed) texture format given!")},e._createLevelBuffers=function(t,e,n,r,i,o,s){for(var a=new Array(n),u=t.byteOffset,c=o,h=s,l=c+r-1&~(r-1),d=h+i-1&~(i-1),f=l*d*xi[e],p=0;p<n;p++)a[p]={levelID:p,levelWidth:n>1?c:l,levelHeight:n>1?h:d,levelBuffer:new Uint8Array(t.buffer,u,f)},u+=f,f=(l=(c=c>>1||1)+r-1&~(r-1))*(d=(h=h>>1||1)+i-1&~(i-1))*xi[e];return a},e}(function(t){function e(e,n){void 0===n&&(n={width:1,height:1,autoLoad:!0});var r,i,o=this;return"string"==typeof e?(r=e,i=new Uint8Array):(r=null,i=e),(o=t.call(this,i,n)||this).origin=r,o.buffer=i?new jr(i):null,o.origin&&!1!==n.autoLoad&&o.load(),i&&i.length&&(o.loaded=!0,o.onBlobLoaded(o.buffer.rawBinaryData)),o}return Si(e,t),e.prototype.onBlobLoaded=function(t){},e.prototype.load=function(){return t=this,e=void 0,r=function(){var t;return Ti(this,(function(e){switch(e.label){case 0:return[4,fetch(this.origin)];case 1:return[4,e.sent().blob()];case 2:return[4,e.sent().arrayBuffer()];case 3:return t=e.sent(),this.data=new Uint32Array(t),this.buffer=new jr(t),this.loaded=!0,this.onBlobLoaded(t),this.update(),[2,this]}}))},new((n=Promise)||(n=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){t.done?i(t.value):new n((function(e){e(t.value)})).then(s,a)}u((r=r.apply(t,e||[])).next())}));var t,e,n,r},e}(je)),Di=function(){function t(){}return t.use=function(e,n){var r=e.data;if(e.type===hi.TYPE.JSON&&r&&r.cacheID&&r.textures){for(var i=r.textures,o=void 0,s=void 0,a=0,u=i.length;a<u;a++){var c=i[a],h=c.src,l=c.format;if(l||(s=h),t.textureFormats[l]){o=h;break}}if(!(o=o||s))return void n(new Error("Cannot load compressed-textures in "+e.url+", make sure you provide a fallback"));if(o===e.url)return void n(new Error("URL of compressed texture cannot be the same as the manifest's URL"));var d={crossOrigin:e.crossOrigin,metadata:e.metadata.imageMetadata,parentResource:e},f=vt.resolve(e.url.replace(this.baseUrl,""),o),p=r.cacheID;this.add(p,f,d,(function(t){if(t.error)n(t.error);else{var r=t.texture,i=void 0===r?null:r,o=t.textures,s=void 0===o?{}:o;Object.assign(e,{texture:i,textures:s}),n()}}))}else n()},t.add=function(){var e=document.createElement("canvas").getContext("webgl");if(e){var n={s3tc:e.getExtension("WEBGL_compressed_texture_s3tc"),s3tc_sRGB:e.getExtension("WEBGL_compressed_texture_s3tc_srgb"),etc:e.getExtension("WEBGL_compressed_texture_etc"),etc1:e.getExtension("WEBGL_compressed_texture_etc1"),pvrtc:e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),atc:e.getExtension("WEBGL_compressed_texture_atc"),astc:e.getExtension("WEBGL_compressed_texture_astc")};for(var r in t.textureExtensions=n,t.textureFormats={},n){var i=n[r];i&&Object.assign(t.textureFormats,Object.getPrototypeOf(i))}}else console.warn("WebGL not available for compressed textures. Silently failing.")},t}();function Ci(t,e,n){var r={textures:{},texture:null};return e?(e.map((function(t){return new rn(new Ue(t,Object.assign({mipmap:it.OFF,alphaMode:ot.NO_PREMULTIPLIED_ALPHA},n)))})).forEach((function(e,n){var i=e.baseTexture,o=t+"-"+(n+1);Ue.addToCache(i,o),rn.addToCache(e,o),0===n&&(Ue.addToCache(i,t),rn.addToCache(e,t),r.texture=e),r.textures[o]=e})),r):r}hi.setExtensionXhrType("dds",hi.XHR_RESPONSE_TYPE.BUFFER);var ki,Oi,Ii=3,Pi=4,Ri=7,Yi=19,Bi=2,Ni=0,ji=1,Fi=2,Ui=3;!function(t){t[t.DXGI_FORMAT_UNKNOWN=0]="DXGI_FORMAT_UNKNOWN",t[t.DXGI_FORMAT_R32G32B32A32_TYPELESS=1]="DXGI_FORMAT_R32G32B32A32_TYPELESS",t[t.DXGI_FORMAT_R32G32B32A32_FLOAT=2]="DXGI_FORMAT_R32G32B32A32_FLOAT",t[t.DXGI_FORMAT_R32G32B32A32_UINT=3]="DXGI_FORMAT_R32G32B32A32_UINT",t[t.DXGI_FORMAT_R32G32B32A32_SINT=4]="DXGI_FORMAT_R32G32B32A32_SINT",t[t.DXGI_FORMAT_R32G32B32_TYPELESS=5]="DXGI_FORMAT_R32G32B32_TYPELESS",t[t.DXGI_FORMAT_R32G32B32_FLOAT=6]="DXGI_FORMAT_R32G32B32_FLOAT",t[t.DXGI_FORMAT_R32G32B32_UINT=7]="DXGI_FORMAT_R32G32B32_UINT",t[t.DXGI_FORMAT_R32G32B32_SINT=8]="DXGI_FORMAT_R32G32B32_SINT",t[t.DXGI_FORMAT_R16G16B16A16_TYPELESS=9]="DXGI_FORMAT_R16G16B16A16_TYPELESS",t[t.DXGI_FORMAT_R16G16B16A16_FLOAT=10]="DXGI_FORMAT_R16G16B16A16_FLOAT",t[t.DXGI_FORMAT_R16G16B16A16_UNORM=11]="DXGI_FORMAT_R16G16B16A16_UNORM",t[t.DXGI_FORMAT_R16G16B16A16_UINT=12]="DXGI_FORMAT_R16G16B16A16_UINT",t[t.DXGI_FORMAT_R16G16B16A16_SNORM=13]="DXGI_FORMAT_R16G16B16A16_SNORM",t[t.DXGI_FORMAT_R16G16B16A16_SINT=14]="DXGI_FORMAT_R16G16B16A16_SINT",t[t.DXGI_FORMAT_R32G32_TYPELESS=15]="DXGI_FORMAT_R32G32_TYPELESS",t[t.DXGI_FORMAT_R32G32_FLOAT=16]="DXGI_FORMAT_R32G32_FLOAT",t[t.DXGI_FORMAT_R32G32_UINT=17]="DXGI_FORMAT_R32G32_UINT",t[t.DXGI_FORMAT_R32G32_SINT=18]="DXGI_FORMAT_R32G32_SINT",t[t.DXGI_FORMAT_R32G8X24_TYPELESS=19]="DXGI_FORMAT_R32G8X24_TYPELESS",t[t.DXGI_FORMAT_D32_FLOAT_S8X24_UINT=20]="DXGI_FORMAT_D32_FLOAT_S8X24_UINT",t[t.DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS=21]="DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS",t[t.DXGI_FORMAT_X32_TYPELESS_G8X24_UINT=22]="DXGI_FORMAT_X32_TYPELESS_G8X24_UINT",t[t.DXGI_FORMAT_R10G10B10A2_TYPELESS=23]="DXGI_FORMAT_R10G10B10A2_TYPELESS",t[t.DXGI_FORMAT_R10G10B10A2_UNORM=24]="DXGI_FORMAT_R10G10B10A2_UNORM",t[t.DXGI_FORMAT_R10G10B10A2_UINT=25]="DXGI_FORMAT_R10G10B10A2_UINT",t[t.DXGI_FORMAT_R11G11B10_FLOAT=26]="DXGI_FORMAT_R11G11B10_FLOAT",t[t.DXGI_FORMAT_R8G8B8A8_TYPELESS=27]="DXGI_FORMAT_R8G8B8A8_TYPELESS",t[t.DXGI_FORMAT_R8G8B8A8_UNORM=28]="DXGI_FORMAT_R8G8B8A8_UNORM",t[t.DXGI_FORMAT_R8G8B8A8_UNORM_SRGB=29]="DXGI_FORMAT_R8G8B8A8_UNORM_SRGB",t[t.DXGI_FORMAT_R8G8B8A8_UINT=30]="DXGI_FORMAT_R8G8B8A8_UINT",t[t.DXGI_FORMAT_R8G8B8A8_SNORM=31]="DXGI_FORMAT_R8G8B8A8_SNORM",t[t.DXGI_FORMAT_R8G8B8A8_SINT=32]="DXGI_FORMAT_R8G8B8A8_SINT",t[t.DXGI_FORMAT_R16G16_TYPELESS=33]="DXGI_FORMAT_R16G16_TYPELESS",t[t.DXGI_FORMAT_R16G16_FLOAT=34]="DXGI_FORMAT_R16G16_FLOAT",t[t.DXGI_FORMAT_R16G16_UNORM=35]="DXGI_FORMAT_R16G16_UNORM",t[t.DXGI_FORMAT_R16G16_UINT=36]="DXGI_FORMAT_R16G16_UINT",t[t.DXGI_FORMAT_R16G16_SNORM=37]="DXGI_FORMAT_R16G16_SNORM",t[t.DXGI_FORMAT_R16G16_SINT=38]="DXGI_FORMAT_R16G16_SINT",t[t.DXGI_FORMAT_R32_TYPELESS=39]="DXGI_FORMAT_R32_TYPELESS",t[t.DXGI_FORMAT_D32_FLOAT=40]="DXGI_FORMAT_D32_FLOAT",t[t.DXGI_FORMAT_R32_FLOAT=41]="DXGI_FORMAT_R32_FLOAT",t[t.DXGI_FORMAT_R32_UINT=42]="DXGI_FORMAT_R32_UINT",t[t.DXGI_FORMAT_R32_SINT=43]="DXGI_FORMAT_R32_SINT",t[t.DXGI_FORMAT_R24G8_TYPELESS=44]="DXGI_FORMAT_R24G8_TYPELESS",t[t.DXGI_FORMAT_D24_UNORM_S8_UINT=45]="DXGI_FORMAT_D24_UNORM_S8_UINT",t[t.DXGI_FORMAT_R24_UNORM_X8_TYPELESS=46]="DXGI_FORMAT_R24_UNORM_X8_TYPELESS",t[t.DXGI_FORMAT_X24_TYPELESS_G8_UINT=47]="DXGI_FORMAT_X24_TYPELESS_G8_UINT",t[t.DXGI_FORMAT_R8G8_TYPELESS=48]="DXGI_FORMAT_R8G8_TYPELESS",t[t.DXGI_FORMAT_R8G8_UNORM=49]="DXGI_FORMAT_R8G8_UNORM",t[t.DXGI_FORMAT_R8G8_UINT=50]="DXGI_FORMAT_R8G8_UINT",t[t.DXGI_FORMAT_R8G8_SNORM=51]="DXGI_FORMAT_R8G8_SNORM",t[t.DXGI_FORMAT_R8G8_SINT=52]="DXGI_FORMAT_R8G8_SINT",t[t.DXGI_FORMAT_R16_TYPELESS=53]="DXGI_FORMAT_R16_TYPELESS",t[t.DXGI_FORMAT_R16_FLOAT=54]="DXGI_FORMAT_R16_FLOAT",t[t.DXGI_FORMAT_D16_UNORM=55]="DXGI_FORMAT_D16_UNORM",t[t.DXGI_FORMAT_R16_UNORM=56]="DXGI_FORMAT_R16_UNORM",t[t.DXGI_FORMAT_R16_UINT=57]="DXGI_FORMAT_R16_UINT",t[t.DXGI_FORMAT_R16_SNORM=58]="DXGI_FORMAT_R16_SNORM",t[t.DXGI_FORMAT_R16_SINT=59]="DXGI_FORMAT_R16_SINT",t[t.DXGI_FORMAT_R8_TYPELESS=60]="DXGI_FORMAT_R8_TYPELESS",t[t.DXGI_FORMAT_R8_UNORM=61]="DXGI_FORMAT_R8_UNORM",t[t.DXGI_FORMAT_R8_UINT=62]="DXGI_FORMAT_R8_UINT",t[t.DXGI_FORMAT_R8_SNORM=63]="DXGI_FORMAT_R8_SNORM",t[t.DXGI_FORMAT_R8_SINT=64]="DXGI_FORMAT_R8_SINT",t[t.DXGI_FORMAT_A8_UNORM=65]="DXGI_FORMAT_A8_UNORM",t[t.DXGI_FORMAT_R1_UNORM=66]="DXGI_FORMAT_R1_UNORM",t[t.DXGI_FORMAT_R9G9B9E5_SHAREDEXP=67]="DXGI_FORMAT_R9G9B9E5_SHAREDEXP",t[t.DXGI_FORMAT_R8G8_B8G8_UNORM=68]="DXGI_FORMAT_R8G8_B8G8_UNORM",t[t.DXGI_FORMAT_G8R8_G8B8_UNORM=69]="DXGI_FORMAT_G8R8_G8B8_UNORM",t[t.DXGI_FORMAT_BC1_TYPELESS=70]="DXGI_FORMAT_BC1_TYPELESS",t[t.DXGI_FORMAT_BC1_UNORM=71]="DXGI_FORMAT_BC1_UNORM",t[t.DXGI_FORMAT_BC1_UNORM_SRGB=72]="DXGI_FORMAT_BC1_UNORM_SRGB",t[t.DXGI_FORMAT_BC2_TYPELESS=73]="DXGI_FORMAT_BC2_TYPELESS",t[t.DXGI_FORMAT_BC2_UNORM=74]="DXGI_FORMAT_BC2_UNORM",t[t.DXGI_FORMAT_BC2_UNORM_SRGB=75]="DXGI_FORMAT_BC2_UNORM_SRGB",t[t.DXGI_FORMAT_BC3_TYPELESS=76]="DXGI_FORMAT_BC3_TYPELESS",t[t.DXGI_FORMAT_BC3_UNORM=77]="DXGI_FORMAT_BC3_UNORM",t[t.DXGI_FORMAT_BC3_UNORM_SRGB=78]="DXGI_FORMAT_BC3_UNORM_SRGB",t[t.DXGI_FORMAT_BC4_TYPELESS=79]="DXGI_FORMAT_BC4_TYPELESS",t[t.DXGI_FORMAT_BC4_UNORM=80]="DXGI_FORMAT_BC4_UNORM",t[t.DXGI_FORMAT_BC4_SNORM=81]="DXGI_FORMAT_BC4_SNORM",t[t.DXGI_FORMAT_BC5_TYPELESS=82]="DXGI_FORMAT_BC5_TYPELESS",t[t.DXGI_FORMAT_BC5_UNORM=83]="DXGI_FORMAT_BC5_UNORM",t[t.DXGI_FORMAT_BC5_SNORM=84]="DXGI_FORMAT_BC5_SNORM",t[t.DXGI_FORMAT_B5G6R5_UNORM=85]="DXGI_FORMAT_B5G6R5_UNORM",t[t.DXGI_FORMAT_B5G5R5A1_UNORM=86]="DXGI_FORMAT_B5G5R5A1_UNORM",t[t.DXGI_FORMAT_B8G8R8A8_UNORM=87]="DXGI_FORMAT_B8G8R8A8_UNORM",t[t.DXGI_FORMAT_B8G8R8X8_UNORM=88]="DXGI_FORMAT_B8G8R8X8_UNORM",t[t.DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM=89]="DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM",t[t.DXGI_FORMAT_B8G8R8A8_TYPELESS=90]="DXGI_FORMAT_B8G8R8A8_TYPELESS",t[t.DXGI_FORMAT_B8G8R8A8_UNORM_SRGB=91]="DXGI_FORMAT_B8G8R8A8_UNORM_SRGB",t[t.DXGI_FORMAT_B8G8R8X8_TYPELESS=92]="DXGI_FORMAT_B8G8R8X8_TYPELESS",t[t.DXGI_FORMAT_B8G8R8X8_UNORM_SRGB=93]="DXGI_FORMAT_B8G8R8X8_UNORM_SRGB",t[t.DXGI_FORMAT_BC6H_TYPELESS=94]="DXGI_FORMAT_BC6H_TYPELESS",t[t.DXGI_FORMAT_BC6H_UF16=95]="DXGI_FORMAT_BC6H_UF16",t[t.DXGI_FORMAT_BC6H_SF16=96]="DXGI_FORMAT_BC6H_SF16",t[t.DXGI_FORMAT_BC7_TYPELESS=97]="DXGI_FORMAT_BC7_TYPELESS",t[t.DXGI_FORMAT_BC7_UNORM=98]="DXGI_FORMAT_BC7_UNORM",t[t.DXGI_FORMAT_BC7_UNORM_SRGB=99]="DXGI_FORMAT_BC7_UNORM_SRGB",t[t.DXGI_FORMAT_AYUV=100]="DXGI_FORMAT_AYUV",t[t.DXGI_FORMAT_Y410=101]="DXGI_FORMAT_Y410",t[t.DXGI_FORMAT_Y416=102]="DXGI_FORMAT_Y416",t[t.DXGI_FORMAT_NV12=103]="DXGI_FORMAT_NV12",t[t.DXGI_FORMAT_P010=104]="DXGI_FORMAT_P010",t[t.DXGI_FORMAT_P016=105]="DXGI_FORMAT_P016",t[t.DXGI_FORMAT_420_OPAQUE=106]="DXGI_FORMAT_420_OPAQUE",t[t.DXGI_FORMAT_YUY2=107]="DXGI_FORMAT_YUY2",t[t.DXGI_FORMAT_Y210=108]="DXGI_FORMAT_Y210",t[t.DXGI_FORMAT_Y216=109]="DXGI_FORMAT_Y216",t[t.DXGI_FORMAT_NV11=110]="DXGI_FORMAT_NV11",t[t.DXGI_FORMAT_AI44=111]="DXGI_FORMAT_AI44",t[t.DXGI_FORMAT_IA44=112]="DXGI_FORMAT_IA44",t[t.DXGI_FORMAT_P8=113]="DXGI_FORMAT_P8",t[t.DXGI_FORMAT_A8P8=114]="DXGI_FORMAT_A8P8",t[t.DXGI_FORMAT_B4G4R4A4_UNORM=115]="DXGI_FORMAT_B4G4R4A4_UNORM",t[t.DXGI_FORMAT_P208=116]="DXGI_FORMAT_P208",t[t.DXGI_FORMAT_V208=117]="DXGI_FORMAT_V208",t[t.DXGI_FORMAT_V408=118]="DXGI_FORMAT_V408",t[t.DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE=119]="DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE",t[t.DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE=120]="DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE",t[t.DXGI_FORMAT_FORCE_UINT=121]="DXGI_FORMAT_FORCE_UINT"}(ki||(ki={})),function(t){t[t.DDS_DIMENSION_TEXTURE1D=2]="DDS_DIMENSION_TEXTURE1D",t[t.DDS_DIMENSION_TEXTURE2D=3]="DDS_DIMENSION_TEXTURE2D",t[t.DDS_DIMENSION_TEXTURE3D=6]="DDS_DIMENSION_TEXTURE3D"}(Oi||(Oi={}));var Gi,Hi,Vi,zi=((Ai={})[827611204]=gi.COMPRESSED_RGBA_S3TC_DXT1_EXT,Ai[861165636]=gi.COMPRESSED_RGBA_S3TC_DXT3_EXT,Ai[894720068]=gi.COMPRESSED_RGBA_S3TC_DXT5_EXT,Ai),Wi=((Ei={})[ki.DXGI_FORMAT_BC1_TYPELESS]=gi.COMPRESSED_RGBA_S3TC_DXT1_EXT,Ei[ki.DXGI_FORMAT_BC1_UNORM]=gi.COMPRESSED_RGBA_S3TC_DXT1_EXT,Ei[ki.DXGI_FORMAT_BC2_TYPELESS]=gi.COMPRESSED_RGBA_S3TC_DXT3_EXT,Ei[ki.DXGI_FORMAT_BC2_UNORM]=gi.COMPRESSED_RGBA_S3TC_DXT3_EXT,Ei[ki.DXGI_FORMAT_BC3_TYPELESS]=gi.COMPRESSED_RGBA_S3TC_DXT5_EXT,Ei[ki.DXGI_FORMAT_BC3_UNORM]=gi.COMPRESSED_RGBA_S3TC_DXT5_EXT,Ei[ki.DXGI_FORMAT_BC1_UNORM_SRGB]=gi.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT,Ei[ki.DXGI_FORMAT_BC2_UNORM_SRGB]=gi.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT,Ei[ki.DXGI_FORMAT_BC3_UNORM_SRGB]=gi.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT,Ei),Xi=function(){function t(){}return t.use=function(e,n){if("dds"===e.extension&&e.data)try{Object.assign(e,Ci(e.name||e.url,t.parse(e.data),e.metadata))}catch(t){return void n(t)}n()},t.parse=function(t){var e=new Uint32Array(t);if(542327876!==e[0])throw new Error("Invalid DDS file magic word");var n=new Uint32Array(t,0,124/Uint32Array.BYTES_PER_ELEMENT),r=n[Ii],i=n[Pi],o=n[Ri],s=new Uint32Array(t,Yi*Uint32Array.BYTES_PER_ELEMENT,32/Uint32Array.BYTES_PER_ELEMENT),a=s[1];if(4&a){var u=s[Bi];if(808540228!==u){var c=zi[u],h=new Uint8Array(t,128);return[new Li(h,{format:c,width:i,height:r,levels:o})]}var l=new Uint32Array(e.buffer,128,20/Uint32Array.BYTES_PER_ELEMENT),d=l[Ni],f=l[ji],p=l[Fi],_=l[Ui],m=Wi[d];if(void 0===m)throw new Error("DDSLoader cannot parse texture data with DXGI format "+d);if(4===p)throw new Error("DDSLoader does not support cubemap textures");if(f===Oi.DDS_DIMENSION_TEXTURE3D)throw new Error("DDSLoader does not supported 3D texture data");var y=new Array;if(1===_)y.push(new Uint8Array(t,148));else{for(var v=xi[m],b=0,g=i,w=r,x=0;x<o;x++){b+=Math.max(1,g+3&-4)*Math.max(1,w+3&-4)*v,g>>>=1,w>>>=1}var M=148;for(x=0;x<_;x++)y.push(new Uint8Array(t,M,b)),M+=b}return y.map((function(t){return new Li(t,{format:m,width:i,height:r,levels:o})}))}if(64&a)throw new Error("DDSLoader does not support uncompressed texture data.");if(512&a)throw new Error("DDSLoader does not supported YUV uncompressed texture data.");if(131072&a)throw new Error("DDSLoader does not support single-channel (lumninance) texture data!");if(2&a)throw new Error("DDSLoader does not support single-channel (alpha) texture data!");throw new Error("DDSLoader failed to load a texture file due to an unknown reason!")},t}();hi.setExtensionXhrType("ktx",hi.XHR_RESPONSE_TYPE.BUFFER);var Ji=[171,75,84,88,32,49,49,187,13,10,26,10],Ki=12,qi=16,$i=24,Zi=28,Qi=36,to=40,eo=44,no=48,ro=52,io=56,oo=60,so=((Gi={})[tt.UNSIGNED_BYTE]=1,Gi[tt.UNSIGNED_SHORT]=2,Gi[tt.FLOAT]=4,Gi[tt.HALF_FLOAT]=8,Gi),ao=((Hi={})[Z.RGBA]=4,Hi[Z.RGB]=3,Hi[Z.LUMINANCE]=1,Hi[Z.LUMINANCE_ALPHA]=2,Hi[Z.ALPHA]=1,Hi),uo=((Vi={})[tt.UNSIGNED_SHORT_4_4_4_4]=2,Vi[tt.UNSIGNED_SHORT_5_5_5_1]=2,Vi[tt.UNSIGNED_SHORT_5_6_5]=2,Vi),co=function(){function t(){}return t.use=function(e,n){if("ktx"===e.extension&&e.data)try{var r=e.name||e.url;Object.assign(e,Ci(r,t.parse(r,e.data),e.metadata))}catch(t){return void n(t)}n()},t.parse=function(e,n){var r=new DataView(n);if(!t.validate(e,r))return null;var i=67305985===r.getUint32(Ki,!0),o=r.getUint32(qi,i),s=r.getUint32($i,i),a=r.getUint32(Zi,i),u=r.getUint32(Qi,i),c=r.getUint32(to,i)||1,h=r.getUint32(eo,i)||1,l=r.getUint32(no,i)||1,d=r.getUint32(ro,i),f=r.getUint32(io,i),p=r.getUint32(oo,i);if(0===c||1!==h)throw new Error("Only 2D textures are supported");if(1!==d)throw new Error("CubeTextures are not supported by KTXLoader yet!");if(1!==l)throw new Error("WebGL does not support array textures");var _,m=u+3&-4,y=c+3&-4,v=new Array(l),b=u*c;if(0===o&&(b=m*y),void 0===(_=0!==o?so[o]?so[o]*ao[s]:uo[o]:xi[a]))throw new Error("Unable to resolve the pixel format stored in the *.ktx file!");for(var g=b*_,w=u,x=c,M=m,S=y,T=64+p,A=0;A<f;A++){for(var E=r.getUint32(T,i),L=T+4,D=0;D<l;D++){var C=v[D];C||(C=v[D]=new Array(f)),C[A]={levelID:A,levelWidth:f>1?w:M,levelHeight:f>1?x:S,levelBuffer:new Uint8Array(n,L,g)},L+=g}T=(T+=E+4)%4!=0?T+4-T%4:T,g=(M=(w=w>>1||1)+4-1&-4)*(S=(x=x>>1||1)+4-1&-4)*_}if(0!==o)throw new Error("TODO: Uncompressed");return v.map((function(t){return new Li(null,{format:a,width:u,height:c,levels:f,levelBuffers:t})}))},t.validate=function(t,e){for(var n=0;n<Ji.length;n++)if(e.getUint8(n)!==Ji[n])return console.error(t+" is not a valid *.ktx file!"),!1;return!0},t}(),ho=function(t,e){return(ho=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function lo(t,e){function n(){this.constructor=t}ho(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}!function(t){function e(e,n,r,i){void 0===e&&(e=1500),void 0===r&&(r=16384),void 0===i&&(i=!1);var o=t.call(this)||this;return r>16384&&(r=16384),o._properties=[!1,!0,!1,!1,!1],o._maxSize=e,o._batchSize=r,o._buffers=null,o._bufferUpdateIDs=[],o._updateID=0,o.interactiveChildren=!1,o.blendMode=q.NORMAL,o.autoResize=i,o.roundPixels=!0,o.baseTexture=null,o.setProperties(n),o._tint=0,o.tintRgb=new Float32Array(4),o.tint=16777215,o}lo(e,t),e.prototype.setProperties=function(t){t&&(this._properties[0]="vertices"in t||"scale"in t?!!t.vertices||!!t.scale:this._properties[0],this._properties[1]="position"in t?!!t.position:this._properties[1],this._properties[2]="rotation"in t?!!t.rotation:this._properties[2],this._properties[3]="uvs"in t?!!t.uvs:this._properties[3],this._properties[4]="tint"in t||"alpha"in t?!!t.tint||!!t.alpha:this._properties[4])},e.prototype.updateTransform=function(){this.displayObjectUpdateTransform()},Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,xt(t,this.tintRgb)},enumerable:!1,configurable:!0}),e.prototype.render=function(t){var e=this;this.visible&&!(this.worldAlpha<=0)&&this.children.length&&this.renderable&&(this.baseTexture||(this.baseTexture=this.children[0]._texture.baseTexture,this.baseTexture.valid||this.baseTexture.once("update",(function(){return e.onChildrenChange(0)}))),t.batch.setObjectRenderer(t.plugins.particle),t.plugins.particle.render(this))},e.prototype.onChildrenChange=function(t){for(var e=Math.floor(t/this._batchSize);this._bufferUpdateIDs.length<e;)this._bufferUpdateIDs.push(0);this._bufferUpdateIDs[e]=++this._updateID},e.prototype.dispose=function(){if(this._buffers){for(var t=0;t<this._buffers.length;++t)this._buffers[t].destroy();this._buffers=null}},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e),this.dispose(),this._properties=null,this._buffers=null,this._bufferUpdateIDs=null}}(ve);var fo,po,_o=function(){function t(t,e,n){this.geometry=new _n,this.indexBuffer=null,this.size=n,this.dynamicProperties=[],this.staticProperties=[];for(var r=0;r<t.length;++r){var i=t[r];i={attributeName:i.attributeName,size:i.size,uploadFunction:i.uploadFunction,type:i.type||tt.FLOAT,offset:i.offset},e[r]?this.dynamicProperties.push(i):this.staticProperties.push(i)}this.staticStride=0,this.staticBuffer=null,this.staticData=null,this.staticDataUint32=null,this.dynamicStride=0,this.dynamicBuffer=null,this.dynamicData=null,this.dynamicDataUint32=null,this._updateID=0,this.initBuffers()}return t.prototype.initBuffers=function(){var t=this.geometry,e=0;this.indexBuffer=new hn(function(t,e){void 0===e&&(e=null);var n=6*t;if((e=e||new Uint16Array(n)).length!==n)throw new Error("Out buffer length is incorrect, got "+e.length+" and expected "+n);for(var r=0,i=0;r<n;r+=6,i+=4)e[r+0]=i+0,e[r+1]=i+1,e[r+2]=i+2,e[r+3]=i+0,e[r+4]=i+2,e[r+5]=i+3;return e}(this.size),!0,!0),t.addIndex(this.indexBuffer),this.dynamicStride=0;for(var n=0;n<this.dynamicProperties.length;++n){(s=this.dynamicProperties[n]).offset=e,e+=s.size,this.dynamicStride+=s.size}var r=new ArrayBuffer(this.size*this.dynamicStride*4*4);this.dynamicData=new Float32Array(r),this.dynamicDataUint32=new Uint32Array(r),this.dynamicBuffer=new hn(this.dynamicData,!1,!1);var i=0;this.staticStride=0;for(n=0;n<this.staticProperties.length;++n){(s=this.staticProperties[n]).offset=i,i+=s.size,this.staticStride+=s.size}var o=new ArrayBuffer(this.size*this.staticStride*4*4);this.staticData=new Float32Array(o),this.staticDataUint32=new Uint32Array(o),this.staticBuffer=new hn(this.staticData,!0,!1);for(n=0;n<this.dynamicProperties.length;++n){var s=this.dynamicProperties[n];t.addAttribute(s.attributeName,this.dynamicBuffer,0,s.type===tt.UNSIGNED_BYTE,s.type,4*this.dynamicStride,4*s.offset)}for(n=0;n<this.staticProperties.length;++n){s=this.staticProperties[n];t.addAttribute(s.attributeName,this.staticBuffer,0,s.type===tt.UNSIGNED_BYTE,s.type,4*this.staticStride,4*s.offset)}},t.prototype.uploadDynamic=function(t,e,n){for(var r=0;r<this.dynamicProperties.length;r++){var i=this.dynamicProperties[r];i.uploadFunction(t,e,n,i.type===tt.UNSIGNED_BYTE?this.dynamicDataUint32:this.dynamicData,this.dynamicStride,i.offset)}this.dynamicBuffer._updateID++},t.prototype.uploadStatic=function(t,e,n){for(var r=0;r<this.staticProperties.length;r++){var i=this.staticProperties[r];i.uploadFunction(t,e,n,i.type===tt.UNSIGNED_BYTE?this.staticDataUint32:this.staticData,this.staticStride,i.offset)}this.staticBuffer._updateID++},t.prototype.destroy=function(){this.indexBuffer=null,this.dynamicProperties=null,this.dynamicBuffer=null,this.dynamicData=null,this.dynamicDataUint32=null,this.staticProperties=null,this.staticBuffer=null,this.staticData=null,this.staticDataUint32=null,this.geometry.destroy()},t}(),mo=function(t){function e(e){var n=t.call(this,e)||this;return n.shader=null,n.properties=null,n.tempMatrix=new ne,n.properties=[{attributeName:"aVertexPosition",size:2,uploadFunction:n.uploadVertices,offset:0},{attributeName:"aPositionCoord",size:2,uploadFunction:n.uploadPosition,offset:0},{attributeName:"aRotation",size:1,uploadFunction:n.uploadRotation,offset:0},{attributeName:"aTextureCoord",size:2,uploadFunction:n.uploadUvs,offset:0},{attributeName:"aColor",size:1,type:tt.UNSIGNED_BYTE,uploadFunction:n.uploadTint,offset:0}],n.shader=rr.from("attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\n\nattribute vec2 aPositionCoord;\nattribute float aRotation;\n\nuniform mat3 translationMatrix;\nuniform vec4 uColor;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nvoid main(void){\n float x = (aVertexPosition.x) * cos(aRotation) - (aVertexPosition.y) * sin(aRotation);\n float y = (aVertexPosition.x) * sin(aRotation) + (aVertexPosition.y) * cos(aRotation);\n\n vec2 v = vec2(x, y);\n v = v + aPositionCoord;\n\n gl_Position = vec4((translationMatrix * vec3(v, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vColor = aColor * uColor;\n}\n","varying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n vec4 color = texture2D(uSampler, vTextureCoord) * vColor;\n gl_FragColor = color;\n}",{}),n.state=ir.for2d(),n}return lo(e,t),e.prototype.render=function(t){var e=t.children,n=t._maxSize,r=t._batchSize,i=this.renderer,o=e.length;if(0!==o){o>n&&!t.autoResize&&(o=n);var s=t._buffers;s||(s=t._buffers=this.generateBuffers(t));var a=e[0]._texture.baseTexture;this.state.blendMode=At(t.blendMode,a.alphaMode),i.state.set(this.state);var u,c,h,l,d=i.gl,f=t.worldTransform.copyTo(this.tempMatrix);f.prepend(i.globalUniforms.uniforms.projectionMatrix),this.shader.uniforms.translationMatrix=f.toArray(!0),this.shader.uniforms.uColor=(u=t.tintRgb,c=t.worldAlpha,h=this.shader.uniforms.uColor,l=a.alphaMode,h=h||new Float32Array(4),l||void 0===l?(h[0]=u[0]*c,h[1]=u[1]*c,h[2]=u[2]*c):(h[0]=u[0],h[1]=u[1],h[2]=u[2]),h[3]=c,h),this.shader.uniforms.uSampler=a,this.renderer.shader.bind(this.shader);for(var p=!1,_=0,m=0;_<o;_+=r,m+=1){var y=o-_;y>r&&(y=r),m>=s.length&&s.push(this._generateOneMoreBuffer(t));var v=s[m];v.uploadDynamic(e,_,y);var b=t._bufferUpdateIDs[m]||0;(p=p||v._updateID<b)&&(v._updateID=t._updateID,v.uploadStatic(e,_,y)),i.geometry.bind(v.geometry),d.drawElements(d.TRIANGLES,6*y,d.UNSIGNED_SHORT,0)}}},e.prototype.generateBuffers=function(t){for(var e=[],n=t._maxSize,r=t._batchSize,i=t._properties,o=0;o<n;o+=r)e.push(new _o(this.properties,i,r));return e},e.prototype._generateOneMoreBuffer=function(t){var e=t._batchSize,n=t._properties;return new _o(this.properties,n,e)},e.prototype.uploadVertices=function(t,e,n,r,i,o){for(var s=0,a=0,u=0,c=0,h=0;h<n;++h){var l=t[e+h],d=l._texture,f=l.scale.x,p=l.scale.y,_=d.trim,m=d.orig;_?(s=(a=_.x-l.anchor.x*m.width)+_.width,u=(c=_.y-l.anchor.y*m.height)+_.height):(s=m.width*(1-l.anchor.x),a=m.width*-l.anchor.x,u=m.height*(1-l.anchor.y),c=m.height*-l.anchor.y),r[o]=a*f,r[o+1]=c*p,r[o+i]=s*f,r[o+i+1]=c*p,r[o+2*i]=s*f,r[o+2*i+1]=u*p,r[o+3*i]=a*f,r[o+3*i+1]=u*p,o+=4*i}},e.prototype.uploadPosition=function(t,e,n,r,i,o){for(var s=0;s<n;s++){var a=t[e+s].position;r[o]=a.x,r[o+1]=a.y,r[o+i]=a.x,r[o+i+1]=a.y,r[o+2*i]=a.x,r[o+2*i+1]=a.y,r[o+3*i]=a.x,r[o+3*i+1]=a.y,o+=4*i}},e.prototype.uploadRotation=function(t,e,n,r,i,o){for(var s=0;s<n;s++){var a=t[e+s].rotation;r[o]=a,r[o+i]=a,r[o+2*i]=a,r[o+3*i]=a,o+=4*i}},e.prototype.uploadUvs=function(t,e,n,r,i,o){for(var s=0;s<n;++s){var a=t[e+s]._texture._uvs;a?(r[o]=a.x0,r[o+1]=a.y0,r[o+i]=a.x1,r[o+i+1]=a.y1,r[o+2*i]=a.x2,r[o+2*i+1]=a.y2,r[o+3*i]=a.x3,r[o+3*i+1]=a.y3,o+=4*i):(r[o]=0,r[o+1]=0,r[o+i]=0,r[o+i+1]=0,r[o+2*i]=0,r[o+2*i+1]=0,r[o+3*i]=0,r[o+3*i+1]=0,o+=4*i)}},e.prototype.uploadTint=function(t,e,n,r,i,o){for(var s=0;s<n;++s){var a=t[e+s],u=a._texture.baseTexture.alphaMode>0,c=a.alpha,h=c<1&&u?Et(a._tintRGB,c):a._tintRGB+(255*c<<24);r[o]=h,r[o+i]=h,r[o+2*i]=h,r[o+3*i]=h,o+=4*i}},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.shader&&(this.shader.destroy(),this.shader=null),this.tempMatrix=null},e}(Sn);!function(t){t.MITER="miter",t.BEVEL="bevel",t.ROUND="round"}(fo||(fo={})),function(t){t.BUTT="butt",t.ROUND="round",t.SQUARE="square"}(po||(po={}));var yo={adaptive:!0,maxLength:10,minSegments:8,maxSegments:2048,epsilon:1e-4,_segmentsCount:function(t,e){if(void 0===e&&(e=20),!this.adaptive||!t||isNaN(t))return e;var n=Math.ceil(t/this.maxLength);return n<this.minSegments?n=this.minSegments:n>this.maxSegments&&(n=this.maxSegments),n}},vo=function(){function t(){this.color=16777215,this.alpha=1,this.texture=rn.WHITE,this.matrix=null,this.visible=!1,this.reset()}return t.prototype.clone=function(){var e=new t;return e.color=this.color,e.alpha=this.alpha,e.texture=this.texture,e.matrix=this.matrix,e.visible=this.visible,e},t.prototype.reset=function(){this.color=16777215,this.alpha=1,this.texture=rn.WHITE,this.matrix=null,this.visible=!1},t.prototype.destroy=function(){this.texture=null,this.matrix=null},t}(),bo=function(t,e){return(bo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function go(t,e){function n(){this.constructor=t}bo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var wo={build:function(t){t.points=t.shape.points.slice()},triangulate:function(t,e){var n=t.points,r=t.holes,i=e.points,o=e.indices;if(n.length>=6){for(var s=[],a=0;a<r.length;a++){var u=r[a];s.push(n.length/2),n=n.concat(u.points)}var c=mt()(n,s,2);if(!c)return;var h=i.length/2;for(a=0;a<c.length;a+=3)o.push(c[a]+h),o.push(c[a+1]+h),o.push(c[a+2]+h);for(a=0;a<n.length;a++)i.push(n[a])}}},xo={build:function(t){var e,n,r=t.shape,i=t.points,o=r.x,s=r.y;if(i.length=0,t.type===zt.CIRC)e=r.radius,n=r.radius;else{var a=t.shape;e=a.width,n=a.height}if(0!==e&&0!==n){var u=Math.floor(30*Math.sqrt(r.radius))||Math.floor(15*Math.sqrt(e+n));u/=2.3;for(var c=2*Math.PI/u,h=0;h<u-.5;h++)i.push(o+Math.sin(-c*h)*e,s+Math.cos(-c*h)*n);i.push(i[0],i[1])}},triangulate:function(t,e){var n=t.points,r=e.points,i=e.indices,o=r.length/2,s=o,a=t.shape,u=t.matrix,c=a.x,h=a.y;r.push(t.matrix?u.a*c+u.c*h+u.tx:c,t.matrix?u.b*c+u.d*h+u.ty:h);for(var l=0;l<n.length;l+=2)r.push(n[l],n[l+1]),i.push(o++,s,o)}},Mo={build:function(t){var e=t.shape,n=e.x,r=e.y,i=e.width,o=e.height,s=t.points;s.length=0,s.push(n,r,n+i,r,n+i,r+o,n,r+o)},triangulate:function(t,e){var n=t.points,r=e.points,i=r.length/2;r.push(n[0],n[1],n[2],n[3],n[6],n[7],n[4],n[5]),e.indices.push(i,i+1,i+2,i+1,i+2,i+3)}};function So(t,e,n){return t+(e-t)*n}function To(t,e,n,r,i,o,s){void 0===s&&(s=[]);for(var a=s,u=0,c=0,h=0,l=0,d=0,f=0,p=0,_=0;p<=20;++p)u=So(t,n,_=p/20),c=So(e,r,_),h=So(n,i,_),l=So(r,o,_),d=So(u,h,_),f=So(c,l,_),0===p&&a[a.length-2]===d&&a[a.length-1]===f||a.push(d,f);return a}var Ao={build:function(t){var e=t.shape,n=t.points,r=e.x,i=e.y,o=e.width,s=e.height,a=Math.max(0,Math.min(e.radius,Math.min(o,s)/2));n.length=0,a?(To(r,i+a,r,i,r+a,i,n),To(r+o-a,i,r+o,i,r+o,i+a,n),To(r+o,i+s-a,r+o,i+s,r+o-a,i+s,n),To(r+a,i+s,r,i+s,r,i+s-a,n)):n.push(r,i,r+o,i,r+o,i+s,r,i+s)},triangulate:function(t,e){for(var n=t.points,r=e.points,i=e.indices,o=r.length/2,s=mt()(n,null,2),a=0,u=s.length;a<u;a+=3)i.push(s[a]+o),i.push(s[a+1]+o),i.push(s[a+2]+o);for(a=0,u=n.length;a<u;a++)r.push(n[a],n[++a])}};function Eo(t,e,n,r,i,o,s,a){var u,c;s?(u=r,c=-n):(u=-r,c=n);var h=t-n*i+u,l=e-r*i+c,d=t+n*o+u,f=e+r*o+c;return a.push(h,l),a.push(d,f),2}function Lo(t,e,n,r,i,o,s,a){var u=n-t,c=r-e,h=Math.atan2(u,c),l=Math.atan2(i-t,o-e);a&&h<l?h+=2*Math.PI:!a&&h>l&&(l+=2*Math.PI);var d=h,f=l-h,p=Math.abs(f),_=Math.sqrt(u*u+c*c),m=1+(15*p*Math.sqrt(_)/Math.PI>>0),y=f/m;if(d+=y,a){s.push(t,e),s.push(n,r);for(var v=1,b=d;v<m;v++,b+=y)s.push(t,e),s.push(t+Math.sin(b)*_,e+Math.cos(b)*_);s.push(t,e),s.push(i,o)}else{s.push(n,r),s.push(t,e);for(v=1,b=d;v<m;v++,b+=y)s.push(t+Math.sin(b)*_,e+Math.cos(b)*_),s.push(t,e);s.push(i,o),s.push(t,e)}return 2*m}function Do(t,e){t.lineStyle.native?function(t,e){var n=0,r=t.shape,i=t.points||r.points,o=r.type!==zt.POLY||r.closeStroke;if(0!==i.length){var s=e.points,a=e.indices,u=i.length/2,c=s.length/2,h=c;for(s.push(i[0],i[1]),n=1;n<u;n++)s.push(i[2*n],i[2*n+1]),a.push(h,h+1),h++;o&&a.push(h,c)}}(t,e):function(t,e){var n=t.shape,r=t.points||n.points.slice(),i=e.closePointEps;if(0!==r.length){var o=t.lineStyle,s=new te(r[0],r[1]),a=new te(r[r.length-2],r[r.length-1]),u=n.type!==zt.POLY||n.closeStroke,c=Math.abs(s.x-a.x)<i&&Math.abs(s.y-a.y)<i;if(u){r=r.slice(),c&&(r.pop(),r.pop(),a.set(r[r.length-2],r[r.length-1]));var h=.5*(s.x+a.x),l=.5*(a.y+s.y);r.unshift(h,l),r.push(h,l)}var d=e.points,f=r.length/2,p=r.length,_=d.length/2,m=o.width/2,y=m*m,v=o.miterLimit*o.miterLimit,b=r[0],g=r[1],w=r[2],x=r[3],M=0,S=0,T=-(g-x),A=b-w,E=0,L=0,D=Math.sqrt(T*T+A*A);T/=D,A/=D,T*=m,A*=m;var C=o.alignment,k=2*(1-C),O=2*C;u||(o.cap===po.ROUND?p+=Lo(b-T*(k-O)*.5,g-A*(k-O)*.5,b-T*k,g-A*k,b+T*O,g+A*O,d,!0)+2:o.cap===po.SQUARE&&(p+=Eo(b,g,T,A,k,O,!0,d))),d.push(b-T*k,g-A*k),d.push(b+T*O,g+A*O);for(var I=1;I<f-1;++I){b=r[2*(I-1)],g=r[2*(I-1)+1],w=r[2*I],x=r[2*I+1],M=r[2*(I+1)],S=r[2*(I+1)+1],T=-(g-x),A=b-w,T/=D=Math.sqrt(T*T+A*A),A/=D,T*=m,A*=m,E=-(x-S),L=w-M,E/=D=Math.sqrt(E*E+L*L),L/=D,E*=m,L*=m;var P=w-b,R=g-x,Y=w-M,B=S-x,N=R*Y-B*P,j=N<0;if(Math.abs(N)<.1)d.push(w-T*k,x-A*k),d.push(w+T*O,x+A*O);else{var F=(-T+b)*(-A+x)-(-T+w)*(-A+g),U=(-E+M)*(-L+x)-(-E+w)*(-L+S),G=(P*U-Y*F)/N,H=(B*F-R*U)/N,V=(G-w)*(G-w)+(H-x)*(H-x),z=w+(G-w)*k,W=x+(H-x)*k,X=w-(G-w)*O,J=x-(H-x)*O,K=j?k:O;V<=Math.min(P*P+R*R,Y*Y+B*B)+K*K*y?o.join===fo.BEVEL||V/y>v?(j?(d.push(z,W),d.push(w+T*O,x+A*O),d.push(z,W),d.push(w+E*O,x+L*O)):(d.push(w-T*k,x-A*k),d.push(X,J),d.push(w-E*k,x-L*k),d.push(X,J)),p+=2):o.join===fo.ROUND?j?(d.push(z,W),d.push(w+T*O,x+A*O),p+=Lo(w,x,w+T*O,x+A*O,w+E*O,x+L*O,d,!0)+4,d.push(z,W),d.push(w+E*O,x+L*O)):(d.push(w-T*k,x-A*k),d.push(X,J),p+=Lo(w,x,w-T*k,x-A*k,w-E*k,x-L*k,d,!1)+4,d.push(w-E*k,x-L*k),d.push(X,J)):(d.push(z,W),d.push(X,J)):(d.push(w-T*k,x-A*k),d.push(w+T*O,x+A*O),o.join===fo.BEVEL||V/y>v||(o.join===fo.ROUND?p+=j?Lo(w,x,w+T*O,x+A*O,w+E*O,x+L*O,d,!0)+2:Lo(w,x,w-T*k,x-A*k,w-E*k,x-L*k,d,!1)+2:(j?(d.push(X,J),d.push(X,J)):(d.push(z,W),d.push(z,W)),p+=2)),d.push(w-E*k,x-L*k),d.push(w+E*O,x+L*O),p+=2)}}b=r[2*(f-2)],g=r[2*(f-2)+1],w=r[2*(f-1)],T=-(g-(x=r[2*(f-1)+1])),A=b-w,T/=D=Math.sqrt(T*T+A*A),A/=D,T*=m,A*=m,d.push(w-T*k,x-A*k),d.push(w+T*O,x+A*O),u||(o.cap===po.ROUND?p+=Lo(w-T*(k-O)*.5,x-A*(k-O)*.5,w-T*k,x-A*k,w+T*O,x+A*O,d,!1)+2:o.cap===po.SQUARE&&(p+=Eo(w,x,T,A,k,O,!1,d)));var q=e.indices,$=yo.epsilon*yo.epsilon;for(I=_;I<p+_-2;++I)b=d[2*I],g=d[2*I+1],w=d[2*(I+1)],x=d[2*(I+1)+1],M=d[2*(I+2)],S=d[2*(I+2)+1],Math.abs(b*(x-S)+w*(S-g)+M*(g-x))<$||q.push(I,I+1,I+2)}}(t,e)}var Co,ko=function(){function t(){}return t.curveTo=function(t,e,n,r,i,o){var s=o[o.length-2],a=o[o.length-1]-e,u=s-t,c=r-e,h=n-t,l=Math.abs(a*h-u*c);if(l<1e-8||0===i)return o[o.length-2]===t&&o[o.length-1]===e||o.push(t,e),null;var d=a*a+u*u,f=c*c+h*h,p=a*c+u*h,_=i*Math.sqrt(d)/l,m=i*Math.sqrt(f)/l,y=_*p/d,v=m*p/f,b=_*h+m*u,g=_*c+m*a,w=u*(m+y),x=a*(m+y),M=h*(_+v),S=c*(_+v);return{cx:b+t,cy:g+e,radius:i,startAngle:Math.atan2(x-g,w-b),endAngle:Math.atan2(S-g,M-b),anticlockwise:u*c>h*a}},t.arc=function(t,e,n,r,i,o,s,a,u){for(var c=s-o,h=yo._segmentsCount(Math.abs(c)*i,40*Math.ceil(Math.abs(c)/Wt)),l=c/(2*h),d=2*l,f=Math.cos(l),p=Math.sin(l),_=h-1,m=_%1/_,y=0;y<=_;++y){var v=l+o+d*(y+m*y),b=Math.cos(v),g=-Math.sin(v);u.push((f*b+p*g)*i+n,(f*-g+p*b)*i+r)}},t}(),Oo=function(){function t(){}return t.curveLength=function(t,e,n,r,i,o,s,a){for(var u=0,c=0,h=0,l=0,d=0,f=0,p=0,_=0,m=0,y=0,v=0,b=t,g=e,w=1;w<=10;++w)y=b-(_=(p=(f=(d=1-(c=w/10))*d)*d)*t+3*f*c*n+3*d*(h=c*c)*i+(l=h*c)*s),v=g-(m=p*e+3*f*c*r+3*d*h*o+l*a),b=_,g=m,u+=Math.sqrt(y*y+v*v);return u},t.curveTo=function(e,n,r,i,o,s,a){var u=a[a.length-2],c=a[a.length-1];a.length-=2;var h=yo._segmentsCount(t.curveLength(u,c,e,n,r,i,o,s)),l=0,d=0,f=0,p=0,_=0;a.push(u,c);for(var m=1,y=0;m<=h;++m)f=(d=(l=1-(y=m/h))*l)*l,_=(p=y*y)*y,a.push(f*u+3*d*y*e+3*l*p*r+_*o,f*c+3*d*y*n+3*l*p*i+_*s)},t}(),Io=function(){function t(){}return t.curveLength=function(t,e,n,r,i,o){var s=t-2*n+i,a=e-2*r+o,u=2*n-2*t,c=2*r-2*e,h=4*(s*s+a*a),l=4*(s*u+a*c),d=u*u+c*c,f=2*Math.sqrt(h+l+d),p=Math.sqrt(h),_=2*h*p,m=2*Math.sqrt(d),y=l/p;return(_*f+p*l*(f-m)+(4*d*h-l*l)*Math.log((2*p+y+f)/(y+m)))/(4*_)},t.curveTo=function(e,n,r,i,o){for(var s=o[o.length-2],a=o[o.length-1],u=yo._segmentsCount(t.curveLength(s,a,e,n,r,i)),c=0,h=0,l=1;l<=u;++l){var d=l/u;c=s+(e-s)*d,h=a+(n-a)*d,o.push(c+(e+(r-e)*d-c)*d,h+(n+(i-n)*d-h)*d)}},t}(),Po=function(){function t(){this.reset()}return t.prototype.begin=function(t,e,n){this.reset(),this.style=t,this.start=e,this.attribStart=n},t.prototype.end=function(t,e){this.attribSize=e-this.attribStart,this.size=t-this.start},t.prototype.reset=function(){this.style=null,this.size=0,this.start=0,this.attribStart=0,this.attribSize=0},t}(),Ro=((Co={})[zt.POLY]=wo,Co[zt.CIRC]=xo,Co[zt.ELIP]=xo,Co[zt.RECT]=Mo,Co[zt.RREC]=Ao,Co),Yo=[],Bo=[];function No(t){for(var e=t.points,n=0,r=0;r<e.length-2;r+=2)n+=(e[r+2]-e[r])*(e[r+3]+e[r+1]);return n>0}var jo=function(){function t(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),this.points=[],this.holes=[],this.shape=t,this.lineStyle=n,this.fillStyle=e,this.matrix=r,this.type=t.type}return t.prototype.clone=function(){return new t(this.shape,this.fillStyle,this.lineStyle,this.matrix)},t.prototype.destroy=function(){this.shape=null,this.holes.length=0,this.holes=null,this.points.length=0,this.points=null,this.lineStyle=null,this.fillStyle=null},t}(),Fo=new te,Uo=new de,Go=function(t){function e(){var e=t.call(this)||this;return e.closePointEps=1e-4,e.boundsPadding=0,e.uvsFloat32=null,e.indicesUint16=null,e.batchable=!1,e.points=[],e.colors=[],e.uvs=[],e.indices=[],e.textureIds=[],e.graphicsData=[],e.drawCalls=[],e.batchDirty=-1,e.batches=[],e.dirty=0,e.cacheDirty=-1,e.clearDirty=0,e.shapeIndex=0,e._bounds=new de,e.boundsDirty=-1,e}return go(e,t),Object.defineProperty(e.prototype,"bounds",{get:function(){return this.boundsDirty!==this.dirty&&(this.boundsDirty=this.dirty,this.calculateBounds()),this._bounds},enumerable:!1,configurable:!0}),e.prototype.invalidate=function(){this.boundsDirty=-1,this.dirty++,this.batchDirty++,this.shapeIndex=0,this.points.length=0,this.colors.length=0,this.uvs.length=0,this.indices.length=0,this.textureIds.length=0;for(var t=0;t<this.drawCalls.length;t++)this.drawCalls[t].texArray.clear(),Bo.push(this.drawCalls[t]);this.drawCalls.length=0;for(t=0;t<this.batches.length;t++){var e=this.batches[t];e.reset(),Yo.push(e)}this.batches.length=0},e.prototype.clear=function(){return this.graphicsData.length>0&&(this.invalidate(),this.clearDirty++,this.graphicsData.length=0),this},e.prototype.drawShape=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null);var i=new jo(t,e,n,r);return this.graphicsData.push(i),this.dirty++,this},e.prototype.drawHole=function(t,e){if(void 0===e&&(e=null),!this.graphicsData.length)return null;var n=new jo(t,null,null,e),r=this.graphicsData[this.graphicsData.length-1];return n.lineStyle=r.lineStyle,r.holes.push(n),this.dirty++,this},e.prototype.destroy=function(){t.prototype.destroy.call(this);for(var e=0;e<this.graphicsData.length;++e)this.graphicsData[e].destroy();this.points.length=0,this.points=null,this.colors.length=0,this.colors=null,this.uvs.length=0,this.uvs=null,this.indices.length=0,this.indices=null,this.indexBuffer.destroy(),this.indexBuffer=null,this.graphicsData.length=0,this.graphicsData=null,this.drawCalls.length=0,this.drawCalls=null,this.batches.length=0,this.batches=null,this._bounds=null},e.prototype.containsPoint=function(t){for(var e=this.graphicsData,n=0;n<e.length;++n){var r=e[n];if(r.fillStyle.visible&&(r.shape&&(r.matrix?r.matrix.applyInverse(t,Fo):Fo.copyFrom(t),r.shape.contains(Fo.x,Fo.y)))){var i=!1;if(r.holes)for(var o=0;o<r.holes.length;o++){if(r.holes[o].shape.contains(Fo.x,Fo.y)){i=!0;break}}if(!i)return!0}}return!1},e.prototype.updateBatches=function(t){if(this.graphicsData.length){if(this.validateBatching()){this.cacheDirty=this.dirty;var e=this.uvs,n=this.graphicsData,r=null,i=null;this.batches.length>0&&(i=(r=this.batches[this.batches.length-1]).style);for(var o=this.shapeIndex;o<n.length;o++){this.shapeIndex++;var s=n[o],a=s.fillStyle,u=s.lineStyle;Ro[s.type].build(s),s.matrix&&this.transformPoints(s.points,s.matrix);for(var c=0;c<2;c++){var h=0===c?a:u;if(h.visible){var l=h.texture.baseTexture,d=this.indices.length,f=this.points.length/2;l.wrapMode=rt.REPEAT,0===c?this.processFill(s):this.processLine(s);var p=this.points.length/2-f;0!==p&&(r&&!this._compareStyles(i,h)&&(r.end(d,f),r=null),r||((r=Yo.pop()||new Po).begin(h,d,f),this.batches.push(r),i=h),this.addUvs(this.points,e,h.texture,f,p,h.matrix))}}}var _=this.indices.length,m=this.points.length/2;if(r&&r.end(_,m),0!==this.batches.length){if(this.indicesUint16&&this.indices.length===this.indicesUint16.length)this.indicesUint16.set(this.indices);else{var y=m>65535&&t;this.indicesUint16=y?new Uint32Array(this.indices):new Uint16Array(this.indices)}this.batchable=this.isBatchable(),this.batchable?this.packBatches():this.buildDrawCalls()}else this.batchable=!0}}else this.batchable=!0},e.prototype._compareStyles=function(t,e){return!(!t||!e)&&(t.texture.baseTexture===e.texture.baseTexture&&(t.color+t.alpha===e.color+e.alpha&&!!t.native==!!e.native))},e.prototype.validateBatching=function(){if(this.dirty===this.cacheDirty||!this.graphicsData.length)return!1;for(var t=0,e=this.graphicsData.length;t<e;t++){var n=this.graphicsData[t],r=n.fillStyle,i=n.lineStyle;if(r&&!r.texture.baseTexture.valid)return!1;if(i&&!i.texture.baseTexture.valid)return!1}return!0},e.prototype.packBatches=function(){this.batchDirty++,this.uvsFloat32=new Float32Array(this.uvs);for(var t=this.batches,e=0,n=t.length;e<n;e++)for(var r=t[e],i=0;i<r.size;i++){var o=r.start+i;this.indicesUint16[o]=this.indicesUint16[o]-r.attribStart}},e.prototype.isBatchable=function(){if(this.points.length>131070)return!1;for(var t=this.batches,n=0;n<t.length;n++)if(t[n].style.native)return!1;return this.points.length<2*e.BATCHABLE_SIZE},e.prototype.buildDrawCalls=function(){for(var t=++Ue._globalBatch,e=0;e<this.drawCalls.length;e++)this.drawCalls[e].texArray.clear(),Bo.push(this.drawCalls[e]);this.drawCalls.length=0;var n=this.colors,r=this.textureIds,i=Bo.pop();i||((i=new Br).texArray=new Nr),i.texArray.count=0,i.start=0,i.size=0,i.type=$.TRIANGLES;var o=0,s=null,a=0,u=!1,c=$.TRIANGLES,h=0;this.drawCalls.push(i);for(e=0;e<this.batches.length;e++){var l=this.batches[e],d=l.style,f=d.texture.baseTexture;u!==!!d.native&&(c=(u=!!d.native)?$.LINES:$.TRIANGLES,s=null,o=8,t++),s!==f&&(s=f,f._batchEnabled!==t&&(8===o&&(t++,o=0,i.size>0&&((i=Bo.pop())||((i=new Br).texArray=new Nr),this.drawCalls.push(i)),i.start=h,i.size=0,i.texArray.count=0,i.type=c),f.touched=1,f._batchEnabled=t,f._batchLocation=o,f.wrapMode=rt.REPEAT,i.texArray.elements[i.texArray.count++]=f,o++)),i.size+=l.size,h+=l.size,a=f._batchLocation,this.addColors(n,d.color,d.alpha,l.attribSize,l.attribStart),this.addTextureIds(r,a,l.attribSize,l.attribStart)}Ue._globalBatch=t,this.packAttributes()},e.prototype.packAttributes=function(){for(var t=this.points,e=this.uvs,n=this.colors,r=this.textureIds,i=new ArrayBuffer(3*t.length*4),o=new Float32Array(i),s=new Uint32Array(i),a=0,u=0;u<t.length/2;u++)o[a++]=t[2*u],o[a++]=t[2*u+1],o[a++]=e[2*u],o[a++]=e[2*u+1],s[a++]=n[u],o[a++]=r[u];this._buffer.update(i),this._indexBuffer.update(this.indicesUint16)},e.prototype.processFill=function(t){t.holes.length?(this.processHoles(t.holes),wo.triangulate(t,this)):Ro[t.type].triangulate(t,this)},e.prototype.processLine=function(t){Do(t,this);for(var e=0;e<t.holes.length;e++)Do(t.holes[e],this)},e.prototype.processHoles=function(t){for(var e=0;e<t.length;e++){var n=t[e];Ro[n.type].build(n),n.matrix&&this.transformPoints(n.points,n.matrix)}},e.prototype.calculateBounds=function(){var t=this._bounds,e=Uo,n=ne.IDENTITY;this._bounds.clear(),e.clear();for(var r=0;r<this.graphicsData.length;r++){var i=this.graphicsData[r],o=i.shape,s=i.type,a=i.lineStyle,u=i.matrix||ne.IDENTITY,c=0;if(a&&a.visible){var h=a.alignment;c=a.width,s===zt.POLY?No(o)?c*=1-h:c*=h:c*=Math.max(0,h)}if(n!==u&&(e.isEmpty()||(t.addBoundsMatrix(e,n),e.clear()),n=u),s===zt.RECT||s===zt.RREC){var l=o;e.addFramePad(l.x,l.y,l.x+l.width,l.y+l.height,c,c)}else if(s===zt.CIRC){var d=o;e.addFramePad(d.x,d.y,d.x,d.y,d.radius+c,d.radius+c)}else if(s===zt.ELIP){var f=o;e.addFramePad(f.x,f.y,f.x,f.y,f.width+c,f.height+c)}else{var p=o;t.addVerticesMatrix(n,p.points,0,p.points.length,c,c)}}e.isEmpty()||t.addBoundsMatrix(e,n),t.pad(this.boundsPadding,this.boundsPadding)},e.prototype.transformPoints=function(t,e){for(var n=0;n<t.length/2;n++){var r=t[2*n],i=t[2*n+1];t[2*n]=e.a*r+e.c*i+e.tx,t[2*n+1]=e.b*r+e.d*i+e.ty}},e.prototype.addColors=function(t,e,n,r,i){void 0===i&&(i=0);var o=Et((e>>16)+(65280&e)+((255&e)<<16),n);t.length=Math.max(t.length,i+r);for(var s=0;s<r;s++)t[i+s]=o},e.prototype.addTextureIds=function(t,e,n,r){void 0===r&&(r=0),t.length=Math.max(t.length,r+n);for(var i=0;i<n;i++)t[r+i]=e},e.prototype.addUvs=function(t,e,n,r,i,o){void 0===o&&(o=null);for(var s=0,a=e.length,u=n.frame;s<i;){var c=t[2*(r+s)],h=t[2*(r+s)+1];if(o){var l=o.a*c+o.c*h+o.tx;h=o.b*c+o.d*h+o.ty,c=l}s++,e.push(c/u.width,h/u.height)}var d=n.baseTexture;(u.width<d.width||u.height<d.height)&&this.adjustUvs(e,n,a,i)},e.prototype.adjustUvs=function(t,e,n,r){for(var i=e.baseTexture,o=1e-6,s=n+2*r,a=e.frame,u=a.width/i.width,c=a.height/i.height,h=a.x/a.width,l=a.y/a.height,d=Math.floor(t[n]+o),f=Math.floor(t[n+1]+o),p=n+2;p<s;p+=2)d=Math.min(d,Math.floor(t[p]+o)),f=Math.min(f,Math.floor(t[p+1]+o));h-=d,l-=f;for(p=n;p<s;p+=2)t[p]=(t[p]+h)*u,t[p+1]=(t[p+1]+l)*c},e.BATCHABLE_SIZE=100,e}(Gr),Ho=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.width=0,e.alignment=.5,e.native=!1,e.cap=po.BUTT,e.join=fo.MITER,e.miterLimit=10,e}return go(e,t),e.prototype.clone=function(){var t=new e;return t.color=this.color,t.alpha=this.alpha,t.texture=this.texture,t.matrix=this.matrix,t.visible=this.visible,t.width=this.width,t.alignment=this.alignment,t.native=this.native,t.cap=this.cap,t.join=this.join,t.miterLimit=this.miterLimit,t},e.prototype.reset=function(){t.prototype.reset.call(this),this.color=0,this.alignment=.5,this.width=0,this.native=!1},e}(vo),Vo=new Float32Array(3),zo={},Wo=function(t){function e(e){void 0===e&&(e=null);var n=t.call(this)||this;return n.shader=null,n.pluginName="batch",n.currentPath=null,n.batches=[],n.batchTint=-1,n.batchDirty=-1,n.vertexData=null,n._fillStyle=new vo,n._lineStyle=new Ho,n._matrix=null,n._holeMode=!1,n.state=ir.for2d(),n._geometry=e||new Go,n._geometry.refCount++,n._transformID=-1,n.tint=16777215,n.blendMode=q.NORMAL,n}return go(e,t),Object.defineProperty(e.prototype,"geometry",{get:function(){return this._geometry},enumerable:!1,configurable:!0}),e.prototype.clone=function(){return this.finishPoly(),new e(this._geometry)},Object.defineProperty(e.prototype,"blendMode",{get:function(){return this.state.blendMode},set:function(t){this.state.blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this._fillStyle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"line",{get:function(){return this._lineStyle},enumerable:!1,configurable:!0}),e.prototype.lineStyle=function(t,e,n,r,i){return void 0===t&&(t=null),void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=!1),"number"==typeof t&&(t={width:t,color:e,alpha:n,alignment:r,native:i}),this.lineTextureStyle(t)},e.prototype.lineTextureStyle=function(t){t=Object.assign({width:0,texture:rn.WHITE,color:t&&t.texture?16777215:0,alpha:1,matrix:null,alignment:.5,native:!1,cap:po.BUTT,join:fo.MITER,miterLimit:10},t),this.currentPath&&this.startPoly();var e=t.width>0&&t.alpha>0;return e?(t.matrix&&(t.matrix=t.matrix.clone(),t.matrix.invert()),Object.assign(this._lineStyle,{visible:e},t)):this._lineStyle.reset(),this},e.prototype.startPoly=function(){if(this.currentPath){var t=this.currentPath.points,e=this.currentPath.points.length;e>2&&(this.drawShape(this.currentPath),this.currentPath=new Zt,this.currentPath.closeStroke=!1,this.currentPath.points.push(t[e-2],t[e-1]))}else this.currentPath=new Zt,this.currentPath.closeStroke=!1},e.prototype.finishPoly=function(){this.currentPath&&(this.currentPath.points.length>2?(this.drawShape(this.currentPath),this.currentPath=null):this.currentPath.points.length=0)},e.prototype.moveTo=function(t,e){return this.startPoly(),this.currentPath.points[0]=t,this.currentPath.points[1]=e,this},e.prototype.lineTo=function(t,e){this.currentPath||this.moveTo(0,0);var n=this.currentPath.points,r=n[n.length-2],i=n[n.length-1];return r===t&&i===e||n.push(t,e),this},e.prototype._initCurve=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.currentPath?0===this.currentPath.points.length&&(this.currentPath.points=[t,e]):this.moveTo(t,e)},e.prototype.quadraticCurveTo=function(t,e,n,r){this._initCurve();var i=this.currentPath.points;return 0===i.length&&this.moveTo(0,0),Io.curveTo(t,e,n,r,i),this},e.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._initCurve(),Oo.curveTo(t,e,n,r,i,o,this.currentPath.points),this},e.prototype.arcTo=function(t,e,n,r,i){this._initCurve(t,e);var o=this.currentPath.points,s=ko.curveTo(t,e,n,r,i,o);if(s){var a=s.cx,u=s.cy,c=s.radius,h=s.startAngle,l=s.endAngle,d=s.anticlockwise;this.arc(a,u,c,h,l,d)}return this},e.prototype.arc=function(t,e,n,r,i,o){if(void 0===o&&(o=!1),r===i)return this;if(!o&&i<=r?i+=Wt:o&&r<=i&&(r+=Wt),0===i-r)return this;var s=t+Math.cos(r)*n,a=e+Math.sin(r)*n,u=this._geometry.closePointEps,c=this.currentPath?this.currentPath.points:null;if(c){var h=Math.abs(c[c.length-2]-s),l=Math.abs(c[c.length-1]-a);h<u&&l<u||c.push(s,a)}else this.moveTo(s,a),c=this.currentPath.points;return ko.arc(s,a,t,e,n,r,i,o,c),this},e.prototype.beginFill=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=1),this.beginTextureFill({texture:rn.WHITE,color:t,alpha:e})},e.prototype.beginTextureFill=function(t){t=Object.assign({texture:rn.WHITE,color:16777215,alpha:1,matrix:null},t),this.currentPath&&this.startPoly();var e=t.alpha>0;return e?(t.matrix&&(t.matrix=t.matrix.clone(),t.matrix.invert()),Object.assign(this._fillStyle,{visible:e},t)):this._fillStyle.reset(),this},e.prototype.endFill=function(){return this.finishPoly(),this._fillStyle.reset(),this},e.prototype.drawRect=function(t,e,n,r){return this.drawShape(new Kt(t,e,n,r))},e.prototype.drawRoundedRect=function(t,e,n,r,i){return this.drawShape(new Qt(t,e,n,r,i))},e.prototype.drawCircle=function(t,e,n){return this.drawShape(new qt(t,e,n))},e.prototype.drawEllipse=function(t,e,n,r){return this.drawShape(new $t(t,e,n,r))},e.prototype.drawPolygon=function(){for(var t,e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];var i=!0,o=n[0];o.points?(i=o.closeStroke,t=o.points):t=Array.isArray(n[0])?n[0]:n;var s=new Zt(t);return s.closeStroke=i,this.drawShape(s),this},e.prototype.drawShape=function(t){return this._holeMode?this._geometry.drawHole(t,this._matrix):this._geometry.drawShape(t,this._fillStyle.clone(),this._lineStyle.clone(),this._matrix),this},e.prototype.clear=function(){return this._geometry.clear(),this._lineStyle.reset(),this._fillStyle.reset(),this._boundsID++,this._matrix=null,this._holeMode=!1,this.currentPath=null,this},e.prototype.isFastRect=function(){var t=this._geometry.graphicsData;return!(1!==t.length||t[0].shape.type!==zt.RECT||t[0].holes.length||t[0].lineStyle.visible&&t[0].lineStyle.width)},e.prototype._render=function(t){this.finishPoly();var e=this._geometry,n=t.context.supports.uint32Indices;e.updateBatches(n),e.batchable?(this.batchDirty!==e.batchDirty&&this._populateBatches(),this._renderBatched(t)):(t.batch.flush(),this._renderDirect(t))},e.prototype._populateBatches=function(){var t=this._geometry,e=this.blendMode,n=t.batches.length;this.batchTint=-1,this._transformID=-1,this.batchDirty=t.batchDirty,this.batches.length=n,this.vertexData=new Float32Array(t.points);for(var r=0;r<n;r++){var i=t.batches[r],o=i.style.color,s=new Float32Array(this.vertexData.buffer,4*i.attribStart*2,2*i.attribSize),a=new Float32Array(t.uvsFloat32.buffer,4*i.attribStart*2,2*i.attribSize),u={vertexData:s,blendMode:e,indices:new Uint16Array(t.indicesUint16.buffer,2*i.start,i.size),uvs:a,_batchRGB:xt(o),_tintRGB:o,_texture:i.style.texture,alpha:i.style.alpha,worldAlpha:1};this.batches[r]=u}},e.prototype._renderBatched=function(t){if(this.batches.length){t.batch.setObjectRenderer(t.plugins[this.pluginName]),this.calculateVertices(),this.calculateTints();for(var e=0,n=this.batches.length;e<n;e++){var r=this.batches[e];r.worldAlpha=this.worldAlpha*r.alpha,t.plugins[this.pluginName].render(r)}}},e.prototype._renderDirect=function(t){var e=this._resolveDirectShader(t),n=this._geometry,r=this.tint,i=this.worldAlpha,o=e.uniforms,s=n.drawCalls;o.translationMatrix=this.transform.worldTransform,o.tint[0]=(r>>16&255)/255*i,o.tint[1]=(r>>8&255)/255*i,o.tint[2]=(255&r)/255*i,o.tint[3]=i,t.shader.bind(e),t.geometry.bind(n,e),t.state.set(this.state);for(var a=0,u=s.length;a<u;a++)this._renderDrawCallDirect(t,n.drawCalls[a])},e.prototype._renderDrawCallDirect=function(t,e){for(var n=e.texArray,r=e.type,i=e.size,o=e.start,s=n.count,a=0;a<s;a++)t.texture.bind(n.elements[a],a);t.geometry.draw(r,i,o)},e.prototype._resolveDirectShader=function(t){var e=this.shader,n=this.pluginName;if(!e){if(!zo[n]){for(var r=t.plugins.batch.MAX_TEXTURES,i=new Int32Array(r),o=0;o<r;o++)i[o]=o;var s={tint:new Float32Array([1,1,1,1]),translationMatrix:new ne,default:bn.from({uSamplers:i},!0)},a=t.plugins[n]._shader.program;zo[n]=new rr(a,s)}e=zo[n]}return e},e.prototype._calculateBounds=function(){this.finishPoly();var t=this._geometry;if(t.graphicsData.length){var e=t.bounds,n=e.minX,r=e.minY,i=e.maxX,o=e.maxY;this._bounds.addFrame(this.transform,n,r,i,o)}},e.prototype.containsPoint=function(t){return this.worldTransform.applyInverse(t,e._TEMP_POINT),this._geometry.containsPoint(e._TEMP_POINT)},e.prototype.calculateTints=function(){if(this.batchTint!==this.tint){this.batchTint=this.tint;for(var t=xt(this.tint,Vo),e=0;e<this.batches.length;e++){var n=this.batches[e],r=n._batchRGB,i=(t[0]*r[0]*255<<16)+(t[1]*r[1]*255<<8)+(0|t[2]*r[2]*255);n._tintRGB=(i>>16)+(65280&i)+((255&i)<<16)}}},e.prototype.calculateVertices=function(){var t=this.transform._worldID;if(this._transformID!==t){this._transformID=t;for(var e=this.transform.worldTransform,n=e.a,r=e.b,i=e.c,o=e.d,s=e.tx,a=e.ty,u=this._geometry.points,c=this.vertexData,h=0,l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];c[h++]=n*d+i*f+s,c[h++]=o*f+r*d+a}}},e.prototype.closePath=function(){var t=this.currentPath;return t&&(t.closeStroke=!0,this.finishPoly()),this},e.prototype.setMatrix=function(t){return this._matrix=t,this},e.prototype.beginHole=function(){return this.finishPoly(),this._holeMode=!0,this},e.prototype.endHole=function(){return this.finishPoly(),this._holeMode=!1,this},e.prototype.destroy=function(e){this._geometry.refCount--,0===this._geometry.refCount&&this._geometry.dispose(),this._matrix=null,this.currentPath=null,this._lineStyle.destroy(),this._lineStyle=null,this._fillStyle.destroy(),this._fillStyle=null,this._geometry=null,this.shader=null,this.vertexData=null,this.batches.length=0,this.batches=null,t.prototype.destroy.call(this,e)},e._TEMP_POINT=new te,e}(ve),Xo=function(t,e){return(Xo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var Jo,Ko=new te,qo=new Uint16Array([0,1,2,0,2,3]),$o=function(t){function e(e){var n=t.call(this)||this;return n._anchor=new ee(n._onAnchorUpdate,n,e?e.defaultAnchor.x:0,e?e.defaultAnchor.y:0),n._texture=null,n._width=0,n._height=0,n._tint=null,n._tintRGB=null,n.tint=16777215,n.blendMode=q.NORMAL,n._cachedTint=16777215,n.uvs=null,n.texture=e||rn.EMPTY,n.vertexData=new Float32Array(8),n.vertexTrimmedData=null,n._transformID=-1,n._textureID=-1,n._transformTrimmedID=-1,n._textureTrimmedID=-1,n.indices=qo,n.pluginName="batch",n.isSprite=!0,n._roundPixels=dt.ROUND_PIXELS,n}return function(t,e){function n(){this.constructor=t}Xo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=Pt(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=Pt(this.scale.y)*this._height/this._texture.orig.height)},e.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},e.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,n=e.a,r=e.b,i=e.c,o=e.d,s=e.tx,a=e.ty,u=this.vertexData,c=t.trim,h=t.orig,l=this._anchor,d=0,f=0,p=0,_=0;if(c?(d=(f=c.x-l._x*h.width)+c.width,p=(_=c.y-l._y*h.height)+c.height):(d=(f=-l._x*h.width)+h.width,p=(_=-l._y*h.height)+h.height),u[0]=n*f+i*_+s,u[1]=o*_+r*f+a,u[2]=n*d+i*_+s,u[3]=o*_+r*d+a,u[4]=n*d+i*p+s,u[5]=o*p+r*d+a,u[6]=n*f+i*p+s,u[7]=o*p+r*f+a,this._roundPixels)for(var m=dt.RESOLUTION,y=0;y<u.length;++y)u[y]=Math.round((u[y]*m|0)/m)}},e.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,n=t.orig,r=this._anchor,i=this.transform.worldTransform,o=i.a,s=i.b,a=i.c,u=i.d,c=i.tx,h=i.ty,l=-r._x*n.width,d=l+n.width,f=-r._y*n.height,p=f+n.height;e[0]=o*l+a*f+c,e[1]=u*f+s*l+h,e[2]=o*d+a*f+c,e[3]=u*f+s*d+h,e[4]=o*d+a*p+c,e[5]=u*p+s*d+h,e[6]=o*l+a*p+c,e[7]=u*p+s*l+h},e.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},e.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},e.prototype.getLocalBounds=function(e){return 0===this.children.length?(this._bounds.minX=this._texture.orig.width*-this._anchor._x,this._bounds.minY=this._texture.orig.height*-this._anchor._y,this._bounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._bounds.maxY=this._texture.orig.height*(1-this._anchor._y),e||(this._localBoundsRect||(this._localBoundsRect=new Kt),e=this._localBoundsRect),this._bounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,Ko);var e=this._texture.orig.width,n=this._texture.orig.height,r=-e*this.anchor.x,i=0;return Ko.x>=r&&Ko.x<r+e&&(i=-n*this.anchor.y,Ko.y>=i&&Ko.y<i+n)},e.prototype.destroy=function(e){if(t.prototype.destroy.call(this,e),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof e?e:e&&e.texture){var n="boolean"==typeof e?e:e&&e.baseTexture;this._texture.destroy(!!n)}this._texture=null},e.from=function(t,n){return new e(t instanceof rn?t:rn.from(t,n))},Object.defineProperty(e.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=Pt(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=Pt(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||rn.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),e}(ve),Zo=function(t,e){return(Zo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};!function(t){t[t.LINEAR_VERTICAL=0]="LINEAR_VERTICAL",t[t.LINEAR_HORIZONTAL=1]="LINEAR_HORIZONTAL"}(Jo||(Jo={}));var Qo={align:"left",breakWords:!1,dropShadow:!1,dropShadowAlpha:1,dropShadowAngle:Math.PI/6,dropShadowBlur:0,dropShadowColor:"black",dropShadowDistance:5,fill:"black",fillGradientType:Jo.LINEAR_VERTICAL,fillGradientStops:[],fontFamily:"Arial",fontSize:26,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:0,lineHeight:0,lineJoin:"miter",miterLimit:10,padding:0,stroke:"black",strokeThickness:0,textBaseline:"alphabetic",trim:!1,whiteSpace:"pre",wordWrap:!1,wordWrapWidth:100,leading:0},ts=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],es=function(){function t(t){this.styleID=0,this.reset(),is(this,t,t)}return t.prototype.clone=function(){var e={};return is(e,this,Qo),new t(e)},t.prototype.reset=function(){is(this,Qo,Qo)},Object.defineProperty(t.prototype,"align",{get:function(){return this._align},set:function(t){this._align!==t&&(this._align=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"breakWords",{get:function(){return this._breakWords},set:function(t){this._breakWords!==t&&(this._breakWords=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadow",{get:function(){return this._dropShadow},set:function(t){this._dropShadow!==t&&(this._dropShadow=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowAlpha",{get:function(){return this._dropShadowAlpha},set:function(t){this._dropShadowAlpha!==t&&(this._dropShadowAlpha=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowAngle",{get:function(){return this._dropShadowAngle},set:function(t){this._dropShadowAngle!==t&&(this._dropShadowAngle=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowBlur",{get:function(){return this._dropShadowBlur},set:function(t){this._dropShadowBlur!==t&&(this._dropShadowBlur=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowColor",{get:function(){return this._dropShadowColor},set:function(t){var e=rs(t);this._dropShadowColor!==e&&(this._dropShadowColor=e,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowDistance",{get:function(){return this._dropShadowDistance},set:function(t){this._dropShadowDistance!==t&&(this._dropShadowDistance=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fill",{get:function(){return this._fill},set:function(t){var e=rs(t);this._fill!==e&&(this._fill=e,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillGradientType",{get:function(){return this._fillGradientType},set:function(t){this._fillGradientType!==t&&(this._fillGradientType=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillGradientStops",{get:function(){return this._fillGradientStops},set:function(t){(function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0})(this._fillGradientStops,t)||(this._fillGradientStops=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontFamily",{get:function(){return this._fontFamily},set:function(t){this.fontFamily!==t&&(this._fontFamily=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontSize",{get:function(){return this._fontSize},set:function(t){this._fontSize!==t&&(this._fontSize=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontStyle",{get:function(){return this._fontStyle},set:function(t){this._fontStyle!==t&&(this._fontStyle=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontVariant",{get:function(){return this._fontVariant},set:function(t){this._fontVariant!==t&&(this._fontVariant=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontWeight",{get:function(){return this._fontWeight},set:function(t){this._fontWeight!==t&&(this._fontWeight=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"letterSpacing",{get:function(){return this._letterSpacing},set:function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lineHeight",{get:function(){return this._lineHeight},set:function(t){this._lineHeight!==t&&(this._lineHeight=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leading",{get:function(){return this._leading},set:function(t){this._leading!==t&&(this._leading=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lineJoin",{get:function(){return this._lineJoin},set:function(t){this._lineJoin!==t&&(this._lineJoin=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"miterLimit",{get:function(){return this._miterLimit},set:function(t){this._miterLimit!==t&&(this._miterLimit=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this._padding},set:function(t){this._padding!==t&&(this._padding=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stroke",{get:function(){return this._stroke},set:function(t){var e=rs(t);this._stroke!==e&&(this._stroke=e,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strokeThickness",{get:function(){return this._strokeThickness},set:function(t){this._strokeThickness!==t&&(this._strokeThickness=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textBaseline",{get:function(){return this._textBaseline},set:function(t){this._textBaseline!==t&&(this._textBaseline=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trim",{get:function(){return this._trim},set:function(t){this._trim!==t&&(this._trim=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"whiteSpace",{get:function(){return this._whiteSpace},set:function(t){this._whiteSpace!==t&&(this._whiteSpace=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(t){this._wordWrap!==t&&(this._wordWrap=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wordWrapWidth",{get:function(){return this._wordWrapWidth},set:function(t){this._wordWrapWidth!==t&&(this._wordWrapWidth=t,this.styleID++)},enumerable:!1,configurable:!0}),t.prototype.toFontString=function(){var t="number"==typeof this.fontSize?this.fontSize+"px":this.fontSize,e=this.fontFamily;Array.isArray(this.fontFamily)||(e=this.fontFamily.split(","));for(var n=e.length-1;n>=0;n--){var r=e[n].trim();!/([\"\'])[^\'\"]+\1/.test(r)&&ts.indexOf(r)<0&&(r='"'+r+'"'),e[n]=r}return this.fontStyle+" "+this.fontVariant+" "+this.fontWeight+" "+t+" "+e.join(",")},t}();function ns(t){return"number"==typeof t?Mt(t):("string"==typeof t&&0===t.indexOf("0x")&&(t=t.replace("0x","#")),t)}function rs(t){if(Array.isArray(t)){for(var e=0;e<t.length;++e)t[e]=ns(t[e]);return t}return ns(t)}function is(t,e,n){for(var r in n)Array.isArray(e[r])?t[r]=e[r].slice():t[r]=e[r]}var os=function(){function t(t,e,n,r,i,o,s,a,u){this.text=t,this.style=e,this.width=n,this.height=r,this.lines=i,this.lineWidths=o,this.lineHeight=s,this.maxLineWidth=a,this.fontProperties=u}return t.measureText=function(e,n,r,i){void 0===i&&(i=t._canvas),r=null==r?n.wordWrap:r;var o=n.toFontString(),s=t.measureFont(o);0===s.fontSize&&(s.fontSize=n.fontSize,s.ascent=n.fontSize);var a=i.getContext("2d");a.font=o;for(var u=(r?t.wordWrap(e,n,i):e).split(/(?:\r\n|\r|\n)/),c=new Array(u.length),h=0,l=0;l<u.length;l++){var d=a.measureText(u[l]).width+(u[l].length-1)*n.letterSpacing;c[l]=d,h=Math.max(h,d)}var f=h+n.strokeThickness;n.dropShadow&&(f+=n.dropShadowDistance);var p=n.lineHeight||s.fontSize+n.strokeThickness,_=Math.max(p,s.fontSize+n.strokeThickness)+(u.length-1)*(p+n.leading);return n.dropShadow&&(_+=n.dropShadowDistance),new t(e,n,f,_,u,c,p+n.leading,h,s)},t.wordWrap=function(e,n,r){void 0===r&&(r=t._canvas);for(var i=r.getContext("2d"),o=0,s="",a="",u=Object.create(null),c=n.letterSpacing,h=n.whiteSpace,l=t.collapseSpaces(h),d=t.collapseNewlines(h),f=!l,p=n.wordWrapWidth+c,_=t.tokenize(e),m=0;m<_.length;m++){var y=_[m];if(t.isNewline(y)){if(!d){a+=t.addLine(s),f=!l,s="",o=0;continue}y=" "}if(l){var v=t.isBreakingSpace(y),b=t.isBreakingSpace(s[s.length-1]);if(v&&b)continue}var g=t.getFromCache(y,c,u,i);if(g>p)if(""!==s&&(a+=t.addLine(s),s="",o=0),t.canBreakWords(y,n.breakWords))for(var w=t.wordWrapSplit(y),x=0;x<w.length;x++){for(var M=w[x],S=1;w[x+S];){var T=w[x+S],A=M[M.length-1];if(t.canBreakChars(A,T,y,x,n.breakWords))break;M+=T,S++}x+=M.length-1;var E=t.getFromCache(M,c,u,i);E+o>p&&(a+=t.addLine(s),f=!1,s="",o=0),s+=M,o+=E}else{s.length>0&&(a+=t.addLine(s),s="",o=0);var L=m===_.length-1;a+=t.addLine(y,!L),f=!1,s="",o=0}else g+o>p&&(f=!1,a+=t.addLine(s),s="",o=0),(s.length>0||!t.isBreakingSpace(y)||f)&&(s+=y,o+=g)}return a+=t.addLine(s,!1)},t.addLine=function(e,n){return void 0===n&&(n=!0),e=t.trimRight(e),e=n?e+"\n":e},t.getFromCache=function(t,e,n,r){var i=n[t];if("number"!=typeof i){var o=t.length*e;i=r.measureText(t).width+o,n[t]=i}return i},t.collapseSpaces=function(t){return"normal"===t||"pre-line"===t},t.collapseNewlines=function(t){return"normal"===t},t.trimRight=function(e){if("string"!=typeof e)return"";for(var n=e.length-1;n>=0;n--){var r=e[n];if(!t.isBreakingSpace(r))break;e=e.slice(0,-1)}return e},t.isNewline=function(e){return"string"==typeof e&&t._newlines.indexOf(e.charCodeAt(0))>=0},t.isBreakingSpace=function(e,n){return"string"==typeof e&&t._breakingSpaces.indexOf(e.charCodeAt(0))>=0},t.tokenize=function(e){var n=[],r="";if("string"!=typeof e)return n;for(var i=0;i<e.length;i++){var o=e[i],s=e[i+1];t.isBreakingSpace(o,s)||t.isNewline(o)?(""!==r&&(n.push(r),r=""),n.push(o)):r+=o}return""!==r&&n.push(r),n},t.canBreakWords=function(t,e){return e},t.canBreakChars=function(t,e,n,r,i){return!0},t.wordWrapSplit=function(t){return t.split("")},t.measureFont=function(e){if(t._fonts[e])return t._fonts[e];var n={ascent:0,descent:0,fontSize:0},r=t._canvas,i=t._context;i.font=e;var o=t.METRICS_STRING+t.BASELINE_SYMBOL,s=Math.ceil(i.measureText(o).width),a=Math.ceil(i.measureText(t.BASELINE_SYMBOL).width),u=Math.ceil(t.HEIGHT_MULTIPLIER*a);a=a*t.BASELINE_MULTIPLIER|0,r.width=s,r.height=u,i.fillStyle="#f00",i.fillRect(0,0,s,u),i.font=e,i.textBaseline="alphabetic",i.fillStyle="#000",i.fillText(o,0,a);var c=i.getImageData(0,0,s,u).data,h=c.length,l=4*s,d=0,f=0,p=!1;for(d=0;d<a;++d){for(var _=0;_<l;_+=4)if(255!==c[f+_]){p=!0;break}if(p)break;f+=l}for(n.ascent=a-d,f=h-l,p=!1,d=u;d>a;--d){for(_=0;_<l;_+=4)if(255!==c[f+_]){p=!0;break}if(p)break;f-=l}return n.descent=d-a,n.fontSize=n.ascent+n.descent,t._fonts[e]=n,n},t.clearMetrics=function(e){void 0===e&&(e=""),e?delete t._fonts[e]:t._fonts={}},t}(),ss=function(){try{var t=new OffscreenCanvas(0,0),e=t.getContext("2d");return e&&e.measureText?t:document.createElement("canvas")}catch(t){return document.createElement("canvas")}}();ss.width=ss.height=10,os._canvas=ss,os._context=ss.getContext("2d"),os._fonts={},os.METRICS_STRING="|ÉqÅ",os.BASELINE_SYMBOL="M",os.BASELINE_MULTIPLIER=1.4,os.HEIGHT_MULTIPLIER=2,os._newlines=[10,13],os._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288];var as={texture:!0,children:!1,baseTexture:!0},us=function(t){function e(e,n,r){var i=this,o=!1;r||(r=document.createElement("canvas"),o=!0),r.width=3,r.height=3;var s=rn.from(r);return s.orig=new Kt,s.trim=new Kt,(i=t.call(this,s)||this)._ownCanvas=o,i.canvas=r,i.context=i.canvas.getContext("2d"),i._resolution=dt.RESOLUTION,i._autoResolution=!0,i._text=null,i._style=null,i._styleListener=null,i._font="",i.text=e,i.style=n,i.localStyleID=-1,i}return function(t,e){function n(){this.constructor=t}Zo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.updateText=function(t){var n=this._style;if(this.localStyleID!==n.styleID&&(this.dirty=!0,this.localStyleID=n.styleID),this.dirty||!t){this._font=this._style.toFontString();var r,i,o=this.context,s=os.measureText(this._text||" ",this._style,this._style.wordWrap,this.canvas),a=s.width,u=s.height,c=s.lines,h=s.lineHeight,l=s.lineWidths,d=s.maxLineWidth,f=s.fontProperties;this.canvas.width=Math.ceil(Math.ceil(Math.max(1,a)+2*n.padding)*this._resolution),this.canvas.height=Math.ceil(Math.ceil(Math.max(1,u)+2*n.padding)*this._resolution),o.scale(this._resolution,this._resolution),o.clearRect(0,0,this.canvas.width,this.canvas.height),o.font=this._font,o.lineWidth=n.strokeThickness,o.textBaseline=n.textBaseline,o.lineJoin=n.lineJoin,o.miterLimit=n.miterLimit;for(var p=n.dropShadow?2:1,_=0;_<p;++_){var m=n.dropShadow&&0===_,y=m?Math.ceil(Math.max(1,u)+2*n.padding):0,v=y*this._resolution;if(m){o.fillStyle="black",o.strokeStyle="black";var b=n.dropShadowColor,g=xt("number"==typeof b?b:St(b));o.shadowColor="rgba("+255*g[0]+","+255*g[1]+","+255*g[2]+","+n.dropShadowAlpha+")",o.shadowBlur=n.dropShadowBlur,o.shadowOffsetX=Math.cos(n.dropShadowAngle)*n.dropShadowDistance,o.shadowOffsetY=Math.sin(n.dropShadowAngle)*n.dropShadowDistance+v}else o.fillStyle=this._generateFillStyle(n,c,s),o.strokeStyle=n.stroke,o.shadowColor="black",o.shadowBlur=0,o.shadowOffsetX=0,o.shadowOffsetY=0;var w=(h-f.fontSize)/2;(!e.nextLineHeightBehavior||h-f.fontSize<0)&&(w=0);for(var x=0;x<c.length;x++)r=n.strokeThickness/2,i=n.strokeThickness/2+x*h+f.ascent+w,"right"===n.align?r+=d-l[x]:"center"===n.align&&(r+=(d-l[x])/2),n.stroke&&n.strokeThickness&&this.drawLetterSpacing(c[x],r+n.padding,i+n.padding-y,!0),n.fill&&this.drawLetterSpacing(c[x],r+n.padding,i+n.padding-y)}this.updateTexture()}},e.prototype.drawLetterSpacing=function(t,e,n,r){void 0===r&&(r=!1);var i=this._style.letterSpacing;if(0!==i)for(var o=e,s=Array.from?Array.from(t):t.split(""),a=this.context.measureText(t).width,u=0,c=0;c<s.length;++c){var h=s[c];r?this.context.strokeText(h,o,n):this.context.fillText(h,o,n),o+=a-(u=this.context.measureText(t.substring(c+1)).width)+i,a=u}else r?this.context.strokeText(t,e,n):this.context.fillText(t,e,n)},e.prototype.updateTexture=function(){var t=this.canvas;if(this._style.trim){var e=function(t){var e,n,r,i=t.width,o=t.height,s=t.getContext("2d"),a=s.getImageData(0,0,i,o).data,u=a.length,c={top:null,left:null,right:null,bottom:null},h=null;for(e=0;e<u;e+=4)0!==a[e+3]&&(n=e/4%i,r=~~(e/4/i),null===c.top&&(c.top=r),(null===c.left||n<c.left)&&(c.left=n),(null===c.right||c.right<n)&&(c.right=n+1),(null===c.bottom||c.bottom<r)&&(c.bottom=r));return null!==c.top&&(i=c.right-c.left,o=c.bottom-c.top+1,h=s.getImageData(c.left,c.top,i,o)),{height:o,width:i,data:h}}(t);e.data&&(t.width=e.width,t.height=e.height,this.context.putImageData(e.data,0,0))}var n=this._texture,r=this._style,i=r.trim?0:r.padding,o=n.baseTexture;n.trim.width=n._frame.width=t.width/this._resolution,n.trim.height=n._frame.height=t.height/this._resolution,n.trim.x=-i,n.trim.y=-i,n.orig.width=n._frame.width-2*i,n.orig.height=n._frame.height-2*i,this._onTextureUpdate(),o.setRealSize(t.width,t.height,this._resolution),n.updateUvs(),this._recursivePostUpdateTransform(),this.dirty=!1},e.prototype._render=function(e){this._autoResolution&&this._resolution!==e.resolution&&(this._resolution=e.resolution,this.dirty=!0),this.updateText(!0),t.prototype._render.call(this,e)},e.prototype.getLocalBounds=function(e){return this.updateText(!0),t.prototype.getLocalBounds.call(this,e)},e.prototype._calculateBounds=function(){this.updateText(!0),this.calculateVertices(),this._bounds.addQuad(this.vertexData)},e.prototype._generateFillStyle=function(t,e,n){var r,i=t.fill;if(!Array.isArray(i))return i;if(1===i.length)return i[0];var o=t.dropShadow?t.dropShadowDistance:0,s=t.padding||0,a=this.canvas.width/this._resolution-o-2*s,u=this.canvas.height/this._resolution-o-2*s,c=i.slice(),h=t.fillGradientStops.slice();if(!h.length)for(var l=c.length+1,d=1;d<l;++d)h.push(d/l);if(c.unshift(i[0]),h.unshift(0),c.push(i[i.length-1]),h.push(1),t.fillGradientType===Jo.LINEAR_VERTICAL){r=this.context.createLinearGradient(a/2,s,a/2,u+s);var f=n.fontProperties.fontSize+t.strokeThickness;for(d=0;d<e.length;d++){var p=n.lineHeight*(d-1)+f,_=n.lineHeight*d,m=_;d>0&&p>_&&(m=(_+p)/2);var y=_+f,v=n.lineHeight*(d+1),b=y;d+1<e.length&&v<y&&(b=(y+v)/2);for(var g=(b-m)/u,w=0;w<c.length;w++){var x=0;x="number"==typeof h[w]?h[w]:w/c.length;var M=Math.min(1,Math.max(0,m/u+x*g));M=Number(M.toFixed(5)),r.addColorStop(M,c[w])}}}else{r=this.context.createLinearGradient(s,u/2,a+s,u/2);var S=c.length+1,T=1;for(d=0;d<c.length;d++){var A=void 0;A="number"==typeof h[d]?h[d]:T/S,r.addColorStop(A,c[d]),T++}}return r},e.prototype.destroy=function(e){"boolean"==typeof e&&(e={children:e}),e=Object.assign({},as,e),t.prototype.destroy.call(this,e),this._ownCanvas&&(this.canvas.height=this.canvas.width=0),this.context=null,this.canvas=null,this._style=null},Object.defineProperty(e.prototype,"width",{get:function(){return this.updateText(!0),Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){this.updateText(!0);var e=Pt(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.updateText(!0),Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){this.updateText(!0);var e=Pt(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this._style},set:function(t){t=t||{},this._style=t instanceof es?t:new es(t),this.localStyleID=-1,this.dirty=!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){t=String(null==t?"":t),this._text!==t&&(this._text=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"resolution",{get:function(){return this._resolution},set:function(t){this._autoResolution=!1,this._resolution!==t&&(this._resolution=t,this.dirty=!0)},enumerable:!1,configurable:!0}),e.nextLineHeightBehavior=!1,e}($o);
  397. /*!
  398. * @pixi/prepare - v6.1.3
  399. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  400. *
  401. * @pixi/prepare is licensed under the MIT License.
  402. * http://www.opensource.org/licenses/mit-license
  403. */
  404. dt.UPLOADS_PER_FRAME=4;
  405. /*! *****************************************************************************
  406. Copyright (c) Microsoft Corporation. All rights reserved.
  407. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  408. this file except in compliance with the License. You may obtain a copy of the
  409. License at http://www.apache.org/licenses/LICENSE-2.0
  410. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  411. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  412. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  413. MERCHANTABLITY OR NON-INFRINGEMENT.
  414. See the Apache Version 2.0 License for specific language governing permissions
  415. and limitations under the License.
  416. ***************************************************************************** */
  417. var cs=function(t,e){return(cs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var hs=function(){function t(t){this.maxItemsPerFrame=t,this.itemsLeft=0}return t.prototype.beginFrame=function(){this.itemsLeft=this.maxItemsPerFrame},t.prototype.allowedToUpload=function(){return this.itemsLeft-- >0},t}();function ls(t,e){var n=!1;if(t&&t._textures&&t._textures.length)for(var r=0;r<t._textures.length;r++)if(t._textures[r]instanceof rn){var i=t._textures[r].baseTexture;-1===e.indexOf(i)&&(e.push(i),n=!0)}return n}function ds(t,e){if(t.baseTexture instanceof Ue){var n=t.baseTexture;return-1===e.indexOf(n)&&e.push(n),!0}return!1}function fs(t,e){if(t._texture&&t._texture instanceof rn){var n=t._texture.baseTexture;return-1===e.indexOf(n)&&e.push(n),!0}return!1}function ps(t,e){return e instanceof us&&(e.updateText(!0),!0)}function _s(t,e){if(e instanceof es){var n=e.toFontString();return os.measureFont(n),!0}return!1}function ms(t,e){if(t instanceof us){-1===e.indexOf(t.style)&&e.push(t.style),-1===e.indexOf(t)&&e.push(t);var n=t._texture.baseTexture;return-1===e.indexOf(n)&&e.push(n),!0}return!1}function ys(t,e){return t instanceof es&&(-1===e.indexOf(t)&&e.push(t),!0)}function vs(t,e){return e instanceof Ue&&(e._glTextures[t.CONTEXT_UID]||t.texture.bind(e),!0)}function bs(t,e){if(!(e instanceof Wo))return!1;var n=e.geometry;e.finishPoly(),n.updateBatches();for(var r=n.batches,i=0;i<r.length;i++){var o=r[i].style.texture;o&&vs(t,o.baseTexture)}return n.batchable||t.geometry.bind(n,e._resolveDirectShader(t)),!0}function gs(t,e){return t instanceof Wo&&(e.push(t),!0)}var ws=function(t){function e(e){var n=t.call(this,e)||this;return n.uploadHookHelper=n.renderer,n.registerFindHook(gs),n.registerUploadHook(vs),n.registerUploadHook(bs),n}return function(t,e){function n(){this.constructor=t}cs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e}(function(){function t(t){var e=this;this.limiter=new hs(dt.UPLOADS_PER_FRAME),this.renderer=t,this.uploadHookHelper=null,this.queue=[],this.addHooks=[],this.uploadHooks=[],this.completes=[],this.ticking=!1,this.delayedTick=function(){e.queue&&e.prepareItems()},this.registerFindHook(ms),this.registerFindHook(ys),this.registerFindHook(ls),this.registerFindHook(ds),this.registerFindHook(fs),this.registerUploadHook(ps),this.registerUploadHook(_s)}return t.prototype.upload=function(t,e){"function"==typeof t&&(e=t,t=null),t&&this.add(t),this.queue.length?(e&&this.completes.push(e),this.ticking||(this.ticking=!0,xe.system.addOnce(this.tick,this,be.UTILITY))):e&&e()},t.prototype.tick=function(){setTimeout(this.delayedTick,0)},t.prototype.prepareItems=function(){for(this.limiter.beginFrame();this.queue.length&&this.limiter.allowedToUpload();){var t=this.queue[0],e=!1;if(t&&!t._destroyed)for(var n=0,r=this.uploadHooks.length;n<r;n++)if(this.uploadHooks[n](this.uploadHookHelper,t)){this.queue.shift(),e=!0;break}e||this.queue.shift()}if(this.queue.length)xe.system.addOnce(this.tick,this,be.UTILITY);else{this.ticking=!1;var i=this.completes.slice(0);this.completes.length=0;for(n=0,r=i.length;n<r;n++)i[n]()}},t.prototype.registerFindHook=function(t){return t&&this.addHooks.push(t),this},t.prototype.registerUploadHook=function(t){return t&&this.uploadHooks.push(t),this},t.prototype.add=function(t){for(var e=0,n=this.addHooks.length;e<n&&!this.addHooks[e](t,this.queue);e++);if(t instanceof ve)for(e=t.children.length-1;e>=0;e--)this.add(t.children[e]);return this},t.prototype.destroy=function(){this.ticking&&xe.system.remove(this.tick,this),this.ticking=!1,this.addHooks=null,this.uploadHooks=null,this.renderer=null,this.completes=null,this.queue=null,this.limiter=null,this.uploadHookHelper=null},t}()),xs=(function(){function t(t){this.maxMilliseconds=t,this.frameStart=0}t.prototype.beginFrame=function(){this.frameStart=Date.now()},t.prototype.allowedToUpload=function(){return Date.now()-this.frameStart<this.maxMilliseconds}}(),function(){function t(t,e,n){void 0===n&&(n=null),this._texture=t instanceof rn?t:null,this.baseTexture=t instanceof Ue?t:this._texture.baseTexture,this.textures={},this.animations={},this.data=e;var r=this.baseTexture.resource;this.resolution=this._updateResolution(n||(r?r.url:null)),this._frames=this.data.frames,this._frameKeys=Object.keys(this._frames),this._batchIndex=0,this._callback=null}return t.prototype._updateResolution=function(t){void 0===t&&(t=null);var e=this.data.meta.scale,n=Vt(t,null);return null===n&&(n=void 0!==e?parseFloat(e):1),1!==n&&this.baseTexture.setResolution(n),n},t.prototype.parse=function(e){this._batchIndex=0,this._callback=e,this._frameKeys.length<=t.BATCH_SIZE?(this._processFrames(0),this._processAnimations(),this._parseComplete()):this._nextBatch()},t.prototype._processFrames=function(e){for(var n=e,r=t.BATCH_SIZE;n-e<r&&n<this._frameKeys.length;){var i=this._frameKeys[n],o=this._frames[i],s=o.frame;if(s){var a=null,u=null,c=!1!==o.trimmed&&o.sourceSize?o.sourceSize:o.frame,h=new Kt(0,0,Math.floor(c.w)/this.resolution,Math.floor(c.h)/this.resolution);a=o.rotated?new Kt(Math.floor(s.x)/this.resolution,Math.floor(s.y)/this.resolution,Math.floor(s.h)/this.resolution,Math.floor(s.w)/this.resolution):new Kt(Math.floor(s.x)/this.resolution,Math.floor(s.y)/this.resolution,Math.floor(s.w)/this.resolution,Math.floor(s.h)/this.resolution),!1!==o.trimmed&&o.spriteSourceSize&&(u=new Kt(Math.floor(o.spriteSourceSize.x)/this.resolution,Math.floor(o.spriteSourceSize.y)/this.resolution,Math.floor(s.w)/this.resolution,Math.floor(s.h)/this.resolution)),this.textures[i]=new rn(this.baseTexture,a,h,u,o.rotated?2:0,o.anchor),rn.addToCache(this.textures[i],i)}n++}},t.prototype._processAnimations=function(){var t=this.data.animations||{};for(var e in t){this.animations[e]=[];for(var n=0;n<t[e].length;n++){var r=t[e][n];this.animations[e].push(this.textures[r])}}},t.prototype._parseComplete=function(){var t=this._callback;this._callback=null,this._batchIndex=0,t.call(this,this.textures)},t.prototype._nextBatch=function(){var e=this;this._processFrames(this._batchIndex*t.BATCH_SIZE),this._batchIndex++,setTimeout((function(){e._batchIndex*t.BATCH_SIZE<e._frameKeys.length?e._nextBatch():(e._processAnimations(),e._parseComplete())}),0)},t.prototype.destroy=function(t){var e;for(var n in void 0===t&&(t=!1),this.textures)this.textures[n].destroy();this._frames=null,this._frameKeys=null,this.data=null,this.textures=null,t&&(null===(e=this._texture)||void 0===e||e.destroy(),this.baseTexture.destroy()),this._texture=null,this.baseTexture=null},t.BATCH_SIZE=1e3,t}()),Ms=function(){function t(){}return t.use=function(e,n){var r,i,o=this,s=e.name+"_image";if(e.data&&e.type===hi.TYPE.JSON&&e.data.frames&&!o.resources[s]){var a=null===(i=null===(r=e.data)||void 0===r?void 0:r.meta)||void 0===i?void 0:i.related_multi_packs;if(Array.isArray(a))for(var u=function(t){if("string"!=typeof t)return"continue";var n=t.replace(".json",""),r=vt.resolve(e.url.replace(o.baseUrl,""),t);if(o.resources[n]||Object.values(o.resources).some((function(t){return vt.format(vt.parse(t.url))===r})))return"continue";var i={crossOrigin:e.crossOrigin,loadType:hi.LOAD_TYPE.XHR,xhrType:hi.XHR_RESPONSE_TYPE.JSON,parentResource:e,metadata:e.metadata};o.add(n,r,i)},c=0,h=a;c<h.length;c++){u(h[c])}var l={crossOrigin:e.crossOrigin,metadata:e.metadata.imageMetadata,parentResource:e},d=t.getResourcePath(e,o.baseUrl);o.add(s,d,l,(function(t){if(t.error)n(t.error);else{var r=new xs(t.texture,e.data,e.url);r.parse((function(){e.spritesheet=r,e.textures=r.textures,n()}))}}))}else n()},t.getResourcePath=function(t,e){return t.isDataUrl?t.data.meta.image:vt.resolve(t.url.replace(e,""),t.data.meta.image)},t}(),Ss=function(t,e){return(Ss=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function Ts(t,e){function n(){this.constructor=t}Ss(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var As=new te,Es=(function(t){function e(e,n,r){void 0===n&&(n=100),void 0===r&&(r=100);var i=t.call(this,e)||this;return i.tileTransform=new le,i._width=n,i._height=r,i.uvMatrix=i.texture.uvMatrix||new ar(e),i.pluginName="tilingSprite",i.uvRespectAnchor=!1,i}Ts(e,t),Object.defineProperty(e.prototype,"clampMargin",{get:function(){return this.uvMatrix.clampMargin},set:function(t){this.uvMatrix.clampMargin=t,this.uvMatrix.update(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tileScale",{get:function(){return this.tileTransform.scale},set:function(t){this.tileTransform.scale.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tilePosition",{get:function(){return this.tileTransform.position},set:function(t){this.tileTransform.position.copyFrom(t)},enumerable:!1,configurable:!0}),e.prototype._onTextureUpdate=function(){this.uvMatrix&&(this.uvMatrix.texture=this._texture),this._cachedTint=16777215},e.prototype._render=function(t){var e=this._texture;e&&e.valid&&(this.tileTransform.updateLocalTransform(),this.uvMatrix.update(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this))},e.prototype._calculateBounds=function(){var t=this._width*-this._anchor._x,e=this._height*-this._anchor._y,n=this._width*(1-this._anchor._x),r=this._height*(1-this._anchor._y);this._bounds.addFrame(this.transform,t,e,n,r)},e.prototype.getLocalBounds=function(e){return 0===this.children.length?(this._bounds.minX=this._width*-this._anchor._x,this._bounds.minY=this._height*-this._anchor._y,this._bounds.maxX=this._width*(1-this._anchor._x),this._bounds.maxY=this._height*(1-this._anchor._y),e||(this._localBoundsRect||(this._localBoundsRect=new Kt),e=this._localBoundsRect),this._bounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,As);var e=this._width,n=this._height,r=-e*this.anchor._x;if(As.x>=r&&As.x<r+e){var i=-n*this.anchor._y;if(As.y>=i&&As.y<i+n)return!0}return!1},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e),this.tileTransform=null,this.uvMatrix=null},e.from=function(t,n){return new e(t instanceof rn?t:rn.from(t,n),n.width,n.height)},Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t},enumerable:!1,configurable:!0})}($o),"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTransform;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n"),Ls=new ne,Ds=function(t){function e(e){var n=t.call(this,e)||this,r={globals:n.renderer.globalUniforms};return n.shader=rr.from(Es,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\nuniform mat3 uMapCoord;\nuniform vec4 uClampFrame;\nuniform vec2 uClampOffset;\n\nvoid main(void)\n{\n vec2 coord = vTextureCoord + ceil(uClampOffset - vTextureCoord);\n coord = (uMapCoord * vec3(coord, 1.0)).xy;\n coord = clamp(coord, uClampFrame.xy, uClampFrame.zw);\n\n vec4 texSample = texture2D(uSampler, coord);\n gl_FragColor = texSample * uColor;\n}\n",r),n.simpleShader=rr.from(Es,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\n\nvoid main(void)\n{\n vec4 sample = texture2D(uSampler, vTextureCoord);\n gl_FragColor = sample * uColor;\n}\n",r),n.quad=new yn,n.state=ir.for2d(),n}return Ts(e,t),e.prototype.render=function(t){var e=this.renderer,n=this.quad,r=n.vertices;r[0]=r[6]=t._width*-t.anchor.x,r[1]=r[3]=t._height*-t.anchor.y,r[2]=r[4]=t._width*(1-t.anchor.x),r[5]=r[7]=t._height*(1-t.anchor.y);var i=t.uvRespectAnchor?t.anchor.x:0,o=t.uvRespectAnchor?t.anchor.y:0;(r=n.uvs)[0]=r[6]=-i,r[1]=r[3]=-o,r[2]=r[4]=1-i,r[5]=r[7]=1-o,n.invalidate();var s=t._texture,a=s.baseTexture,u=t.tileTransform.localTransform,c=t.uvMatrix,h=a.isPowerOfTwo&&s.frame.width===a.width&&s.frame.height===a.height;h&&(a._glTextures[e.CONTEXT_UID]?h=a.wrapMode!==rt.CLAMP:a.wrapMode===rt.CLAMP&&(a.wrapMode=rt.REPEAT));var l=h?this.simpleShader:this.shader,d=s.width,f=s.height,p=t._width,_=t._height;Ls.set(u.a*d/p,u.b*d/_,u.c*f/p,u.d*f/_,u.tx/p,u.ty/_),Ls.invert(),h?Ls.prepend(c.mapCoord):(l.uniforms.uMapCoord=c.mapCoord.toArray(!0),l.uniforms.uClampFrame=c.uClampFrame,l.uniforms.uClampOffset=c.uClampOffset),l.uniforms.uTransform=Ls.toArray(!0),l.uniforms.uColor=Lt(t.tint,t.worldAlpha,l.uniforms.uColor,a.alphaMode),l.uniforms.translationMatrix=t.transform.worldTransform.toArray(!0),l.uniforms.uSampler=s,e.shader.bind(l),e.geometry.bind(n),this.state.blendMode=At(t.blendMode,a.alphaMode),e.state.set(this.state),e.geometry.draw(this.renderer.gl.TRIANGLES,6,0)},e}(Sn),Cs=function(t,e){return(Cs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function ks(t,e){function n(){this.constructor=t}Cs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Os=function(){function t(t,e){this.uvBuffer=t,this.uvMatrix=e,this.data=null,this._bufferUpdateId=-1,this._textureUpdateId=-1,this._updateID=0}return t.prototype.update=function(t){if(t||this._bufferUpdateId!==this.uvBuffer._updateID||this._textureUpdateId!==this.uvMatrix._updateID){this._bufferUpdateId=this.uvBuffer._updateID,this._textureUpdateId=this.uvMatrix._updateID;var e=this.uvBuffer.data;this.data&&this.data.length===e.length||(this.data=new Float32Array(e.length)),this.uvMatrix.multiplyUvs(e,this.data),this._updateID++}},t}(),Is=new te,Ps=new Zt,Rs=function(t){function e(e,n,r,i){void 0===i&&(i=$.TRIANGLES);var o=t.call(this)||this;return o.geometry=e,e.refCount++,o.shader=n,o.state=r||ir.for2d(),o.drawMode=i,o.start=0,o.size=0,o.uvs=null,o.indices=null,o.vertexData=new Float32Array(1),o.vertexDirty=-1,o._transformID=-1,o._roundPixels=dt.ROUND_PIXELS,o.batchUvs=null,o}return ks(e,t),Object.defineProperty(e.prototype,"uvBuffer",{get:function(){return this.geometry.buffers[1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"verticesBuffer",{get:function(){return this.geometry.buffers[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"material",{get:function(){return this.shader},set:function(t){this.shader=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blendMode",{get:function(){return this.state.blendMode},set:function(t){this.state.blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return"tint"in this.shader?this.shader.tint:null},set:function(t){this.shader.tint=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"texture",{get:function(){return"texture"in this.shader?this.shader.texture:null},set:function(t){this.shader.texture=t},enumerable:!1,configurable:!0}),e.prototype._render=function(t){var n=this.geometry.buffers[0].data;this.shader.batchable&&this.drawMode===$.TRIANGLES&&n.length<2*e.BATCHABLE_SIZE?this._renderToBatch(t):this._renderDefault(t)},e.prototype._renderDefault=function(t){var e=this.shader;e.alpha=this.worldAlpha,e.update&&e.update(),t.batch.flush(),e.uniforms.translationMatrix=this.transform.worldTransform.toArray(!0),t.shader.bind(e),t.state.set(this.state),t.geometry.bind(this.geometry,e),t.geometry.draw(this.drawMode,this.size,this.start,this.geometry.instanceCount)},e.prototype._renderToBatch=function(t){var e=this.geometry,n=this.shader;n.uvMatrix&&(n.uvMatrix.update(),this.calculateUvs()),this.calculateVertices(),this.indices=e.indexBuffer.data,this._tintRGB=n._tintRGB,this._texture=n.texture;var r=this.material.pluginName;t.batch.setObjectRenderer(t.plugins[r]),t.plugins[r].render(this)},e.prototype.calculateVertices=function(){var t=this.geometry.buffers[0],e=t.data,n=t._updateID;if(n!==this.vertexDirty||this._transformID!==this.transform._worldID){this._transformID=this.transform._worldID,this.vertexData.length!==e.length&&(this.vertexData=new Float32Array(e.length));for(var r=this.transform.worldTransform,i=r.a,o=r.b,s=r.c,a=r.d,u=r.tx,c=r.ty,h=this.vertexData,l=0;l<h.length/2;l++){var d=e[2*l],f=e[2*l+1];h[2*l]=i*d+s*f+u,h[2*l+1]=o*d+a*f+c}if(this._roundPixels){var p=dt.RESOLUTION;for(l=0;l<h.length;++l)h[l]=Math.round((h[l]*p|0)/p)}this.vertexDirty=n}},e.prototype.calculateUvs=function(){var t=this.geometry.buffers[1],e=this.shader;e.uvMatrix.isSimple?this.uvs=t.data:(this.batchUvs||(this.batchUvs=new Os(t,e.uvMatrix)),this.batchUvs.update(),this.uvs=this.batchUvs.data)},e.prototype._calculateBounds=function(){this.calculateVertices(),this._bounds.addVertexData(this.vertexData,0,this.vertexData.length)},e.prototype.containsPoint=function(t){if(!this.getBounds().contains(t.x,t.y))return!1;this.worldTransform.applyInverse(t,Is);for(var e=this.geometry.getBuffer("aVertexPosition").data,n=Ps.points,r=this.geometry.getIndex().data,i=r.length,o=4===this.drawMode?3:1,s=0;s+2<i;s+=o){var a=2*r[s],u=2*r[s+1],c=2*r[s+2];if(n[0]=e[a],n[1]=e[a+1],n[2]=e[u],n[3]=e[u+1],n[4]=e[c],n[5]=e[c+1],Ps.contains(Is.x,Is.y))return!0}return!1},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e),this.geometry.refCount--,0===this.geometry.refCount&&this.geometry.dispose(),this._cachedTexture&&(this._cachedTexture.destroy(),this._cachedTexture=null),this.geometry=null,this.shader=null,this.state=null,this.uvs=null,this.indices=null,this.vertexData=null},e.BATCHABLE_SIZE=100,e}(ve),Ys=function(t){function e(e,n){var r=this,i={uSampler:e,alpha:1,uTextureMatrix:ne.IDENTITY,uColor:new Float32Array([1,1,1,1])};return(n=Object.assign({tint:16777215,alpha:1,pluginName:"batch"},n)).uniforms&&Object.assign(i,n.uniforms),(r=t.call(this,n.program||nr.from("attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTextureMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = (uTextureMatrix * vec3(aTextureCoord, 1.0)).xy;\n}\n","varying vec2 vTextureCoord;\nuniform vec4 uColor;\n\nuniform sampler2D uSampler;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uColor;\n}\n"),i)||this)._colorDirty=!1,r.uvMatrix=new ar(e),r.batchable=void 0===n.program,r.pluginName=n.pluginName,r.tint=n.tint,r.alpha=n.alpha,r}return ks(e,t),Object.defineProperty(e.prototype,"texture",{get:function(){return this.uniforms.uSampler},set:function(t){this.uniforms.uSampler!==t&&(this.uniforms.uSampler=t,this.uvMatrix.texture=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this._alpha},set:function(t){t!==this._alpha&&(this._alpha=t,this._colorDirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){t!==this._tint&&(this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16),this._colorDirty=!0)},enumerable:!1,configurable:!0}),e.prototype.update=function(){if(this._colorDirty){this._colorDirty=!1;var t=this.texture.baseTexture;Lt(this._tint,this._alpha,this.uniforms.uColor,t.alphaMode)}this.uvMatrix.update()&&(this.uniforms.uTextureMatrix=this.uvMatrix.mapCoord)},e}(rr),Bs=function(t){function e(e,n,r){var i=t.call(this)||this,o=new hn(e),s=new hn(n,!0),a=new hn(r,!0,!0);return i.addAttribute("aVertexPosition",o,2,!1,tt.FLOAT).addAttribute("aTextureCoord",s,2,!1,tt.FLOAT).addIndex(a),i._updateId=-1,i}return ks(e,t),Object.defineProperty(e.prototype,"vertexDirtyId",{get:function(){return this.buffers[0]._updateID},enumerable:!1,configurable:!0}),e}(_n),Ns=function(t,e){return(Ns=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var js=function(){this.info=[],this.common=[],this.page=[],this.char=[],this.kerning=[]},Fs=function(){function t(){}return t.test=function(t){return"string"==typeof t&&0===t.indexOf("info face=")},t.parse=function(t){var e=t.match(/^[a-z]+\s+.+$/gm),n={info:[],common:[],page:[],char:[],chars:[],kerning:[],kernings:[]};for(var r in e){var i=e[r].match(/^[a-z]+/gm)[0],o=e[r].match(/[a-zA-Z]+=([^\s"']+|"([^"]*)")/gm),s={};for(var a in o){var u=o[a].split("="),c=u[0],h=u[1].replace(/"/gm,""),l=parseFloat(h),d=isNaN(l)?h:l;s[c]=d}n[i].push(s)}var f=new js;return n.info.forEach((function(t){return f.info.push({face:t.face,size:parseInt(t.size,10)})})),n.common.forEach((function(t){return f.common.push({lineHeight:parseInt(t.lineHeight,10)})})),n.page.forEach((function(t){return f.page.push({id:parseInt(t.id,10),file:t.file})})),n.char.forEach((function(t){return f.char.push({id:parseInt(t.id,10),page:parseInt(t.page,10),x:parseInt(t.x,10),y:parseInt(t.y,10),width:parseInt(t.width,10),height:parseInt(t.height,10),xoffset:parseInt(t.xoffset,10),yoffset:parseInt(t.yoffset,10),xadvance:parseInt(t.xadvance,10)})})),n.kerning.forEach((function(t){return f.kerning.push({first:parseInt(t.first,10),second:parseInt(t.second,10),amount:parseInt(t.amount,10)})})),f},t}(),Us=function(){function t(){}return t.test=function(t){return t instanceof XMLDocument&&t.getElementsByTagName("page").length&&null!==t.getElementsByTagName("info")[0].getAttribute("face")},t.parse=function(t){for(var e=new js,n=t.getElementsByTagName("info"),r=t.getElementsByTagName("common"),i=t.getElementsByTagName("page"),o=t.getElementsByTagName("char"),s=t.getElementsByTagName("kerning"),a=0;a<n.length;a++)e.info.push({face:n[a].getAttribute("face"),size:parseInt(n[a].getAttribute("size"),10)});for(a=0;a<r.length;a++)e.common.push({lineHeight:parseInt(r[a].getAttribute("lineHeight"),10)});for(a=0;a<i.length;a++)e.page.push({id:parseInt(i[a].getAttribute("id"),10)||0,file:i[a].getAttribute("file")});for(a=0;a<o.length;a++){var u=o[a];e.char.push({id:parseInt(u.getAttribute("id"),10),page:parseInt(u.getAttribute("page"),10)||0,x:parseInt(u.getAttribute("x"),10),y:parseInt(u.getAttribute("y"),10),width:parseInt(u.getAttribute("width"),10),height:parseInt(u.getAttribute("height"),10),xoffset:parseInt(u.getAttribute("xoffset"),10),yoffset:parseInt(u.getAttribute("yoffset"),10),xadvance:parseInt(u.getAttribute("xadvance"),10)})}for(a=0;a<s.length;a++)e.kerning.push({first:parseInt(s[a].getAttribute("first"),10),second:parseInt(s[a].getAttribute("second"),10),amount:parseInt(s[a].getAttribute("amount"),10)});return e},t}(),Gs=function(){function t(){}return t.test=function(t){if("string"==typeof t&&t.indexOf("<font>")>-1){var e=(new self.DOMParser).parseFromString(t,"text/xml");return Us.test(e)}return!1},t.parse=function(t){var e=(new self.DOMParser).parseFromString(t,"text/xml");return Us.parse(e)},t}(),Hs=[Fs,Us,Gs];function Vs(t){for(var e=0;e<Hs.length;e++)if(Hs[e].test(t))return Hs[e];return null}function zs(t,e,n,r,i,o,s){var a=n.text,u=n.fontProperties;e.translate(r,i),e.scale(o,o);var c=s.strokeThickness/2,h=-s.strokeThickness/2;e.font=s.toFontString(),e.lineWidth=s.strokeThickness,e.textBaseline=s.textBaseline,e.lineJoin=s.lineJoin,e.miterLimit=s.miterLimit,e.fillStyle=function(t,e,n,r,i,o){var s,a=n.fill;if(!Array.isArray(a))return a;if(1===a.length)return a[0];var u=n.dropShadow?n.dropShadowDistance:0,c=n.padding||0,h=t.width/r-u-2*c,l=t.height/r-u-2*c,d=a.slice(),f=n.fillGradientStops.slice();if(!f.length)for(var p=d.length+1,_=1;_<p;++_)f.push(_/p);if(d.unshift(a[0]),f.unshift(0),d.push(a[a.length-1]),f.push(1),n.fillGradientType===Jo.LINEAR_VERTICAL){s=e.createLinearGradient(h/2,c,h/2,l+c);var m=0,y=(o.fontProperties.fontSize+n.strokeThickness)/l;for(_=0;_<i.length;_++)for(var v=o.lineHeight*_,b=0;b<d.length;b++){var g=v/l+("number"==typeof f[b]?f[b]:b/d.length)*y,w=Math.max(m,g);w=Math.min(w,1),s.addColorStop(w,d[b]),m=w}}else{s=e.createLinearGradient(c,l/2,h+c,l/2);var x=d.length+1,M=1;for(_=0;_<d.length;_++){var S=void 0;S="number"==typeof f[_]?f[_]:M/x,s.addColorStop(S,d[_]),M++}}return s}(t,e,s,o,[a],n),e.strokeStyle=s.stroke;var l=s.dropShadowColor,d=xt("number"==typeof l?l:St(l));s.dropShadow?(e.shadowColor="rgba("+255*d[0]+","+255*d[1]+","+255*d[2]+","+s.dropShadowAlpha+")",e.shadowBlur=s.dropShadowBlur,e.shadowOffsetX=Math.cos(s.dropShadowAngle)*s.dropShadowDistance,e.shadowOffsetY=Math.sin(s.dropShadowAngle)*s.dropShadowDistance):(e.shadowColor="black",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0),s.stroke&&s.strokeThickness&&e.strokeText(a,c,h+n.lineHeight-u.descent),s.fill&&e.fillText(a,c,h+n.lineHeight-u.descent),e.setTransform(1,0,0,1,0,0),e.fillStyle="rgba(0, 0, 0, 0)"}var Ws=function(){function t(t,e,n){var r=t.info[0],i=t.common[0],o=Vt(t.page[0].file),s={};this._ownsTextures=n,this.font=r.face,this.size=r.size,this.lineHeight=i.lineHeight/o,this.chars={},this.pageTextures=s;for(var a=0;a<t.page.length;a++){var u=t.page[a],c=u.id,h=u.file;s[c]=e instanceof Array?e[a]:e[h]}for(a=0;a<t.char.length;a++){var l=t.char[a],d=(c=l.id,l.page),f=t.char[a],p=f.x,_=f.y,m=f.width,y=f.height,v=f.xoffset,b=f.yoffset,g=f.xadvance;_/=o,m/=o,y/=o,v/=o,b/=o,g/=o;var w=new Kt((p/=o)+s[d].frame.x/o,_+s[d].frame.y/o,m,y);this.chars[c]={xOffset:v,yOffset:b,xAdvance:g,kerning:{},texture:new rn(s[d].baseTexture,w),page:d}}for(a=0;a<t.kerning.length;a++){var x=t.kerning[a],M=x.first,S=x.second,T=x.amount;M/=o,S/=o,T/=o,this.chars[S]&&(this.chars[S].kerning[M]=T)}}return t.prototype.destroy=function(){for(var t in this.chars)this.chars[t].texture.destroy(),this.chars[t].texture=null;for(var t in this.pageTextures)this._ownsTextures&&this.pageTextures[t].destroy(!0),this.pageTextures[t]=null;this.chars=null,this.pageTextures=null},t.install=function(e,n,r){var i;if(e instanceof js)i=e;else{var o=Vs(e);if(!o)throw new Error("Unrecognized data format for font.");i=o.parse(e)}n instanceof rn&&(n=[n]);var s=new t(i,n,r);return t.available[s.font]=s,s},t.uninstall=function(e){var n=t.available[e];if(!n)throw new Error("No font found named '"+e+"'");n.destroy(),delete t.available[e]},t.from=function(e,n,r){if(!e)throw new Error("[BitmapFont] Property `name` is required.");var i=Object.assign({},t.defaultOptions,r),o=i.chars,s=i.padding,a=i.resolution,u=i.textureWidth,c=i.textureHeight,h=function(t){"string"==typeof t&&(t=[t]);for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];if(Array.isArray(i)){if(2!==i.length)throw new Error("[BitmapFont]: Invalid character range length, expecting 2 got "+i.length+".");var o=i[0].charCodeAt(0),s=i[1].charCodeAt(0);if(s<o)throw new Error("[BitmapFont]: Invalid character range.");for(var a=o,u=s;a<=u;a++)e.push(String.fromCharCode(a))}else e.push.apply(e,i.split(""))}if(0===e.length)throw new Error("[BitmapFont]: Empty set when resolving characters.");return e}(o),l=n instanceof es?n:new es(n),d=u,f=new js;f.info[0]={face:l.fontFamily,size:l.fontSize},f.common[0]={lineHeight:l.fontSize};for(var p,_,m,y=0,v=0,b=0,g=[],w=0;w<h.length;w++){p||((p=document.createElement("canvas")).width=u,p.height=c,_=p.getContext("2d"),m=new Ue(p,{resolution:a}),g.push(new rn(m)),f.page.push({id:g.length-1,file:""}));var x=os.measureText(h[w],l,!1,p),M=x.width,S=Math.ceil(x.height),T=Math.ceil(("italic"===l.fontStyle?2:1)*M);if(v>=c-S*a){if(0===v)throw new Error("[BitmapFont] textureHeight "+c+"px is too small for "+l.fontSize+"px fonts");--w,p=null,_=null,m=null,v=0,y=0,b=0}else if(b=Math.max(S+x.fontProperties.descent,b),T*a+y>=d)--w,v+=b*a,v=Math.ceil(v),y=0,b=0;else{zs(p,_,x,y,v,a,l);var A=x.text.charCodeAt(0);f.char.push({id:A,page:g.length-1,x:y/a,y:v/a,width:T,height:S,xoffset:0,yoffset:0,xadvance:Math.ceil(M-(l.dropShadow?l.dropShadowDistance:0)-(l.stroke?l.strokeThickness:0))}),y+=(T+2*s)*a,y=Math.ceil(y)}}w=0;for(var E=h.length;w<E;w++)for(var L=h[w],D=0;D<E;D++){var C=h[D],k=_.measureText(L).width,O=_.measureText(C).width,I=_.measureText(L+C).width-(k+O);I&&f.kerning.push({first:L.charCodeAt(0),second:C.charCodeAt(0),amount:I})}var P=new t(f,g,!0);return void 0!==t.available[e]&&t.uninstall(e),t.available[e]=P,P},t.ALPHA=[["a","z"],["A","Z"]," "],t.NUMERIC=[["0","9"]],t.ALPHANUMERIC=[["a","z"],["A","Z"],["0","9"]," "],t.ASCII=[[" ","~"]],t.defaultOptions={resolution:1,textureWidth:512,textureHeight:512,padding:4,chars:t.ALPHANUMERIC},t.available={},t}(),Xs=[],Js=[],Ks=(function(t){function e(n,r){void 0===r&&(r={});var i=t.call(this)||this;i._tint=16777215;var o=Object.assign({},e.styleDefaults,r),s=o.align,a=o.tint,u=o.maxWidth,c=o.letterSpacing,h=o.fontName,l=o.fontSize;if(!Ws.available[h])throw new Error('Missing BitmapFont "'+h+'"');return i._activePagesMeshData=[],i._textWidth=0,i._textHeight=0,i._align=s,i._tint=a,i._fontName=h,i._fontSize=l||Ws.available[h].size,i._text=n,i._maxWidth=u,i._maxLineHeight=0,i._letterSpacing=c,i._anchor=new ee((function(){i.dirty=!0}),i,0,0),i._roundPixels=dt.ROUND_PIXELS,i.dirty=!0,i._textureCache={},i}(function(t,e){function n(){this.constructor=t}Ns(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),e.prototype.updateText=function(){for(var t,e=Ws.available[this._fontName],n=this._fontSize/e.size,r=new te,i=[],o=[],s=[],a=this._text.replace(/(?:\r\n|\r)/g,"\n")||" ",u=a.length,c=this._maxWidth*e.size/this._fontSize,h=null,l=0,d=0,f=0,p=-1,_=0,m=0,y=0,v=0,b=0;b<u;b++){var g=a.charCodeAt(b),w=a.charAt(b);if(/(?:\s)/.test(w)&&(p=b,_=l,v++),"\r"!==w&&"\n"!==w){var x=e.chars[g];if(x){h&&x.kerning[h]&&(r.x+=x.kerning[h]);var M=Js.pop()||{texture:rn.EMPTY,line:0,charCode:0,prevSpaces:0,position:new te};M.texture=x.texture,M.line=f,M.charCode=g,M.position.x=r.x+x.xOffset+this._letterSpacing/2,M.position.y=r.y+x.yOffset,M.prevSpaces=v,i.push(M),l=M.position.x+x.texture.orig.width,r.x+=x.xAdvance+this._letterSpacing,y=Math.max(y,x.yOffset+x.texture.height),h=g,-1!==p&&c>0&&r.x>c&&(It(i,1+p-++m,1+b-p),b=p,p=-1,o.push(_),s.push(i.length>0?i[i.length-1].prevSpaces:0),d=Math.max(d,_),f++,r.x=0,r.y+=e.lineHeight,h=null,v=0)}}else o.push(l),s.push(-1),d=Math.max(d,l),++f,++m,r.x=0,r.y+=e.lineHeight,h=null,v=0}var S=a.charAt(a.length-1);"\r"!==S&&"\n"!==S&&(/(?:\s)/.test(S)&&(l=_),o.push(l),d=Math.max(d,l),s.push(-1));var T=[];for(b=0;b<=f;b++){var A=0;"right"===this._align?A=d-o[b]:"center"===this._align?A=(d-o[b])/2:"justify"===this._align&&(A=s[b]<0?0:(d-o[b])/s[b]),T.push(A)}var E=i.length,L={},D=[],C=this._activePagesMeshData;for(b=0;b<C.length;b++)Xs.push(C[b]);for(b=0;b<E;b++){var k=(F=i[b].texture).baseTexture.uid;if(!L[k]){if(!(X=Xs.pop())){var O=new Bs,I=new Ys(rn.EMPTY);X={index:0,indexCount:0,vertexCount:0,uvsCount:0,total:0,mesh:new Rs(O,I),vertices:null,uvs:null,indices:null}}X.index=0,X.indexCount=0,X.vertexCount=0,X.uvsCount=0,X.total=0;var P=this._textureCache;P[k]=P[k]||new rn(F.baseTexture),X.mesh.texture=P[k],X.mesh.tint=this._tint,D.push(X),L[k]=X}L[k].total++}for(b=0;b<C.length;b++)-1===D.indexOf(C[b])&&this.removeChild(C[b].mesh);for(b=0;b<D.length;b++)D[b].mesh.parent!==this&&this.addChild(D[b].mesh);for(var b in this._activePagesMeshData=D,L){var R=(X=L[b]).total;if(!((null===(t=X.indices)||void 0===t?void 0:t.length)>6*R)||X.vertices.length<2*Rs.BATCHABLE_SIZE)X.vertices=new Float32Array(8*R),X.uvs=new Float32Array(8*R),X.indices=new Uint16Array(6*R);else for(var Y=X.total,B=X.vertices,N=4*Y*2;N<B.length;N++)B[N]=0;X.mesh.size=6*R}for(b=0;b<E;b++){var j=(w=i[b]).position.x+T[w.line]*("justify"===this._align?w.prevSpaces:1);this._roundPixels&&(j=Math.round(j));var F,U=j*n,G=w.position.y*n,H=L[(F=w.texture).baseTexture.uid],V=F.frame,z=F._uvs,W=H.index++;H.indices[6*W+0]=0+4*W,H.indices[6*W+1]=1+4*W,H.indices[6*W+2]=2+4*W,H.indices[6*W+3]=0+4*W,H.indices[6*W+4]=2+4*W,H.indices[6*W+5]=3+4*W,H.vertices[8*W+0]=U,H.vertices[8*W+1]=G,H.vertices[8*W+2]=U+V.width*n,H.vertices[8*W+3]=G,H.vertices[8*W+4]=U+V.width*n,H.vertices[8*W+5]=G+V.height*n,H.vertices[8*W+6]=U,H.vertices[8*W+7]=G+V.height*n,H.uvs[8*W+0]=z.x0,H.uvs[8*W+1]=z.y0,H.uvs[8*W+2]=z.x1,H.uvs[8*W+3]=z.y1,H.uvs[8*W+4]=z.x2,H.uvs[8*W+5]=z.y2,H.uvs[8*W+6]=z.x3,H.uvs[8*W+7]=z.y3}for(var b in this._textWidth=d*n,this._textHeight=(r.y+e.lineHeight)*n,L){var X=L[b];if(0!==this.anchor.x||0!==this.anchor.y)for(var J=0,K=this._textWidth*this.anchor.x,q=this._textHeight*this.anchor.y,$=0;$<X.total;$++)X.vertices[J++]-=K,X.vertices[J++]-=q,X.vertices[J++]-=K,X.vertices[J++]-=q,X.vertices[J++]-=K,X.vertices[J++]-=q,X.vertices[J++]-=K,X.vertices[J++]-=q;this._maxLineHeight=y*n;var Z=X.mesh.geometry.getBuffer("aVertexPosition"),Q=X.mesh.geometry.getBuffer("aTextureCoord"),tt=X.mesh.geometry.getIndex();Z.data=X.vertices,Q.data=X.uvs,tt.data=X.indices,Z.update(),Q.update(),tt.update()}for(b=0;b<i.length;b++)Js.push(i[b])},e.prototype.updateTransform=function(){this.validate(),this.containerUpdateTransform()},e.prototype.getLocalBounds=function(){return this.validate(),t.prototype.getLocalBounds.call(this)},e.prototype.validate=function(){this.dirty&&(this.updateText(),this.dirty=!1)},Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){if(this._tint!==t){this._tint=t;for(var e=0;e<this._activePagesMeshData.length;e++)this._activePagesMeshData[e].mesh.tint=t}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this._align},set:function(t){this._align!==t&&(this._align=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontName",{get:function(){return this._fontName},set:function(t){if(!Ws.available[t])throw new Error('Missing BitmapFont "'+t+'"');this._fontName!==t&&(this._fontName=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this._fontSize},set:function(t){this._fontSize!==t&&(this._fontSize=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"anchor",{get:function(){return this._anchor},set:function(t){"number"==typeof t?this._anchor.set(t):this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){t=String(null==t?"":t),this._text!==t&&(this._text=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this._maxWidth},set:function(t){this._maxWidth!==t&&(this._maxWidth=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLineHeight",{get:function(){return this.validate(),this._maxLineHeight},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textWidth",{get:function(){return this.validate(),this._textWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"letterSpacing",{get:function(){return this._letterSpacing},set:function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){t!==this._roundPixels&&(this._roundPixels=t,this.dirty=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textHeight",{get:function(){return this.validate(),this._textHeight},enumerable:!1,configurable:!0}),e.prototype.destroy=function(e){var n=this._textureCache;for(var r in n){n[r].destroy(),delete n[r]}this._textureCache=null,t.prototype.destroy.call(this,e)},e.styleDefaults={align:"left",tint:16777215,maxWidth:0,letterSpacing:0}}(ve),function(){function t(){}return t.add=function(){hi.setExtensionXhrType("fnt",hi.XHR_RESPONSE_TYPE.TEXT)},t.use=function(e,n){var r=Vs(e.data);if(r)for(var i=t.getBaseUrl(this,e),o=r.parse(e.data),s={},a=function(t){s[t.metadata.pageFile]=t.texture,Object.keys(s).length===o.page.length&&(e.bitmapFont=Ws.install(o,s,!0),n())},u=0;u<o.page.length;++u){var c=o.page[u].file,h=i+c,l=!1;for(var d in this.resources){var f=this.resources[d];if(f.url===h){f.metadata.pageFile=c,f.texture?a(f):f.onAfterMiddleware.add(a),l=!0;break}}if(!l){var p={crossOrigin:e.crossOrigin,loadType:hi.LOAD_TYPE.IMAGE,metadata:Object.assign({pageFile:c},e.metadata.imageMetadata),parentResource:e};this.add(h,p,a)}}else n()},t.getBaseUrl=function(e,n){var r=n.isDataUrl?"":t.dirname(n.url);return n.isDataUrl&&("."===r&&(r=""),e.baseUrl&&r&&"/"===e.baseUrl.charAt(e.baseUrl.length-1)&&(r+="/")),(r=r.replace(e.baseUrl,""))&&"/"!==r.charAt(r.length-1)&&(r+="/"),r},t.dirname=function(t){var e=t.replace(/\\/g,"/").replace(/\/$/,"").replace(/\/[^\/]*$/,"");return e===t?".":""===e?"/":e},t}()),qs=function(t,e){return(qs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};!function(t){function e(e){void 0===e&&(e=1);var n=t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n",{uAlpha:1})||this;return n.alpha=e,n}(function(t,e){function n(){this.constructor=t}qs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),Object.defineProperty(e.prototype,"alpha",{get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t},enumerable:!1,configurable:!0})}(or);var $s=function(t,e){return($s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function Zs(t,e){function n(){this.constructor=t}$s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Qs,ta,ea,na,ra,ia,oa,sa,aa,ua,ca,ha,la,da,fa,pa,_a,ma,ya,va={5:[.153388,.221461,.250301],7:[.071303,.131514,.189879,.214607],9:[.028532,.067234,.124009,.179044,.20236],11:[.0093,.028002,.065984,.121703,.175713,.198596],13:[.002406,.009255,.027867,.065666,.121117,.174868,.197641],15:[489e-6,.002403,.009246,.02784,.065602,.120999,.174697,.197448]},ba=["varying vec2 vBlurTexCoords[%size%];","uniform sampler2D uSampler;","void main(void)","{"," gl_FragColor = vec4(0.0);"," %blur%","}"].join("\n");!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(Qs||(Qs={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(ta||(ta={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(ea||(ea={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(na||(na={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(ra||(ra={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(ia||(ia={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(oa||(oa={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(sa||(sa={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(aa||(aa={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(ua||(ua={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(ca||(ca={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(ha||(ha={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(la||(la={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(da||(da={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(fa||(fa={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(pa||(pa={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(_a||(_a={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(ma||(ma={})),function(t){t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"}(ya||(ya={}));var ga=function(t){function e(e,n,r,i,o){void 0===n&&(n=8),void 0===r&&(r=4),void 0===i&&(i=dt.FILTER_RESOLUTION),void 0===o&&(o=5);var s=this,a=function(t,e){var n,r=Math.ceil(t/2),i="\n attribute vec2 aVertexPosition;\n\n uniform mat3 projectionMatrix;\n\n uniform float strength;\n\n varying vec2 vBlurTexCoords[%size%];\n\n uniform vec4 inputSize;\n uniform vec4 outputFrame;\n\n vec4 filterVertexPosition( void )\n {\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n }\n\n vec2 filterTextureCoord( void )\n {\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n }\n\n void main(void)\n {\n gl_Position = filterVertexPosition();\n\n vec2 textureCoord = filterTextureCoord();\n %blur%\n }",o="";n=e?"vBlurTexCoords[%index%] = textureCoord + vec2(%sampleIndex% * strength, 0.0);":"vBlurTexCoords[%index%] = textureCoord + vec2(0.0, %sampleIndex% * strength);";for(var s=0;s<t;s++){var a=n.replace("%index%",s.toString());o+=a=a.replace("%sampleIndex%",s-(r-1)+".0"),o+="\n"}return i=(i=i.replace("%blur%",o)).replace("%size%",t.toString())}(o,e),u=function(t){for(var e,n=va[t],r=n.length,i=ba,o="",s=0;s<t;s++){var a="gl_FragColor += texture2D(uSampler, vBlurTexCoords[%index%]) * %value%;".replace("%index%",s.toString());e=s,s>=r&&(e=t-s-1),o+=a=a.replace("%value%",n[e].toString()),o+="\n"}return i=(i=i.replace("%blur%",o)).replace("%size%",t.toString())}
  418. /*!
  419. * @pixi/constants - v6.1.3
  420. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  421. *
  422. * @pixi/constants is licensed under the MIT License.
  423. * http://www.opensource.org/licenses/mit-license
  424. */(o);return(s=t.call(this,a,u)||this).horizontal=e,s.resolution=i,s._quality=0,s.quality=r,s.blur=n,s}return Zs(e,t),e.prototype.apply=function(t,e,n,r){if(n?this.horizontal?this.uniforms.strength=1/n.width*(n.width/e.width):this.uniforms.strength=1/n.height*(n.height/e.height):this.horizontal?this.uniforms.strength=1/t.renderer.width*(t.renderer.width/e.width):this.uniforms.strength=1/t.renderer.height*(t.renderer.height/e.height),this.uniforms.strength*=this.strength,this.uniforms.strength/=this.passes,1===this.passes)t.applyFilter(this,e,n,r);else{var i=t.getFilterTexture(),o=t.renderer,s=e,a=i;this.state.blend=!1,t.applyFilter(this,s,a,da.CLEAR);for(var u=1;u<this.passes-1;u++){t.bindAndClear(s,da.BLIT),this.uniforms.uSampler=a;var c=a;a=s,s=c,o.shader.bind(this),o.geometry.draw(5)}this.state.blend=!0,t.applyFilter(this,a,n,r),t.returnFilterTexture(i)}},Object.defineProperty(e.prototype,"blur",{get:function(){return this.strength},set:function(t){this.padding=1+2*Math.abs(t),this.strength=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"quality",{get:function(){return this._quality},set:function(t){this._quality=t,this.passes=t},enumerable:!1,configurable:!0}),e}(or),wa=(function(t){function e(e,n,r,i){void 0===e&&(e=8),void 0===n&&(n=4),void 0===r&&(r=dt.FILTER_RESOLUTION),void 0===i&&(i=5);var o=t.call(this)||this;return o.blurXFilter=new ga(!0,e,n,r,i),o.blurYFilter=new ga(!1,e,n,r,i),o.resolution=r,o.quality=n,o.blur=e,o.repeatEdgePixels=!1,o}Zs(e,t),e.prototype.apply=function(t,e,n,r){var i=Math.abs(this.blurXFilter.strength),o=Math.abs(this.blurYFilter.strength);if(i&&o){var s=t.getFilterTexture();this.blurXFilter.apply(t,e,s,da.CLEAR),this.blurYFilter.apply(t,s,n,r),t.returnFilterTexture(s)}else o?this.blurYFilter.apply(t,e,n,r):this.blurXFilter.apply(t,e,n,r)},e.prototype.updatePadding=function(){this._repeatEdgePixels?this.padding=0:this.padding=2*Math.max(Math.abs(this.blurXFilter.strength),Math.abs(this.blurYFilter.strength))},Object.defineProperty(e.prototype,"blur",{get:function(){return this.blurXFilter.blur},set:function(t){this.blurXFilter.blur=this.blurYFilter.blur=t,this.updatePadding()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"quality",{get:function(){return this.blurXFilter.quality},set:function(t){this.blurXFilter.quality=this.blurYFilter.quality=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blurX",{get:function(){return this.blurXFilter.blur},set:function(t){this.blurXFilter.blur=t,this.updatePadding()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blurY",{get:function(){return this.blurYFilter.blur},set:function(t){this.blurYFilter.blur=t,this.updatePadding()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blendMode",{get:function(){return this.blurYFilter.blendMode},set:function(t){this.blurYFilter.blendMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"repeatEdgePixels",{get:function(){return this._repeatEdgePixels},set:function(t){this._repeatEdgePixels=t,this.updatePadding()},enumerable:!1,configurable:!0})}(or),function(t,e){return(wa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)});var xa=function(t){function e(){var e=this,n={m:new Float32Array([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0]),uAlpha:1};return(e=t.call(this,Yr,"varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform float m[20];\nuniform float uAlpha;\n\nvoid main(void)\n{\n vec4 c = texture2D(uSampler, vTextureCoord);\n\n if (uAlpha == 0.0) {\n gl_FragColor = c;\n return;\n }\n\n // Un-premultiply alpha before applying the color matrix. See issue #3539.\n if (c.a > 0.0) {\n c.rgb /= c.a;\n }\n\n vec4 result;\n\n result.r = (m[0] * c.r);\n result.r += (m[1] * c.g);\n result.r += (m[2] * c.b);\n result.r += (m[3] * c.a);\n result.r += m[4];\n\n result.g = (m[5] * c.r);\n result.g += (m[6] * c.g);\n result.g += (m[7] * c.b);\n result.g += (m[8] * c.a);\n result.g += m[9];\n\n result.b = (m[10] * c.r);\n result.b += (m[11] * c.g);\n result.b += (m[12] * c.b);\n result.b += (m[13] * c.a);\n result.b += m[14];\n\n result.a = (m[15] * c.r);\n result.a += (m[16] * c.g);\n result.a += (m[17] * c.b);\n result.a += (m[18] * c.a);\n result.a += m[19];\n\n vec3 rgb = mix(c.rgb, result.rgb, uAlpha);\n\n // Premultiply alpha again.\n rgb *= result.a;\n\n gl_FragColor = vec4(rgb, result.a);\n}\n",n)||this).alpha=1,e}return function(t,e){function n(){this.constructor=t}wa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype._loadMatrix=function(t,e){void 0===e&&(e=!1);var n=t;e&&(this._multiply(n,this.uniforms.m,t),n=this._colorMatrix(n)),this.uniforms.m=n},e.prototype._multiply=function(t,e,n){return t[0]=e[0]*n[0]+e[1]*n[5]+e[2]*n[10]+e[3]*n[15],t[1]=e[0]*n[1]+e[1]*n[6]+e[2]*n[11]+e[3]*n[16],t[2]=e[0]*n[2]+e[1]*n[7]+e[2]*n[12]+e[3]*n[17],t[3]=e[0]*n[3]+e[1]*n[8]+e[2]*n[13]+e[3]*n[18],t[4]=e[0]*n[4]+e[1]*n[9]+e[2]*n[14]+e[3]*n[19]+e[4],t[5]=e[5]*n[0]+e[6]*n[5]+e[7]*n[10]+e[8]*n[15],t[6]=e[5]*n[1]+e[6]*n[6]+e[7]*n[11]+e[8]*n[16],t[7]=e[5]*n[2]+e[6]*n[7]+e[7]*n[12]+e[8]*n[17],t[8]=e[5]*n[3]+e[6]*n[8]+e[7]*n[13]+e[8]*n[18],t[9]=e[5]*n[4]+e[6]*n[9]+e[7]*n[14]+e[8]*n[19]+e[9],t[10]=e[10]*n[0]+e[11]*n[5]+e[12]*n[10]+e[13]*n[15],t[11]=e[10]*n[1]+e[11]*n[6]+e[12]*n[11]+e[13]*n[16],t[12]=e[10]*n[2]+e[11]*n[7]+e[12]*n[12]+e[13]*n[17],t[13]=e[10]*n[3]+e[11]*n[8]+e[12]*n[13]+e[13]*n[18],t[14]=e[10]*n[4]+e[11]*n[9]+e[12]*n[14]+e[13]*n[19]+e[14],t[15]=e[15]*n[0]+e[16]*n[5]+e[17]*n[10]+e[18]*n[15],t[16]=e[15]*n[1]+e[16]*n[6]+e[17]*n[11]+e[18]*n[16],t[17]=e[15]*n[2]+e[16]*n[7]+e[17]*n[12]+e[18]*n[17],t[18]=e[15]*n[3]+e[16]*n[8]+e[17]*n[13]+e[18]*n[18],t[19]=e[15]*n[4]+e[16]*n[9]+e[17]*n[14]+e[18]*n[19]+e[19],t},e.prototype._colorMatrix=function(t){var e=new Float32Array(t);return e[4]/=255,e[9]/=255,e[14]/=255,e[19]/=255,e},e.prototype.brightness=function(t,e){var n=[t,0,0,0,0,0,t,0,0,0,0,0,t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.tint=function(t,e){var n=[(t>>16&255)/255,0,0,0,0,0,(t>>8&255)/255,0,0,0,0,0,(255&t)/255,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.greyscale=function(t,e){var n=[t,t,t,0,0,t,t,t,0,0,t,t,t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.blackAndWhite=function(t){this._loadMatrix([.3,.6,.1,0,0,.3,.6,.1,0,0,.3,.6,.1,0,0,0,0,0,1,0],t)},e.prototype.hue=function(t,e){t=(t||0)/180*Math.PI;var n=Math.cos(t),r=Math.sin(t),i=1/3,o=(0,Math.sqrt)(i),s=[n+(1-n)*i,i*(1-n)-o*r,i*(1-n)+o*r,0,0,i*(1-n)+o*r,n+i*(1-n),i*(1-n)-o*r,0,0,i*(1-n)-o*r,i*(1-n)+o*r,n+i*(1-n),0,0,0,0,0,1,0];this._loadMatrix(s,e)},e.prototype.contrast=function(t,e){var n=(t||0)+1,r=-.5*(n-1),i=[n,0,0,0,r,0,n,0,0,r,0,0,n,0,r,0,0,0,1,0];this._loadMatrix(i,e)},e.prototype.saturate=function(t,e){void 0===t&&(t=0);var n=2*t/3+1,r=-.5*(n-1),i=[n,r,r,0,0,r,n,r,0,0,r,r,n,0,0,0,0,0,1,0];this._loadMatrix(i,e)},e.prototype.desaturate=function(){this.saturate(-1)},e.prototype.negative=function(t){this._loadMatrix([-1,0,0,1,0,0,-1,0,1,0,0,0,-1,1,0,0,0,0,1,0],t)},e.prototype.sepia=function(t){this._loadMatrix([.393,.7689999,.18899999,0,0,.349,.6859999,.16799999,0,0,.272,.5339999,.13099999,0,0,0,0,0,1,0],t)},e.prototype.technicolor=function(t){this._loadMatrix([1.9125277891456083,-.8545344976951645,-.09155508482755585,0,11.793603434377337,-.3087833385928097,1.7658908555458428,-.10601743074722245,0,-70.35205161461398,-.231103377548616,-.7501899197440212,1.847597816108189,0,30.950940869491138,0,0,0,1,0],t)},e.prototype.polaroid=function(t){this._loadMatrix([1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0],t)},e.prototype.toBGR=function(t){this._loadMatrix([0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0],t)},e.prototype.kodachrome=function(t){this._loadMatrix([1.1285582396593525,-.3967382283601348,-.03992559172921793,0,63.72958762196502,-.16404339962244616,1.0835251566291304,-.05498805115633132,0,24.732407896706203,-.16786010706155763,-.5603416277695248,1.6014850761964943,0,35.62982807460946,0,0,0,1,0],t)},e.prototype.browni=function(t){this._loadMatrix([.5997023498159715,.34553243048391263,-.2708298674538042,0,47.43192855600873,-.037703249837783157,.8609577587992641,.15059552388459913,0,-36.96841498319127,.24113635128153335,-.07441037908422492,.44972182064877153,0,-7.562075277591283,0,0,0,1,0],t)},e.prototype.vintage=function(t){this._loadMatrix([.6279345635605994,.3202183420819367,-.03965408211312453,0,9.651285835294123,.02578397704808868,.6441188644374771,.03259127616149294,0,7.462829176470591,.0466055556782719,-.0851232987247891,.5241648018700465,0,5.159190588235296,0,0,0,1,0],t)},e.prototype.colorTone=function(t,e,n,r,i){var o=((n=n||16770432)>>16&255)/255,s=(n>>8&255)/255,a=(255&n)/255,u=((r=r||3375104)>>16&255)/255,c=(r>>8&255)/255,h=(255&r)/255,l=[.3,.59,.11,0,0,o,s,a,t=t||.2,0,u,c,h,e=e||.15,0,o-u,s-c,a-h,0,0];this._loadMatrix(l,i)},e.prototype.night=function(t,e){var n=[-2*(t=t||.1),-t,0,0,0,-t,0,t,0,0,0,t,2*t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.predator=function(t,e){var n=[11.224130630493164*t,-4.794486999511719*t,-2.8746118545532227*t,0*t,.40342438220977783*t,-3.6330697536468506*t,9.193157196044922*t,-2.951810836791992*t,0*t,-1.316135048866272*t,-3.2184197902679443*t,-4.2375030517578125*t,7.476448059082031*t,0*t,.8044459223747253*t,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.lsd=function(t){this._loadMatrix([2,-.4,.5,0,0,-.5,2,-.4,0,0,-.4,-.5,3,0,0,0,0,0,1,0],t)},e.prototype.reset=function(){this._loadMatrix([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],!1)},Object.defineProperty(e.prototype,"matrix",{get:function(){return this.uniforms.m},set:function(t){this.uniforms.m=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t},enumerable:!1,configurable:!0}),e}(or);xa.prototype.grayscale=xa.prototype.greyscale;
  425. /*!
  426. * @pixi/filter-displacement - v6.1.3
  427. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  428. *
  429. * @pixi/filter-displacement is licensed under the MIT License.
  430. * http://www.opensource.org/licenses/mit-license
  431. */
  432. /*! *****************************************************************************
  433. Copyright (c) Microsoft Corporation. All rights reserved.
  434. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  435. this file except in compliance with the License. You may obtain a copy of the
  436. License at http://www.apache.org/licenses/LICENSE-2.0
  437. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  438. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  439. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  440. MERCHANTABLITY OR NON-INFRINGEMENT.
  441. See the Apache Version 2.0 License for specific language governing permissions
  442. and limitations under the License.
  443. ***************************************************************************** */
  444. var Ma=function(t,e){return(Ma=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};!function(t){function e(e,n){var r=this,i=new ne;return e.renderable=!1,(r=t.call(this,"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\nuniform mat3 filterMatrix;\n\nvarying vec2 vTextureCoord;\nvarying vec2 vFilterCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n\tgl_Position = filterVertexPosition();\n\tvTextureCoord = filterTextureCoord();\n\tvFilterCoord = ( filterMatrix * vec3( vTextureCoord, 1.0) ).xy;\n}\n","varying vec2 vFilterCoord;\nvarying vec2 vTextureCoord;\n\nuniform vec2 scale;\nuniform mat2 rotation;\nuniform sampler2D uSampler;\nuniform sampler2D mapSampler;\n\nuniform highp vec4 inputSize;\nuniform vec4 inputClamp;\n\nvoid main(void)\n{\n vec4 map = texture2D(mapSampler, vFilterCoord);\n\n map -= 0.5;\n map.xy = scale * inputSize.zw * (rotation * map.xy);\n\n gl_FragColor = texture2D(uSampler, clamp(vec2(vTextureCoord.x + map.x, vTextureCoord.y + map.y), inputClamp.xy, inputClamp.zw));\n}\n",{mapSampler:e._texture,filterMatrix:i,scale:{x:1,y:1},rotation:new Float32Array([1,0,0,1])})||this).maskSprite=e,r.maskMatrix=i,null==n&&(n=20),r.scale=new te(n,n),r}(function(t,e){function n(){this.constructor=t}Ma(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),e.prototype.apply=function(t,e,n,r){this.uniforms.filterMatrix=t.calculateSpriteMatrix(this.maskMatrix,this.maskSprite),this.uniforms.scale.x=this.scale.x,this.uniforms.scale.y=this.scale.y;var i=this.maskSprite.worldTransform,o=Math.sqrt(i.a*i.a+i.b*i.b),s=Math.sqrt(i.c*i.c+i.d*i.d);0!==o&&0!==s&&(this.uniforms.rotation[0]=i.a/o,this.uniforms.rotation[1]=i.b/o,this.uniforms.rotation[2]=i.c/s,this.uniforms.rotation[3]=i.d/s),t.applyFilter(this,e,n,r)},Object.defineProperty(e.prototype,"map",{get:function(){return this.uniforms.mapSampler},set:function(t){this.uniforms.mapSampler=t},enumerable:!1,configurable:!0})}(or);var Sa=function(t,e){return(Sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};!function(t){function e(){return t.call(this,"\nattribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vFragCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvoid texcoords(vec2 fragCoord, vec2 inverseVP,\n out vec2 v_rgbNW, out vec2 v_rgbNE,\n out vec2 v_rgbSW, out vec2 v_rgbSE,\n out vec2 v_rgbM) {\n v_rgbNW = (fragCoord + vec2(-1.0, -1.0)) * inverseVP;\n v_rgbNE = (fragCoord + vec2(1.0, -1.0)) * inverseVP;\n v_rgbSW = (fragCoord + vec2(-1.0, 1.0)) * inverseVP;\n v_rgbSE = (fragCoord + vec2(1.0, 1.0)) * inverseVP;\n v_rgbM = vec2(fragCoord * inverseVP);\n}\n\nvoid main(void) {\n\n gl_Position = filterVertexPosition();\n\n vFragCoord = aVertexPosition * outputFrame.zw;\n\n texcoords(vFragCoord, inputSize.zw, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n}\n",'varying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vFragCoord;\nuniform sampler2D uSampler;\nuniform highp vec4 inputSize;\n\n\n/**\n Basic FXAA implementation based on the code on geeks3d.com with the\n modification that the texture2DLod stuff was removed since it\'s\n unsupported by WebGL.\n\n --\n\n From:\n https://github.com/mitsuhiko/webgl-meincraft\n\n Copyright (c) 2011 by Armin Ronacher.\n\n Some rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials provided\n with the distribution.\n\n * The names of the contributors may not be used to endorse or\n promote products derived from this software without specific\n prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\n#ifndef FXAA_REDUCE_MIN\n#define FXAA_REDUCE_MIN (1.0/ 128.0)\n#endif\n#ifndef FXAA_REDUCE_MUL\n#define FXAA_REDUCE_MUL (1.0 / 8.0)\n#endif\n#ifndef FXAA_SPAN_MAX\n#define FXAA_SPAN_MAX 8.0\n#endif\n\n//optimized version for mobile, where dependent\n//texture reads can be a bottleneck\nvec4 fxaa(sampler2D tex, vec2 fragCoord, vec2 inverseVP,\n vec2 v_rgbNW, vec2 v_rgbNE,\n vec2 v_rgbSW, vec2 v_rgbSE,\n vec2 v_rgbM) {\n vec4 color;\n vec3 rgbNW = texture2D(tex, v_rgbNW).xyz;\n vec3 rgbNE = texture2D(tex, v_rgbNE).xyz;\n vec3 rgbSW = texture2D(tex, v_rgbSW).xyz;\n vec3 rgbSE = texture2D(tex, v_rgbSE).xyz;\n vec4 texColor = texture2D(tex, v_rgbM);\n vec3 rgbM = texColor.xyz;\n vec3 luma = vec3(0.299, 0.587, 0.114);\n float lumaNW = dot(rgbNW, luma);\n float lumaNE = dot(rgbNE, luma);\n float lumaSW = dot(rgbSW, luma);\n float lumaSE = dot(rgbSE, luma);\n float lumaM = dot(rgbM, luma);\n float lumaMin = min(lumaM, min(min(lumaNW, lumaNE), min(lumaSW, lumaSE)));\n float lumaMax = max(lumaM, max(max(lumaNW, lumaNE), max(lumaSW, lumaSE)));\n\n mediump vec2 dir;\n dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));\n dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE));\n\n float dirReduce = max((lumaNW + lumaNE + lumaSW + lumaSE) *\n (0.25 * FXAA_REDUCE_MUL), FXAA_REDUCE_MIN);\n\n float rcpDirMin = 1.0 / (min(abs(dir.x), abs(dir.y)) + dirReduce);\n dir = min(vec2(FXAA_SPAN_MAX, FXAA_SPAN_MAX),\n max(vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX),\n dir * rcpDirMin)) * inverseVP;\n\n vec3 rgbA = 0.5 * (\n texture2D(tex, fragCoord * inverseVP + dir * (1.0 / 3.0 - 0.5)).xyz +\n texture2D(tex, fragCoord * inverseVP + dir * (2.0 / 3.0 - 0.5)).xyz);\n vec3 rgbB = rgbA * 0.5 + 0.25 * (\n texture2D(tex, fragCoord * inverseVP + dir * -0.5).xyz +\n texture2D(tex, fragCoord * inverseVP + dir * 0.5).xyz);\n\n float lumaB = dot(rgbB, luma);\n if ((lumaB < lumaMin) || (lumaB > lumaMax))\n color = vec4(rgbA, texColor.a);\n else\n color = vec4(rgbB, texColor.a);\n return color;\n}\n\nvoid main() {\n\n vec4 color;\n\n color = fxaa(uSampler, vFragCoord, inputSize.zw, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n\n gl_FragColor = color;\n}\n')||this}(function(t,e){function n(){this.constructor=t}Sa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t)}(or);var Ta=function(t,e){return(Ta=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var Aa,Ea,La,Da,Ca,ka,Oa,Ia,Pa,Ra,Ya,Ba,Na,ja,Fa,Ua,Ga,Ha,Va;!function(t){function e(e,n){void 0===e&&(e=.5),void 0===n&&(n=Math.random());var r=t.call(this,Yr,"precision highp float;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform float uNoise;\nuniform float uSeed;\nuniform sampler2D uSampler;\n\nfloat rand(vec2 co)\n{\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main()\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n float randomValue = rand(gl_FragCoord.xy * uSeed);\n float diff = (randomValue - 0.5) * uNoise;\n\n // Un-premultiply alpha before applying the color matrix. See issue #3539.\n if (color.a > 0.0) {\n color.rgb /= color.a;\n }\n\n color.r += diff;\n color.g += diff;\n color.b += diff;\n\n // Premultiply alpha again.\n color.rgb *= color.a;\n\n gl_FragColor = color;\n}\n",{uNoise:0,uSeed:0})||this;return r.noise=e,r.seed=n,r}(function(t,e){function n(){this.constructor=t}Ta(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),Object.defineProperty(e.prototype,"noise",{get:function(){return this.uniforms.uNoise},set:function(t){this.uniforms.uNoise=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seed",{get:function(){return this.uniforms.uSeed},set:function(t){this.uniforms.uSeed=t},enumerable:!1,configurable:!0})}(or);!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(Aa||(Aa={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(Ea||(Ea={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(La||(La={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(Da||(Da={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(Ca||(Ca={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(ka||(ka={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(Oa||(Oa={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(Ia||(Ia={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(Pa||(Pa={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(Ra||(Ra={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(Ya||(Ya={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(Ba||(Ba={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(Na||(Na={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(ja||(ja={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(Fa||(Fa={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(Ua||(Ua={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(Ga||(Ga={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(Ha||(Ha={})),function(t){t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"}(Va||(Va={}));var za=new ne;_e.prototype._cacheAsBitmap=!1,_e.prototype._cacheData=null,_e.prototype._cacheAsBitmapResolution=null,_e.prototype._cacheAsBitmapMultisample=Ha.NONE;var Wa=function(){this.textureCacheId=null,this.originalRender=null,this.originalRenderCanvas=null,this.originalCalculateBounds=null,this.originalGetLocalBounds=null,this.originalUpdateTransform=null,this.originalDestroy=null,this.originalMask=null,this.originalFilterArea=null,this.originalContainsPoint=null,this.sprite=null};Object.defineProperties(_e.prototype,{cacheAsBitmapResolution:{get:function(){return this._cacheAsBitmapResolution},set:function(t){t!==this._cacheAsBitmapResolution&&(this._cacheAsBitmapResolution=t,this.cacheAsBitmap&&(this.cacheAsBitmap=!1,this.cacheAsBitmap=!0))}},cacheAsBitmapMultisample:{get:function(){return this._cacheAsBitmapMultisample},set:function(t){t!==this._cacheAsBitmapMultisample&&(this._cacheAsBitmapMultisample=t,this.cacheAsBitmap&&(this.cacheAsBitmap=!1,this.cacheAsBitmap=!0))}},cacheAsBitmap:{get:function(){return this._cacheAsBitmap},set:function(t){var e;this._cacheAsBitmap!==t&&(this._cacheAsBitmap=t,t?(this._cacheData||(this._cacheData=new Wa),(e=this._cacheData).originalRender=this.render,e.originalRenderCanvas=this.renderCanvas,e.originalUpdateTransform=this.updateTransform,e.originalCalculateBounds=this.calculateBounds,e.originalGetLocalBounds=this.getLocalBounds,e.originalDestroy=this.destroy,e.originalContainsPoint=this.containsPoint,e.originalMask=this._mask,e.originalFilterArea=this.filterArea,this.render=this._renderCached,this.renderCanvas=this._renderCachedCanvas,this.destroy=this._cacheAsBitmapDestroy):((e=this._cacheData).sprite&&this._destroyCachedDisplayObject(),this.render=e.originalRender,this.renderCanvas=e.originalRenderCanvas,this.calculateBounds=e.originalCalculateBounds,this.getLocalBounds=e.originalGetLocalBounds,this.destroy=e.originalDestroy,this.updateTransform=e.originalUpdateTransform,this.containsPoint=e.originalContainsPoint,this._mask=e.originalMask,this.filterArea=e.originalFilterArea))}}}),_e.prototype._renderCached=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObject(t),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._render(t))},_e.prototype._initCachedDisplayObject=function(t){var e;if(!this._cacheData||!this._cacheData.sprite){var n=this.alpha;this.alpha=1,t.batch.flush();var r=this.getLocalBounds(null,!0).clone();if(this.filters){var i=this.filters[0].padding;r.pad(i)}r.ceil(dt.RESOLUTION);var o=t.renderTexture.current,s=t.renderTexture.sourceFrame.clone(),a=t.renderTexture.destinationFrame.clone(),u=t.projection.transform,c=sn.create({width:r.width,height:r.height,resolution:this.cacheAsBitmapResolution||t.resolution,multisample:null!==(e=this.cacheAsBitmapMultisample)&&void 0!==e?e:t.multisample}),h="cacheAsBitmap_"+Yt();this._cacheData.textureCacheId=h,Ue.addToCache(c.baseTexture,h),rn.addToCache(c,h);var l=this.transform.localTransform.copyTo(za).invert().translate(-r.x,-r.y);this.render=this._cacheData.originalRender,t.render(this,{renderTexture:c,clear:!0,transform:l,skipUpdateTransform:!1}),t.framebuffer.blit(),t.projection.transform=u,t.renderTexture.bind(o,s,a),this.render=this._renderCached,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null,this.alpha=n;var d=new $o(c);d.transform.worldTransform=this.transform.worldTransform,d.anchor.x=-r.x/r.width,d.anchor.y=-r.y/r.height,d.alpha=n,d._bounds=this._bounds,this._cacheData.sprite=d,this.transform._parentID=-1,this.parent?this.updateTransform():(this.enableTempParent(),this.updateTransform(),this.disableTempParent(null)),this.containsPoint=d.containsPoint.bind(d)}},_e.prototype._renderCachedCanvas=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObjectCanvas(t),this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._renderCanvas(t))},_e.prototype._initCachedDisplayObjectCanvas=function(t){if(!this._cacheData||!this._cacheData.sprite){var e=this.getLocalBounds(null,!0),n=this.alpha;this.alpha=1;var r=t.context,i=t._projTransform;e.ceil(dt.RESOLUTION);var o=sn.create({width:e.width,height:e.height}),s="cacheAsBitmap_"+Yt();this._cacheData.textureCacheId=s,Ue.addToCache(o.baseTexture,s),rn.addToCache(o,s);var a=za;this.transform.localTransform.copyTo(a),a.invert(),a.tx-=e.x,a.ty-=e.y,this.renderCanvas=this._cacheData.originalRenderCanvas,t.render(this,{renderTexture:o,clear:!0,transform:a,skipUpdateTransform:!1}),t.context=r,t._projTransform=i,this.renderCanvas=this._renderCachedCanvas,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null,this.alpha=n;var u=new $o(o);u.transform.worldTransform=this.transform.worldTransform,u.anchor.x=-e.x/e.width,u.anchor.y=-e.y/e.height,u.alpha=n,u._bounds=this._bounds,this._cacheData.sprite=u,this.transform._parentID=-1,this.parent?this.updateTransform():(this.parent=t._tempDisplayObjectParent,this.updateTransform(),this.parent=null),this.containsPoint=u.containsPoint.bind(u)}},_e.prototype._calculateCachedBounds=function(){this._bounds.clear(),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite._calculateBounds(),this._bounds.updateID=this._boundsID},_e.prototype._getCachedLocalBounds=function(){return this._cacheData.sprite.getLocalBounds(null)},_e.prototype._destroyCachedDisplayObject=function(){this._cacheData.sprite._texture.destroy(!0),this._cacheData.sprite=null,Ue.removeFromCache(this._cacheData.textureCacheId),rn.removeFromCache(this._cacheData.textureCacheId),this._cacheData.textureCacheId=null},_e.prototype._cacheAsBitmapDestroy=function(t){this.cacheAsBitmap=!1,this.destroy(t)},
  445. /*!
  446. * @pixi/mixin-get-child-by-name - v6.1.3
  447. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  448. *
  449. * @pixi/mixin-get-child-by-name is licensed under the MIT License.
  450. * http://www.opensource.org/licenses/mit-license
  451. */
  452. _e.prototype.name=null,ve.prototype.getChildByName=function(t,e){for(var n=0,r=this.children.length;n<r;n++)if(this.children[n].name===t)return this.children[n];if(e)for(n=0,r=this.children.length;n<r;n++){if(this.children[n].getChildByName){var i=this.children[n].getChildByName(t,!0);if(i)return i}}return null},
  453. /*!
  454. * @pixi/mixin-get-global-position - v6.1.3
  455. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  456. *
  457. * @pixi/mixin-get-global-position is licensed under the MIT License.
  458. * http://www.opensource.org/licenses/mit-license
  459. */
  460. _e.prototype.getGlobalPosition=function(t,e){return void 0===t&&(t=new te),void 0===e&&(e=!1),this.parent?this.parent.toGlobal(this.position,t,e):(t.x=this.position.x,t.y=this.position.y),t};
  461. /*!
  462. * @pixi/mesh-extras - v6.1.3
  463. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  464. *
  465. * @pixi/mesh-extras is licensed under the MIT License.
  466. * http://www.opensource.org/licenses/mit-license
  467. */
  468. /*! *****************************************************************************
  469. Copyright (c) Microsoft Corporation. All rights reserved.
  470. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  471. this file except in compliance with the License. You may obtain a copy of the
  472. License at http://www.apache.org/licenses/LICENSE-2.0
  473. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  474. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  475. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  476. MERCHANTABLITY OR NON-INFRINGEMENT.
  477. See the Apache Version 2.0 License for specific language governing permissions
  478. and limitations under the License.
  479. ***************************************************************************** */
  480. var Xa=function(t,e){return(Xa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function Ja(t,e){function n(){this.constructor=t}Xa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Ka=function(t){function e(e,n,r,i){void 0===e&&(e=100),void 0===n&&(n=100),void 0===r&&(r=10),void 0===i&&(i=10);var o=t.call(this)||this;return o.segWidth=r,o.segHeight=i,o.width=e,o.height=n,o.build(),o}return Ja(e,t),e.prototype.build=function(){for(var t=this.segWidth*this.segHeight,e=[],n=[],r=[],i=this.segWidth-1,o=this.segHeight-1,s=this.width/i,a=this.height/o,u=0;u<t;u++){var c=u%this.segWidth,h=u/this.segWidth|0;e.push(c*s,h*a),n.push(c/i,h/o)}var l=i*o;for(u=0;u<l;u++){var d=u%i,f=u/i|0,p=f*this.segWidth+d,_=f*this.segWidth+d+1,m=(f+1)*this.segWidth+d,y=(f+1)*this.segWidth+d+1;r.push(p,_,m,_,y,m)}this.buffers[0].data=new Float32Array(e),this.buffers[1].data=new Float32Array(n),this.indexBuffer.data=new Uint16Array(r),this.buffers[0].update(),this.buffers[1].update(),this.indexBuffer.update()},e}(Bs),qa=function(t){function e(e,n,r){void 0===e&&(e=200),void 0===r&&(r=0);var i=t.call(this,new Float32Array(4*n.length),new Float32Array(4*n.length),new Uint16Array(6*(n.length-1)))||this;return i.points=n,i._width=e,i.textureScale=r,i.build(),i}return Ja(e,t),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},enumerable:!1,configurable:!0}),e.prototype.build=function(){var t=this.points;if(t){var e=this.getBuffer("aVertexPosition"),n=this.getBuffer("aTextureCoord"),r=this.getIndex();if(!(t.length<1)){e.data.length/4!==t.length&&(e.data=new Float32Array(4*t.length),n.data=new Float32Array(4*t.length),r.data=new Uint16Array(6*(t.length-1)));var i=n.data,o=r.data;i[0]=0,i[1]=0,i[2]=0,i[3]=1;for(var s=0,a=t[0],u=this._width*this.textureScale,c=t.length,h=0;h<c;h++){var l=4*h;if(this.textureScale>0){var d=a.x-t[h].x,f=a.y-t[h].y,p=Math.sqrt(d*d+f*f);a=t[h],s+=p/u}else s=h/(c-1);i[l]=s,i[l+1]=0,i[l+2]=s,i[l+3]=1}var _=0;for(h=0;h<c-1;h++){l=2*h;o[_++]=l,o[_++]=l+1,o[_++]=l+2,o[_++]=l+2,o[_++]=l+1,o[_++]=l+3}n.update(),r.update(),this.updateVertices()}}},e.prototype.updateVertices=function(){var t=this.points;if(!(t.length<1)){for(var e,n=t[0],r=0,i=0,o=this.buffers[0].data,s=t.length,a=0;a<s;a++){var u=t[a],c=4*a;i=-((e=a<t.length-1?t[a+1]:u).x-n.x),r=e.y-n.y;var h=Math.sqrt(r*r+i*i),l=this.textureScale>0?this.textureScale*this._width/2:this._width/2;r/=h,i/=h,r*=l,i*=l,o[c]=u.x+r,o[c+1]=u.y+i,o[c+2]=u.x-r,o[c+3]=u.y-i,n=u}this.buffers[0].update()}},e.prototype.update=function(){this.textureScale>0?this.build():this.updateVertices()},e}(Bs),$a=(function(t){function e(e,n,r){void 0===r&&(r=0);var i=this,o=new qa(e.height,n,r),s=new Ys(e);return r>0&&(e.baseTexture.wrapMode=rt.REPEAT),(i=t.call(this,o,s)||this).autoUpdate=!0,i}Ja(e,t),e.prototype._render=function(e){var n=this.geometry;(this.autoUpdate||n._width!==this.shader.texture.height)&&(n._width=this.shader.texture.height,n.update()),t.prototype._render.call(this,e)}}(Rs),function(t){function e(e,n,r){var i=this,o=new Ka(e.width,e.height,n,r),s=new Ys(rn.WHITE);return(i=t.call(this,o,s)||this).texture=e,i.autoResize=!0,i}return Ja(e,t),e.prototype.textureUpdated=function(){this._textureID=this.shader.texture._updateID;var t=this.geometry,e=this.shader.texture,n=e.width,r=e.height;!this.autoResize||t.width===n&&t.height===r||(t.width=this.shader.texture.width,t.height=this.shader.texture.height,t.build())},Object.defineProperty(e.prototype,"texture",{get:function(){return this.shader.texture},set:function(t){this.shader.texture!==t&&(this.shader.texture=t,this._textureID=-1,t.baseTexture.valid?this.textureUpdated():t.once("update",this.textureUpdated,this))},enumerable:!1,configurable:!0}),e.prototype._render=function(e){this._textureID!==this.shader.texture._updateID&&this.textureUpdated(),t.prototype._render.call(this,e)},e.prototype.destroy=function(e){this.shader.texture.off("update",this.textureUpdated,this),t.prototype.destroy.call(this,e)},e}(Rs)),Za=(function(t){function e(e,n,r,i,o){void 0===e&&(e=rn.EMPTY);var s=this,a=new Bs(n,r,i);a.getBuffer("aVertexPosition").static=!1;var u=new Ys(e);return(s=t.call(this,a,u,null,o)||this).autoUpdate=!0,s}Ja(e,t),Object.defineProperty(e.prototype,"vertices",{get:function(){return this.geometry.getBuffer("aVertexPosition").data},set:function(t){this.geometry.getBuffer("aVertexPosition").data=t},enumerable:!1,configurable:!0}),e.prototype._render=function(e){this.autoUpdate&&this.geometry.getBuffer("aVertexPosition").update(),t.prototype._render.call(this,e)}}(Rs),function(t){function e(e,n,r,i,o){void 0===n&&(n=10),void 0===r&&(r=10),void 0===i&&(i=10),void 0===o&&(o=10);var s=t.call(this,rn.WHITE,4,4)||this;return s._origWidth=e.orig.width,s._origHeight=e.orig.height,s._width=s._origWidth,s._height=s._origHeight,s._leftWidth=n,s._rightWidth=i,s._topHeight=r,s._bottomHeight=o,s.texture=e,s}Ja(e,t),e.prototype.textureUpdated=function(){this._textureID=this.shader.texture._updateID,this._refresh()},Object.defineProperty(e.prototype,"vertices",{get:function(){return this.geometry.getBuffer("aVertexPosition").data},set:function(t){this.geometry.getBuffer("aVertexPosition").data=t},enumerable:!1,configurable:!0}),e.prototype.updateHorizontalVertices=function(){var t=this.vertices,e=this._getMinScale();t[9]=t[11]=t[13]=t[15]=this._topHeight*e,t[17]=t[19]=t[21]=t[23]=this._height-this._bottomHeight*e,t[25]=t[27]=t[29]=t[31]=this._height},e.prototype.updateVerticalVertices=function(){var t=this.vertices,e=this._getMinScale();t[2]=t[10]=t[18]=t[26]=this._leftWidth*e,t[4]=t[12]=t[20]=t[28]=this._width-this._rightWidth*e,t[6]=t[14]=t[22]=t[30]=this._width},e.prototype._getMinScale=function(){var t=this._leftWidth+this._rightWidth,e=this._width>t?1:this._width/t,n=this._topHeight+this._bottomHeight,r=this._height>n?1:this._height/n;return Math.min(e,r)},Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"leftWidth",{get:function(){return this._leftWidth},set:function(t){this._leftWidth=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rightWidth",{get:function(){return this._rightWidth},set:function(t){this._rightWidth=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"topHeight",{get:function(){return this._topHeight},set:function(t){this._topHeight=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottomHeight",{get:function(){return this._bottomHeight},set:function(t){this._bottomHeight=t,this._refresh()},enumerable:!1,configurable:!0}),e.prototype._refresh=function(){var t=this.texture,e=this.geometry.buffers[1].data;this._origWidth=t.orig.width,this._origHeight=t.orig.height;var n=1/this._origWidth,r=1/this._origHeight;e[0]=e[8]=e[16]=e[24]=0,e[1]=e[3]=e[5]=e[7]=0,e[6]=e[14]=e[22]=e[30]=1,e[25]=e[27]=e[29]=e[31]=1,e[2]=e[10]=e[18]=e[26]=n*this._leftWidth,e[4]=e[12]=e[20]=e[28]=1-n*this._rightWidth,e[9]=e[11]=e[13]=e[15]=r*this._topHeight,e[17]=e[19]=e[21]=e[23]=1-r*this._bottomHeight,this.updateHorizontalVertices(),this.updateVerticalVertices(),this.geometry.buffers[0].update(),this.geometry.buffers[1].update()}}($a),function(t,e){return(Za=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)});!function(t){function e(e,n){void 0===n&&(n=!0);var r=t.call(this,e[0]instanceof rn?e[0]:e[0].texture)||this;return r._textures=null,r._durations=null,r._autoUpdate=n,r._isConnectedToTicker=!1,r.animationSpeed=1,r.loop=!0,r.updateAnchor=!1,r.onComplete=null,r.onFrameChange=null,r.onLoop=null,r._currentTime=0,r._playing=!1,r._previousFrame=null,r.textures=e,r}(function(t,e){function n(){this.constructor=t}Za(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),e.prototype.stop=function(){this._playing&&(this._playing=!1,this._autoUpdate&&this._isConnectedToTicker&&(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1))},e.prototype.play=function(){this._playing||(this._playing=!0,this._autoUpdate&&!this._isConnectedToTicker&&(xe.shared.add(this.update,this,be.HIGH),this._isConnectedToTicker=!0))},e.prototype.gotoAndStop=function(t){this.stop();var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture()},e.prototype.gotoAndPlay=function(t){var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture(),this.play()},e.prototype.update=function(t){if(this._playing){var e=this.animationSpeed*t,n=this.currentFrame;if(null!==this._durations){var r=this._currentTime%1*this._durations[this.currentFrame];for(r+=e/60*1e3;r<0;)this._currentTime--,r+=this._durations[this.currentFrame];var i=Math.sign(this.animationSpeed*t);for(this._currentTime=Math.floor(this._currentTime);r>=this._durations[this.currentFrame];)r-=this._durations[this.currentFrame]*i,this._currentTime+=i;this._currentTime+=r/this._durations[this.currentFrame]}else this._currentTime+=e;this._currentTime<0&&!this.loop?(this.gotoAndStop(0),this.onComplete&&this.onComplete()):this._currentTime>=this._textures.length&&!this.loop?(this.gotoAndStop(this._textures.length-1),this.onComplete&&this.onComplete()):n!==this.currentFrame&&(this.loop&&this.onLoop&&(this.animationSpeed>0&&this.currentFrame<n||this.animationSpeed<0&&this.currentFrame>n)&&this.onLoop(),this.updateTexture())}},e.prototype.updateTexture=function(){var t=this.currentFrame;this._previousFrame!==t&&(this._previousFrame=t,this._texture=this._textures[t],this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this.uvs=this._texture._uvs.uvsFloat32,this.updateAnchor&&this._anchor.copyFrom(this._texture.defaultAnchor),this.onFrameChange&&this.onFrameChange(this.currentFrame))},e.prototype.destroy=function(e){this.stop(),t.prototype.destroy.call(this,e),this.onComplete=null,this.onFrameChange=null,this.onLoop=null},e.fromFrames=function(t){for(var n=[],r=0;r<t.length;++r)n.push(rn.from(t[r]));return new e(n)},e.fromImages=function(t){for(var n=[],r=0;r<t.length;++r)n.push(rn.from(t[r]));return new e(n)},Object.defineProperty(e.prototype,"totalFrames",{get:function(){return this._textures.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textures",{get:function(){return this._textures},set:function(t){if(t[0]instanceof rn)this._textures=t,this._durations=null;else{this._textures=[],this._durations=[];for(var e=0;e<t.length;e++)this._textures.push(t[e].texture),this._durations.push(t[e].time)}this._previousFrame=null,this.gotoAndStop(0),this.updateTexture()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentFrame",{get:function(){var t=Math.floor(this._currentTime)%this._textures.length;return t<0&&(t+=this._textures.length),t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"playing",{get:function(){return this._playing},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autoUpdate",{get:function(){return this._autoUpdate},set:function(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isConnectedToTicker?(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1):this._autoUpdate&&!this._isConnectedToTicker&&this._playing&&(xe.shared.add(this.update,this),this._isConnectedToTicker=!0))},enumerable:!1,configurable:!0})}($o);
  481. /*!
  482. * pixi.js - v6.1.3
  483. * Compiled Mon, 13 Sep 2021 15:29:31 UTC
  484. *
  485. * pixi.js is licensed under the MIT License.
  486. * http://www.opensource.org/licenses/mit-license
  487. */Rr.registerPlugin("accessibility",ge),Rr.registerPlugin("extract",ti),Rr.registerPlugin("interaction",ke),Rr.registerPlugin("particle",mo),Rr.registerPlugin("prepare",ws),Rr.registerPlugin("batch",zr),Rr.registerPlugin("tilingSprite",Ds),mi.registerPlugin(Ks),mi.registerPlugin(Di),mi.registerPlugin(Xi),mi.registerPlugin(co),mi.registerPlugin(Ms),$r.registerPlugin(Me),$r.registerPlugin(yi)},nIf0:function(t,e,n){var r=n("cq1r");t.exports=function(t){return(new r).update(t).digest()}},nWOd:function(t,e,n){var r=n("wfEq"),i=n("yD7y"),o=n("KSsY"),s=n("pRMk").Buffer,a=new Array(64);function u(){this.init(),this._w=a,o.call(this,64,56)}r(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var t=s.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=u},nrnY:function(t,e,n){(function(t){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=t.isBuffer}).call(this,n("qykS").Buffer)},o3UF:function(module,exports){var indexOf=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1},Object_keys=function(t){if(Object.keys)return Object.keys(t);var e=[];for(var n in t)e.push(n);return e},forEach=function(t,e){if(t.forEach)return t.forEach(e);for(var n=0;n<t.length;n++)e(t[n],n,t)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(t,e,n){Object.defineProperty(t,e,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch(t){return function(t,e,n){t[e]=n}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(t){if(!(this instanceof Script))return new Script(t);this.code=t};Script.prototype.runInContext=function(t){if(!(t instanceof Context))throw new TypeError("needs a 'context' argument.");var e=document.createElement("iframe");e.style||(e.style={}),e.style.display="none",document.body.appendChild(e);var n=e.contentWindow,r=n.eval,i=n.execScript;!r&&i&&(i.call(n,"null"),r=n.eval),forEach(Object_keys(t),(function(e){n[e]=t[e]})),forEach(globals,(function(e){t[e]&&(n[e]=t[e])}));var o=Object_keys(n),s=r.call(n,this.code);return forEach(Object_keys(n),(function(e){(e in t||-1===indexOf(o,e))&&(t[e]=n[e])})),forEach(globals,(function(e){e in t||defineProp(t,e,n[e])})),document.body.removeChild(e),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(t){var e=Script.createContext(t),n=this.runInContext(e);return t&&forEach(Object_keys(e),(function(n){t[n]=e[n]})),n},forEach(Object_keys(Script.prototype),(function(t){exports[t]=Script[t]=function(e){var n=Script(e);return n[t].apply(n,[].slice.call(arguments,1))}})),exports.isContext=function(t){return t instanceof Context},exports.createScript=function(t){return exports.Script(t)},exports.createContext=Script.createContext=function(t){var e=new Context;return"object"==typeof t&&forEach(Object_keys(t),(function(n){e[n]=t[n]})),e}},oBSY:function(t,e,n){"use strict";e.utils=n("wTN5"),e.Cipher=n("ta2Q"),e.DES=n("Ltnq"),e.CBC=n("GNjU"),e.EDE=n("iinS")},oBlQ:function(t,e,n){!function(t){"use strict";
  488. //! moment.js locale configuration
  489. t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},oPI1:function(t,e,n){!function(t){"use strict";
  490. //! moment.js locale configuration
  491. var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("TiKg"))},oPUo:function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n("heVN"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("pCvA"))},oTRi:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.decrypt=e.encrypt=e.unwrapKey=e.wrapKey=void 0;var i=r(n("NthX")),o=r(n("fFdx")),s=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o){var s,a,u,c,h,l;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.name,a=void 0===s?"AES-KW":s,u=r.iv,void 0!==window.msCrypto){t.next=20;break}return t.prev=2,t.next=5,o.importKey("raw",n,{name:a},!1,["wrapKey","unwrapKey"]);case 5:return c=t.sent,t.next=8,o.importKey("raw",e,{name:a},!0,["wrapKey","unwrapKey"]);case 8:return h=t.sent,t.next=11,o.wrapKey("raw",h,c,{name:a,iv:u});case 11:return l=t.sent,t.abrupt("return",new Uint8Array(l));case 15:throw t.prev=15,t.t0=t.catch(2),new Error("WebCrypto_FailedToWrapKey - ".concat(t.t0.message));case 18:t.next=21;break;case 20:throw new Error("ThrowAwayIeAsap");case 21:case"end":return t.stop()}}),t,null,[[2,15]])})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.wrapKey=s;var a=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o){var s,a,u,c,h;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.name,a=void 0===s?"AES-KW":s,u=r.iv,void 0!==window.msCrypto){t.next=21;break}return t.prev=2,t.next=5,o.importKey("raw",n,{name:a},!1,["wrapKey","unwrapKey"]);case 5:return c=t.sent,t.next=8,o.unwrapKey("raw",e,c,{name:a,iv:u},{name:"AES-GCM"},!0,["encrypt","decrypt"]);case 8:return h=t.sent,t.t0=Uint8Array,t.next=12,o.exportKey("raw",h);case 12:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 16:throw t.prev=16,t.t2=t.catch(2),new Error("WebCrypto_FailedToUnwrapKey - ".concat(t.t2.message));case 19:t.next=22;break;case 21:throw new Error("ThrowAwayMsIeAsap");case 22:case"end":return t.stop()}}),t,null,[[2,16]])})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.unwrapKey=a;var u=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o){var s,a,u,c,f,p,_,m,y,v,b;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.name,a=void 0===s?"AES-GCM":s,u=r.iv,c=r.additionalData,f=r.tagLength,p=h({name:a,iv:u,additionalData:c,tagLength:f}),void 0!==window.msCrypto){t.next=18;break}return t.prev=3,t.next=6,o.importKey("raw",n,p,!1,["encrypt","decrypt"]);case 6:return _=t.sent,t.next=9,o.encrypt(p,_,e);case 9:return m=t.sent,t.abrupt("return",new Uint8Array(m));case 13:throw t.prev=13,t.t0=t.catch(3),new Error("WebCrypto_EncryptionFailure: ".concat(t.t0.message));case 16:t.next=38;break;case 18:return t.prev=18,t.next=21,l("raw",n,p,!1,["encrypt","decrypt"],o);case 21:return y=t.sent,t.next=24,d(p,y,e,o);case 24:if(v=t.sent,"AES-GCM"!==a){t.next=32;break}return(b=new Uint8Array(v.ciphertext.byteLength+v.tag.byteLength)).set(new Uint8Array(v.ciphertext)),b.set(new Uint8Array(v.tag),v.ciphertext.byteLength),t.abrupt("return",b);case 32:return t.abrupt("return",new Uint8Array(v));case 33:t.next=38;break;case 35:throw t.prev=35,t.t1=t.catch(18),new Error("ThrowAwayMsIeAsap: ".concat(t.t1.message));case 38:case"end":return t.stop()}}),t,null,[[3,13],[18,35]])})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.encrypt=u;var c=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o){var s,a,u,c,d,p,_,m,y,v,b;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.name,a=r.iv,u=r.additionalData,c=r.tagLength,d=h({name:s,iv:a,additionalData:u,tagLength:c}),window.msCrypto){t.next=18;break}return t.prev=3,t.next=6,o.importKey("raw",n,d,!1,["encrypt","decrypt"]);case 6:return p=t.sent,t.next=9,o.decrypt(d,p,e);case 9:return _=t.sent,t.abrupt("return",new Uint8Array(_));case 13:throw t.prev=13,t.t0=t.catch(3),new Error("WebCrypto_DecryptionFailure: ".concat(t.t0.message));case 16:t.next=39;break;case 18:return t.prev=18,t.next=21,l("raw",n,d,!1,["encrypt","decrypt"],o);case 21:if(m=t.sent,"AES-GCM"!==s){t.next=30;break}return v=e.slice(0,e.length-c),b=e.slice(e.length-c,e.length),t.next=27,f(Object.assign(d,{tag:b}),m,v,o);case 27:y=t.sent,t.next=33;break;case 30:return t.next=32,f(d,m,e,o);case 32:y=t.sent;case 33:return t.abrupt("return",new Uint8Array(y));case 36:throw t.prev=36,t.t1=t.catch(18),new Error("ThrowAwayMsIeAsap: ".concat(t.t1.message));case 39:case"end":return t.stop()}}),t,null,[[3,13],[18,36]])})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.decrypt=c;var h=function(t){var e=t.name,n=t.iv,r=t.additionalData,i=t.tagLength,o={};switch(e){case"AES-GCM":Object.assign(o,{name:e,iv:n,tagLength:8*i}),Object.assign(o,r.length>0?{additionalData:r}:{});break;case"AES-CBC":o.name=e,o.iv=n;break;case"AES-CTR":if(0===n.length||n.length>16)throw new Error("InvalidIVLength");o.name=e,o.counter=new Uint8Array(16),o.counter.set(n),o.counter[15]+=1,o.length=128}return o},l=function(t,e,n,r,i,o){return new Promise((function(s,a){var u=o.importKey(t,e,n,r,i);u.oncomplete=function(t){s(t.target.result)},u.onerror=function(){a("KeyImportingFailed")}}))},d=function(t,e,n,r){return new Promise((function(i,o){var s=r.encrypt(t,e,n);s.oncomplete=function(t){i(t.target.result)},s.onerror=function(){o("EncryptionFailure")}}))},f=function(t,e,n,r){return new Promise((function(i,o){var s=r.decrypt(t,e,n);s.oncomplete=function(t){i(t.target.result)},s.onerror=function(){o("DecryptionFailure")}}))}},oaWn:function(t,e,n){!function(t){"use strict";
  492. //! moment.js locale configuration
  493. t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n("TiKg"))},omOp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAlgorithmFromOid=r,e.getAlgorithmFromOidStrict=e.default=void 0;function r(t,e){return Object.keys(e).filter((function(n){return e[n].oid.toString()===t.toString()}))}e.default={namedCurves:{"P-256":{indutnyName:"p256",payloadSize:32,oid:[1,2,840,10045,3,1,7]},"P-384":{indutnyName:"p384",payloadSize:48,oid:[1,3,132,0,34]},"P-521":{indutnyName:"p521",payloadSize:66,oid:[1,3,132,0,35]},"P-256K":{indutnyName:"secp256k1",payloadSize:32,oid:[1,3,132,0,10]}},publicKeyAlgorithms:{EC:{oid:[1,2,840,10045,2,1]},RSA:{oid:[1,2,840,113549,1,1,1]}},passwordBasedEncryptionSchemes:{"pbeWithMD5AndDES-CBC":{oid:[1,2,840,113549,1,5,3],hash:"MD5",encrypt:"DES-CBC"},"pbeWithSHA1AndDES-CBC":{oid:[1,2,840,113549,1,5,10],hash:"SHA-1",encrypt:"DES-CBC"},pbes2:{oid:[1,2,840,113549,1,5,13]}},keyDerivationFunctions:{pbkdf2:{oid:[1,2,840,113549,1,5,12],defaultSaltLen:8}},pbkdf2Prfs:{hmacWithSHA1:{oid:[1,2,840,113549,2,7],hash:"SHA-1"},hmacWithSHA256:{oid:[1,2,840,113549,2,9],hash:"SHA-256"},hmacWithSHA384:{oid:[1,2,840,113549,2,10],hash:"SHA-384"},hmacWithSHA512:{oid:[1,2,840,113549,2,11],hash:"SHA-512"}},encryptionSchemes:{"des-ede3-cbc":{oid:[1,2,840,113549,3,7],keyLength:24,ivLength:8},"aes128-cbc":{oid:[2,16,840,1,101,3,4,1,2],keyLength:16,ivLength:16},"aes192-cbc":{oid:[2,16,840,1,101,3,4,1,22],keyLength:24,ivLength:16},"aes256-cbc":{oid:[2,16,840,1,101,3,4,1,42],keyLength:32,ivLength:16}},hashes:{"SHA-256":{hashSize:32},"SHA-384":{hashSize:48},"SHA-512":{hashSize:64},"SHA-1":{hashSize:20},MD5:{hashSize:16}}};e.getAlgorithmFromOidStrict=function(t,e){var n=r(t,e);if(0===n.length)throw new Error("UnsupportedAlgorithm");return n[0]}},ooRU:function(t,e,n){!function(t){"use strict";
  494. //! moment.js locale configuration
  495. var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n("TiKg"))},opZB:function(t,e,n){!function(t){"use strict";
  496. //! moment.js locale configuration
  497. t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},ovh1:function(t,e,n){"use strict";var r=n("5QbJ"),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===i.call(t)}function h(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:u,isUndefined:s,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:h,merge:function t(){var e={};function n(n,r){u(e[r])&&u(n)?e[r]=t(e[r],n):u(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)h(arguments[r],n);return e},extend:function(t,e,n){return h(e,(function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},p8Dw:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.deriveSecret=e.verify=e.sign=e.generateKey=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=i(n("SDgz")),u=r(n("B3sb")),c=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.generateKey({name:"ECDSA",namedCurve:e,hash:{name:"SHA-256"}},!0,["sign","verify"]);case 2:return r=t.sent,t.next=5,n.exportKey("jwk",r.publicKey);case 5:return i=t.sent,t.next=8,n.exportKey("jwk",r.privateKey);case 8:return s=t.sent,["key_ops","alg","ext"].forEach((function(t){delete i[t],delete s[t]})),t.abrupt("return",{publicKey:i,privateKey:s});case 11:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.generateKey=c;var h=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s){var a,c,h;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a={name:"ECDSA",namedCurve:n.crv,hash:{name:r}},t.next=3,s.importKey("jwk",n,a,!1,["sign"]);case 3:return c=t.sent,t.next=6,s.sign(a,c,e);case 6:return h=t.sent,t.abrupt("return","raw"===i?new Uint8Array(h):u.encodeAsn1Signature(new Uint8Array(h),n.crv));case 8:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}();e.sign=h;var l=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s,a){var c,h,l;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={name:"ECDSA",namedCurve:r.crv,hash:{name:i}},t.next=3,a.importKey("jwk",r,c,!1,["verify"]);case 3:return h=t.sent,l="raw"===s?n:u.decodeAsn1Signature(n,r.crv),t.next=7,a.verify(c,h,l,e);case 7:return t.abrupt("return",t.sent);case 8:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o,s){return t.apply(this,arguments)}}();e.verify=l;var d=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,u,c;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={name:"ECDH",namedCurve:n.crv},t.next=3,r.importKey("jwk",n,i,!1,["deriveBits"]);case 3:return s=t.sent,t.next=6,r.importKey("jwk",e,i,!1,[]);case 6:return u=t.sent,c=function(){return 8*a.default.encoder.decodeBase64Url(n.x).length},t.t0=Uint8Array,t.next=11,r.deriveBits(Object.assign(i,{public:u}),s,c());case 11:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 13:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.deriveSecret=d},pAPS:function(t,e,n){!function(t){"use strict";
  498. //! moment.js locale configuration
  499. t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},pCvA:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},pRMk:function(t,e,n){var r=n("qykS"),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function s(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=s),o(i,s),s.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},s.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},s.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},s.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},peDq:function(t,e,n){var r=n("pRMk").Buffer,i=n("cq1r");t.exports=function(t,e,n,o){if(r.isBuffer(t)||(t=r.from(t,"binary")),e&&(r.isBuffer(e)||(e=r.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=n/8,a=r.alloc(s),u=r.alloc(o||0),c=r.alloc(0);s>0||o>0;){var h=new i;h.update(c),h.update(t),e&&h.update(e),c=h.digest();var l=0;if(s>0){var d=a.length-s;l=Math.min(s,c.length),c.copy(a,d,0,l),s-=l}if(l<c.length&&o>0){var f=u.length-o,p=Math.min(o,c.length-l);c.copy(u,f,l,l+p),o-=p}}return c.fill(0),{key:a,iv:u}}},phCo:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("fOyB").assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,n){return e instanceof o?e:new o(t,{pub:e,pubEnc:n})},o.fromPrivate=function(t,e,n){return e instanceof o?e:new o(t,{priv:e,privEnc:n})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new r(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},pkQU:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.compute=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("wQqr")),u=i(n("ldBe")),c=i(n("w1Rh")),h=n("DCHf"),l=i(n("tFbo")),d=function(){var t=(0,s.default)(o.default.mark((function t(e){var n,r,i,s,c,h,l,d=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=d.length>1&&void 0!==d[1]?d[1]:"SHA-256",!(Object.keys(u.default.hashes).indexOf(n)<0)){t.next=3;break}throw new Error("UnsupportedHashAlgorithm");case 3:if(e instanceof Uint8Array){t.next=5;break}throw new Error("UnsupportedMessageType");case 5:if(r=a.getWebCrypto(),i=a.getNodeCrypto(),s=a.getMsCrypto(),l=!0,void 0===r||"function"!=typeof r.digest||void 0!==s){t.next=15;break}return t.next=12,r.digest(n,e).catch((function(t){h=t.message,l=!1}));case 12:c=t.sent,t.next=26;break;case 15:if(void 0===i){t.next=19;break}try{c=p(n,e,i)}catch(t){h=t.message,l=!1}t.next=26;break;case 19:if(void 0===s||"function"!=typeof s.digest){t.next=25;break}return t.next=22,f(n,e,s).catch((function(t){h=t.message,l=!1}));case 22:c=t.sent,t.next=26;break;case 25:l=!1;case 26:if(l){t.next=35;break}t.prev=27,c=_(n,e),t.next=35;break;case 31:throw t.prev=31,t.t0=t.catch(27),h="".concat(h," => ").concat(t.t0.message),new Error("UnsupportedEnvironment: ".concat(h));case 35:return t.abrupt("return",new Uint8Array(c));case 36:case"end":return t.stop()}}),t,null,[[27,31]])})));return function(e){return t.apply(this,arguments)}}();e.compute=d;var f=function(t,e,n){return new Promise((function(r,i){var o=n.digest(t,e);o.oncomplete=function(t){r(t.target.result)},o.onerror=function(t){i(t)}}))},p=function(t,e,n){var r=u.default.hashes[t].nodeName,i=n.createHash(r);return i.update(e),i.digest()},_=function(t,e){var r;if("MD5"===t)r=(0,c.default)(Array.from(e),{asBytes:!0});else if(["SHA3-512","SHA3-384","SHA3-256","SHA3-224"].indexOf(t)>=0){var i=new h.SHA3(8*u.default.hashes[t].hashSize),o=n("qykS").Buffer;i.update(o.from(e)),r=i.digest("binary")}else r=l.default[u.default.hashes[t].nodeName]().update(e).digest();return new Uint8Array(r)}},plIT:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n("LxOh"))&&r.__esModule?r:{default:r};var o=function(t){for(var e=t.A,n=t.C,r=t.D,o=t.W,s=0,a=0,u=0;u<5;u++){var c=2*u,h=2*(u+5),l=2*(u+10),d=2*(u+15),f=2*(u+20);n[c]=e[c]^e[h]^e[l]^e[d]^e[f],n[c+1]=e[c+1]^e[h+1]^e[l+1]^e[d+1]^e[f+1]}for(var p=0;p<5;p++){(0,i.default)(n,(p+1)%5)(o,0),s=o[0],a=o[1],o[0]=s<<1|a>>>31,o[1]=a<<1|s>>>31,r[2*p]=n[(p+4)%5*2]^o[0],r[2*p+1]=n[(p+4)%5*2+1]^o[1];for(var _=0;_<25;_+=5)e[2*(_+p)]^=r[2*p],e[2*(_+p)+1]^=r[2*p+1]}};e.default=o},psIG:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=u):i&&(u=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var h=c.render;c.render=function(t,e){return u.call(e),h(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},qIg4:function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="https://static.line-scdn.net/liff/edge/2/",n(n.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.liff=void 0,n(1),n(2);var r=n(3).default;e.liff=r,e.default=r},function(t,e){t.exports=n("Igas")},function(t,e){t.exports=n("wthT")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(5),o=n(6),s=n(7),a=n(8),u=n(9),c=n(10),h=n(11),l=n(12),d=n(13),f=n(14),p=n(15),_=n(16),m=n(17),y=n(18),v=n(19),b=n(20),g=n(21),w=n(22),x=n(23),M=n(24),S=n(25),T=n(26),A=n(27),E=n(28),L=Object.defineProperties({},{getOS:{value:u.getOS,enumerable:!0,writable:!0},getVersion:{value:c.getVersion,enumerable:!0,writable:!0},getLanguage:{value:h.getLanguage,enumerable:!0,writable:!0},isInClient:{value:s.isInClient,enumerable:!0,writable:!0},isLoggedIn:{value:d.isLoggedIn,enumerable:!0,writable:!0},logout:{value:f.logout,enumerable:!0,writable:!0},getAccessToken:{value:o.getAccessToken,enumerable:!0,writable:!0},getIDToken:{value:o.getIDToken,enumerable:!0,writable:!0},getDecodedIDToken:{value:o.getDecodedIDToken,enumerable:!0,writable:!0},getContext:{value:o.getContext,enumerable:!0,writable:!0},openWindow:{value:y.openWindow,enumerable:!0,writable:!0},closeWindow:{value:v.closeWindow,enumerable:!0,writable:!0},getFriendship:{value:A.attachChecker(g.getFriendship,"profile"),enumerable:!0,writable:!0},getAId:{value:o.getAId,enumerable:!0,writable:!0},getProfilePlus:{value:o.getProfilePlus,enumerable:!0,writable:!0},getIsVideoAutoPlay:{value:o.getIsVideoAutoPlay,enumerable:!0,writable:!0},getLineVersion:{value:_.getLineVersion,enumerable:!0,writable:!0},isApiAvailable:{value:m.isApiAvailable,enumerable:!0,writable:!0},getProfile:{value:A.attachChecker(l.getProfile,"profile"),enumerable:!0,writable:!0},sendMessages:{value:A.attachChecker(b.sendMessages,"chat_message.write"),enumerable:!0,writable:!0},shareTargetPicker:{value:E.shareTargetPicker,enumerable:!0,writable:!0},subWindow:{value:w.subWindow,enumerable:!0,writable:!0},ready:{value:a.ready,enumerable:!0,writable:!0},id:{get:function(){return o.getConfig().liffId||null},enumerable:!0},_dispatchEvent:{value:p.dispatch,enumerable:!0,writable:!0},_call:{value:p.call,enumerable:!0,writable:!0},_addListener:{value:p.addListener,enumerable:!0,writable:!0},_removeListener:{value:p.removeListener,enumerable:!0,writable:!0},_postMessage:{value:p.postMessage,enumerable:!0,writable:!0}}),D=new x.ModuleDriverImpl,C=new x.ModuleContextImpl(D),k=new x.UseModule(D,{namespacePrefix:""}).install(C);[new i.LoginModule(D),new r.InitModule(L,D),new M.AnalyticsModule(L),S.module,T.module,A.module].forEach((function(t){k.call(L,t)})),e.default=L},function(t,e){t.exports=n("6Bnx")},function(t,e){t.exports=n("sNJ5")},function(t,e){t.exports=n("JpNb")},function(t,e){t.exports=n("YaxJ")},function(t,e){t.exports=n("ZIm7")},function(t,e){t.exports=n("NOeq")},function(t,e){t.exports=n("8WWn")},function(t,e){t.exports=n("KZ9t")},function(t,e){t.exports=n("9hTT")},function(t,e){t.exports=n("hGkD")},function(t,e){t.exports=n("1XdC")},function(t,e){t.exports=n("cAUJ")},function(t,e){t.exports=n("53ng")},function(t,e){t.exports=n("YVk5")},function(t,e){t.exports=n("Ggl8")},function(t,e){t.exports=n("KbIP")},function(t,e){t.exports=n("Fthy")},function(t,e){t.exports=n("IChs")},function(t,e){t.exports=n("OOa2")},function(t,e){t.exports=n("I2oy")},function(t,e){t.exports=n("sXMr")},function(t,e){t.exports=n("h1m7")},function(t,e){t.exports=n("bI9i")},function(t,e){t.exports=n("Pyak")},function(t,e){t.exports=n("6vYI")}]).default},qXhl:function(t,e,n){var r=n("pRMk").Buffer,i=n("8kJ5"),o=n("6MVH").ec,s=n("LER9"),a=n("Jlhb");function u(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,n,c,h){var l=s(n);if("ec"===l.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=a[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),s=n.data.subjectPrivateKey.data;return i.verify(e,t,s)}(t,e,l)}if("dsa"===l.type){if("dsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=n.data.p,o=n.data.q,a=n.data.g,c=n.data.pub_key,h=s.signature.decode(t,"der"),l=h.s,d=h.r;u(l,o),u(d,o);var f=i.mont(r),p=l.invm(o);return 0===a.toRed(f).redPow(new i(e).mul(p).mod(o)).fromRed().mul(c.toRed(f).redPow(d.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(d)}(t,e,l)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");e=r.concat([h,e]);for(var d=l.modulus.byteLength(),f=[1],p=0;e.length+f.length+2<d;)f.push(255),p++;f.push(0);for(var _=-1;++_<e.length;)f.push(e[_]);f=r.from(f);var m=i.mont(l.modulus);t=(t=new i(t).toRed(m)).redPow(new i(l.publicExponent)),t=r.from(t.fromRed().toArray());var y=p<8?1:0;for(d=Math.min(t.length,f.length),t.length!==f.length&&(y=1),_=-1;++_<d;)y|=t[_]^f[_];return 0===y}},qYPx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=new Uint32Array([0,1,0,32898,2147483648,32906,2147483648,2147516416,0,32907,0,2147483649,2147483648,2147516545,2147483648,32777,0,138,0,136,0,2147516425,0,2147483658,0,2147516555,2147483648,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,0,32778,2147483648,2147483658,2147483648,2147516545,2147483648,32896,0,2147483649,2147483648,2147516424]);e.default=r},qatJ:function(t,e,n){!function(t){"use strict";
  500. //! moment.js locale configuration
  501. t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n("TiKg"))},qelJ:function(t,e,n){!function(t){"use strict";
  502. //! moment.js locale configuration
  503. t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("TiKg"))},ql4I:function(t,e,n){var r=n("pRMk").Buffer,i=n("ZG6w").Transform,o=n("soc2").StringDecoder;function s(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("wfEq")(s,i),s.prototype.update=function(t,e,n){"string"==typeof t&&(t=r.from(t,e));var i=this._update(t);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){r=t}finally{n(r)}},s.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},s.prototype._finalOrDigest=function(t){var e=this.__final()||r.alloc(0);return t&&(e=this._toString(e,t,!0)),e},s.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r},t.exports=s},qwGt:function(t,e,n){"use strict";var r=n("HpGB"),i=n("HbDv");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},qykS:function(t,e,n){"use strict";(function(t){
  504. /*!
  505. * The buffer module from node.js, for the browser.
  506. *
  507. * @author Feross Aboukhadijeh <http://feross.org>
  508. * @license MIT
  509. */
  510. var r=n("KlUR"),i=n("FaXh"),o=n("kah5");function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return c(this,t,e,n)}function c(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=d(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),i=(t=a(t,r)).write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(u.isBuffer(e)){var n=0|f(e.length);return 0===(t=a(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?a(t,0):d(t,e);if("Buffer"===e.type&&o(e.data))return d(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,e){if(h(e),t=a(t,e<0?0:0|f(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e){var n=e.length<0?0:0|f(e.length);t=a(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function f(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(t).length;default:if(r)return F(t).length;e=(""+e).toLowerCase(),r=!0}}function _(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return L(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:v(t,e,n,r,i);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,r,i){var o,s=1,a=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var h=-1;for(o=n;o<a;o++)if(c(t,o)===c(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===u)return h*s}else-1!==h&&(o-=o-h),h=-1}else for(n+u>a&&(n=a-u),o=n;o>=0;o--){for(var l=!0,d=0;d<u;d++)if(c(t,o+d)!==c(e,d)){l=!1;break}if(l)return o}return-1}function b(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function g(t,e,n,r){return G(F(e,t.length-n),t,n,r)}function w(t,e,n,r){return G(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function x(t,e,n,r){return w(t,e,n,r)}function M(t,e,n,r){return G(U(e),t,n,r)}function S(t,e,n,r){return G(function(t,e){for(var n,r,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)n=t.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function T(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function A(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,s,a,u,c=t[i],h=null,l=c>239?4:c>223?3:c>191?2:1;if(i+l<=n)switch(l){case 1:c<128&&(h=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(h=u);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(h=u)}null===h?(h=65533,l=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),i+=l}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}e.Buffer=u,e.SlowBuffer=function(t){+t!=t&&(t=0);return u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return c(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return function(t,e,n,r){return h(e),e<=0?a(t,e):void 0!==n?"string"==typeof r?a(t,e).fill(n,r):a(t,e).fill(n):a(t,e)}(null,t,e,n)},u.allocUnsafe=function(t){return l(null,t)},u.allocUnsafeSlow=function(t){return l(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=u.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!u.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?A(this,0,t):_.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(o,s),c=this.slice(r,i),h=t.slice(e,n),l=0;l<a;++l)if(c[l]!==h[l]){o=c[l],s=h[l];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return y(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return y(this,t,e,n,!1)},u.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return g(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return M(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function L(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function D(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=j(t[o]);return i}function C(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function k(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function O(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function I(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function P(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function R(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Y(t,e,n,r,o){return o||R(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,o){return o||R(t,0,n,8),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=u.prototype;else{var i=e-t;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||k(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||k(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||k(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||k(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||k(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||k(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||k(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||k(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||k(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||k(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||k(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||k(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||k(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||k(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||k(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||O(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||O(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);O(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<n&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);O(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return Y(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return Y(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},u.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=u.isBuffer(t)?t:F(new u(t,r).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function j(t){return t<16?"0"+t.toString(16):t.toString(16)}function F(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],s=0;s<r;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function G(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n("pCvA"))},r6R4:function(t,e,n){"use strict";var r=n("HpGB"),i=n("siiD");function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(e,n))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},rTiS:function(t,e,n){!function(t){"use strict";
  511. //! moment.js locale configuration
  512. t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("TiKg"))},riLI:function(t,e,n){!function(t){"use strict";
  513. //! moment.js locale configuration
  514. t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("TiKg"))},riUx:function(t,e,n){!function(t){"use strict";
  515. //! moment.js locale configuration
  516. var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},s2ex:function(t,e,n){!function(t){"use strict";
  517. //! moment.js locale configuration
  518. function e(t,e,n,r){var i=t+" ";switch(n){case"s":return e||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===t?e?"sekundo":"sekundi":2===t?e||r?"sekundi":"sekundah":t<5?e||r?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return i+=1===t?e?"minuta":"minuto":2===t?e||r?"minuti":"minutama":t<5?e||r?"minute":"minutami":e||r?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return i+=1===t?e?"ura":"uro":2===t?e||r?"uri":"urama":t<5?e||r?"ure":"urami":e||r?"ur":"urami";case"d":return e||r?"en dan":"enim dnem";case"dd":return i+=1===t?e||r?"dan":"dnem":2===t?e||r?"dni":"dnevoma":e||r?"dni":"dnevi";case"M":return e||r?"en mesec":"enim mesecem";case"MM":return i+=1===t?e||r?"mesec":"mesecem":2===t?e||r?"meseca":"mesecema":t<5?e||r?"mesece":"meseci":e||r?"mesecev":"meseci";case"y":return e||r?"eno leto":"enim letom";case"yy":return i+=1===t?e||r?"leto":"letom":2===t?e||r?"leti":"letoma":t<5?e||r?"leta":"leti":e||r?"let":"leti"}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},s5bY:function(t,e,n){!function(t){"use strict";
  519. //! moment.js locale configuration
  520. t.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("TiKg"))},sCZo:function(t,e,n){!function(t){"use strict";
  521. //! moment.js locale configuration
  522. var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,r,i){var o=function(t){var n=Math.floor(t%1e3/100),r=Math.floor(t%100/10),i=t%10,o="";return n>0&&(o+=e[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+e[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+e[i]),""===o?"pagh":o}(t);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},sIcz:function(t,e,n){!function(t){"use strict";
  523. //! moment.js locale configuration
  524. t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("TiKg"))},sNJ5:function(t,e,n){"use strict";n.r(e),n.d(e,"LoginModule",(function(){return f}));var r=n("kp3F"),i=n("QuL7"),o=n("eJvy"),s=n("JpNb"),a=n("2q8S"),u=n("8WWn"),c=n("bI9i"),h=n("YaxJ"),l=n("sUNN"),d=n.n(l),f=function(){function t(t){this.driver=t}return Object.defineProperty(t.prototype,"name",{get:function(){return"login"},enumerable:!1,configurable:!0}),t.prototype.install=function(){return this.login.bind(this)},t.prototype.login=function(t){this.driver.runSyncHook("beforeLogin",t);var e=Object(o.v)(43),n=Object(o.n)(d()(e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),l=Object(s.getConfig)();if(!l||!l.liffId)throw Object(o.j)(r.g,"You need to define `liffId` for liff.login()");var f={app_id:l.liffId,state:Object(o.v)(12),response_type:"code",code_challenge_method:"S256",code_challenge:n,liff_sdk_version:Object(u.getVersion)()};t&&t.redirectUri&&(f.redirect_uri=t.redirectUri),Object(c.isSubWindow)()&&!Object(h.isInClient)()&&(f.disable_auto_login="true"),Object(s.setLoginTmp)({codeVerifier:e});var p=Object(a.b)("authorize")+"?"+o.u.stringify(f);i.a.debug("[Redirect] "+p),window.location.href=p},t}()},sTnJ:function(t,e,n){!function(t){"use strict";
  525. //! moment.js locale configuration
  526. var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("TiKg"))},sUNN:function(t,e,n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){var t=function t(e){function n(t,e){return t>>>e|t<<32-e}for(var r,i,o=Math.pow,s=o(2,32),a="",u=[],c=8*e.length,h=t.h=t.h||[],l=t.k=t.k||[],d=l.length,f={},p=2;d<64;p++)if(!f[p]){for(r=0;r<313;r+=p)f[r]=p;h[d]=o(p,.5)*s|0,l[d++]=o(p,1/3)*s|0}for(e+="€";e.length%64-56;)e+="\0";for(r=0;r<e.length;r++){if((i=e.charCodeAt(r))>>8)return;u[r>>2]|=i<<(3-r)%4*8}for(u[u.length]=c/s|0,u[u.length]=c,i=0;i<u.length;){var _=u.slice(i,i+=16),m=h;for(h=h.slice(0,8),r=0;r<64;r++){var y=_[r-15],v=_[r-2],b=h[0],g=h[4],w=h[7]+(n(g,6)^n(g,11)^n(g,25))+(g&h[5]^~g&h[6])+l[r]+(_[r]=r<16?_[r]:_[r-16]+(n(y,7)^n(y,18)^y>>>3)+_[r-7]+(n(v,17)^n(v,19)^v>>>10)|0);(h=[w+((n(b,2)^n(b,13)^n(b,22))+(b&h[1]^b&h[2]^h[1]&h[2]))|0].concat(h))[4]=h[4]+w|0}for(r=0;r<8;r++)h[r]=h[r]+m[r]|0}for(r=0;r<8;r++)for(i=3;i+1;i--){var x=h[r]>>8*i&255;a+=(x<16?0:"")+x.toString(16)}return a};return t.code='var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math.pow,g=f(2,32),h="length",i="",j=[],k=8*b[h],l=a.h=a.h||[],m=a.k=a.k||[],n=m[h],o={},p=2;64>n;p++)if(!o[p]){for(d=0;313>d;d+=p)o[d]=p;l[n]=f(p,.5)*g|0,m[n++]=f(p,1/3)*g|0}for(b+="\\x80";b[h]%64-56;)b+="\\x00";for(d=0;d<b[h];d++){if(e=b.charCodeAt(d),e>>8)return;j[d>>2]|=e<<(3-d)%4*8}for(j[j[h]]=k/g|0,j[j[h]]=k,e=0;e<j[h];){var q=j.slice(e,e+=16),r=l;for(l=l.slice(0,8),d=0;64>d;d++){var s=q[d-15],t=q[d-2],u=l[0],v=l[4],w=l[7]+(c(v,6)^c(v,11)^c(v,25))+(v&l[5]^~v&l[6])+m[d]+(q[d]=16>d?q[d]:q[d-16]+(c(s,7)^c(s,18)^s>>>3)+q[d-7]+(c(t,17)^c(t,19)^t>>>10)|0),x=(c(u,2)^c(u,13)^c(u,22))+(u&l[1]^u&l[2]^l[1]&l[2]);l=[w+x|0].concat(l),l[4]=l[4]+w|0}for(d=0;8>d;d++)l[d]=l[d]+r[d]|0}for(d=0;8>d;d++)for(e=3;e+1;e--){var y=l[d]>>8*e&255;i+=(16>y?0:"")+y.toString(16)}return i};',t})?r.apply(e,i):r)||(t.exports=o)},sXMr:function(t,e,n){"use strict";n.r(e),n.d(e,"AnalyticsModule",(function(){return f})),n.d(e,"sendShareTargetPicker",(function(){return p}));var r=n("bb6g"),i=n("kp3F"),o=n("QuL7"),s=n("eJvy"),a=n("JpNb"),u=n("8WWn"),c=n("hGkD"),h=n("9hTT");function l(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){switch(n.label){case 0:if(!Object(c.isLoggedIn)())return[3,6];n.label=1;case 1:return n.trys.push([1,5,,6]),(t=Object(a.getDecodedIDToken)())&&t.sub?[2,t.sub]:[3,2];case 2:return[4,Object(h.getProfile)()];case 3:if((e=n.sent())&&e.userId)return[2,e.userId];n.label=4;case 4:return[3,6];case 5:return n.sent(),o.a.debug("can't retrieve Mid/Uid because of something wrong"),[3,6];case 6:return[2]}}))}))}function d(){return Object(r.b)(this,void 0,void 0,(function(){var t;return Object(r.d)(this,(function(e){switch(e.label){case 0:return[4,l()];case 1:return(t=e.sent())&&"u"===t.substring(0,1)?[2,t]:[2]}}))}))}var f=function(){function t(t){this.liffCore=t,this.utsExtra={isLiffSuccessful:!1,isLoggedIn:!1,id:"",version:""},this.injected=!1}return Object.defineProperty(t,"CUSTOMPLACEID_INIT",{get:function(){return"liff.init"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"CUSTOMTYPE",{get:function(){return"liffSdk"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GENERAL_UTS_ID",{get:function(){return"liff_general"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GENERAL_APP_NAME",{get:function(){return"LIFF General"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"LiffUtsLoginStatus",{get:function(){return{isLoggedIn:1,isLiffSuccessful:2}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return"analytics"},enumerable:!1,configurable:!0}),t.prototype.install=function(t){(0,t.addHooks)({beforeInitFinished:this.beforeInitFinished.bind(this),beforeInitSuccess:this.beforeInitSuccess.bind(this),initError:this.initError.bind(this)})},t.prototype.changeRatioToUTSFormat=function(t){if(t&&Number.isFinite(t))return Math.round(100*t)},t.prototype.setExtra=function(){var e=this.utsExtra,n=e.isLiffSuccessful,r=e.isLoggedIn,i=e.id,o=e.version,s=(r?t.LiffUtsLoginStatus.isLoggedIn:0)|(n?t.LiffUtsLoginStatus.isLiffSuccessful:0);this.uts.setExtra("liff",{id:i,loginStatus:s,version:o})},t.prototype.assignUtsExtra=function(t){Object.assign(this.utsExtra,t)},t.prototype.setVersion=function(t){this.assignUtsExtra({version:t}),o.a.debug("[LIFFUTS][SDK version] "+t),this.setExtra()},t.prototype.setLiffId=function(t){this.assignUtsExtra({id:t}),o.a.debug("[LIFFUTS][LIFFID] "+t),this.setExtra()},t.prototype.setIsLoggedIn=function(t){this.assignUtsExtra({isLoggedIn:t}),o.a.debug("[LIFFUTS][isLoggedIn] "+t),this.setExtra()},t.prototype.sendLiffInit=function(){o.a.debug("[LIFFUTS][sendCustom] liff.init"),this.uts.sendCustom({type:t.CUSTOMTYPE,params:{placeId:t.CUSTOMPLACEID_INIT}})},t.prototype.setIsLiffSuccessful=function(t){this.assignUtsExtra({isLiffSuccessful:t}),o.a.debug("[LIFFUTS][isLiffInitSuccessful] "+t),this.setExtra()},t.prototype.prepareReferrer=function(t){var e={};Object.keys(t).forEach((function(n){if(i.A.includes(n)){var r=t[n];"string"==typeof r&&r&&(e[n.replace(/^liff\.ref\./,"")]=r)}})),Object.keys(e).length>0&&(this.referrer=e)},t.prototype.beforeInitFinished=function(){return Object(r.b)(this,void 0,void 0,(function(){var e,n,i,h,l,f,p,_,m,y,v,b,g;return Object(r.d)(this,(function(w){switch(w.label){case 0:if(e=s.u.parse(window.location.search),this.prepareReferrer(e),n=Object(a.getContext)(),!(i=null==n?void 0:n.utsTracking))return[2];if("auto"!==(h=i.mode)&&"force"!==h)return[3,6];o.a.debug("[LIFFUTS] "+(new Date).toUTCString()),l=Object(a.getConfig)(),f=l.liffId,p=l.analytics,w.label=1;case 1:return w.trys.push([1,3,,4]),_=this,[4,new Promise((function(t,e){var n=window.uts,r=document.createElement("script");r.type="text/javascript",r.src="https://static.line-scdn.net/uts/edge/4.0.0/uts.js",r.onload=function(){var e=window.uts;t(e),window.uts=n},r.onerror=function(t){e(t)},document.getElementsByTagName("head")[0].appendChild(r)}))];case 2:return _.uts=w.sent(),[3,4];case 3:return m=w.sent(),o.a.debug("[LIFFUTS] cannot load UTS, reason: "+m),[2];case 4:return y=void 0,v=void 0,"force"===h?(y={utsId:t.GENERAL_UTS_ID,appName:t.GENERAL_APP_NAME,appEnv:"release"},v={endpoint:"https://uts-front.line-apps.com",sampleRate:this.changeRatioToUTSFormat(i.sendRatio),version:"current"}):(y=Object(r.a)(Object(r.a)({},null==p?void 0:p.context),{utsId:(null==p?void 0:p.context.utsId)||t.GENERAL_UTS_ID,appName:(null==p?void 0:p.context.appName)||t.GENERAL_APP_NAME,appEnv:(null==p?void 0:p.context.appEnv)||"release"}),v=Object(r.a)(Object(r.a)({endpoint:"https://uts-front.line-apps.com"},null==p?void 0:p.options),{sampleRate:this.changeRatioToUTSFormat(i.sendRatio),version:"current"})),this.uts.init(y,v),[4,d()];case 5:(b=w.sent())&&(o.a.debug("[LIFFUTS][mid] "+b),this.uts.setMid(b)),(null==n?void 0:n.tid)&&(o.a.debug("[LIFFUTS][tid] "+n.tid),this.uts.setTid(n.tid)),this.referrer&&(o.a.debug("liff.ref.referrer",this.referrer),this.uts.setSessionParams(this.referrer)),f&&this.setLiffId(f),this.setIsLoggedIn(Object(c.isLoggedIn)()),this.setVersion(Object(u.getVersion)()),g=Object(s.w)(location.href),o.a.debug("[LIFFUTS][url] "+g),this.uts.setUrl(g),this.liffCore.analytics=this.uts,this.injected=!0,w.label=6;case 6:return[2]}}))}))},t.prototype.beforeInitSuccess=function(){this.injected&&(this.setIsLiffSuccessful(!0),this.sendLiffInit())},t.prototype.initError=function(){this.injected&&(this.setIsLiffSuccessful(!1),this.sendLiffInit())},t}(),p=function(t){o.a.debug("[LIFFUTS][sendCustom] liff.shareTargetPicker"),t.sendCustom({type:"liffSdk",params:{placeId:"liff.shareTargetPicker"}})}},siiD:function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=n,n.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},smmp:function(t,e,n){(function(e){t.exports=function(t,n){for(var r=Math.min(t.length,n.length),i=new e(r),o=0;o<r;++o)i[o]=t[o]^n[o];return i}}).call(this,n("qykS").Buffer)},soaT:function(t,e,n){var r=n("45vN").Reporter,i=n("45vN").EncoderBuffer,o=n("45vN").DecoderBuffer,s=n("siiD"),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function c(t,e){var n={};this._baseState=n,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=c;var h=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var t=this._baseState,e={};h.forEach((function(n){e[n]=t[n]}));var n=new this.constructor(e.parent);return n._baseState=e,n},c.prototype._wrap=function(){var t=this._baseState;u.forEach((function(e){this[e]=function(){var n=new this.constructor(this);return t.children.push(n),n[e].apply(n,arguments)}}),this)},c.prototype._init=function(t){var e=this._baseState;s(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),s.equal(e.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(t){var e=this._baseState,n=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==n.length&&(s(null===e.children),e.children=n,n.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(s(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!=typeof t||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(n){n==(0|n)&&(n|=0);var r=t[n];e[r]=n})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){c.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),a.forEach((function(t){c.prototype[t]=function(){var e=this._baseState,n=Array.prototype.slice.call(arguments);return s(null===e.tag),e.tag=t,this._useArgs(n),this}})),c.prototype.use=function(t){s(t);var e=this._baseState;return s(null===e.use),e.use=t,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(t){var e=this._baseState;return s(null===e.default),e.default=t,e.optional=!0,this},c.prototype.explicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.explicit=t,this},c.prototype.implicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.implicit=t,this},c.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},c.prototype.key=function(t){var e=this._baseState;return s(null===e.key),e.key=t,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(t){var e=this._baseState;return s(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},c.prototype.contains=function(t){var e=this._baseState;return s(null===e.use),e.contains=t,this},c.prototype._decode=function(t,e){var n=this._baseState;if(null===n.parent)return t.wrapResult(n.children[0]._decode(t,e));var r,i=n.default,s=!0,a=null;if(null!==n.key&&(a=t.enterKey(n.key)),n.optional){var u=null;if(null!==n.explicit?u=n.explicit:null!==n.implicit?u=n.implicit:null!==n.tag&&(u=n.tag),null!==u||n.any){if(s=this._peekTag(t,u,n.any),t.isError(s))return s}else{var c=t.save();try{null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e),s=!0}catch(t){s=!1}t.restore(c)}}if(n.obj&&s&&(r=t.enterObject()),s){if(null!==n.explicit){var h=this._decodeTag(t,n.explicit);if(t.isError(h))return h;t=h}var l=t.offset;if(null===n.use&&null===n.choice){if(n.any)c=t.save();var d=this._decodeTag(t,null!==n.implicit?n.implicit:n.tag,n.any);if(t.isError(d))return d;n.any?i=t.raw(c):t=d}if(e&&e.track&&null!==n.tag&&e.track(t.path(),l,t.length,"tagged"),e&&e.track&&null!==n.tag&&e.track(t.path(),t.offset,t.length,"content"),i=n.any?i:null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e),t.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(t,e)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var f=new o(i);i=this._getUse(n.contains,t._reporterState.obj)._decode(f,e)}}return n.obj&&s&&(i=t.leaveObject(r)),null===n.key||null===i&&!0!==s?null!==a&&t.exitKey(a):t.leaveKey(a,n.key,i),i},c.prototype._decodeGeneric=function(t,e,n){var r=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,r.args[0],n):/str$/.test(t)?this._decodeStr(e,t,n):"objid"===t&&r.args?this._decodeObjid(e,r.args[0],r.args[1],n):"objid"===t?this._decodeObjid(e,null,null,n):"gentime"===t||"utctime"===t?this._decodeTime(e,t,n):"null_"===t?this._decodeNull(e,n):"bool"===t?this._decodeBool(e,n):"objDesc"===t?this._decodeStr(e,t,n):"int"===t||"enum"===t?this._decodeInt(e,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,e._reporterState.obj)._decode(e,n):e.error("unknown tag: "+t)},c.prototype._getUse=function(t,e){var n=this._baseState;return n.useDecoder=this._use(t,e),s(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},c.prototype._decodeChoice=function(t,e){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some((function(o){var s=t.save(),a=n.choice[o];try{var u=a._decode(t,e);if(t.isError(u))return!1;r={type:o,value:u},i=!0}catch(e){return t.restore(s),!1}return!0}),this),i?r:t.error("Choice not matched")},c.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},c.prototype._encode=function(t,e,n){var r=this._baseState;if(null===r.default||r.default!==t){var i=this._encodeValue(t,e,n);if(void 0!==i&&!this._skipDefault(i,e,n))return i}},c.prototype._encodeValue=function(t,e,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new r);var o=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}var s=null,a=!1;if(i.any)o=this._createEncoderBuffer(t);else if(i.choice)o=this._encodeChoice(t,e);else if(i.contains)s=this._getUse(i.contains,n)._encode(t,e),a=!0;else if(i.children)s=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,e,t);if(null===n._baseState.key)return e.error("Child should have a key");var r=e.enterKey(n._baseState.key);if("object"!=typeof t)return e.error("Child expected, but input is not object");var i=n._encode(t[n._baseState.key],e,t);return e.leaveKey(r),i}),this).filter((function(t){return t})),s=this._createEncoderBuffer(s);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,s=this._createEncoderBuffer(t.map((function(n){var r=this._baseState;return this._getUse(r.args[0],t)._encode(n,e)}),u))}else null!==i.use?o=this._getUse(i.use,n)._encode(t,e):(s=this._encodePrimitive(i.tag,t),a=!0);if(!i.any&&null===i.choice){var c=null!==i.implicit?i.implicit:i.tag,h=null===i.implicit?"universal":"context";null===c?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(c,a,h,s))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(t,e){var n=this._baseState,r=n.choice[t.type];return r||s(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(t.value,e)},c.prototype._encodePrimitive=function(t,e){var n=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&n.args)return this._encodeObjid(e,n.reverseArgs[0],n.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,n.args&&n.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},c.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},c.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(t)}},soc2:function(t,e,n){"use strict";var r=n("pRMk").Buffer,i=r.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=c,e=4;break;case"utf8":this.fillLast=a,e=4;break;case"base64":this.text=h,this.end=l,e=3;break;default:return this.write=d,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function s(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function h(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var n=function(t,e,n){var r=e.length-1;if(r<n)return 0;var i=s(e[r]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=s(e[r]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=s(e[r]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},srdS:function(t,e,n){"use strict";(function(t){var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.appendLeadingZeros=e.pruneLeadingZeros=e.getJwkType=e.getSec1KeyType=e.getAsn1KeyType=e.isAsn1Public=e.isAsn1Encrypted=void 0;var i=r(n("SDgz")),o=r(n("omOp")),s=n("zYJ4");e.isAsn1Encrypted=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"pem";try{e=a(t,n)}catch(t){return!1}return"encryptedPrivate"===e};e.isAsn1Public=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"pem";try{e=a(t,n)}catch(t){return!1}return"public"===e};var a=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"pem",r="pem"===n?i.default.formatter.pemToBin(e,"private"):e,o=s.KeyStructure.decode(t.from(r),"der");if("encryptedPrivateKeyInfo"===o.type)return"encryptedPrivate";if("oneAsymmetricKey"===o.type)return"private";if("subjectPublicKeyInfo"===o.type)return"public";throw new Error("NotSpkiNorPkcs8Key")};e.getAsn1KeyType=a;e.getSec1KeyType=function(t,e){var n;if(t instanceof Uint8Array)n="binary";else{if("string"!=typeof t)throw new Error("InvalidObjectType");n="string"}var r="string"===n?i.default.encoder.hexStringToArrayBuffer(t):t,s=o.default.namedCurves[e].payloadSize;if(r.length<=s)return"private";if(r.length===2*s+1&&4===r[0]||r.length===s+1&&(2===r[0]||3===r[0]))return"public";throw new Error("UnsupportedKeyStructure")};e.getJwkType=function(t){if("EC"===t.kty){if(t.x&&t.y&&t.d)return"private";if(t.x&&t.y)return"public";throw new Error("InvalidECKey")}if("RSA"===t.kty){if(t.n&&t.e&&t.d&&t.p&&t.q&&t.dp&&t.dq&&t.qi)return"private";if(t.n&&t.e)return"public";throw new Error("InvalidRSAKey")}throw new Error("UnsupportedJWKType")};e.pruneLeadingZeros=function(t){if(!(t instanceof Uint8Array))throw new Error("NonUint8Array");for(var e=0,n=0;n<t.length&&0===t[n];n++)e++;var r=new Uint8Array(t.length-e);return r.set(t.slice(e,t.length)),r};e.appendLeadingZeros=function(t,e){if(!(t instanceof Uint8Array))throw new Error("NonUint8Array");if(t.length>e)throw new Error("InvalidLength");var n=new Uint8Array(e);return n.set(t,e-t.length),n}}).call(this,n("qykS").Buffer)},t5Qd:function(t,e,n){t.exports=n("5Ekh").PassThrough},t6uJ:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("O477"),o=n("fOyB"),s=n("cFST"),a=n("Wxe8"),u=o.assert,c=n("phCo"),h=n("DQGM");function l(t){if(!(this instanceof l))return new l(t);"string"==typeof t&&(u(Object.prototype.hasOwnProperty.call(s,t),"Unknown curve "+t),t=s[t]),t instanceof s.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=l,l.prototype.keyPair=function(t){return new c(this,t)},l.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},l.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},l.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||a(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var s=new r(e.generate(n));if(!(s.cmp(o)>0))return s.iaddn(1),this.keyFromPrivate(s)}},l.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},l.prototype.sign=function(t,e,n,o){"object"==typeof n&&(o=n,n=null),o||(o={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new r(t,16));for(var s=this.n.byteLength(),a=e.getPrivate().toArray("be",s),u=t.toArray("be",s),c=new i({hash:this.hash,entropy:a,nonce:u,pers:o.pers,persEnc:o.persEnc||"utf8"}),l=this.n.sub(new r(1)),d=0;;d++){var f=o.k?o.k(d):new r(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(l)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var _=p.getX(),m=_.umod(this.n);if(0!==m.cmpn(0)){var y=f.invm(this.n).mul(m.mul(e.getPrivate()).iadd(t));if(0!==(y=y.umod(this.n)).cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==_.cmp(m)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),v^=1),new h({r:m,s:y,recoveryParam:v})}}}}}},l.prototype.verify=function(t,e,n,i){t=this._truncateToN(new r(t,16)),n=this.keyFromPublic(n,i);var o=(e=new h(e,"hex")).r,s=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,u=s.invm(this.n),c=u.mul(t).umod(this.n),l=u.mul(o).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(c,n.getPublic(),l)).isInfinity()&&a.eqXToP(o):!(a=this.g.mulAdd(c,n.getPublic(),l)).isInfinity()&&0===a.getX().umod(this.n).cmp(o)},l.prototype.recoverPubKey=function(t,e,n,i){u((3&n)===n,"The recovery param is more than two bits"),e=new h(e,i);var o=this.n,s=new r(t),a=e.r,c=e.s,l=1&n,d=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=d?this.curve.pointFromX(a.add(this.curve.n),l):this.curve.pointFromX(a,l);var f=e.r.invm(o),p=o.sub(s).mul(f).umod(o),_=c.mul(f).umod(o);return this.g.mulAdd(p,a,_)},l.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new h(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},tFbo:function(t,e,n){var r=e;r.utils=n("HpGB"),r.common=n("DDMh"),r.sha=n("viEW"),r.ripemd=n("/QGi"),r.hmac=n("r6R4"),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},tImM:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},tL86:function(t,e,n){!function(t){"use strict";
  527. //! moment.js locale configuration
  528. t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n("TiKg"))},"ta/H":function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapKey=e.wrapKey=e.decrypt=e.encrypt=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("wQqr")),u=r(n("Rs7L")),c=r(n("oTRi")),h=i(n("EvBf")),l=function(t){var e=t.name,n=t.iv,r=t.tagLength;if(Object.keys(h.default.ciphers).indexOf(e)<0)throw new Error("UnsupportedAlgorithm");if(h.default.ciphers[e].ivLength){if(!(n instanceof Uint8Array))throw new Error("InvalidArguments");if(n.byteLength<2||n.byteLength>16)throw new Error("InvalidIVLength");if(h.default.ciphers[e].staticIvLength&&h.default.ciphers[e].ivLength!==n.byteLength)throw new Error("InvalidIVLength")}if(h.default.ciphers[e].tagLength&&r){if(!Number.isInteger(r))throw new Error("InvalidArguments");if(r<4||r>16)throw new Error("InvalidTagLength")}},d=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,d,f,p,_,m,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.name,s=void 0===i?"AES-GCM":i,d=r.iv,f=r.additionalData,p=void 0===f?new Uint8Array([]):f,_=r.tagLength,e instanceof Uint8Array&&n instanceof Uint8Array){t.next=3;break}throw new Error("InvalidArguments");case 3:return l({name:s,iv:d,tagLength:_}),h.default.ciphers[s].tagLength&&!_&&(_=h.default.ciphers[s].tagLength),t.next=7,a.getWebCryptoAll();case 7:return m=t.sent,t.next=10,a.getNodeCrypto();case 10:if(y=t.sent,void 0===m||"function"!=typeof m.importKey||"function"!=typeof m.encrypt){t.next=15;break}return t.abrupt("return",c.encrypt(e,n,{name:s,iv:d,additionalData:p,tagLength:_},m));case 15:if(void 0===y){t.next=19;break}return t.abrupt("return",u.encrypt(e,n,{name:s,iv:d,additionalData:p,tagLength:_},y));case 19:throw new Error("UnsupportedEnvironment");case 20:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.encrypt=d;var f=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,d,f,p,_,m,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.name,s=void 0===i?"AES-GCM":i,d=r.iv,f=r.additionalData,p=void 0===f?new Uint8Array([]):f,_=r.tagLength,e instanceof Uint8Array&&n instanceof Uint8Array){t.next=3;break}throw new Error("InvalidArguments");case 3:return l({name:s,iv:d,tagLength:_}),h.default.ciphers[s].tagLength&&!_&&(_=h.default.ciphers[s].tagLength),t.next=7,a.getWebCryptoAll();case 7:return m=t.sent,t.next=10,a.getNodeCrypto();case 10:if(y=t.sent,void 0===m||"function"!=typeof m.importKey||"function"!=typeof m.encrypt){t.next=15;break}return t.abrupt("return",c.decrypt(e,n,{name:s,iv:d,additionalData:p,tagLength:_},m));case 15:if(void 0===y){t.next=19;break}return t.abrupt("return",u.decrypt(e,n,{name:s,iv:d,additionalData:p,tagLength:_},y));case 19:throw new Error("UnsupportedEnvironment");case 20:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.decrypt=f;var p=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,l,d,f;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.name,s=void 0===i?"AES-KW":i,e instanceof Uint8Array){t.next=3;break}throw new Error("NonUint8ArrayData");case 3:if(n instanceof Uint8Array){t.next=5;break}throw new Error("NonUint8ArrayKey");case 5:if(!(e.length%8>0)){t.next=7;break}throw new Error("WrappedKeyMustBeMultipleOf8");case 7:return t.next=9,a.getWebCryptoAll();case 9:return l=t.sent,t.next=12,a.getNodeCrypto();case 12:if(d=t.sent,f=h.default.wrapKeys["AES-KW"].defaultIV,void 0===l||"function"!=typeof l.importKey||"function"!=typeof l.wrapKey){t.next=18;break}return t.abrupt("return",c.wrapKey(e,n,{name:s,iv:f},l));case 18:if(void 0===d){t.next=22;break}return t.abrupt("return",u.wrapKey(e,n,{name:s,iv:f},d));case 22:throw new Error("UnsupportedEnvironment");case 23:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.wrapKey=p;var _=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,l,d,f;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.name,s=void 0===i?"AES-KW":i,e instanceof Uint8Array){t.next=3;break}throw new Error("NonUint8ArrayData");case 3:if(n instanceof Uint8Array){t.next=5;break}throw new Error("NonUint8ArrayKey");case 5:return t.next=7,a.getWebCryptoAll();case 7:return l=t.sent,t.next=10,a.getNodeCrypto();case 10:if(d=t.sent,f=h.default.wrapKeys["AES-KW"].defaultIV,void 0===l||"function"!=typeof l.importKey||"function"!=typeof l.wrapKey){t.next=16;break}return t.abrupt("return",c.unwrapKey(e,n,{name:s,iv:f},l));case 16:if(void 0===d){t.next=20;break}return t.abrupt("return",u.unwrapKey(e,n,{name:s,iv:f},d));case 20:throw new Error("UnsupportedEnvironment");case 21:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.unwrapKey=_},ta2Q:function(t,e,n){"use strict";var r=n("siiD");function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-e),r=0;r<n;r++)this.buffer[this.bufferOff+r]=t[e+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,n=0,r=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,n),n+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,n=0,r=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)e+=this._buffer(t,e),n+=this._flushBuffer(i,n);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},thXI:function(t,e,n){(e=t.exports=function(t){t=t.toLowerCase();var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n}).sha=n("jDN0"),e.sha1=n("HLui"),e.sha224=n("nWOd"),e.sha256=n("yD7y"),e.sha384=n("Y9G6"),e.sha512=n("2ozp")},tyEE:function(t,e,n){var r=n("smmp");e.encrypt=function(t,e){var n=r(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev},e.decrypt=function(t,e){var n=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return r(i,n)}},"uH4/":function(t,e,n){var r=n("+Gs+"),i=n("wfEq");function o(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new o(t,e)},o.prototype._createNamed=function(t){var e;try{e=n("o3UF").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(t){e=function(t){this._initNamed(t)}}return i(e,t),e.prototype._initNamed=function(e){t.call(this,e)},new e(this)},o.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(r.decoders[t])),this.decoders[t]},o.prototype.decode=function(t,e,n){return this._getDecoder(e).decode(t,n)},o.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(r.encoders[t])),this.encoders[t]},o.prototype.encode=function(t,e,n){return this._getEncoder(e).encode(t,n)}},uLrD:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n("qYPx"))&&r.__esModule?r:{default:r};var o=function(t){var e=t.A,n=2*t.roundIndex;e[0]^=i.default[n],e[1]^=i.default[n+1]};e.default=o},uaRH:function(t,e,n){var r=e;r.der=n("eIKn"),r.pem=n("a/Al")},uahg:function(t,e,n){"use strict";var r=n("ovh1"),i=n("fwl+"),o=n("i0F7"),s=n("guUT"),a=n("Zrjs"),u=n("keIi"),c=u.validators;function h(t){this.defaults=t,this.interceptors={request:new o,response:new o}}h.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var h=[s,void 0];for(Array.prototype.unshift.apply(h,n),h=h.concat(o),i=Promise.resolve(t);h.length;)i=i.then(h.shift(),h.shift());return i}for(var l=t;n.length;){var d=n.shift(),f=n.shift();try{l=d(l)}catch(t){f(t);break}}try{i=s(l)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},h.prototype.getUri=function(t){return t=a(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){h.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){h.prototype[t]=function(e,n,r){return this.request(a(r||{},{method:t,url:e,data:n}))}})),t.exports=h},upWy:function(t,e,n){"use strict";(function(e){void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this,n("5IsQ"))},vMO2:function(t,e,n){"use strict";var r=n("ovh1");t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},vPIy:function(t,e,n){!function(t){"use strict";
  529. //! moment.js locale configuration
  530. var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n("TiKg"))},vdEC:function(t,e,n){var r=n("e+GP");function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}t.exports=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)){var a=o?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(n,s,a):n[s]=t[s]}return n.default=t,e&&e.set(t,n),n}},vePQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"generateKey",{enumerable:!0,get:function(){return r.generateKey}}),Object.defineProperty(e,"sign",{enumerable:!0,get:function(){return r.sign}}),Object.defineProperty(e,"verify",{enumerable:!0,get:function(){return r.verify}}),Object.defineProperty(e,"deriveSecret",{enumerable:!0,get:function(){return r.deriveSecret}}),e.default=void 0;var r=n("J6Gk"),i={generateKey:r.generateKey,sign:r.sign,verify:r.verify,deriveSecret:r.deriveSecret};e.default=i},viEW:function(t,e,n){"use strict";e.sha1=n("hwY2"),e.sha224=n("Mjob"),e.sha256=n("a/ED"),e.sha384=n("qwGt"),e.sha512=n("HbDv")},"w+CG":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(n("QWm9")),i=s(n("eicH")),o=s(n("LxOh"));function s(t){return t&&t.__esModule?t:{default:t}}var a=function(t){var e=t.A,n=t.C,s=t.W;(0,o.default)(e,1)(s,0);for(var a=0,u=0,c=0,h=32,l=0;l<24;l++){var d=r.default[l],f=i.default[l];(0,o.default)(e,d)(n,0),a=s[0],u=s[1],h=32-f,s[c=f<32?0:1]=a<<f|u>>>h,s[(c+1)%2]=u<<f|a>>>h,(0,o.default)(s,0)(e,d),(0,o.default)(n,0)(s,0)}};e.default=a},w1Rh:function(t,e,n){var r,i,o,s,a;r=n("DPV4"),i=n("arkH").utf8,o=n("EbX1"),s=n("arkH").bin,(a=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?s.stringToBytes(t):i.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var n=r.bytesToWords(t),u=8*t.length,c=1732584193,h=-271733879,l=-1732584194,d=271733878,f=0;f<n.length;f++)n[f]=16711935&(n[f]<<8|n[f]>>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[u>>>5]|=128<<u%32,n[14+(u+64>>>9<<4)]=u;var p=a._ff,_=a._gg,m=a._hh,y=a._ii;for(f=0;f<n.length;f+=16){var v=c,b=h,g=l,w=d;c=p(c,h,l,d,n[f+0],7,-680876936),d=p(d,c,h,l,n[f+1],12,-389564586),l=p(l,d,c,h,n[f+2],17,606105819),h=p(h,l,d,c,n[f+3],22,-1044525330),c=p(c,h,l,d,n[f+4],7,-176418897),d=p(d,c,h,l,n[f+5],12,1200080426),l=p(l,d,c,h,n[f+6],17,-1473231341),h=p(h,l,d,c,n[f+7],22,-45705983),c=p(c,h,l,d,n[f+8],7,1770035416),d=p(d,c,h,l,n[f+9],12,-1958414417),l=p(l,d,c,h,n[f+10],17,-42063),h=p(h,l,d,c,n[f+11],22,-1990404162),c=p(c,h,l,d,n[f+12],7,1804603682),d=p(d,c,h,l,n[f+13],12,-40341101),l=p(l,d,c,h,n[f+14],17,-1502002290),c=_(c,h=p(h,l,d,c,n[f+15],22,1236535329),l,d,n[f+1],5,-165796510),d=_(d,c,h,l,n[f+6],9,-1069501632),l=_(l,d,c,h,n[f+11],14,643717713),h=_(h,l,d,c,n[f+0],20,-373897302),c=_(c,h,l,d,n[f+5],5,-701558691),d=_(d,c,h,l,n[f+10],9,38016083),l=_(l,d,c,h,n[f+15],14,-660478335),h=_(h,l,d,c,n[f+4],20,-405537848),c=_(c,h,l,d,n[f+9],5,568446438),d=_(d,c,h,l,n[f+14],9,-1019803690),l=_(l,d,c,h,n[f+3],14,-187363961),h=_(h,l,d,c,n[f+8],20,1163531501),c=_(c,h,l,d,n[f+13],5,-1444681467),d=_(d,c,h,l,n[f+2],9,-51403784),l=_(l,d,c,h,n[f+7],14,1735328473),c=m(c,h=_(h,l,d,c,n[f+12],20,-1926607734),l,d,n[f+5],4,-378558),d=m(d,c,h,l,n[f+8],11,-2022574463),l=m(l,d,c,h,n[f+11],16,1839030562),h=m(h,l,d,c,n[f+14],23,-35309556),c=m(c,h,l,d,n[f+1],4,-1530992060),d=m(d,c,h,l,n[f+4],11,1272893353),l=m(l,d,c,h,n[f+7],16,-155497632),h=m(h,l,d,c,n[f+10],23,-1094730640),c=m(c,h,l,d,n[f+13],4,681279174),d=m(d,c,h,l,n[f+0],11,-358537222),l=m(l,d,c,h,n[f+3],16,-722521979),h=m(h,l,d,c,n[f+6],23,76029189),c=m(c,h,l,d,n[f+9],4,-640364487),d=m(d,c,h,l,n[f+12],11,-421815835),l=m(l,d,c,h,n[f+15],16,530742520),c=y(c,h=m(h,l,d,c,n[f+2],23,-995338651),l,d,n[f+0],6,-198630844),d=y(d,c,h,l,n[f+7],10,1126891415),l=y(l,d,c,h,n[f+14],15,-1416354905),h=y(h,l,d,c,n[f+5],21,-57434055),c=y(c,h,l,d,n[f+12],6,1700485571),d=y(d,c,h,l,n[f+3],10,-1894986606),l=y(l,d,c,h,n[f+10],15,-1051523),h=y(h,l,d,c,n[f+1],21,-2054922799),c=y(c,h,l,d,n[f+8],6,1873313359),d=y(d,c,h,l,n[f+15],10,-30611744),l=y(l,d,c,h,n[f+6],15,-1560198380),h=y(h,l,d,c,n[f+13],21,1309151649),c=y(c,h,l,d,n[f+4],6,-145523070),d=y(d,c,h,l,n[f+11],10,-1120210379),l=y(l,d,c,h,n[f+2],15,718787259),h=y(h,l,d,c,n[f+9],21,-343485551),c=c+v>>>0,h=h+b>>>0,l=l+g>>>0,d=d+w>>>0}return r.endian([c,h,l,d])})._ff=function(t,e,n,r,i,o,s){var a=t+(e&n|~e&r)+(i>>>0)+s;return(a<<o|a>>>32-o)+e},a._gg=function(t,e,n,r,i,o,s){var a=t+(e&r|n&~r)+(i>>>0)+s;return(a<<o|a>>>32-o)+e},a._hh=function(t,e,n,r,i,o,s){var a=t+(e^n^r)+(i>>>0)+s;return(a<<o|a>>>32-o)+e},a._ii=function(t,e,n,r,i,o,s){var a=t+(n^(e|~r))+(i>>>0)+s;return(a<<o|a>>>32-o)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var n=r.wordsToBytes(a(t,e));return e&&e.asBytes?n:e&&e.asString?s.bytesToString(n):r.bytesToHex(n)}},w8x0:function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},wQqr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRootWebCryptoAll=e.getWebCryptoAll=e.getMsCrypto=e.getWebCrypto=e.getNodeCrypto=e.default=void 0;var r=function(){return"undefined"!=typeof window?void 0:n("9dER")};e.getNodeCrypto=r;var i=function(){if("undefined"!=typeof window)return window.crypto?window.crypto.subtle:void 0};e.getWebCrypto=i;var o=function(){if("undefined"!=typeof window)return window.msCrypto?window.msCrypto.subtle:window.crypto?window.crypto.subtle:void 0};e.getWebCryptoAll=o;var s=function(){if("undefined"!=typeof window)return window.msCrypto?window.msCrypto:window.crypto?window.crypto:void 0};e.getRootWebCryptoAll=s;var a=function(){if("undefined"!=typeof window&&!window.crypto)return window.msCrypto?window.msCrypto.subtle:void 0};e.getMsCrypto=a;var u={getNodeCrypto:r,getWebCrypto:i,getMsCrypto:a,getWebCryptoAll:o,getRootWebCryptoAll:s};e.default=u},wQuK:function(t,e,n){var r=n("wfEq"),i=n("LpNI");function o(t){i.call(this,t),this.enc="pem"}r(o,i),t.exports=o,o.prototype.encode=function(t,e){for(var n=i.prototype.encode.call(this,t).toString("base64"),r=["-----BEGIN "+e.label+"-----"],o=0;o<n.length;o+=64)r.push(n.slice(o,o+64));return r.push("-----END "+e.label+"-----"),r.join("\n")}},wSTE:function(t,e,n){!function(t){"use strict";
  531. //! moment.js locale configuration
  532. function e(t,e,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?i[n][0]:i[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},wTN5:function(t,e,n){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,r){for(var i=0,o=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1;for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1}n[r+0]=i>>>0,n[r+1]=o>>>0},e.rip=function(t,e,n,r){for(var i=0,o=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)i<<=1,i|=e>>>a+s&1,i<<=1,i|=t>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)o<<=1,o|=e>>>a+s&1,o<<=1,o|=t>>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.pc1=function(t,e,n,r){for(var i=0,o=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,n,i){for(var o=0,s=0,a=r.length>>>1,u=0;u<a;u++)o<<=1,o|=t>>>r[u]&1;for(u=a;u<r.length;u++)s<<=1,s|=e>>>r[u]&1;n[i+0]=o>>>0,n[i+1]=s>>>0},e.expand=function(t,e,n){var r=0,i=0;r=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[n+0]=r>>>0,e[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(t>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(e>>>18-6*r&63)]}return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n<o.length;n++)e<<=1,e|=t>>>o[n]&1;return e>>>0},e.padSplit=function(t,e,n){for(var r=t.toString(2);r.length<e;)r="0"+r;for(var i=[],o=0;o<e;o+=n)i.push(r.slice(o,o+n));return i.join(" ")}},wUrv:function(t,e,n){!function(t){"use strict";
  533. //! moment.js locale configuration
  534. var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,r){return e?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(t){return t%10==0||t>10&&t<20}function i(t){return e[t].split("_")}function o(t,e,o,s){var a=t+" ";return 1===t?a+n(0,e,o[0],s):e?a+(r(t)?i(o)[1]:i(o)[0]):s?a+i(o)[1]:a+(r(t)?i(o)[1]:i(o)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,n,r){return e?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("TiKg"))},wcNg:function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function a(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),s=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return S()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=b(s,n);if(a){if(a===c)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var h=u(t,e,n);if("normal"===h.type){if(r=n.done?"completed":"suspendedYield",h.arg===c)continue;return{value:h.arg,done:n.done}}"throw"===h.type&&(r="completed",n.method="throw",n.arg=h.arg)}}}(t,n,s),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var c={};function h(){}function l(){}function d(){}var f={};f[i]=function(){return this};var p=Object.getPrototypeOf,_=p&&p(p(M([])));_&&_!==e&&n.call(_,i)&&(f=_);var m=d.prototype=h.prototype=Object.create(f);function y(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function v(t,e){var r;this._invoke=function(i,o){function s(){return new e((function(r,s){!function r(i,o,s,a){var c=u(t[i],t,o);if("throw"!==c.type){var h=c.arg,l=h.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,s,a)}),(function(t){r("throw",t,s,a)})):e.resolve(l).then((function(t){h.value=t,s(h)}),(function(t){return r("throw",t,s,a)}))}a(c.arg)}(i,o,r,s)}))}return r=r?r.then(s,s):s()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,c;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function g(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(g,this),this.reset(!0)}function M(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return l.prototype=m.constructor=d,d.constructor=l,d[s]=l.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===l||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},y(v.prototype),v.prototype[o]=function(){return this},t.AsyncIterator=v,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var s=new v(a(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},y(m),m[s]="Generator",m[i]=function(){return this},m.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=M,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return s.type="throw",s.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),c},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:M(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},wehu:function(t,e,n){!function(t){"use strict";
  535. //! moment.js locale configuration
  536. var e=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("TiKg"))},wfEq:function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},wthT:function(t,e,n){"use strict";n.r(e),function(t){var e=n("5+HP"),r=n("Z3s7"),i=n("AIuu"),o=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw new Error("unable to locate global object")}();"function"!=typeof o.Promise?o.Promise=e.a:o.Promise.prototype.finally?o.Promise.allSettled||(o.Promise.allSettled=i.a):o.Promise.prototype.finally=r.a}.call(this,n("pCvA"))},wuJa:function(t,e,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,s=n("peDq"),a=n("Ih9J"),u=n("pRMk").Buffer;t.exports=function(t,e){var n,c=t.toString(),h=c.match(r);if(h){var l="aes"+h[1],d=u.from(h[2],"hex"),f=u.from(h[3].replace(/[\r\n]/g,""),"base64"),p=s(e,d.slice(0,8),parseInt(h[1],10)).key,_=[],m=a.createDecipheriv(l,p,d);_.push(m.update(f)),_.push(m.final()),n=u.concat(_)}else{var y=c.match(o);n=new u(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:n}}},ww2P:function(t,e,n){!function(t){"use strict";
  537. //! moment.js locale configuration
  538. t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},x0TR:function(t,e,n){!function(t){"use strict";
  539. //! moment.js locale configuration
  540. function e(t,e,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return r||e?i[n][0]:i[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},xSFS:function(t,e,n){"use strict";var r=n("ovh1"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},xTpk:function(t,e,n){"use strict";var r=n("upWy");function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(r.nextTick(i,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},xVOH:function(t,e,n){!function(t){"use strict";
  541. //! moment.js locale configuration
  542. var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function r(t,r,i){return t+" "+n(e[i],t,r)}function i(t,r,i){return n(e[i],t,r)}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},xXeP:function(t,e,n){!function(t){"use strict";
  543. //! moment.js locale configuration
  544. var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},xeyG:function(t,e,n){var r=n("8gph"),i=n("pRMk").Buffer,o=n("ql4I"),s=n("wfEq"),a=n("S2bg"),u=n("smmp"),c=n("3qw6");function h(t,e,n,s){o.call(this);var u=i.alloc(4,0);this._cipher=new r.AES(e);var h=this._cipher.encryptBlock(u);this._ghash=new a(h),n=function(t,e,n){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var r=new a(n),o=e.length,s=o%16;r.update(e),s&&(s=16-s,r.update(i.alloc(s,0))),r.update(i.alloc(8,0));var u=8*o,h=i.alloc(8);h.writeUIntBE(u,0,8),r.update(h),t._finID=r.state;var l=i.from(t._finID);return c(l),l}(this,n,h),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}s(h,o),h.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(n),this._len+=t.length,n},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=u(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var n=0;t.length!==e.length&&n++;for(var r=Math.min(t.length,e.length),i=0;i<r;++i)n+=t[i]^e[i];return n}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},h.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},h.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=h},"y2+C":function(t,e,n){!function(t){"use strict";
  545. //! moment.js locale configuration
  546. t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("TiKg"))},y9a5:function(t,e,n){var r=n("8kJ5"),i=n("Wxe8");function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),n=Math.ceil(e/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},o.prototype.test=function(t,e,n){var i=t.bitLength(),o=r.mont(t),s=new r(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var a=t.subn(1),u=0;!a.testn(u);u++);for(var c=t.shrn(u),h=a.toRed(o);e>0;e--){var l=this._randrange(new r(2),a);n&&n(l);var d=l.toRed(o).redPow(c);if(0!==d.cmp(s)&&0!==d.cmp(h)){for(var f=1;f<u;f++){if(0===(d=d.redSqr()).cmp(s))return!1;if(0===d.cmp(h))break}if(f===u)return!1}}return!0},o.prototype.getDivisor=function(t,e){var n=t.bitLength(),i=r.mont(t),o=new r(1).toRed(i);e||(e=Math.max(1,n/48|0));for(var s=t.subn(1),a=0;!s.testn(a);a++);for(var u=t.shrn(a),c=s.toRed(i);e>0;e--){var h=this._randrange(new r(2),s),l=t.gcd(h);if(0!==l.cmpn(1))return l;var d=h.toRed(i).redPow(u);if(0!==d.cmp(o)&&0!==d.cmp(c)){for(var f=1;f<a;f++){if(0===(d=d.redSqr()).cmp(o))return d.fromRed().subn(1).gcd(t);if(0===d.cmp(c))break}if(f===a)return(d=d.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},yD7y:function(t,e,n){var r=n("wfEq"),i=n("KSsY"),o=n("pRMk").Buffer,s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function u(){this.init(),this._w=a,i.call(this,64,56)}function c(t,e,n){return n^t&(e^n)}function h(t,e,n){return t&e|n&(t|e)}function l(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function d(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function f(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}r(u,i),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,p=0|this._f,_=0|this._g,m=0|this._h,y=0;y<16;++y)n[y]=t.readInt32BE(4*y);for(;y<64;++y)n[y]=0|(((e=n[y-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[y-7]+f(n[y-15])+n[y-16];for(var v=0;v<64;++v){var b=m+d(u)+c(u,p,_)+s[v]+n[v]|0,g=l(r)+h(r,i,o)|0;m=_,_=p,p=u,u=a+b|0,a=o,o=i,i=r,r=b+g|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0,this._f=p+this._f|0,this._g=_+this._g|0,this._h=m+this._h|0},u.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=u},yPwC:function(t,e,n){!function(t){"use strict";
  547. //! moment.js locale configuration
  548. t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n("TiKg"))},yRLl:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.decryptEncryptedPrivateKeyInfo=e.encryptEncryptedPrivateKeyInfo=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("omOp")),u=n("zYJ4"),c=i(n("oBSY")),h=i(n("qykS")),l=i(n("+Gs+")),d=i(n("SDgz")),f=i(n("gSrR")),p=i(n("a8jK")),_=i(n("6yG2")),m=h.default.Buffer,y=l.default.bignum,v=function(){var t=(0,s.default)(o.default.mark((function t(e){var n,r,i,s,c=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===(n=c.length>1&&void 0!==c[1]?c[1]:{passphrase:""}).algorithm&&(n.algorithm="pbes2"),void 0===n.iterationCount&&(n.iterationCount=2048),"pbes2"!==n.algorithm){t.next=15;break}return void 0===n.cipher&&(n.cipher="aes256-cbc"),void 0===n.prf&&(n.prf="hmacWithSHA256"),r="pbkdf2",t.next=9,x(e,n.passphrase,r,n.prf,n.iterationCount,n.cipher);case 9:return i=t.sent,t.next=12,g(i);case 12:return t.abrupt("return",t.sent);case 15:return t.next=17,S(e,n.passphrase,n.algorithm,n.iterationCount);case 17:return(s=t.sent).encryptionAlgorithm.algorithm=a.default.passwordBasedEncryptionSchemes[s.encryptionAlgorithm.algorithm].oid,s.encryptionAlgorithm.parameters=u.PBEParameter.encode(s.encryptionAlgorithm.parameters,"der"),t.abrupt("return",u.EncryptedPrivateKeyInfo.encode(s,"der"));case 21:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.encryptEncryptedPrivateKeyInfo=v;var b=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r={}).encryptionAlgorithm={algorithm:(0,a.getAlgorithmFromOidStrict)(e.encryptionAlgorithm.algorithm,a.default.passwordBasedEncryptionSchemes)},"pbes2"===r.encryptionAlgorithm.algorithm?r.encryptionAlgorithm.parameters=w(e.encryptionAlgorithm.parameters):r.encryptionAlgorithm.parameters=u.PBEParameter.decode(e.encryptionAlgorithm.parameters,"der"),r.encryptedData=e.encryptedData,"pbes2"!==r.encryptionAlgorithm.algorithm){t.next=10;break}return t.next=7,M(r,n);case 7:return t.abrupt("return",t.sent);case 10:return t.next=12,T(r,n);case 12:return t.abrupt("return",t.sent);case 13:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.decryptEncryptedPrivateKeyInfo=b;var g=function(t){var e={encryptionAlgorithm:{}};e.encryptionAlgorithm.algorithm=a.default.passwordBasedEncryptionSchemes[t.encryptionAlgorithm.algorithm].oid;var n=t.encryptionAlgorithm.parameters.keyDerivationFunc;if("pbkdf2"!==n.algorithm)throw new Error("UnsupportedKDF");n.parameters.prf.algorithm=a.default.pbkdf2Prfs[n.parameters.prf.algorithm].oid,n.parameters=u.PBKDF2Params.encode(n.parameters,"der"),n.algorithm=a.default.keyDerivationFunctions[n.algorithm].oid;var r=t.encryptionAlgorithm.parameters.encryptionScheme;if(!(Object.keys(u.PBES2ESParams).indexOf(r.algorithm)>=0))throw new Error("UnsupportedCipher");return r.parameters=u.PBES2ESParams[r.algorithm].encode(r.parameters,"der"),r.algorithm=a.default.encryptionSchemes[r.algorithm].oid,e.encryptionAlgorithm.parameters=u.PBES2Params.encode({keyDerivationFunc:n,encryptionScheme:r},"der"),e.encryptedData=t.encryptedData,u.EncryptedPrivateKeyInfo.encode(e,"der")},w=function(t){var e,n,r,i=u.PBES2Params.decode(t,"der"),o=(0,a.getAlgorithmFromOidStrict)(i.keyDerivationFunc.algorithm,a.default.keyDerivationFunctions);if("pbkdf2"!==o)throw new Error("UnsupportedKDF");var s=u.PBKDF2Params.decode(i.keyDerivationFunc.parameters,"der");r={algorithm:(0,a.getAlgorithmFromOidStrict)(s.prf.algorithm,a.default.pbkdf2Prfs),parameters:s.prf.parameters},e=s.iterationCount,n={type:s.salt.type,value:s.salt.value};var c=(0,a.getAlgorithmFromOidStrict)(i.encryptionScheme.algorithm,a.default.encryptionSchemes);if(!(Object.keys(u.PBES2ESParams).indexOf(c)>=0))throw new Error("UnsupportedCipher");return{keyDerivationFunc:{algorithm:o,parameters:{salt:n,iterationCount:e,prf:r}},encryptionScheme:{algorithm:c,parameters:u.PBES2ESParams[c].decode(i.encryptionScheme.parameters,"der")}}},x=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s,u){var h,l,v,b,g,w,x,M;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h=d.default.encoder.stringToArrayBuffer(n),t.next=3,_.default.getRandomBytes(a.default.keyDerivationFunctions[r].defaultSaltLen);case 3:if(l=t.sent,v=a.default.encryptionSchemes[u].keyLength,"pbkdf2"!==r){t.next=11;break}return t.next=8,f.default.pbkdf2(h,l,s,v,a.default.pbkdf2Prfs[i].hash);case 8:b=t.sent,t.next=12;break;case 11:throw new Error("UnsupportedKDF");case 12:if("des-ede3-cbc"!==u){t.next=23;break}return t.t0=m,t.next=16,_.default.getRandomBytes(a.default.encryptionSchemes[u].ivLength);case 16:t.t1=t.sent,g=t.t0.from.call(t.t0,t.t1),x=c.default.CBC.instantiate(c.default.EDE),M=x.create({type:"encrypt",key:m.from(b),iv:g}),w=m.from(M.update(e).concat(M.final())),t.next=36;break;case 23:if("aes128-cbc"!==u&&"aes192-cbc"!==u&&"aes256-cbc"!==u){t.next=35;break}return t.next=26,_.default.getRandomBytes(a.default.encryptionSchemes[u].ivLength);case 26:return g=t.sent,t.t2=m,t.next=30,p.default.encrypt(new Uint8Array(e),b,{name:"AES-CBC",iv:g});case 30:t.t3=t.sent,w=t.t2.from.call(t.t2,t.t3),g=m.from(g),t.next=36;break;case 35:throw new Error("UnsupportedCipher");case 36:return t.abrupt("return",{encryptedData:w,encryptionAlgorithm:{algorithm:"pbes2",parameters:{keyDerivationFunc:{algorithm:r,parameters:{salt:{type:"specified",value:m.from(l)},iterationCount:new y(s),prf:{algorithm:i,parameters:m.from([5,0])}}},encryptionScheme:{algorithm:u,parameters:g}}}});case 37:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o,s){return t.apply(this,arguments)}}(),M=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,h,l,_,y,v,b,g,w,x,M;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.encryptionAlgorithm.parameters.keyDerivationFunc,i=e.encryptionAlgorithm.parameters.encryptionScheme,s=a.default.encryptionSchemes[i.algorithm].keyLength,"pbkdf2"!==r.algorithm){t.next=15;break}if(l=d.default.encoder.stringToArrayBuffer(n),"specified"===r.parameters.salt.type){t.next=7;break}throw new Error("UnsupportedSaltSource");case 7:return _=new Uint8Array(r.parameters.salt.value),y=r.parameters.iterationCount.toNumber(),v=r.parameters.prf.algorithm,t.next=12,f.default.pbkdf2(l,_,y,s,a.default.pbkdf2Prfs[v].hash);case 12:h=t.sent,t.next=16;break;case 15:throw new Error("UnsupportedKDF");case 16:if("des-ede3-cbc"!==i.algorithm){t.next=23;break}g=i.parameters,w=c.default.CBC.instantiate(c.default.EDE),x=w.create({type:"decrypt",key:h,iv:g}),b=m.from(x.update(e.encryptedData).concat(x.final())),t.next=33;break;case 23:if("aes128-cbc"!==i.algorithm&&"aes192-cbc"!==i.algorithm&&"aes256-cbc"!==i.algorithm){t.next=32;break}return M=new Uint8Array(i.parameters),t.t0=m,t.next=28,p.default.decrypt(new Uint8Array(e.encryptedData),h,{name:"AES-CBC",iv:M});case 28:t.t1=t.sent,b=t.t0.from.call(t.t0,t.t1),t.next=33;break;case 32:throw new Error("UnsupportedEncryptionAlgorithm");case 33:return t.abrupt("return",u.OneAsymmetricKey.decode(b,"der"));case 34:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),S=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i){var s,u,h,l,p,v,b,g,w;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=d.default.encoder.stringToArrayBuffer(n),t.next=3,_.default.getRandomBytes(8);case 3:return u=t.sent,h=a.default.passwordBasedEncryptionSchemes[r].hash,t.next=7,f.default.pbkdf1(s,u,i,16,h);case 7:if(l=t.sent,p=l.slice(0,8),v=l.slice(8,16),"DES-CBC"!==a.default.passwordBasedEncryptionSchemes[r].encrypt){t.next=17;break}g=c.default.CBC.instantiate(c.default.DES),w=g.create({type:"encrypt",key:p,iv:v}),b=m.from(w.update(e).concat(w.final())),t.next=18;break;case 17:throw new Error("UnsupportedEncryptionAlgorithm");case 18:return t.abrupt("return",{encryptionAlgorithm:{algorithm:r,parameters:{salt:m.from(u),iterationCount:new y(i)}},encryptedData:b});case 19:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}(),T=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,h,l,p,_,y,v,b;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=d.default.encoder.stringToArrayBuffer(n),i=new Uint8Array(e.encryptionAlgorithm.parameters.salt),s=a.default.passwordBasedEncryptionSchemes[e.encryptionAlgorithm.algorithm].hash,h=e.encryptionAlgorithm.parameters.iterationCount.toNumber(),t.next=6,f.default.pbkdf1(r,i,h,16,s);case 6:if(l=t.sent,p=l.slice(0,8),_=l.slice(8,16),"DES-CBC"!==a.default.passwordBasedEncryptionSchemes[e.encryptionAlgorithm.algorithm].encrypt){t.next=16;break}v=c.default.CBC.instantiate(c.default.DES),b=v.create({type:"decrypt",key:p,iv:_}),y=m.from(b.update(e.encryptedData).concat(b.final())),t.next=17;break;case 16:throw new Error("UnsupportedEncryptionAlgorithm");case 17:return t.abrupt("return",u.OneAsymmetricKey.decode(y,"der"));case 18:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()},yuDq:function(t,e,n){t.exports=n("A/eZ")},z3ad:function(t,e,n){!function(t){"use strict";
  549. //! moment.js locale configuration
  550. t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("TiKg"))},zJNk:function(t,e,n){!function(t){"use strict";
  551. //! moment.js locale configuration
  552. var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("TiKg"))},zWXE:function(t,e,n){!function(t){"use strict";
  553. //! moment.js locale configuration
  554. var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,i,o,s){var a=n(e),u=r[t][n(e)];return 2===a&&(u=u[i?0:1]),u.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("TiKg"))},zYJ4:function(t,e,n){"use strict";(function(t){var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.PBES2ESParams=e.PBKDF2Params=e.PBES2Params=e.PBEParameter=e.EncryptedPrivateKeyInfo=e.OneAsymmetricKey=e.SubjectPublicKeyInfo=e.KeyStructure=void 0;var i=r(n("+Gs+")),o=i.default.define("KeyStructure",(function(){this.choice({subjectPublicKeyInfo:this.use(s),oneAsymmetricKey:this.use(a),encryptedPrivateKeyInfo:this.use(u)})}));e.KeyStructure=o;var s=i.default.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(f),this.key("subjectPublicKey").bitstr())}));e.SubjectPublicKeyInfo=s;var a=i.default.define("OneAsymmetricKey",(function(){this.seq().obj(this.key("version").use(p),this.key("privateKeyAlgorithm").use(f),this.key("privateKey").octstr(),this.key("attributes").implicit(0).optional().any(),this.key("publicKey").implicit(1).optional().bitstr())}));e.OneAsymmetricKey=a;var u=i.default.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("encryptionAlgorithm").use(f),this.key("encryptedData").octstr())}));e.EncryptedPrivateKeyInfo=u;var c=i.default.define("PBEParameter",(function(){this.seq().obj(this.key("salt").octstr(8),this.key("iterationCount").int())}));e.PBEParameter=c;var h=i.default.define("PBES2Params",(function(){this.seq().obj(this.key("keyDerivationFunc").use(f),this.key("encryptionScheme").use(f))}));e.PBES2Params=h;var l=i.default.define("PBKDF2Params",(function(){this.seq().obj(this.key("salt").choice({specified:this.octstr(),otherSource:this.use(f)}),this.key("iterationCount").int(),this.key("keyLength").int().optional(),this.key("prf").use(f).def({algorithm:[1,2,840,113549,2,7],parameters:t.from([5,0])}))}));e.PBKDF2Params=l;var d={"des-ede3-cbc":i.default.define("DesEde3CbcParams",(function(){this.octstr()})),"aes128-cbc":i.default.define("Aes128CbcParams",(function(){this.octstr()})),"aes192-cbc":i.default.define("Aes192CbcParams",(function(){this.octstr()})),"aes256-cbc":i.default.define("Aes256CbcParams",(function(){this.octstr()}))};e.PBES2ESParams=d;var f=i.default.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())})),p=i.default.define("Version",(function(){this.int()}))}).call(this,n("qykS").Buffer)},zaxx:function(t,e,n){!function(t){"use strict";
  555. //! moment.js locale configuration
  556. var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,n,o,s){var a=r(e),u=i[t][r(e)];return 2===a&&(u=u[n?0:1]),u.replace(/%d/i,e)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("TiKg"))},zf4f:function(t,e,n){"use strict";var r=n("ovh1"),i=n("aECo"),o=n("vMO2"),s=n("fwl+"),a=n("h1Um"),u=n("xSFS"),c=n("cON5"),h=n("2KG9");t.exports=function(t){return new Promise((function(e,n){var l=t.data,d=t.headers,f=t.responseType;r.isFormData(l)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var _=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(_+":"+m)}var y=a(t.baseURL,t.url);function v(){if(p){var r="getAllResponseHeaders"in p?u(p.getAllResponseHeaders()):null,o={data:f&&"text"!==f&&"json"!==f?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};i(e,n,o),p=null}}if(p.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,"onloadend"in p?p.onloadend=v:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(v)},p.onabort=function(){p&&(n(h("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(h("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(h(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||c(y))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;b&&(d[t.xsrfHeaderName]=b)}"setRequestHeader"in p&&r.forEach(d,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),f&&"json"!==f&&(p.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),l||(l=null),p.send(l)}))}},zhSd:function(t,e,n){!function(t){"use strict";
  557. //! moment.js locale configuration
  558. var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n("TiKg"))},zn3x:function(t,e,n){"use strict";var r=n("wfEq"),i=n("pRMk").Buffer,o=n("ql4I"),s=i.alloc(128);function a(t,e){o.call(this,"digest"),"string"==typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=i.concat([e,s],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),a=0;a<64;a++)n[a]=54^e[a],r[a]=92^e[a];this._hash=[n]}r(a,o),a.prototype._update=function(t){this._hash.push(t)},a.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=a},zxuB:function(t,e,n){var r=n("pRMk").Buffer,i=n("smmp");function o(t,e,n){var o=e.length,s=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=r.concat([t._prev,n?e:s]),s}e.encrypt=function(t,e,n){for(var i,s=r.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=r.allocUnsafe(0)),!(t._cache.length<=e.length)){s=r.concat([s,o(t,e,n)]);break}i=t._cache.length,s=r.concat([s,o(t,e.slice(0,i),n)]),e=e.slice(i)}return s}}}]);